/* ============================================
   Moon & Seema — 25th Silver Jubilee
   Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Silver Jubilee palette */
  --silver-100: #f8f9fa;
  --silver-200: #e9ecef;
  --silver-300: #c0c5cc;
  --silver-400: #a8aeb6;
  --silver-500: #8b929b;

  --gold-100: #fef9ef;
  --gold-200: #fcefc7;
  --gold-300: #f5d48e;
  --gold-400: #d4a843;
  --gold-500: #b8860b;
  --gold-600: #8b6914;

  --rose-100: #fff0f3;
  --rose-200: #ffd6e0;
  --rose-300: #f7a4bb;
  --rose-400: #e76f8b;
  --rose-500: #c9184a;

  --cream: #fdfaf3;
  --ivory: #faf8f0;
  --charcoal: #2b2b2b;
  --deep-wine: #4a0e2e;
  --midnight: #1a1a2e;
  --soft-white: #fefefe;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #4a0e2e 40%, #6b1d3a 70%, #2b2b2b 100%);
  --gradient-gold: linear-gradient(135deg, #d4a843 0%, #f5d48e 50%, #b8860b 100%);
  --gradient-silver: linear-gradient(135deg, #c0c5cc 0%, #f8f9fa 50%, #a8aeb6 100%);
  --gradient-warm: linear-gradient(180deg, #fdfaf3 0%, #fff0f3 100%);
  --gradient-section-alt: linear-gradient(180deg, #faf8f0 0%, #fef9ef 100%);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-elegant: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-elevated: 0 16px 60px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 30px rgba(212, 168, 67, 0.25);
  --shadow-rose: 0 4px 30px rgba(231, 111, 139, 0.2);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-medium: 0.5s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: var(--space-3xl) var(--space-lg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

/* ---------- Section Headers ---------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gradient-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-elegant);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--silver-500);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  font-weight: 300;
  font-style: italic;
}

/* ---------- Decorative Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: var(--space-lg) auto;
  max-width: 300px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}

.divider-icon {
  color: var(--gold-400);
  font-size: 1.2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-300);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--silver-300);
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--silver-300);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-medium);
}

.nav-links a:hover {
  color: var(--gold-300);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold-300);
  transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(2px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.4) 0%,
    rgba(74, 14, 46, 0.5) 50%,
    rgba(26, 26, 46, 0.9) 100%
  );
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-300);
  opacity: 0;
  animation: particleFloat 6s infinite ease-in-out;
}

.particle:nth-child(1)  { left:10%;  top:20%; animation-delay:0s;   animation-duration:7s; }
.particle:nth-child(2)  { left:25%;  top:60%; animation-delay:1s;   animation-duration:5s; }
.particle:nth-child(3)  { left:40%;  top:30%; animation-delay:2s;   animation-duration:8s; }
.particle:nth-child(4)  { left:60%;  top:70%; animation-delay:0.5s; animation-duration:6s; }
.particle:nth-child(5)  { left:75%;  top:40%; animation-delay:1.5s; animation-duration:7s; }
.particle:nth-child(6)  { left:85%;  top:25%; animation-delay:3s;   animation-duration:5s; }
.particle:nth-child(7)  { left:15%;  top:80%; animation-delay:2.5s; animation-duration:9s; }
.particle:nth-child(8)  { left:50%;  top:15%; animation-delay:0.8s; animation-duration:6s; }
.particle:nth-child(9)  { left:90%;  top:60%; animation-delay:1.8s; animation-duration:7s; }
.particle:nth-child(10) { left:35%;  top:85%; animation-delay:3.5s; animation-duration:5s; }
.particle:nth-child(11) { left:5%;   top:50%; animation-delay:2.2s; animation-duration:8s; }
.particle:nth-child(12) { left:70%;  top:10%; animation-delay:4s;   animation-duration:6s; }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  25% { opacity: 0.6; }
  50% { opacity: 0.8; transform: translateY(-40px) scale(1); }
  75% { opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  background: rgba(212, 168, 67, 0.08);
  opacity: 0;
  animation: fadeInUp 1s 0.3s var(--ease-out-expo) forwards;
}

.hero-year {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 1s 0.5s var(--ease-out-expo) forwards;
}

.hero-year .number {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-year .suffix {
  font-size: 0.35em;
  vertical-align: super;
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-names {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--soft-white);
  margin-bottom: var(--space-xs);
  opacity: 0;
  animation: fadeInUp 1s 0.7s var(--ease-out-expo) forwards;
}

.hero-names .ampersand {
  font-family: var(--font-elegant);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-300);
  font-size: 0.7em;
  margin: 0 12px;
}

.hero-tagline {
  font-family: var(--font-elegant);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--silver-300);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 1s 0.9s var(--ease-out-expo) forwards;
}

.hero-date {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--gold-400);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s 1.1s var(--ease-out-expo) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--silver-400);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.5s var(--ease-out-expo) forwards;
  cursor: pointer;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.our-story {
  background: var(--gradient-warm);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.story-image-wrapper {
  position: relative;
}

.story-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.story-image-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-image-frame:hover img {
  transform: scale(1.03);
}

.story-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.story-accent-frame {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold-300);
  border-radius: var(--radius-md);
  opacity: 0.3;
  z-index: -1;
}

.story-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.story-text p {
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

.story-quote {
  position: relative;
  padding: var(--space-md) var(--space-lg);
  background: rgba(212, 168, 67, 0.06);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: var(--space-md);
}

.story-quote p {
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--deep-wine);
  margin-bottom: 0;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline-section {
  background: var(--gradient-section-alt);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400), var(--gold-300));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-400);
  border: 3px solid var(--cream);
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.timeline-desc {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

.timeline-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  background: var(--midnight);
  position: relative;
}

.gallery-section .section-label {
  color: var(--gold-300);
}

.gallery-section .section-title {
  color: var(--soft-white);
}

.gallery-section .section-subtitle {
  color: var(--silver-400);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

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

.gallery-overlay p {
  font-family: var(--font-elegant);
  font-size: 1.1rem;
  color: var(--soft-white);
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  transform: scale(0.9);
  transition: transform var(--transition-medium);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ============================================
   CELEBRATION HIGHLIGHTS
   ============================================ */
.celebration-section {
  background: var(--gradient-warm);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.highlight-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 168, 67, 0.1);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.highlight-card:hover::before {
  transform: scaleX(1);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.highlight-card p {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: #777;
  line-height: 1.7;
}

/* ============================================
   TRIBUTE / MESSAGES SECTION
   ============================================ */
.tribute-section {
  background: var(--gradient-section-alt);
  position: relative;
}

.tribute-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.tribute-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.tribute-card .quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: -20px;
}

.tribute-message {
  font-family: var(--font-elegant);
  font-size: 1.4rem;
  line-height: 2;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.tribute-author {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-500);
}

.tribute-relation {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--silver-500);
  margin-top: 4px;
}

/* ============================================
   COUNTER SECTION
   ============================================ */
.counter-section {
  background: var(--gradient-hero);
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.counter-item {
  text-align: center;
}

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.counter-label {
  font-family: var(--font-elegant);
  font-size: 1rem;
  color: var(--silver-400);
  margin-top: 8px;
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--midnight);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  text-align: center;
  position: relative;
}

.footer-hearts {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

.footer-names {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-300);
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-family: var(--font-elegant);
  font-size: 1.1rem;
  color: var(--silver-500);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.footer-credit {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--silver-500);
  opacity: 0.6;
}

.footer-credit a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   SCROLL ANIMATIONS (Intersection Observer)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 240px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--space-2xl) var(--space-md);
  }

  /* Navbar */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 26, 46, 0.98);
    padding: var(--space-md);
    gap: 0;
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Story */
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story-accent-frame {
    display: none;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 55px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 11px !important;
    right: auto !important;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  /* Highlights */
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  /* Counters */
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Tribute */
  .tribute-card {
    padding: var(--space-lg);
  }

  .tribute-message {
    font-size: 1.15rem;
  }

  /* Lightbox nav */
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
  .hero-names {
    font-size: 1.8rem;
  }

  .hero-names .ampersand {
    display: block;
    margin: 4px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .gallery-item {
    height: 250px;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-number {
    font-size: 2rem;
  }
}
