/* ─── CUSTOM PROPERTIES ─────────────────────────────────────────────────── */
:root {
  --bg:          #150008;
  --bg-mid:      #2a0015;
  --brand:       #800040;
  --brand-dark:  #5c002e;
  --gold:        #f0c010;
  --gold-dark:   #c89a00;
  --cream:       #f4ede0;
  --cream-muted: #c8b090;
  --cream-dim:   #8a7060;
  --nav-h:       64px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:  6px;
  --trans:   0.25s ease;
}

/* ─── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--trans), opacity var(--trans);
}
a:hover { color: #fff; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── CONTAINER ─────────────────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}
.container-narrow {
  width: 90%;
  max-width: 760px;
  margin-inline: auto;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform 0.15s ease;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
}

/* ─── SECTION BASE ──────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: block;
}
.section-label--center { text-align: center; }

/* Decorative rule after section label */
.section-label::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-top: 0.6rem;
  opacity: 0.6;
}
.section-label--center::after { margin-inline: auto; }

/* ─── FADE-IN ON SCROLL ─────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── NAVIGATION ────────────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background var(--trans), backdrop-filter var(--trans), box-shadow var(--trans);
}
#main-nav.scrolled {
  background: var(--brand-dark);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--trans);
}
.nav-logo:hover img { transform: rotate(15deg) scale(1.1); }

#nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
}
#nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color var(--trans);
}
#nav-links a:hover { color: var(--gold); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  #nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--brand-dark);
    padding: 1.5rem 5%;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }
  #nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  #nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  #nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 0, 5, 0.55) 0%,
    rgba(90, 0, 40, 0.65) 50%,
    rgba(10, 0, 5, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 960px;
}

.hero-location {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.88;
  color: var(--cream);
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--cream-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--cream-muted);
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── ABOUT ─────────────────────────────────────────────────────────────── */
.section-about {
  background: var(--bg-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

.about-bio {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.about-bio:last-child { margin-bottom: 0; }
.about-bio em { color: var(--gold); font-style: italic; }

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ─── LISTEN ────────────────────────────────────────────────────────────── */
.section-listen {
  background: var(--bg);
}

.spotify-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* ─── SHOWS ─────────────────────────────────────────────────────────────── */
.section-shows {
  background: var(--bg-mid);
  overflow: hidden;
}

.shows-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
}
.shows-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.section-shows .container { position: relative; z-index: 1; }

.shows-block { margin-bottom: 4rem; }
.shows-block:last-child { margin-bottom: 0; }

.shows-subheading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.shows-list {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.show-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--trans);
}
.show-item:hover { background: rgba(255,255,255,0.02); }
.show-item--upcoming .show-date { color: var(--gold); }

.show-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream-muted);
  min-width: 7.5rem;
  flex-shrink: 0;
}

.show-venue {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}
.show-venue a { color: var(--cream); }
.show-venue a:hover { color: var(--gold); }

.show-city {
  font-size: 0.8rem;
  color: var(--cream-dim);
  flex-shrink: 0;
}

.show-supports {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--cream-muted);
  flex: 1;
  text-align: right;
}

.shows-list--past .show-item { opacity: 0.75; }
.shows-list--past .show-item:hover { opacity: 1; }

@media (max-width: 640px) {
  .show-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .show-supports { text-align: left; }
  .btn-sm { margin-top: 0.25rem; }
}

/* ─── PHOTOS ────────────────────────────────────────────────────────────── */
.section-photos {
  background: var(--bg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  border-radius: 2px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(128, 0, 64, 0);
  transition: background 0.4s ease;
}
.gallery-item:hover img  { transform: scale(1.06); filter: brightness(0.8); }
.gallery-item:hover::after { background: rgba(128, 0, 64, 0.2); }
.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Stagger gallery sizes for visual interest */
.gallery-item:nth-child(3n) { aspect-ratio: 1 / 1.2; }
.gallery-item:nth-child(5n) { aspect-ratio: 1 / 0.85; }

/* ─── CONTACT ───────────────────────────────────────────────────────────── */
.section-contact {
  background: var(--bg-mid);
}

.contact-booking {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
}
.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.contact-email:hover { color: #fff; }

/* Social icons */
.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-bottom: 4rem;
}
.social-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream-muted);
  transition: color var(--trans), transform var(--trans);
}
.social-links a:hover { color: var(--gold); transform: translateY(-3px); }
.social-links svg {
  width: 28px;
  height: 28px;
}
.social-links span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Signup form */
.signup-block {
  text-align: center;
  padding: 3rem;
  border: 1px solid rgba(240, 192, 16, 0.2);
  border-radius: var(--radius);
  background: rgba(128, 0, 64, 0.15);
}
.signup-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.signup-sub {
  color: var(--cream-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--trans);
}
.signup-form input::placeholder { color: var(--cream-dim); }
.signup-form input:focus { border-color: var(--gold); }
@media (max-width: 480px) {
  .signup-form { flex-direction: column; }
}

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-dark);
  padding: 2.5rem 0;
  text-align: center;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo {
  border-radius: 50%;
  opacity: 0.7;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--cream-dim);
  letter-spacing: 0.06em;
}

/* ─── LIGHTBOX ──────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox-inner {
  max-width: min(90vw, 900px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
.lightbox-caption {
  font-size: 0.8rem;
  color: var(--cream-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(128, 0, 64, 0.6);
  border: 1px solid rgba(240, 192, 16, 0.3);
  color: var(--cream);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--trans), color var(--trans);
  z-index: 2001;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--brand);
  color: var(--gold);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1.4rem; }
.lightbox-prev  { left: 1.5rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
