/* =====================================================
   Wedding Invitation - Abderrahman & Hanna
   Haute Couture Editorial Design
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Josefin+Sans:wght@200;300;400&display=swap');

/* Premium Wedding Fonts */
@font-face {
  font-family: 'Bickham Script Pro';
  src: url('../bickham-script-pro/Bickham Script Pro Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Marriage Moment';
  src: url('../bickham-script-pro/MarriageMomentPersonalUse-mGJ5.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Refined Color Palette - Warmer, More Luxurious */
  --color-cream: #FFFDF8;
  --color-cream-warm: #FDF9F0;
  --color-beige: #F5EFE4;
  --color-beige-dark: #E8E0D2;
  --color-taupe: #D4C9B8;
  --color-olive: #4A5940;
  --color-olive-light: #6B7A5F;
  --color-olive-muted: #7D8B6E;
  --color-navy: #1C2B3F;
  --color-navy-soft: #2D4460;
  --color-gold: #B8986A;
  --color-gold-light: #D4B78C;
  --color-gold-muted: #A68B5B;
  --color-gold-shimmer: #E8D5A8;
  --color-rose: #C9A8A8;
  --color-text: #2A2623;
  --color-text-soft: #443F3A;
  --color-text-muted: #74706A;

  /* Typography - Elegant Cormorant Family */
  --font-display: 'Cormorant', Georgia, serif;
  --font-serif: 'Cormorant', Georgia, serif;
  --font-sans: 'Josefin Sans', -apple-system, sans-serif;
  --font-script: 'Marriage Moment', cursive;

  /* Spacing Scale - Refined */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;

  /* Animation */
  --ease-elegant: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.35s;
  --duration-medium: 0.7s;
  --duration-slow: 1.2s;
  --duration-slower: 1.6s;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-cream);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* Luxurious paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 10000;
}

/* Soft vignette effect */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 60%, rgba(0,0,0,0.03) 100%);
  pointer-events: none;
  z-index: 9999;
}

/* =====================================================
   Scroll Progress
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-muted), var(--color-gold), var(--color-gold-muted));
  z-index: 9999;
  transition: width 0.15s linear;
}

/* =====================================================
   Hero / Envelope Section
   ===================================================== */
.hero-section {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-beige);
  transition: opacity var(--duration-medium) var(--ease-elegant), visibility var(--duration-medium);
}

.hero-section.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .envelope-wrapper { padding: 0; }
  .envelope-poster {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 768px) {
  .envelope-wrapper { padding: var(--space-lg); }
  .envelope-poster {
    max-width: 420px;
    max-height: 82vh;
    border-radius: 4px;
    box-shadow:
      0 30px 60px -12px rgba(30, 40, 50, 0.25),
      0 18px 36px -18px rgba(30, 40, 50, 0.3);
  }
}

.envelope-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--duration-medium) var(--ease-elegant);
}

@media (min-width: 768px) {
  .envelope-poster:hover {
    transform: scale(1.015) translateY(-4px);
  }
}

.envelope-cta {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.envelope-cta__text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.envelope-cta__icon {
  animation: gentleBounce 2.5s var(--ease-soft) infinite;
}

.envelope-cta__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.7; }
}

/* =====================================================
   Video Overlay
   ===================================================== */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.video-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .video-overlay video {
    width: auto;
    height: auto;
    max-width: 420px;
    max-height: 82vh;
    object-fit: cover;
    border-radius: 4px;
    box-shadow:
      0 30px 60px -12px rgba(30, 40, 50, 0.25),
      0 18px 36px -18px rgba(30, 40, 50, 0.3);
  }
}

/* Curtain Transition */
.curtain-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}

.curtain-overlay.active {
  opacity: 1;
  visibility: visible;
}

.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.curtain::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  background: url('../assets/frames/frame-final.jpg') no-repeat center center;
  background-size: cover;
}

.curtain-left {
  left: 0;
}

.curtain-left::before {
  left: 0;
}

.curtain-right {
  right: 0;
}

.curtain-right::before {
  right: 0;
}

.curtain-overlay.open .curtain-left {
  transform: translateX(-100%);
}

.curtain-overlay.open .curtain-right {
  transform: translateX(100%);
}

/* =====================================================
   Main Content
   ===================================================== */
.main-content {
  opacity: 0;
  visibility: hidden;
}

.main-content.visible {
  opacity: 1;
  visibility: visible;
}

