/**
 * Content Sections Styling
 * 01. Story, 02. Celebration Itinerary, 03. Countdown, 05. Family, Final Section
 */

/* Global Section Utility */
.invitation-section {
  position: relative;
  padding: 8rem 6vw;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.8vw, 0.8125rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #c4a785; /* Refined antique gold from reference image */
  font-weight: 600;
  margin: 0 auto 0.75rem;
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-script), 'Great Vibes', cursive;
  font-size: clamp(3.2rem, 8.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #a55e47; /* Exact terracotta from reference image */
  margin: 0 auto 1.5rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.section-title em {
  font-family: var(--font-script), 'Great Vibes', cursive;
  font-style: normal;
  font-weight: 400;
  color: #a55e47;
}

/* ==================================================
   SECTION 01 — THE BIG DAY
   ================================================== */
.bigday-section {
  background-color: #fff8f3;
  border-top: 1px solid var(--line-subtle);
  overflow: hidden;
  padding: clamp(6rem, 10vh, 9rem) 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bigday-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bigday-card {
  position: relative;
  background: #ffffff;
  border-radius: 46px;
  max-width: 380px;
  width: 90%;
  padding: 3.6rem 2rem 3.8rem;
  box-shadow:
    0 18px 50px rgba(183, 110, 80, 0.08),
    0 2px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(225, 210, 195, 0.6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s ease;
}

.bigday-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 65px rgba(183, 110, 80, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.03);
}

.bigday-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-weight: 500;
  color: #be9c57;
  margin: 0 0 1.8rem 0;
}

.bigday-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.58;
  color: #6a5244;
  letter-spacing: 0.01em;
  margin: 0 0 2.2rem 0;
  max-width: 320px;
}

.bigday-date {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #935340;
  font-weight: 500;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 3.6rem 0;
}

.bigday-script {
  font-family: 'Parisienne', cursive;
  font-size: clamp(3.2rem, 8.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: #9c4d36;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bigday-script .script-line {
  display: block;
}

/* ==================================================
   SECTION 02 — A GLIMPSE OF US (OUR BEAUTIFUL MOMENTS)
   ================================================== */
.moments-section {
  background-color: #fdf0e8;
  border-top: 1px solid var(--line-subtle);
  padding: 6.5rem 4vw 7rem;
  text-align: center;
  position: relative;
}

.moments-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #cd9d4b;
  margin-bottom: 0.8rem;
}

.moments-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #b7583f;
  margin: 0 auto 1.4rem;
  text-shadow: 0 2px 14px rgba(183, 88, 63, 0.08);
}

.moments-star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 3.2rem;
  max-width: 260px;
}

.moments-star-divider .star-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9963e 50%, transparent);
}

.moments-star-divider .star-icon {
  color: #c9963e;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}

.moments-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.moments-frame-outer {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  padding: 10px;
  border-radius: 46px;
  box-shadow: 0 16px 48px -8px rgba(183, 88, 63, 0.16), 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(205, 157, 75, 0.4);
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.moments-frame-outer:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px -8px rgba(183, 88, 63, 0.24), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.moments-frame-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.moments-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.moments-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #7d6b5e;
  margin-top: 1.8rem;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ==================================================
   SECTION 03 — WHERE LOVE AWAITS (OUR CHERISHED VENUE)
   ================================================== */
.venue-section {
  background-color: #fff8f3;
  border-top: 1px solid var(--line-subtle);
  padding: 6.5rem 4vw 7rem;
  text-align: center;
  position: relative;
}

.venue-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #cd9d4b;
  margin-bottom: 0.8rem;
}

.venue-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #b7583f;
  margin: 0 auto 1.4rem;
  text-shadow: 0 2px 14px rgba(183, 88, 63, 0.08);
}

.venue-star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 3.2rem;
  max-width: 260px;
}

.venue-star-divider .star-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9963e 50%, transparent);
}

.venue-star-divider .star-icon {
  color: #c9963e;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}

.venue-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.venue-card {
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(60, 40, 25, 0.09), 0 4px 18px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(205, 157, 75, 0.25);
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(60, 40, 25, 0.13), 0 6px 22px rgba(0, 0, 0, 0.05);
}

.venue-image-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f5ebe2;
}

.venue-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.venue-card:hover .venue-image {
  transform: scale(1.02);
}

.venue-card-body {
  padding: 2.8rem 2.2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.venue-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #b7583f;
  margin: 0 0 0.8rem;
  text-align: center;
}

.venue-address {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #7d6b5e;
  margin: 0 0 2rem;
  text-align: center;
  max-width: 440px;
}

.venue-map-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
  background-color: #e5e3df;
}

.venue-map-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

.venue-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.venue-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #9e5541;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(158, 85, 65, 0.32);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.venue-directions-btn:hover {
  background-color: #884330;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(158, 85, 65, 0.42);
  color: #ffffff;
}

/* ==================================================
   SECTION 04 — THE CELEBRATION (ITINERARY)
   ================================================== */
.events-section {
  background-color: #fdf0e8;
  border-top: 1px solid var(--line-subtle);
}

