/* ============================================================
   SECTION: LINEUP / INSTRUCTORS
   ============================================================ */
.section-lineup {
  background: var(--sand-warm);
  overflow: hidden;
}

.lineup-header {
  max-width: 60ch;
  margin-bottom: 4rem;
}

/* ── Headliner card ── */
.lineup-headliner {
  background: linear-gradient(160deg, var(--deep) 0%, var(--navy) 55%, var(--cobalt) 100%);
  border-radius: 28px;
  padding: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lineup-headliner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(142,203,184,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.headliner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ice);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}

.headliner-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.headliner-photo {
  position: relative;
  flex-shrink: 0;
}

.headliner-photo .photo-placeholder {
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.headliner-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.photo-initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

.headliner-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}

.headliner-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease);
}

.headliner-social a:hover {
  background: var(--ice);
  color: var(--deep);
}

.headliner-role-tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 0.75rem;
}

.headliner-content h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.headliner-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.headliner-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: none;
  margin-bottom: 1rem;
}

.headliner-classes {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.headliner-class-pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
}

@media (max-width: 760px) {
  .headliner-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .headliner-photo {
    max-width: 220px;
    margin: 0 auto;
  }
  .headliner-photo .photo-placeholder,
  .headliner-photo img {
    aspect-ratio: 1;
  }
}

/* ── Supporting lineup grid ── */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lineup-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176,221,212,0.25);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.lineup-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* DJ card gets a special treatment */
.lineup-card[data-type="dj"] {
  background: linear-gradient(160deg, var(--charcoal) 0%, #1A3045 100%);
}

.lineup-card[data-type="dj"] .lineup-info h3,
.lineup-card[data-type="dj"] .lineup-info p {
  color: var(--white);
}

.lineup-card[data-type="dj"] .lineup-role-tag {
  color: var(--ice);
}

.lineup-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.lineup-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.lineup-photo .photo-initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

.lineup-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}

.lineup-card:hover .lineup-photo img {
  transform: scale(1.04);
}

.lineup-type-icon {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.lineup-card[data-type="dj"] .lineup-type-icon {
  background: var(--ice);
}

.lineup-info {
  padding: 1.5rem 1.5rem 1.75rem;
}

.lineup-role-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lake);
  margin-bottom: 0.4rem;
}

.lineup-info h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.lineup-info p {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.7;
  opacity: 0.85;
  max-width: none;
}

.lineup-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--shimmer);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
}

.social-link:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

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

@media (max-width: 560px) {
  .lineup-grid {
    grid-template-columns: 1fr;
  }
  .lineup-headliner {
    padding: 2rem 1.5rem;
  }
}


/* ============================================================
   SECTION: GALLERY
   ============================================================ */
.section-gallery {
  background: var(--deep);
  padding-bottom: 0;
}

.section-gallery .container {
  margin-bottom: 3rem;
}

.section-gallery .eyebrow { color: var(--ice); }
.section-gallery h2 { color: var(--white); }
.section-gallery .section-subtitle { color: rgba(255,255,255,0.6); }

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: zoom-in;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,46,36,0.6) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  color: white;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Placeholder styles */
.gallery-item--placeholder {
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gallery-placeholder-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

.gallery-placeholder-note {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}

/* ── Lightbox ── */
.gallery-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 18, 0.94);
  z-index: 999;
  backdrop-filter: blur(8px);
}

.gallery-lightbox-backdrop[hidden],
.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-image-wrap {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--ice);
  color: var(--deep);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { top: 50%; left:  1.5rem; transform: translateY(-50%); }
.lightbox-next  { top: 50%; right: 1.5rem; transform: translateY(-50%); }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

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