/* ==========================================================================
   STYLE.CSS — "THREE MOMENTS. ONE FOREVER." • Satyam & Sonam
   Ultra-Premium Romantic Wedding Invitation
   Palette: Warm Ivory (#FAF6F0), Soft Blush (#E7C2BE), Dusty Rose (#C99A99),
            Champagne (#DCC6A1), Warm Beige (#D8C5B2), Deep Cocoa (#3A2925),
            Romantic Burgundy (#6D3038), Soft Taupe (#A89589)
   ========================================================================== */

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

/* ── CSS Variables ── */
:root {
  --ivory:            #FAF6F0;
  --blush:            #E7C2BE;
  --dusty-rose:       #C99A99;
  --champagne:        #DCC6A1;
  --warm-beige:       #D8C5B2;
  --deep-cocoa:       #3A2925;
  --romantic-burgundy:#6D3038;
  --soft-taupe:       #A89589;
  --text-dark:        #2E201C;
  --text-muted:       rgba(168,149,137,0.75);

  --font-serif:       'Cormorant Garamond', Georgia, serif;
  --font-sans:        'DM Sans', 'Helvetica Neue', sans-serif;
  --font-script:      'Sacramento', cursive;

  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft:      0 12px 35px rgba(58,41,37,0.06);
  --shadow-circle:    0 15px 40px rgba(58,41,37,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--ivory);
}

body {
  font-family: var(--font-serif);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.locked-scroll { overflow: hidden; }

/* Subtle Paper Texture Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(168,149,137,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 99999;
}

/* ── Typography & Helpers ── */
.font-serif   { font-family: var(--font-serif); }
.font-sans    { font-family: var(--font-sans); }
.font-script  { font-family: var(--font-script); }

.text-blush     { color: var(--blush) !important; }
.text-rose      { color: var(--dusty-rose) !important; }
.text-champagne { color: var(--champagne) !important; }
.text-cocoa     { color: var(--deep-cocoa) !important; }
.text-burgundy  { color: var(--romantic-burgundy) !important; }
.text-ivory     { color: var(--ivory) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

.eyebrow-text {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--soft-taupe);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep-cocoa);
}

.champagne-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  margin: 18px auto;
}

.canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
#cinematic-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease-out-expo);
}

#cinematic-loader.loader-done {
  opacity: 0;
  pointer-events: none;
}

.loader-monogram {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--deep-cocoa);
  margin-bottom: 10px;
}

.loader-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--soft-taupe);
  margin-bottom: 20px;
}

.loader-progress-track {
  width: 180px;
  height: 1px;
  background: rgba(220,198,161,0.3);
  position: relative;
  overflow: hidden;
}

.loader-progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 0%;
  background: var(--dusty-rose);
  transition: width 0.3s ease;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease-out-expo);
}

.site-nav.nav-scrolled {
  background: rgba(250,246,240,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,198,161,0.25);
  padding: 14px 36px;
}

.nav-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--deep-cocoa);
  text-decoration: none;
  letter-spacing: 2px;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--soft-taupe);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--dusty-rose);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--deep-cocoa); }
.nav-links a:hover::after { width: 100%; }

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer;
  width: 30px; height: 22px;
  position: relative;
  z-index: 10001;
}

.nav-hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--deep-cocoa);
  position: absolute; left: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 0; }

.nav-hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Fullscreen Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9989;
  background: rgba(250,246,240,0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu-overlay.menu-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  padding: 0; margin: 0;
  text-align: center;
}

.mobile-menu-links li { margin-bottom: 22px; }

.mobile-menu-links a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--deep-cocoa);
  text-decoration: none;
  letter-spacing: 2px;
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ==========================================================================
   SCENE 02 — HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FAF6F0 0%, #F5EAE0 40%, #E7C2BE 100%);
  overflow: hidden;
  text-align: center;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
}

.hero-couple-names {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--deep-cocoa);
  letter-spacing: 2px;
}

.hero-amp {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--dusty-rose);
  display: block;
  margin: -10px 0;
}

.btn-minimal-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--deep-cocoa);
  text-decoration: none;
  background: none; border: none;
  position: relative;
  padding-bottom: 4px;
  margin-top: 24px;
  cursor: pointer;
}

.btn-minimal-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--dusty-rose);
}

/* ==========================================================================
   SCENE 04 — SIGNATURE "THREE MOMENTS. ONE FOREVER." SECTION
   ========================================================================== */
.signature-moments-section {
  position: relative;
  background: var(--ivory);
  padding: 70px 20px;
  overflow: hidden;
}

.circular-moments-wrap {
  position: relative;
  max-width: 1160px;
  margin: 40px auto 0;
  min-height: 580px;
}

/* SVG Dotted Connector Line */
.dotted-path-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.dotted-path-line {
  stroke: var(--champagne);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  fill: none;
  transition: stroke-dashoffset 0.1s linear;
}

/* Asymmetric Circular Milestone Cards */
.circular-milestone {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s ease;
}

/* Position 01: Upper Left */
.milestone-1 {
  top: 20px; left: 5%;
}

/* Position 02: Center Focal Point (Larger) */
.milestone-2 {
  top: 200px; left: 38%;
  flex-direction: column;
  text-align: center;
}

/* Position 03: Lower Left */
.milestone-3 {
  bottom: 20px; left: 10%;
}

.circle-img-container {
  position: relative;
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--champagne);
  box-shadow: var(--shadow-circle);
  transition: transform 0.5s var(--ease-out-expo);
}