/* Section Base */
.section {
  padding: var(--space-xl) var(--space-md);
  position: relative;
}

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

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

/* Section Headers - Editorial Elegance */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-olive-muted);
  margin-bottom: var(--space-sm);
}

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

.section-label::after {
  background: linear-gradient(90deg, var(--color-gold-muted), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  line-height: 1.15;
  font-style: italic;
}

/* =====================================================
   Invitation Section - Grand Opening Statement
   ===================================================== */
.invitation-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.invitation-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  filter: blur(8px) brightness(0.95) saturate(0.9);
  z-index: 0;
}

.invitation-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.55) 0%,
    rgba(255, 253, 248, 0.35) 50%,
    rgba(255, 253, 248, 0.55) 100%
  );
  z-index: 1;
}

.invitation-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
  padding: var(--space-lg) var(--space-md);
}

/* Luxurious Ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.ornament__line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.ornament__diamond {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  transform: rotate(45deg);
  box-shadow:
    0 0 0 2px var(--color-cream),
    0 0 0 3px var(--color-gold-muted);
}

.invitation-prelude {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-soft);
  line-height: 2.2;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.03em;
}

.couple-names {
  margin-bottom: var(--space-lg);
}

.couple-names__title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
}

.name-large {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(184, 152, 106, 0.3);
  font-style: normal;
  text-transform: none;
  transform: skewX(5deg);
  -webkit-text-stroke: 0.5px var(--color-gold);
}

.conjunction {
  display: block;
  font-family: 'Bickham Script Pro', cursive;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  font-style: normal;
  color: var(--color-navy);
  margin: var(--space-sm) 0;
  letter-spacing: 0.02em;
  transform: skewX(5deg);
}

.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.date-block__day {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.date-block__date {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-olive);
  letter-spacing: 0.03em;
}

.date-block__venue {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  letter-spacing: 0.08em;
}

/* =====================================================
   Couple Section - Magazine Editorial
   ===================================================== */
.couple-section {
  background: var(--color-beige);
  overflow: hidden;
  position: relative;
  padding: var(--space-2xl) var(--space-md);
}

/* Elegant corner flourish */
.couple-section::before,
.couple-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.04;
  pointer-events: none;
}

.couple-section::before {
  top: 40px;
  right: 40px;
  background: radial-gradient(ellipse at top right, var(--color-gold) 0%, transparent 70%);
}

.couple-section::after {
  bottom: 40px;
  left: 40px;
  background: radial-gradient(ellipse at bottom left, var(--color-olive) 0%, transparent 70%);
}

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

@media (min-width: 768px) {
  .couple-gallery {
    grid-template-columns: 1fr 220px 1fr;
    gap: var(--space-lg);
  }
}

.couple-image {
  position: relative;
}

.couple-image__frame {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  padding: 10px;
  box-shadow:
    0 30px 60px -15px rgba(30, 40, 50, 0.15),
    0 0 0 1px var(--color-gold-muted);
  transition: all var(--duration-medium) var(--ease-luxe);
}

.couple-image__frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--color-gold-shimmer);
  pointer-events: none;
  opacity: 0.5;
}

.couple-image__frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-elegant);
  filter: saturate(0.92) contrast(1.02);
}

.couple-image__frame:hover {
  transform: translateY(-8px);
  box-shadow:
    0 40px 80px -20px rgba(30, 40, 50, 0.2),
    0 0 0 1px var(--color-gold);
}

.couple-image__frame:hover img {
  transform: scale(1.05);
}

.couple-image--1 .couple-image__frame {
  aspect-ratio: 3/4;
}

.couple-image--1 img {
  height: 100%;
  object-fit: cover;
}

.couple-image--2 .couple-image__frame {
  aspect-ratio: 1/1;
}

.couple-image--2 img {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .couple-image--1 { transform: translateY(50px); }
  .couple-image--2 { transform: translateY(-50px); }
}

.couple-quote {
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

@media (min-width: 768px) {
  .couple-quote {
    padding: var(--space-xl) 0;
  }
}

.couple-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-navy-soft);
  line-height: 2;
  position: relative;
}

.couple-quote blockquote::before {
  content: '"';
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  color: var(--color-gold);
  line-height: 0.8;
  margin-bottom: var(--space-sm);
  opacity: 0.4;
}

/* =====================================================
   Event Details - Elegant Timeline
   ===================================================== */
