/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --bg:        #1a1714;
  --bg-alt:    #231f1a;
  --accent:    #e8553d;
  --accent2:   #d4a843;
  --text:      #f5f0e8;
  --text-dim:  rgba(245,240,232,0.75);
  --text-muted:rgba(245,240,232,0.42);
  --border:    rgba(245,220,180,0.12);
  --nav-h:     70px;
  --font:      'Roboto', sans-serif;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 100; letter-spacing: 0.05em; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
h4 { font-size: 1.1rem; font-weight: 300; }
p  { margin-bottom: 1em; color: var(--text-dim); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 400; color: var(--text); }

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.container { width: min(1200px, 90vw); margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75em 2.2em;
  border: 2px solid var(--text);
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}
.btn-primary:hover { background: transparent; color: var(--accent); }

/* ── Navigation ─────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(20,16,12,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}
#main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  padding-inline: clamp(1rem, 4vw, 3rem);
  gap: 1rem;
}
.nav-logo a {
  font-size: 1.7rem;
  font-weight: 100;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links > li { position: relative; }
.nav-link {
  display: block;
  padding: 0.4em 0.8em;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.btn-tickets {
  background: var(--accent);
  color: var(--text) !important;
  border-radius: 3px;
  padding: 0.4em 1.1em;
}
.btn-tickets:hover { background: var(--accent2); }
.btn-subscribe { color: var(--text-dim); }
.pulse { animation: pulse-glow 1.8s ease-in-out infinite; }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 6px var(--accent); }
  50%      { box-shadow: 0 0 18px var(--accent), 0 0 30px rgba(232,85,61,0.3); }
}
.caret { font-size: 0.6em; opacity: 0.6; }

/* Dropdown */
.has-dropdown { position: relative; }
@media (hover: hover) and (min-width: 701px) {
  .has-dropdown { padding-bottom: 8px; margin-bottom: -8px; }
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: rgba(20,16,12,0.97);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 0.65em 1.2em;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover { background: var(--border); color: var(--text); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Section ───────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,6,0.4) 0%, rgba(10,8,6,0.15) 50%, rgba(10,8,6,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.hero-content h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 100;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 100;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-logo { width: min(240px, 48vw); margin: 0 auto 2rem; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Spotlight Sections ─────────────────────────────────────────────────────── */
/* ── Standard spotlight — full-bleed image with directional gradient overlay */
.spotlight {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72vh;
  overflow: hidden;
}

/* Image fills the full section behind the content */
.spotlight-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: brightness(0.65) saturate(0.8);
}
.spotlight:hover .spotlight-image img {
  transform: scale(1.04);
  filter: brightness(0.75) saturate(0.9);
}

/* Gradient overlay: dark on text side, fades to transparent on image side */
.spotlight-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(18,14,10,0.92) 0%,
    rgba(18,14,10,0.72) 38%,
    rgba(18,14,10,0.28) 65%,
    rgba(18,14,10,0.08) 100%
  );
}
/* Reverse: gradient flips so text is on the right */
.spotlight.reverse .spotlight-image::after {
  background: linear-gradient(
    to left,
    rgba(18,14,10,0.92) 0%,
    rgba(18,14,10,0.72) 38%,
    rgba(18,14,10,0.28) 65%,
    rgba(18,14,10,0.08) 100%
  );
}

/* Content floats over the image */
.spotlight-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 6rem);
  background: transparent;
}
.spotlight-content-inner { max-width: 520px; }
/* Reverse: push text block to the right */
.spotlight.reverse .spotlight-content { justify-content: flex-end; }
.spotlight-content h2 { margin-bottom: 0.5rem; }
.spotlight-content .subtitle {
  font-size: 1.05rem;
  color: var(--accent2);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.spotlight-content p { margin-bottom: 1rem; }
.spotlight-content .btn { margin-top: 1rem; }

/* ── Full-width parallax spotlight (About section) ──────────────────────── */
.spotlight-full {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.spotlight-full .parallax-bg {
  position: absolute;
  inset: -15%;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-color: #2e2e3a;
  filter: brightness(0.7) saturate(0.85);
}
.spotlight-full .parallax-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,10,6,0.96) 0%,
    rgba(14,10,6,0.6)  45%,
    rgba(14,10,6,0.15) 80%,
    transparent 100%
  );
}
.spotlight-full .spotlight-content {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
  padding: 5rem clamp(2rem,5vw,5rem);
}
.spotlight-full .spotlight-content-inner { max-width: 900px; }
.spotlight-full .col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ── Bands Mosaic ───────────────────────────────────────────────────────────── */
#bands-section {
  padding: 5rem 0;
  background: var(--bg);
}
#bands-section > .container > h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.bands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px;
}
.band-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
}
.band-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.band-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.6);
}
.band-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.band-card-overlay::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.4);
}
.band-card:hover .band-card-overlay { opacity: 1; }
.band-card-name {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.band-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-alt), #32323f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.3;
}