.milestone-2 .circle-img-container {
  width: 230px; height: 230px;
  border-width: 2px;
}

.circle-img-container img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.circular-milestone:hover .circle-img-container img {
  transform: scale(1.08);
}

.milestone-text-block {
  max-width: 280px;
}

.milestone-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--dusty-rose);
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 992px) {
  .circular-moments-wrap {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .dotted-path-svg { display: none; }
  .circular-milestone {
    position: relative;
    top: auto !important; left: auto !important; bottom: auto !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .milestone-text-block { max-width: 320px; }
}

/* ==========================================================================
   SCENE 05 — "THE QUESTION" SPOTLIGHT
   ========================================================================== */
.scene-question-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--deep-cocoa);
  color: var(--ivory);
  padding: 60px 20px;
}

.question-photo-mask {
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 2px solid var(--champagne);
  box-shadow: 0 0 40px rgba(220,198,161,0.3);
}

.question-photo-mask img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   SCENE 08 — CELEBRATIONS
   ========================================================================== */
.celebrations-section {
  background: var(--ivory);
  padding: 60px 0;
}

.event-row-item {
  display: flex;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  padding: 30px 20px;
  border-bottom: 1px solid rgba(220,198,161,0.3);
}

.event-row-number {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--dusty-rose);
  min-width: 70px;
}

.event-row-info { flex: 1; padding: 0 24px; }

.event-row-photo {
  width: 240px; height: 160px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
}

.event-row-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .event-row-item { flex-direction: column; text-align: center; padding: 30px 18px; }
  .event-row-info { padding: 0; }
  .event-row-photo { width: 100%; max-width: 280px; height: 160px; margin-top: 16px; }
}

/* ==========================================================================
   SCENE 09 & 10 — GALLERY & FULLSCREEN PHOTO
   ========================================================================== */
.gallery-section {
  background: var(--ivory);
  padding: 60px 20px;
}

.editorial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.editorial-gallery-item {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

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

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

.egi-1 { grid-column: span 7; height: 360px; }
.egi-2 { grid-column: span 5; height: 360px; }
.egi-3 { grid-column: span 4; height: 300px; }
.egi-4 { grid-column: span 4; height: 300px; }
.egi-5 { grid-column: span 4; height: 300px; }
.egi-6 { grid-column: span 12; height: 380px; }

@media (max-width: 768px) {
  .egi-1,.egi-2,.egi-3,.egi-4,.egi-5,.egi-6 { grid-column: span 6; height: 230px; }
}

@media (max-width: 480px) {
  .egi-1,.egi-2,.egi-3,.egi-4,.egi-5,.egi-6 { grid-column: span 12; height: 240px; }
}

.scene-fullscreen-photo-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-cocoa);
  overflow: hidden;
  padding: 60px 20px;
  color: var(--ivory);
}

.fullscreen-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* ==========================================================================
   SCENE 11 - 15: COUNTDOWN, VENUE, RSVP & FINAL SCENE
   ========================================================================== */
.countdown-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #F5EAE0 0%, #E7C2BE 100%);
  text-align: center;
  padding: 50px 20px;
}

.countdown-grid { display: flex; gap: 32px; margin-top: 24px; }
.countdown-unit { text-align: center; }
.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 300;
  color: var(--deep-cocoa);
  line-height: 1;
}

.venue-section {
  background: var(--ivory);
  padding: 60px 20px;
}

.venue-card-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.venue-text-col { flex: 1; }
.venue-photo-col {
  flex: 1; height: 350px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.venue-photo-col img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .venue-card-inner { flex-direction: column; text-align: center; }
  .venue-photo-col { width: 100%; height: 260px; }
}

.rsvp-section {
  background: #F7EFEC;
  padding: 60px 20px;
}

.rsvp-paper-card {
  max-width: 580px;
  margin: 0 auto;
  background: #FAF6F0;
  border: 1px solid rgba(220,198,161,0.4);
  border-radius: 4px;
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
}

.rsvp-input-group { margin-bottom: 20px; }
.rsvp-underline-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--soft-taupe);
  margin-bottom: 4px;
}

.rsvp-underline-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(201,154,153,0.3);
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--deep-cocoa);
  outline: none;
}

.rsvp-underline-input:focus { border-bottom-color: var(--deep-cocoa); }

.attendance-pill-radio { flex: 1; min-width: 140px; }
.attendance-pill-radio input { display: none; }
.attendance-pill-radio label {
  display: block;
  border: 1px solid rgba(201,154,153,0.3);
  padding: 10px 12px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--soft-taupe);
  transition: all 0.3s ease;
}

.attendance-pill-radio input:checked + label {
  background: var(--deep-cocoa);
  color: var(--ivory);
  border-color: var(--deep-cocoa);
}

.rsvp-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--deep-cocoa);
  color: var(--ivory);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rsvp-submit-btn:hover { background: var(--romantic-burgundy); }

.scene-final-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--romantic-burgundy);
  color: var(--ivory);
  padding: 60px 20px;
}

#audio-toggle-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9980;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(220,198,161,0.3);
  background: rgba(250,246,240,0.85);
  backdrop-filter: blur(8px);
  color: var(--deep-cocoa);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

#audio-toggle-btn:hover {
  background: var(--deep-cocoa);
  color: var(--ivory);
}

#scroll-progress-line {
  position: fixed;
  top: 0; right: 0;
  width: 2px; height: 0%;
  background: var(--dusty-rose);
  z-index: 99990;
}