.details-section {
  background: linear-gradient(180deg, var(--color-beige) 0%, var(--color-cream-warm) 100%);
  position: relative;
  padding: var(--space-2xl) var(--space-md);
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent,
    var(--color-gold) 10%,
    var(--color-gold) 90%,
    transparent
  );
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
  padding-left: var(--space-md);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) - 1px);
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--color-gold);
  border-radius: 50%;
  transform: translateX(-5px);
  box-shadow:
    0 0 0 4px var(--color-cream-warm),
    0 0 0 5px var(--color-gold-muted);
}

.timeline-item__time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--color-olive);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.timeline-item__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: var(--space-2xs);
  letter-spacing: 0.02em;
}

.timeline-item__location {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-gold-muted);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-item__description {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Info Cards Grid - Refined Elegance */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 500px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-card {
  background: var(--color-cream);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: 0 12px 40px -10px rgba(30, 40, 50, 0.1);
  border: 1px solid var(--color-gold-shimmer);
  position: relative;
  transition:
    transform var(--duration-medium) var(--ease-luxe),
    box-shadow var(--duration-medium) var(--ease-luxe);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(30, 40, 50, 0.18);
}

.info-card__icon {
  color: var(--color-gold-muted);
  margin-bottom: var(--space-md);
}

.info-card__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1;
}

.info-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.info-card__text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.info-card__highlight {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-olive);
  margin-top: var(--space-2xs);
}

.info-card__subtext {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  line-height: 1.6;
}

/* =====================================================
   Venue Section - Destination Elegance
   ===================================================== */
.venue-section {
  background: var(--color-cream);
  padding: var(--space-2xl) var(--space-md);
}

.venue-card {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--color-cream-warm) 0%, var(--color-cream) 100%);
  overflow: hidden;
  box-shadow:
    0 40px 80px -25px rgba(30, 40, 50, 0.15),
    0 0 0 1px var(--color-gold-shimmer);
}

@media (min-width: 768px) {
  .venue-card {
    grid-template-columns: 1fr 1fr;
  }
}

.venue-card__content {
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-card__icon {
  color: var(--color-gold-muted);
  margin-bottom: var(--space-lg);
}

.venue-card__icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1;
}

.venue-card__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.venue-card__address {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.venue-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 1px solid var(--color-navy);
  transition: all var(--duration-fast) var(--ease-luxe);
  width: fit-content;
}

.venue-card__link:hover {
  background: var(--color-navy);
  color: var(--color-cream);
  padding-left: 2rem;
  padding-right: 2rem;
}

.venue-card__link svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  transition: transform var(--duration-fast) var(--ease-luxe);
}

.venue-card__link:hover svg {
  transform: translate(3px, -3px);
}

.venue-card__map {
  min-height: 360px;
  background: var(--color-beige);
  position: relative;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 40%, var(--color-beige-dark) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-beige) 0%, var(--color-taupe) 100%);
}

.map-placeholder__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-olive);
  animation: gentleFloat 4s var(--ease-soft) infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.map-placeholder__marker svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 8px 16px rgba(74, 89, 64, 0.35));
}

.map-placeholder__marker span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-navy-soft);
  letter-spacing: 0.08em;
}

/* =====================================================
   Guest Notes Section - Thoughtful Details
   ===================================================== */
.notes-section {
  background: var(--color-beige-dark);
  position: relative;
  padding: var(--space-2xl) var(--space-md);
}

.notes-card {
  background: var(--color-cream);
  padding: var(--space-2xl) var(--space-xl);
  max-width: 620px;
  margin: 0 auto;
  box-shadow:
    0 20px 50px -18px rgba(30, 40, 50, 0.12),
    inset 0 0 0 1px rgba(184, 152, 106, 0.1);
  position: relative;
}

.notes-card::before,
.notes-card::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.notes-card::before {
  top: -1px;
  width: 80px;
}

.notes-card::after {
  bottom: -1px;
  width: 80px;
}

.notes-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.03em;
}

.notes-card__list {
  list-style: none;
}

.notes-card__list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text-soft);
  line-height: 1.8;
}

.notes-card__list li:last-child {
  margin-bottom: 0;
}

.notes-card__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.7rem;
  color: var(--color-gold);
}

/* =====================================================
   RSVP Section - Invitation to Respond
   ===================================================== */
