/* ─────────────────────────────────────────────────────────────────
   gallery.css — Photo Gallery Grid & Lightbox Styles

/* ── Gallery Hero ────────────────────────────────────────────────── */

.hero--gallery {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 15% 40%, rgba(232,160,32,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 85% 60%, rgba(201,145,26,0.08) 0%, transparent 65%),
    linear-gradient(175deg, #080f09 0%, #0d1a12 40%, #111e0f 100%);
  overflow: hidden;
}

.hero--gallery::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--clr-gold) 50%, transparent 100%);
  opacity: 0.5;
}

.hero__content--gallery {
  position: relative;
  z-index: 2;
  padding: var(--space-16) var(--space-6);
  max-width: 800px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin: 0 0 var(--space-4);
  display: block;
}

.hero__title--gallery {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--clr-heading);
  line-height: 1.0;
  margin: 0 0 var(--space-4);
  letter-spacing: 0.02em;
}

.hero__subtitle--gallery {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--clr-text-muted);
  margin: 0;
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */

.breadcrumb {
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-3) 0;
}

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  color: var(--clr-border);
}

.breadcrumb__link {
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.breadcrumb__link:hover { color: var(--clr-gold); }

.breadcrumb__current {
  color: var(--clr-gold);
  font-weight: 500;
}

/* ── Remove stray preload link (handled by gallery.css, not HTML) ─ */
   Tokens consumed: --clr-bg, --clr-bg-card, --clr-gold, --clr-fire,
   --clr-text, --clr-text-muted, --clr-heading, --clr-border,
   --clr-overlay, --clr-btn-bg, --clr-btn-text, --clr-btn-hover,
   --font-display, --font-heading, --font-body,
   --space-*, --radius-*, --text-*, --ease-base, --ease-fast,
   --container-max
   ───────────────────────────────────────────────────────────────── */

/* ── Video Section ─────────────────────────────────────────────── */

.video-section {
  text-align: center;
}

.video-section .section-heading {
  font-family: var(--font-heading);
  color: var(--clr-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.video-section .section-subtext {
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
}

.video-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.festival-video {
  width: 100%;
  max-width: 960px;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  display: block;
}

/* ── Gallery Section ────────────────────────────────────────────── */

.gallery-section .section-heading {
  font-family: var(--font-heading);
  color: var(--clr-heading);
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-2);
}

.gallery-credit {
  text-align: center;
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}

.gallery-credit strong {
  color: var(--clr-gold);
}

/* ── Gallery Grid ────────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* ── Gallery Item (button wrapper) ─────────────────────────────── */

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--ease-base), transform var(--ease-base);
  aspect-ratio: 3 / 2;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: var(--clr-gold);
  transform: scale(1.02);
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

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

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

/* ── Gallery Item Overlay (hover label) ─────────────────────────── */

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: var(--clr-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease-base);
  pointer-events: none;
  border-radius: var(--radius-md);
}

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

.gallery-zoom-icon {
  font-size: var(--text-4xl);
  color: var(--clr-gold);
  font-family: var(--font-display);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ── Gallery Credit Footer ─────────────────────────────────────── */

.gallery-credit-footer {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  padding-top: var(--space-4);
  border-top: 1px solid var(--clr-border);
}

.gallery-credit-footer strong {
  color: var(--clr-gold);
}

/* ── Coming Soon Section ─────────────────────────────────────────── */

.gallery-coming-soon {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.coming-soon-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  color: var(--clr-border);
  line-height: 0.85;
  letter-spacing: 0.05em;
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
  margin-bottom: calc(var(--space-4) * -1);
}

.gallery-coming-soon .section-heading {
  font-family: var(--font-heading);
  color: var(--clr-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.gallery-coming-soon p {
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.coming-soon-social {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CTA Strip ───────────────────────────────────────────────────── */

.section--cta {
  background: var(--clr-bg-card);
  text-align: center;
  border-top: 1px solid var(--clr-border);
}

.cta-strip-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-strip-heading {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--clr-heading);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
}

.cta-strip-subtext {
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.btn-large {
  padding: 18px 48px;
  font-size: var(--text-lg);
}

/* ── Lightbox Overlay ────────────────────────────────────────────── */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  animation: lightbox-fade-in var(--ease-fast) both;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightbox-scale-in 200ms ease both;
}

@keyframes lightbox-scale-in {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  width: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: var(--space-3);
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-align: center;
}

.lightbox-credit {
  color: var(--clr-gold);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  margin-top: var(--space-1);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: calc(var(--space-4) * -1);
  right: calc(var(--space-4) * -1);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  font-size: var(--text-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease-fast), border-color var(--ease-fast);
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--clr-bg-input);
  border-color: var(--clr-gold);
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

/* Prev / Next navigation (optional structure — populated by JS) */
.lightbox-nav {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.lightbox-nav-btn {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

.lightbox-nav-btn:hover,
.lightbox-nav-btn:focus-visible {
  border-color: var(--clr-gold);
  background: var(--clr-bg-input);
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

.lightbox-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