/* Band modal */
.band-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow-y: auto;
  padding: var(--nav-h) 1rem 2rem;
}
.band-modal.open { display: block; }
.band-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,16,12,0.95);
  z-index: -1;
}
.band-modal-box {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.band-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.band-modal-close:hover { opacity: 1; }
.band-modal-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}
.band-modal-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--bg-alt), #32323f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.2;
}
.band-modal-body { padding: 2.5rem; }
.band-modal-body h2 { margin-bottom: 0.25rem; }
.band-modal-stage {
  font-size: 0.85rem;
  color: var(--accent2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.band-modal-desc { margin-bottom: 2rem; }
.band-modal-members h4 {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.band-modal-members ul { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.band-modal-members li {
  font-size: 0.9rem;
  color: var(--text-dim);
}
.band-modal-members li strong { color: var(--text); font-weight: 300; }
.band-extra-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px;
  margin-top: 2rem;
}
.band-extra-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ── Testimonials ───────────────────────────────────────────────────────────── */
#testimonials-section {
  padding: 6rem 0;
  background: var(--bg-alt);
  text-align: center;
}
#testimonials-section h2 { margin-bottom: 0.5rem; }
#testimonials-section .section-sub {
  color: var(--text-dim);
  margin-bottom: 3rem;
}
.testimonial-slider {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  min-height: 220px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.testimonial-quote {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 100;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.testimonial-attr {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.testimonial-dot.active { background: var(--accent); }

/* ── In the Media ───────────────────────────────────────────────────────────── */
#media-section {
  padding: 5rem 0;
  background: var(--bg);
}
#media-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.media-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.media-card a {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  height: 100%;
}
.media-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-alt), #2a2520);
}
.media-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), #2a2520);
  font-size: 2.5rem;
  opacity: 0.3;
}
.media-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  flex: 1;
}
.media-publication {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
}
.media-title {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
}
.media-arrow {
  padding: 0 1.25rem 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.media-card:hover .media-arrow {
  opacity: 1;
}

/* ── Sponsor Banner ─────────────────────────────────────────────────────────── */
#sponsors-banner {
  padding: 2rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.sponsor-track-wrap { overflow: hidden; }
.sponsor-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  transform: translateZ(0);
}
#sponsors-banner:hover .sponsor-track { animation-play-state: paused; }
.sponsor-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-item a { position: relative; display: block; }
.sponsor-item img {
  height: 100px;
  width: auto;
  max-width: 260px;
  margin: 0 2.5rem;
  object-fit: contain;
  filter: grayscale(40%) brightness(1.1);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}
.sponsor-item a:hover img { filter: none; opacity: 1; }
.sponsor-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3em 0.75em;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.sponsor-item a:hover .sponsor-tooltip { opacity: 1; }

