/* =================================================
   styles.css
=================================================*/

/* 1) RESET
-------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2) BODY & BASE FONTS
-------------------------------------------------*/
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #E3EBF2;
  color: #333;
}

/* 3) HERO SECTION (index.html only)
-------------------------------------------------*/
.hero-section {
  position: relative;
  height: 100vh;
  background: url('images/unclechris10.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-section .slogan {
  font-family: 'Lobster', cursive;
  font-size: 3.5em;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  max-width: 90%;
  margin: 0 20px;
}
.hero-btn {
  display: inline-block;
  margin-top: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}
.hero-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-2px);
}

/* 4) SITE HEADER (all subpages)
-------------------------------------------------*/
.site-header {
  background-color: #3A4F5F;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.site-header .slogan {
  font-family: 'Lobster', cursive;
  font-size: 2.5em;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 5) NAVBAR (all pages)
-------------------------------------------------*/
.navbar {
  position: sticky;
  top: 0;
  background-color: #3A4F5F;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 60px;
  justify-content: space-between;
}
.nav-logo {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #FFA202;
}

/* 6) MAIN CONTENT (all pages)
-------------------------------------------------*/
.main-content {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
}
.main-content h2 {
  color: #3A4F5F;
  margin-bottom: 20px;
}

/* 7) BUTTONS (all pages)
-------------------------------------------------*/
.contact-btn,
.hero-btn {
  display: inline-block;
  background-color: #3A4F5F;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.3s, transform 0.2s;
}
.contact-btn:hover,
.hero-btn:hover {
  background-color: #6E4A5E;
  transform: translateY(-2px);
}

/* 8) FOOTER
-------------------------------------------------*/
.site-footer {
  background-color: #3A4F5F;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* 9) RESPONSIVE NAV TOGGLE
-------------------------------------------------*/
@media (max-width: 768px) {
  /* show the hamburger everywhere */
  .menu-toggle {
    display: block;
  }

  /* subpage dropdown (navbar) */
  .nav-links {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #3A4F5F;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 4px;
    display: none;
  }
  .nav-links.nav-open {
    display: flex !important;
  }

  /* shrink subpage slogan */
  .site-header .slogan {
    font-size: 2em;
  }

  /* shrink hero slogan on index if reused */
  .hero-section .slogan {
    font-size: 2.5em;
  }
}

/* =================================================
   CD Sections and Tables (themusic.html)
=================================================*/
.cd-section {
  margin: 40px 0;
}
.cd-section h2,
.cd-section h3 {
  color: #3A4F5F;
  text-align: center;
}
.cd-section > p {
  max-width: 700px;
  margin: 0 auto 20px;
  text-align: center;
}
.table-responsive {
  overflow-x: auto;
  margin: 20px auto;
}
.cd-section table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px;
  border-collapse: collapse;
}
.cd-section th,
.cd-section td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.cd-section th:first-child {
  text-align: left;
}
.cd-section th:last-child {
  text-align: right;
}
.table-caption {
  max-width: 700px;
  margin: 10px auto 30px;
  text-align: center;
  font-style: italic;
  color: #555;
}

/* responsive YouTube embed */
.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin: 20px auto;
}
.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* active menu highlight */
.nav-links a.active {
  color: #FFA202;
}

/* =================================================
   Snake Hill Blues overrides
=================================================*/
.snakehillblues-content { text-align: center; }
.snakehillblues-content .shb-hero { margin: 0 auto 20px; max-width: 600px; }
.snakehillblues-content .shb-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.snakehillblues-content #shb-shows ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.links-section { margin-bottom: 2.5em; }
.links-section p { margin: 0.5em 0; }
.shb-shows { margin: 3em 0; }
.shb-shows h3 { margin-bottom: 0.75em; }
.shb-shows ul { padding-left: 1.2em; margin-bottom: 1.5em; }
.shb-shows li { margin-bottom: 0.5em; }

/* =================================================
   Bio page tweaks
=================================================*/
.bio-content figure {
  margin: 40px auto;
  text-align: center;
}
.bio-content figure img {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: inline-block;
  border: 3px solid #6E4A5E;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border-radius: 4px;
}
.bio-content figure figcaption {
  margin-top: 10px;
  font-style: italic;
  color: #555;
  font-size: 0.9em;
}
.bio-content .bio-text {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 0 20px;
  text-align: justify;
}
.bio-content .bio-text p {
  margin-bottom: 1.2em;
}

/* =================================================
   HERO/INDEX MOBILE MENU FIX
   (for .nav-wrapper + .nav-links on index.html)
=================================================*/
@media (max-width: 768px) {
  .nav-wrapper {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 300;
  }
  .nav-wrapper .menu-toggle {
    font-size: 2rem;
    background: rgba(0,0,0,0.6);
    border-radius: 4px;
    padding: 0.3em 0.6em;
    color: #fff;
  }
  .nav-wrapper .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(58,79,95,0.9);
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    width: 200px;
  }
  .nav-wrapper .nav-links.nav-open {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .nav-wrapper .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(0, 0, 0, 0.6);  /* ← black & 60% opacity */
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    width: 200px;
  }
  .nav-wrapper .nav-links.nav-open {
    display: flex !important;
  }
}
/* SHRINK & WRAP SUB-PAGE SLOGANS (even smaller) */
.site-header .slogan {
  font-size: 1.5rem;      /* ↓ shrank from 2rem to 1.5rem */
  max-width: 500px;       /* controls wrap point */
  margin: 0 auto;         /* keep it centered */
  white-space: normal;    /* allow wrapping */
  line-height: 1.2;       /* tighten vertical gap */
}
@media (max-width: 768px) {
  .site-header .slogan {
    font-size: 0.9rem;    /* super small on phones */
    max-width: 80%;       /* wrap even sooner */
  }
}

/* Make the sub‐page header bar less tall */
.site-header {
  padding: 15px 20px;    /* originally 40px 20px; halves the height */
}

/* Optional: make it even tighter on phones */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 15px;  /* a bit less on mobile */
  }
  .site-header .slogan {
    font-size: 1.0rem;   /* if you want it smaller there, too */
  }
}
/* === GALLERY STYLES === */
.gallery-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  cursor: pointer;
}

/* === RESPONSIVE HEADER (OPTIONAL) === */
@media (max-width: 600px) {
  .site-header {
    padding: 1rem 0;
  }

  .slogan {
    font-size: 1.4rem;
    line-height: 1.5;
  }
}
/* === LIGHTBOX STYLES === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #bbb;
}
/* === LIGHTBOX WITH ARROWS === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

.lightbox-close {
  top: 30px;
  right: 40px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #bbb;
}