.events-section .section-container {
  max-width: 1360px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-card {
  position: relative;
  padding: 4rem 1.6rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.event-card:last-child {
  border-right: none;
}

.event-card:hover {
  background-color: rgba(238, 227, 211, 0.35);
}

.event-card.featured {
  background-color: #f7efe4;
}

.event-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.event-date-tag {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.event-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
}

.event-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.event-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  display: block;
}

.event-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 320px;
}

/* ==================================================
   LUXURY PHONE / STORY VIDEO FRAME
   (Matching Reference Design with Falling Petals)
   ================================================== */
.event-video-container {
  width: 100%;
  margin: 1.2rem auto 2.5rem;
  text-align: center;
}

.event-frame-script {
  font-family: var(--font-script), 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 400;
  color: #8c4331; /* Rich Indian wedding terracotta */
  margin: 0 auto 0.75rem;
  display: block;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  word-spacing: 0.45em;
}

.event-frame-script .script-amp {
  display: inline-block;
  margin: 0 0.35em;
}

.luxury-phone-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 10px;
  border: 1.5px solid rgba(190, 147, 88, 0.45);
  border-radius: 44px;
  background: rgba(255, 252, 248, 0.65);
  box-shadow:
    0 16px 40px -10px rgba(36, 26, 21, 0.10),
    inset 0 0 18px rgba(238, 227, 211, 0.45);
  transition: transform 0.45s var(--ease-cinematic), box-shadow 0.45s ease;
  cursor: pointer;
}

.luxury-phone-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px -10px rgba(36, 26, 21, 0.15);
}

.phone-frame-inner {
  position: relative;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background-color: #f7efe4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.event-frame-video,
.event-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #f7efe4;
  transition: transform 0.6s ease;
}

.luxury-phone-frame:hover .event-frame-video,
.luxury-phone-frame:hover .event-frame-img {
  transform: scale(1.02);
}

/* Floating Audio / Sound Toggle Pill (Matching Reference Design) */
.video-sound-pill {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #934f3b; /* Rich terracotta matching reference */
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease;
  z-index: 10;
}

.video-sound-pill:hover {
  transform: scale(1.12);
  background-color: #7d3f2e;
}

.video-sound-pill:active {
  transform: scale(0.95);
}

.video-sound-pill.muted .sound-icon-unmuted {
  display: none;
}

.video-sound-pill.unmuted .sound-icon-muted {
  display: none;
}

.video-sound-pill svg {
  display: block;
  pointer-events: none;
}

.event-meta {
  border-top: 1px solid var(--line-subtle);
  padding-top: 1.5rem;
  margin-top: auto;
}

.event-time-venue {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.event-venue-note {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.2rem;
}

/* Calendar Actions */
.event-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-calendar {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.5rem 0.9rem;
  border-radius: 2px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.btn-calendar:hover {
  background-color: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* ==================================================
   SECTION 05 — THE COUNTDOWN
   ================================================== */
.countdown-section {
  background-color: var(--dark-bg);
  color: var(--dark-cream);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  text-align: center;
  padding: 9rem 6vw;
}

.countdown-section .section-eyebrow,
.countdown-section .section-num {
  color: var(--gold-light);
}

.countdown-section .section-title {
  color: #f7d89f;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.countdown-section .section-title em {
  color: #fffaf2;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 5rem auto 3rem;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.countdown-unit {
  padding: 3rem 1.5rem;
  border-right: 1px solid var(--dark-border);
  position: relative;
}

.countdown-unit:last-child {
  border-right: none;
}

.countdown-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  color: #fffaf2;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

.countdown-footer-note {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

/* ==================================================
   SECTION 07 — WITH THEIR BLESSINGS (FAMILY)
   ================================================== */
.family-section {
  background-color: var(--section-bg-odd);
  border-top: 1px solid var(--line-subtle);
  padding: 8rem 6vw;
}

.family-presentation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1080px;
  margin: 4rem auto 0;
  padding: 4rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 3rem;
  text-align: center;
}

.family-pillar {
  padding: 1.5rem;
}

.family-pillar-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.family-person-name {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.family-relation {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
}

.family-parents-names {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-brown);
  font-style: normal;
  display: block;
  margin-top: 0.35rem;
}

/* Royal Center Emblem */
.family-emblem-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  position: relative;
}

.family-crest-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--paper-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.family-crest-monogram {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}

.family-crest-monogram span {
  font-family: var(--font-script);
  color: var(--terracotta);
  font-size: 1.2em;
}

/* ==================================================
   FINAL SECTION / FOOTER
   ================================================== */
.footer-section {
  background-color: var(--dark-bg);
  color: var(--dark-cream);
  text-align: center;
  padding: 8rem 6vw 5rem;
  border-top: 1px solid var(--dark-border);
  position: relative;
}

.footer-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 8.5vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #fffaf2;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.footer-names em,
.footer-names span {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--gold-light);
  margin: 0 0.25em;
}

.footer-date {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 2rem;
}

.footer-farewell {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 4rem;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--dark-border);
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.footer-back-to-top:hover {
  background-color: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