/* ── Timetable ──────────────────────────────────────────────────────────────── */
.timetable-wrap {
  padding: 5rem 0;
  background: var(--bg);
}
.tt-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.tt-headbar {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.tt-headbar h2 { font-size: 1.5rem; }
.tt-legend { display: flex; gap: 1.5rem; }
.tt-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 0.4rem;
}
.tt-grid {
  display: grid;
  grid-template-columns: 80px repeat(2, 1fr);
  border-top: 1px solid var(--border);
}
.tt-head {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.tt-day {
  grid-column: 1 / -1;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.tt-cell {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-dim);
}
.tt-time { font-size: 0.75rem; color: var(--text-muted); }
.tt-slot {
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}
.tt-slot:hover { background: rgba(255,255,255,0.04); }
.tt-main  { border-left: 3px solid #3aa87a; }
.tt-dragon { border-left: 3px solid #5480f1; }

/* ── Contact Section ─────────────────────────────────────────────────────────── */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.contact-section h2 { margin-bottom: 0.5rem; }
.contact-section > .container > p {
  color: var(--text-dim);
  margin-bottom: 3rem;
}
.contact-form { max-width: 650px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.7em 1em;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-alt); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
#site-footer {
  padding: 3rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { color: var(--text-muted); transition: color 0.2s; }
.social-links a:hover { color: var(--accent); }
.copyright { font-size: 0.8rem; color: var(--text-muted); }
.copyright a { color: var(--text-muted); text-decoration: underline; }

/* ── Modals ──────────────────────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.modal.open { display: flex; }
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,10,6,0.88);
  z-index: 2999;
}
.modal-overlay.open { display: block; }
.modal-box {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 440px;
  width: 90vw;
  z-index: 3001;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-box h3 { margin-bottom: 0.5rem; }
.modal-box p { margin-bottom: 1.5rem; }
.subscribe-form .form-group { margin-bottom: 1.25rem; }

/* ── Section wrapper (about/get involved/sponsor pages) ───────────────────── */
.page-wrapper {
  padding-top: var(--nav-h);
  min-height: 100svh;
}
.page-hero {
  position: relative;
  padding: 6rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg));
}
.page-hero h1 { position: relative; }
.page-hero p { position: relative; color: var(--text-dim); margin-top: 0.5rem; }
.page-content { padding: 4rem 0; }

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.25rem; }
.faq-answer p { color: var(--text-dim); margin: 0; }

