/* Default Theme: Dark Luxury & Champagne Gold */
:root {
  --bg-midnight: #0F0D0B;
  --bg-surface: #181412;
  --bg-card: rgba(28, 23, 20, 0.9);
  --gold-glow: #F3C978;
  --gold-accent: #D4A853;
  --gold-dark: #876222;
  --gold-light: #F7E5B5;
  --text-light: #FBF8F5;
  --text-muted: #A89C90;
  --border-gold: rgba(212, 168, 83, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --script: 'Caveat', cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg-midnight);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(212, 168, 83, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 10% 25%, rgba(243, 201, 120, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 75%, rgba(212, 168, 83, 0.08) 0%, transparent 45%);
}

.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold-accent);
  color: #120e0a;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
}

.skip:focus {
  top: 20px;
}

.wrap {
  width: 92%;
  max-width: 1220px;
  margin: 0 auto;
}

/* Header & Nav */
.site-nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-bottom: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: rgba(24, 20, 18, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: 40px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 168, 83, 0.1);
}

.brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-glow);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 14px rgba(243, 201, 120, 0.3);
}

.brand span {
  font-family: var(--script);
  font-size: 26px;
  color: var(--gold-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #d1c6b8;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-glow);
}

.nav-link.active {
  background: linear-gradient(135deg, #d4a853 0%, #a87e35 100%);
  color: #110e0c;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(243, 201, 120, 0.4), 0 3px 0 #6e501a;
}

/* 3D Gold Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold-glow);
  background: linear-gradient(180deg, #f0c574 0%, #c49942 100%);
  color: #120e0a;
  box-shadow: 0 4px 0 #73531a, 0 8px 24px rgba(243, 201, 120, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover {
  background: linear-gradient(180deg, #f7d287 0%, #d4a853 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #73531a, 0 12px 28px rgba(243, 201, 120, 0.5);
  color: #120e0a;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #73531a, 0 3px 8px rgba(243, 201, 120, 0.25);
}

.btn.secondary {
  background: rgba(35, 29, 25, 0.85);
  color: var(--gold-glow);
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 0 #181412, 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn.secondary:hover {
  background: rgba(50, 42, 36, 0.95);
  border-color: var(--gold-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #181412, 0 8px 20px rgba(212, 168, 83, 0.25);
}

.btn.secondary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #181412;
}

.btn.small {
  padding: 8px 18px;
  font-size: 11px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 30px 0 50px;
}

.hero-copy {
  padding-right: 10px;
}

.fairy-stars {
  font-size: 14px;
  letter-spacing: 8px;
  color: var(--gold-glow);
  opacity: 0.8;
  margin-bottom: 12px;
  user-select: none;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.12;
  font-weight: 400;
  margin: 0 0 14px 0;
  color: #fff;
  text-shadow: 0 0 20px rgba(212, 168, 83, 0.2);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-glow);
}

.hero-intro {
  font-size: 16px;
  line-height: 1.7;
  color: #c9bfb5;
  margin-bottom: 24px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-family: var(--script);
  font-size: 20px;
  color: var(--gold-glow);
  margin-top: 14px;
}

/* Collage of 3 Hero Couple Photos */
.hero-collage {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 440px;
}

.collage-card {
  position: absolute;
  background: #181412;
  padding: 10px 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 168, 83, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-card:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 168, 83, 0.35);
  z-index: 10;
}

.collage-card.main {
  width: 72%;
  left: 6%;
  top: 8%;
  z-index: 3;
  transform: rotate(-2deg);
}

.collage-card.top {
  width: 48%;
  right: 0%;
  top: 0%;
  z-index: 2;
  transform: rotate(5deg);
}

.collage-card.bottom {
  width: 50%;
  right: 2%;
  bottom: 0%;
  z-index: 4;
  transform: rotate(3deg);
}

.collage-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #0f0d0b;
}

.collage-card.main .collage-img-wrap {
  aspect-ratio: 1;
}

