/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #faf8f5;
  color: #3a3330;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #8b6f5e;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #5c4a3e;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  line-height: 1.3;
}

/* === Homepage: footer color fills below content === */
body.page-home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #3a3330;
}

body.page-home .site-footer {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  background-color: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(58, 51, 48, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 2rem;
}

.navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
}

.navbar-brand img {
  max-height: 150px;
  transition: max-height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  max-height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-socials {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin-left: auto;
}

.nav-socials a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  text-decoration: none;
}

.nav-socials a:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* === Hero (homepage) === */
.hero-section {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  display: block;
  filter: brightness(0.7);
}

.home-content {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  z-index: 3;
}

.home-content h2 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.home-shows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.home-show-row,
.home-show-row:link,
.home-show-row:visited,
.home-show-row:active {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.home-show-row:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.home-show-date {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 55px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.home-show-venue {
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.home-show-city {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.home-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* === CTA Buttons === */
.hero-cta-outline {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hero-cta-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* === Page Banner (shows, about, our-sound) === */
.page-banner {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-bottom: 0;
}

.page-banner-bg {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.75);
}

/* === Section Header Overlap === */
.section-header-overlap {
  position: relative;
  margin-top: -3rem;
  z-index: 3;
  padding: 0 1rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-overlap h2 {
  display: inline-block;
  padding: 0.75rem 2.5rem 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* === Shows === */
.shows-columns {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.shows-column-header {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: #8b6f5e;
  margin-bottom: 1rem;
}

.show-card {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.show-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.show-card.past {
  opacity: 0.6;
}

.show-date {
  min-width: 70px;
  text-align: center;
}

.show-date .month {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #8b6f5e;
}

.show-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: #3a3330;
}

.show-date .year {
  font-size: 0.75rem;
  color: #a89888;
}

.show-details h3 {
  margin: 0 0 0.2rem 0;
  font-size: 1.05rem;
  color: #3a3330;
}

.show-details .venue-info {
  color: #8b6f5e;
  font-size: 0.9rem;
  margin: 0;
}

.show-details .venue-info a {
  color: #8b6f5e;
}

.show-details .venue-info a:hover {
  color: #5c4a3e;
}

.show-details .show-time {
  color: #a89888;
  font-size: 0.85rem;
  margin: 0;
}

/* === Song Grid === */
.repertoire-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.song-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.song-card:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border-color: #8b6f5e;
}

.song-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #3a3330;
  margin-bottom: 0.25rem;
}

.song-artist {
  color: #8b6f5e;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0.3rem;
}

/* === About === */
.about-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-photo img {
  width: 100%;
  border-radius: 6px;
}

.about-text p {
  color: #6b5b52;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.member-card {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
}

.member-card h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  color: #3a3330;
}

.member-card p {
  margin: 0;
  color: #8b6f5e;
  font-size: 0.85rem;
  font-style: italic;
}

.about-photo-secondary {
  max-width: 500px;
  margin: 0 auto;
}

.about-photo-secondary img {
  width: 100%;
  border-radius: 6px;
}

/* === Booking Section === */
.booking-section {
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 1px solid #e0d6cf;
}

.booking-section h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  color: #3a3330;
  margin-bottom: 0.75rem;
}

.booking-section p {
  color: #6b5b52;
  margin-bottom: 1.5rem;
}

.booking-section .hero-cta-outline {
  border-color: #8b6f5e;
  color: #8b6f5e;
}

.booking-section .hero-cta-outline:hover {
  background: #8b6f5e;
  color: #ffffff;
}

/* === Footer === */
.site-footer {
  background-color: #3a3330;
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 1rem;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  max-width: 200px;
  filter: invert(1);
  margin: 0 auto 0.25rem;
  opacity: 0.85;
}

.footer-socials {
  display: none;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #ffffff;
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-text a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* === Tablet === */
@media (max-width: 992px) {
  .song-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .navbar-brand img {
    max-height: 100px;
  }

  .navbar {
    padding: 1.5rem 1.5rem;
  }
}

/* === Mobile === */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
  }

  .navbar-brand {
    position: relative;
    left: auto;
    transform: none;
    order: 2;
    flex: 1;
    text-align: center;
  }

  .navbar-brand img {
    max-height: 55px;
    display: inline-block;
  }

  .navbar.scrolled .navbar-brand img {
    max-height: 40px;
  }

  .nav-toggle {
    display: block;
    order: 1;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    background: rgba(58, 51, 48, 0.95);
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-socials {
    display: none;
  }

  /* Invisible spacer to balance hamburger */
  .nav-spacer {
    width: 22px;
    order: 3;
  }

  /* Hero — portrait image on mobile, overlapping text */
  .hero-bg {
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .home-content {
    bottom: 0;
    padding: 0.5rem 0.75rem;
    max-width: 100%;
  }

  .home-content h2 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .home-shows {
    gap: 0.25rem;
    margin-bottom: 0.4rem;
  }

  .home-show-row,
  .home-show-row:link,
  .home-show-row:visited,
  .home-show-row:active {
    padding: 0.25rem 0.5rem;
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .home-show-date {
    font-size: 0.7rem;
    min-width: 40px;
  }

  .home-show-venue {
    font-size: 0.75rem;
  }

  .home-show-city {
    display: none;
  }

  .home-links {
    margin-top: 0.4rem;
    gap: 0.3rem;
  }

  .hero-cta-outline {
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
  }

  /* Page banners */
  .page-banner-bg {
    max-height: 40vh;
  }

  /* Section headers */
  .section-header-overlap h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  /* Shows */
  .shows-columns {
    grid-template-columns: 1fr;
  }

  .show-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  /* Songs */
  .song-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-photo-secondary {
    max-width: 100%;
  }

  .about-photo {
    display: none;
  }

  /* Footer: swap logo for socials */
  .footer-logo {
    display: none;
  }

  .footer-socials {
    display: flex;
  }

  .footer-text {
    font-size: 0.8rem;
  }
}