/* ── Band detail page ─────────────────────────────────────────────────────── */
.band-detail {
  padding-top: var(--nav-h);
}
.band-detail-hero {
  position: relative;
  height: 60vh;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.band-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent 50%);
}
.band-detail-title {
  position: relative;
  z-index: 1;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
}
.band-detail-title h1 { font-size: clamp(2rem, 5vw, 4rem); }
.band-detail-body {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Flash messages ──────────────────────────────────────────────────────── */
.flash {
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.flash-success { background: rgba(57,192,136,0.15); border: 1px solid #3aa87a; color: #3aa87a; }
.flash-error   { background: rgba(255,95,126,0.15); border: 1px solid var(--accent); color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

/* ── iOS / touch: disable background-attachment:fixed (unsupported on Safari) */
@media (hover: none) {
  .hero-bg {
    background-attachment: scroll;
  }
  .spotlight-full .parallax-bg {
    background-attachment: scroll;
    inset: 0;
    filter: brightness(0.65) saturate(0.85);
  }
}

/* ── Tablet ≤ 900px ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Section spacing */
  #bands-section,
  #testimonials-section,
  #media-section,
  .timetable-wrap,
  .contact-section { padding: 4rem 0; }

  /* Spotlight — stronger gradient for readability */
  .spotlight {
    min-height: 60vw;
    align-items: flex-end;
  }
  .spotlight-content {
    width: 100%;
    padding: 3.5rem 2rem;
  }
  .spotlight-content-inner { max-width: 100%; }
  .spotlight.reverse .spotlight-content { justify-content: flex-start; }
  .spotlight-image::after,
  .spotlight.reverse .spotlight-image::after {
    background: linear-gradient(
      to top,
      rgba(18,14,10,0.96) 0%,
      rgba(18,14,10,0.78) 35%,
      rgba(18,14,10,0.3) 70%,
      transparent 100%
    );
  }

  /* Spotlight-full */
  .spotlight-full { min-height: 55vw; }

  /* Band detail */
  .band-detail-body { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Mobile ≤ 700px ─────────────────────────────────────────────────────────── */
@media (max-width: 700px) {

  /* ── Nav ── */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset-block: var(--nav-h) 0;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(20,16,12,0.98);
    padding: 0.5rem 0;
    gap: 0;
    overflow-y: auto;
    backdrop-filter: blur(10px);
  }
  .nav-links.open { display: flex; }
  .nav-link {
    padding: 1em 1.5em;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.08em;
  }
  .btn-tickets {
    margin: 0.75rem 1.5rem;
    text-align: center;
    border-radius: 3px;
    display: block;
  }
  .has-dropdown { padding-bottom: 0; margin-bottom: 0; }
  .dropdown {
    position: static;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    display: none;
    min-width: 0;
    padding-top: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .caret { display: inline-block; transform: rotate(180deg); }
  .dropdown li a {
    padding: 0.85em 2.5em;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
  }
  .dropdown li:last-child a { border-bottom: none; }

  /* ── Hero ── */
  .hero-bg { background-attachment: scroll; }
  .hero-content h1 {
    font-size: clamp(2.6rem, 13vw, 5rem);
    letter-spacing: 0.12em;
  }
  .hero-content p {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
  }
  .hero-logo { width: min(150px, 35vw); margin-bottom: 1.5rem; }
  .hero-scroll-hint { display: none; }

  /* ── Spotlight sections — stacked layout (image above, content below) ── */
  .spotlight {
    display: flex;
    flex-direction: column;
    min-height: auto;
    align-items: stretch;
  }
  .spotlight-image {
    position: relative;
    inset: auto;
    max-height: 40vh;
    overflow: hidden;
  }
  .spotlight-image img {
    filter: brightness(0.75) saturate(0.85);
  }
  .spotlight-image::after,
  .spotlight.reverse .spotlight-image::after {
    background: linear-gradient(
      to bottom,
      transparent 50%,
      rgba(18,14,10,0.6) 100%
    );
  }
  .spotlight-content {
    width: 100%;
    background: var(--bg-alt);
    padding: 2.5rem 1.5rem 3rem;
    text-align: center;
    border-top: 3px solid var(--accent);
  }
  .spotlight-content-inner { max-width: 100%; }
  .spotlight.reverse .spotlight-content { justify-content: flex-start; }
  .spotlight-content h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .spotlight-content .subtitle { font-size: 0.95rem; margin-bottom: 1rem; }
  .spotlight-content p { font-size: 0.92rem; line-height: 1.8; }
  .spotlight-content .btn { margin-top: 0.5rem; }

  /* ── Spotlight-full (About) ── */
  .spotlight-full {
    display: flex;
    flex-direction: column;
    min-height: auto;
    align-items: stretch;
  }
  .spotlight-full .parallax-bg {
    position: relative;
    inset: auto;
    background-attachment: scroll;
    height: 35vh;
    min-height: 200px;
  }
  .spotlight-full .spotlight-content {
    background: var(--bg-alt);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 3px solid var(--accent);
  }
  .spotlight-full .col-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1rem;
  }
  .spotlight-full .col-grid p { margin-bottom: 0.75rem; }

  /* ── Bands ── */
  .bands-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  #bands-section { padding: 3rem 0; }
  #bands-section > .container > h2 { margin-bottom: 2rem; }

  /* ── Testimonials ── */
  #testimonials-section { padding: 3.5rem 0; }
  .testimonial-slider { min-height: 300px; }
  .testimonial-quote { font-size: 0.95rem; }

  /* ── In the Media ── */
  #media-section { padding: 3.5rem 0; }
  .media-grid { grid-template-columns: 1fr; gap: 1rem; }
  .media-title { font-size: 0.95rem; }

  /* ── Sponsor banner ── */
  .sponsor-item img { height: 70px; max-width: 180px; margin: 0 1.5rem; }

  /* ── Timetable ── */
  .timetable-wrap { padding: 3rem 0; }
  .tt-grid { grid-template-columns: 55px repeat(2, 1fr); }
  .tt-cell, .tt-head, .tt-time { padding: 0.5rem 0.5rem; font-size: 0.76rem; }

  /* ── Contact ── */
  .contact-section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Band modal ── */
  .band-modal { padding: var(--nav-h) 0.5rem 1.5rem; }
  .band-modal-body { padding: 1.5rem 1.25rem; }
  .band-modal-box { margin: 1rem auto; }
}

/* ── Small mobile ≤ 480px ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .bands-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .hero-content h1 {
    font-size: clamp(2.2rem, 15vw, 3.5rem);
    letter-spacing: 0.08em;
  }
  .hero-content { padding: 1.5rem; }
  .spotlight { min-height: auto; }
  .spotlight-full { min-height: auto; }
  .media-grid { grid-template-columns: 1fr; }
}


/* ── Utility ─────────────────────────────────────────────────────────────────── */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.accent { color: var(--accent); }

/* ── Fade-in on scroll ────────────────���──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