.collage-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collage-caption {
  font-family: var(--script);
  font-size: 16px;
  color: var(--gold-glow);
  text-align: center;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Memory Ribbon */
.memory-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  margin: 40px 0 60px;
  background: rgba(28, 23, 20, 0.7);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  color: var(--gold-glow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.memory-ribbon b {
  color: var(--gold-accent);
}

/* Chapters / Albums Section */
.section {
  margin-bottom: 60px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(212, 168, 83, 0.2);
  padding-bottom: 14px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 4px 0 0;
  color: #fff;
}

.section-head p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.chapter-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 168, 83, 0.2);
}

.chapter-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #110e0c;
}

.chapter-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.chapter-card:hover .chapter-img-box img {
  transform: scale(1.06);
}

.chapter-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 13, 11, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-glow);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.chapter-info {
  padding: 14px 16px;
}

.chapter-info h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 4px;
  color: #fff;
}

.chapter-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Category Filter Row */
.filter-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
}

.pill {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212, 168, 83, 0.25);
  background: rgba(28, 23, 20, 0.8);
  color: #c9bfb5;
  cursor: pointer;
  box-shadow: 0 2px 0 #181412;
  transition: all 0.15s ease;
  text-decoration: none;
}

.pill:hover {
  border-color: var(--gold-glow);
  color: #fff;
  transform: translateY(-1px);
}

.pill.active {
  background: linear-gradient(180deg, #d4a853 0%, #a87e35 100%);
  color: #110e0c;
  font-weight: 700;
  border-color: var(--gold-glow);
  box-shadow: 0 0 14px rgba(243, 201, 120, 0.35), 0 3px 0 #6e501a;
}

/* Curated Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.photo-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 168, 83, 0.2);
}

.photo-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #120e0a;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-card:hover .photo-box img {
  transform: scale(1.06);
}

.photo-meta {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.photo-caption {
  font-family: var(--serif);
  font-size: 14px;
  color: #ded5c8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}

.photo-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-accent);
  background: rgba(212, 168, 83, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Gallery Paging */
.paging-wrap {
  text-align: center;
  margin: 30px 0 60px;
}

.paging-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 60px 20px;
  margin: 60px 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 70%),
    rgba(24, 20, 18, 0.6);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  border-radius: 16px;
}

.quote-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 12px;
  display: block;
}

.quote-text {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.4;
  color: #fff;
  max-width: 720px;
  margin: 0 auto 16px;
}

.quote-script {
  font-family: var(--script);
  font-size: 26px;
  color: var(--gold-glow);
}

/* Footer */
.site-footer {
  background: #090807;
  color: #FAF7F2;
  padding: 60px 0 80px;
  margin-top: 80px;
  text-align: center;
  border-top: 2px solid var(--border-gold);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-glow);
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(243, 201, 120, 0.3);
}

.footer-script {
  font-family: var(--script);
  font-size: 30px;
  color: #dfd2be;
  margin-bottom: 20px;
}

.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.4);
  color: var(--gold-glow);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(212, 168, 83, 0.2);
}

.gratitude-box {
  max-width: 620px;
  margin: 0 auto 20px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(212, 168, 83, 0.3);
}

.gratitude-text {
  font-size: 14px;
  line-height: 1.7;
  color: #ded5c8;
  margin: 0;
}

.footer-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8c8277;
}

/* Lightbox Modal */
.lightbox-modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  width: 100%;
  height: 100%;
}

.lightbox-modal::backdrop {
  background: rgba(8, 6, 5, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  position: relative;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 168, 83, 0.25);
  border: 2px solid var(--gold-accent);
  background: #000;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold-glow);
  margin-top: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-gold);
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--gold-accent);
  color: #000;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 16, 14, 0.9);
  border: 1px solid var(--border-gold);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.lightbox-nav:hover {
  background: var(--gold-accent);
  color: #110e0c;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-copy {
    text-align: center;
    padding-right: 0;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero h1 {
    font-size: 40px;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .site-nav {
    padding: 8px 16px;
  }
  .brand {
    font-size: 20px;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-collage {
    min-height: 380px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}