.rsvp-section {
  background: var(--color-navy);
  color: var(--color-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) var(--space-md);
}

/* Elegant ambient gradient */
.rsvp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(45, 68, 96, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

/* Subtle corner decoration */
.rsvp-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(28, 43, 63, 0.8) 0%, transparent 100%);
  pointer-events: none;
}

.rsvp-section .section-label {
  color: var(--color-gold-light);
}

.rsvp-section .section-label::before,
.rsvp-section .section-label::after {
  background: linear-gradient(90deg, transparent, var(--color-gold-muted));
}

.rsvp-section .section-label::after {
  background: linear-gradient(90deg, var(--color-gold-muted), transparent);
}

.rsvp-section .section-title {
  color: var(--color-cream);
}

.rsvp-intro {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: 1.9;
}

.rsvp-deadline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.rsvp-form {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.6rem;
  text-align: left;
}

.form-input {
  width: 100%;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-cream);
  border: 2px solid transparent;
  transition:
    border-color var(--duration-fast) var(--ease-luxe),
    box-shadow var(--duration-fast) var(--ease-luxe),
    transform var(--duration-fast) var(--ease-luxe);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 5px rgba(184, 152, 106, 0.2);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 300;
  font-style: italic;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B8986A' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 14px;
  padding-right: 3rem;
  cursor: pointer;
}

.btn-rsvp {
  width: 100%;
  padding: 1.15rem 2.5rem;
  margin-top: var(--space-xs);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-luxe);
  position: relative;
  overflow: hidden;
}

.btn-rsvp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gold-shimmer) 0%, var(--color-gold-light) 100%);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-luxe);
}

.btn-rsvp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -6px rgba(184, 152, 106, 0.55);
}

.btn-rsvp:hover::before {
  opacity: 1;
}

.btn-rsvp span {
  position: relative;
  z-index: 1;
}

.btn-rsvp:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.rsvp-success {
  display: none;
  padding: var(--space-xl);
  background: rgba(74, 89, 64, 0.25);
  margin-top: var(--space-lg);
  border: 1px solid rgba(184, 152, 106, 0.2);
}

.rsvp-success.visible {
  display: block;
  animation: elegantFadeIn 0.8s var(--ease-luxe);
}

.rsvp-success__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-gold-light);
}

.rsvp-success__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.rsvp-success__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes elegantFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rsvp-contact {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.rsvp-contact p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.5rem;
}

.rsvp-contact a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-gold-light);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all var(--duration-fast) var(--ease-luxe);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.rsvp-contact a:hover {
  color: var(--color-cream);
  border-bottom-color: var(--color-gold-muted);
}

/* =====================================================
   Closing Section - Heartfelt Finale
   ===================================================== */
.closing-section {
  background: linear-gradient(180deg, var(--color-beige-dark) 0%, var(--color-beige) 100%);
  text-align: center;
  position: relative;
  padding: var(--space-2xl) var(--space-md);
}

.closing-ornament {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.closing-ornament::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.closing-message {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-navy-soft);
  line-height: 2;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  letter-spacing: 0.02em;
}

.closing-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--color-olive);
}

.closing-heart {
  color: var(--color-gold);
  font-size: 0.6em;
  animation: gentlePulse 2s var(--ease-soft) infinite;
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* =====================================================
   Footer - Signature Sign-off
   ===================================================== */
.footer {
  background: var(--color-cream);
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  text-align: center;
  border-top: 1px solid var(--color-beige-dark);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-muted), transparent);
}

.footer-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.08em;
}

.footer-ampersand {
  font-style: normal;
  color: var(--color-gold);
  font-weight: 300;
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.footer-date {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--color-gold-muted);
}

/* =====================================================
   Reveal Animations - Graceful Entrances
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity var(--duration-slow) var(--ease-luxe),
    transform var(--duration-slow) var(--ease-luxe);
}

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

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }
.reveal-delay-4 { transition-delay: 0.8s; }

/* Staggered children animation */
.reveal.visible .reveal-child {
  animation: revealChild 0.8s var(--ease-luxe) forwards;
  opacity: 0;
}

.reveal.visible .reveal-child:nth-child(1) { animation-delay: 0.1s; }
.reveal.visible .reveal-child:nth-child(2) { animation-delay: 0.2s; }
.reveal.visible .reveal-child:nth-child(3) { animation-delay: 0.3s; }

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

/* =====================================================
   Utility Classes
   ===================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
