/* ==========================================================================
   NOAH'S ARK ARCHAEOLOGICAL RESEARCH & EVIDENCE PORTAL
   Design System & Modern Stylesheet
   ========================================================================== */

:root {
  /* Color Palette - Archeological Obsidian, Bronze & Azure */
  --bg-primary: #070a11;
  --bg-secondary: #0d1527;
  --bg-card: rgba(17, 26, 47, 0.78);
  --bg-card-hover: rgba(26, 38, 68, 0.85);
  --bg-glass: rgba(13, 21, 39, 0.65);
  --bg-glass-strong: rgba(10, 16, 30, 0.88);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(217, 119, 6, 0.35);
  --border-glow: rgba(56, 189, 248, 0.4);

  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-dark: #b45309;
  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #fde68a;

  /* Typography */
  --font-serif: "Cinzel", "Cinzel Decorative", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Fira Code", monospace;

  /* Elevation & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-cyan: 0 0 25px rgba(56, 189, 248, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(217, 119, 6, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Universal Bar (Divine Revelations Network) */
.dr-network-bar {
  background: rgba(4, 7, 14, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 0;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dr-network-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dr-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.dr-brand:hover {
  color: var(--accent-gold-light);
}

.dr-brand-badge {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.dr-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.dr-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.825rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dr-nav-link:hover {
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.38) contrast(1.15) saturate(1.1);
  transform: scale(1.04);
  transition: transform 12s ease-out;
}

.hero:hover .hero-bg-image {
  transform: scale(1.08);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 17, 0.4) 0%,
    rgba(7, 10, 17, 0.8) 65%,
    var(--bg-primary) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 980px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title span.gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #000;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.55);
}

.btn-secondary {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: #fff;
}

/* Quick Facts Dashboard in Hero */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1040px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Navigation Sticky Tabs
   ========================================================================== */
.section-nav-wrapper {
  position: sticky;
  top: 42px;
  z-index: 90;
  background: rgba(7, 10, 17, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-light);
  border-color: var(--border-accent);
  font-weight: 600;
}

/* ==========================================================================
   Sections & Cards Layout
   ========================================================================== */
.main-content {
  padding: 4rem 0 6rem;
}

.content-section {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.content-section.active-section {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

/* Feature & Evidence Cards */
.evidence-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.evidence-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.evidence-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #020617;
  cursor: pointer;
}

.evidence-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.evidence-card:hover .evidence-card-media img {
  transform: scale(1.05);
}

.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.25rem 0.7rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.evidence-card-media:hover .zoom-hint {
  opacity: 1;
}

.evidence-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.evidence-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.evidence-card-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.evidence-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.evidence-tag {
  color: var(--accent-gold-light);
  font-weight: 600;
}

/* Quote Callout Block */
.expert-quote-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.85));
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
  position: relative;
}

.expert-quote-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.expert-quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.author-info p {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

/* ==========================================================================
   Dimension & Cubit Interactive Scale
   ========================================================================== */
.scale-comparison-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
}

.scale-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.scale-btn {
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.scale-btn.active, .scale-btn:hover {
  background: var(--accent-gold);
  color: #000;
  font-weight: 600;
  border-color: var(--accent-gold);
}

.comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comp-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.comp-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.comp-bar-track {
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.comp-bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.comp-bar-fill.ark {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.comp-bar-fill.football {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.comp-bar-fill.b747 {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.comp-bar-fill.titanic {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

/* Scripture Callout Card */
.scripture-card {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.scripture-ref {
  font-family: var(--font-serif);
  color: var(--accent-gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scripture-text {
  font-size: 1.15rem;
  color: #f8fafc;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.scripture-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Laboratory Data & Radar Breakdown
   ========================================================================== */
.lab-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.lab-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.lab-metric-card.highlight {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.lab-metric-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.35rem;
}

.lab-metric-title {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.lab-metric-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Documentary Video Cinema Theater
   ========================================================================== */
.cinema-theater {
  background: radial-gradient(circle at center, #111b33 0%, #050810 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.theater-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.theater-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: #fff;
}

.video-source-switcher {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.vsource-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.825rem;
  font-weight: 600;
  transition: var(--transition);
}

.vsource-btn.active {
  background: var(--accent-cyan);
  color: #000;
}

.video-frame-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.video-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.theater-downloads {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.download-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.download-pill:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

/* ==========================================================================
   Filterable Photo Gallery
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090e1a;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

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

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

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 80%);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Full Screen Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 6, 12, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-counter {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.lightbox-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  color: var(--accent-gold);
  transform: scale(1.15);
}

.lightbox-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 4rem;
  user-select: none;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.lightbox-nav-btn.prev {
  left: 1.5rem;
}

.lightbox-nav-btn.next {
  right: 1.5rem;
}

.lightbox-caption-box {
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 10, 17, 0.8);
}

.lightbox-caption-text {
  color: var(--text-main);
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #03060c;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cinema-theater {
    padding: 1.25rem;
  }

  .lightbox-viewport {
    padding: 1rem 1.5rem;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .scale-comparison-box {
    padding: 1.5rem 1rem;
  }
}
