/* ==========================================================================
   TWILIGHT UNDER CANVAS — WEDDING DESIGN SYSTEM
   Nadia & Lorenz • 05. Juni 2027
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Twilight Night Palette */
  --bg-darkest: #060911;
  --bg-main: #0B111E;
  --bg-surface: #10192B;
  --bg-card: rgba(16, 25, 43, 0.75);
  --bg-card-hover: rgba(22, 34, 59, 0.85);

  /* Candlelight & Warm Fairy Light Accents */
  --gold-primary: #F59E0B;
  --gold-light: #FDE68A;
  --gold-shimmer: #FEF3C7;
  --gold-deep: #D97706;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --gold-glow-intense: rgba(245, 158, 11, 0.65);

  /* Botanical Accents */
  --sage-primary: #606C38;
  --sage-light: #8DA372;
  --sage-muted: #3D4829;
  
  /* Text & Readability (WCAG AA Compliant) */
  --text-pure: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --text-dark: #1E293B;

  /* Glassmorphism & Borders */
  --glass-border: rgba(253, 230, 138, 0.15);
  --glass-border-hover: rgba(253, 230, 138, 0.35);
  --glass-blur: blur(16px);
  --glass-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.04);
  --glass-shadow-hover: 0 20px 50px -10px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.15);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* iOS Safe Area Tokens */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Background Fairy Light Particle Canvas */
#fairyLightsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Headings & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* --- Common UI Components & Glassmorphism --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 2.5rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 230, 138, 0.4), transparent);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); font-size: 0.875rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* Section Headers */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(253, 230, 138, 0.15);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Title Ornament */
.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 1.75rem;
}

.title-ornament .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.title-ornament .diamond {
  color: var(--gold-light);
  font-size: 0.65rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0F172A;
  font-weight: 700;
  border-color: #FDE68A;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: #090D16;
  box-shadow: 0 0 25px var(--gold-glow-intense);
}

.btn-glow {
  box-shadow: 0 0 18px var(--gold-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(253, 230, 138, 0.3);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(253, 230, 138, 0.12);
  border-color: var(--gold-light);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
  background: rgba(11, 17, 30, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(253, 230, 138, 0.08);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 9, 17, 0.88);
  border-bottom-color: rgba(253, 230, 138, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.08);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-monogram {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-pure);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: 0.05em;
}

.nav-monogram .monogram-amp {
  color: var(--gold-light);
  font-style: italic;
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width var(--transition-normal);
}

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

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

.btn-nav-rsvp {
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-deep));
  color: #0A0F1D;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px var(--gold-glow);
}

.btn-nav-rsvp:hover {
  box-shadow: 0 0 20px var(--gold-glow-intense);
  transform: translateY(-1px);
  color: #000;
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION & 3D CAMERA FLY-THROUGH
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
  background-color: var(--bg-darkest);
  perspective: 1200px;
}

.hero-flythrough-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Photorealistic Wedding Tent Fairy Lights Canvas Fly-Through */
.hero-flythrough-image {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('assets/wedding_tent_lawn_lights.jpg') center 48% / cover no-repeat;
  filter: brightness(0.82) contrast(1.18) saturate(1.12);
  will-change: transform;
  animation: heroCameraFlyThrough 28s cubic-bezier(0.25, 0.1, 0.25, 1) infinite alternate;
}

@keyframes heroCameraFlyThrough {
  0% {
    transform: scale(1.0) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.18) translate3d(0, -2.5%, 40px);
  }
  100% {
    transform: scale(1.35) translate3d(0, -4.5%, 90px);
  }
}

.hero-tent-vignette {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 45%, rgba(6, 9, 17, 0.1) 0%, rgba(6, 9, 17, 0.6) 65%, rgba(6, 9, 17, 0.95) 100%),
    linear-gradient(180deg, rgba(6, 9, 17, 0.5) 0%, transparent 35%, rgba(6, 9, 17, 0.85) 85%, var(--bg-darkest) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Luminous Arch Tent Glow simulation */
.hero-tent-ambience {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140vw;
  height: 80vh;
  border-radius: 0 0 50% 50%;
  background: radial-gradient(circle at 50% 20%, rgba(254, 243, 199, 0.12) 0%, rgba(245, 158, 11, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.sparkle-icon {
  font-size: 0.65rem;
  color: var(--gold-primary);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: 0.015em;
  color: #FFFFFF;
  text-shadow: 0 0 35px rgba(253, 230, 138, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.hero-title .name {
  display: inline-block;
}

.hero-title .ampersand {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  font-size: 0.85em;
  text-shadow: 0 0 25px var(--gold-glow);
}

.hero-date-badge {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-date-badge .date-icon {
  color: var(--gold-light);
  font-size: 0.75rem;
}

/* Countdown Wrapper */
.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding: 1.25rem 2rem;
  background: rgba(16, 25, 43, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.05);
}

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--gold-shimmer);
  line-height: 1;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

.countdown-divider {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: rgba(253, 230, 138, 0.4);
  line-height: 1;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Scroll Down Prompt */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--gold-light);
}

.scroll-chevron {
  width: 16px;
  height: 16px;
  border-bottom: 2px solid var(--gold-light);
  border-right: 2px solid var(--gold-light);
  transform: rotate(45deg);
  animation: chevronBounce 2s infinite ease-in-out;
}

/* ==========================================================================
   VIBE / ATMOSPHERE SECTION
   ========================================================================== */
.vibe-section {
  padding-top: 4rem;
}

.vibe-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, rgba(16, 25, 43, 0.8) 60%);
}

.botanical-accent {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.vibe-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text-pure);
  margin-bottom: 1.75rem;
  text-shadow: 0 0 15px rgba(253, 230, 138, 0.1);
}

.vibe-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.vibe-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  border-top: 1px solid rgba(253, 230, 138, 0.12);
  padding-top: 2.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.feature-item h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SCHEDULE & TIMELINE SECTION
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

/* Vertical Fairy Light Cord Line */
.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0.6) 15%, 
    rgba(253, 230, 138, 0.8) 50%, 
    rgba(245, 158, 11, 0.6) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 12px var(--gold-glow);
}

.timeline-item {
  position: relative;
  margin-bottom: 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  align-items: center;
  width: 100%;
}

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

/* Even children (Items 1, 3, 5): Card on Left (Col 1), Time on Right (Col 2) */
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

.timeline-item:nth-child(even) .timeline-time {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0 1.5rem;
  text-align: left;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

/* Odd children (Items 2, 4, 6): Time on Left (Col 1), Card on Right (Col 2) */
.timeline-item:nth-child(odd) .timeline-time {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0 1.5rem;
  text-align: right;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}

.timeline-content {
  padding: 1.85rem 2.25rem;
}

/* Luminous Timeline Node Dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-darkest);
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 15px var(--gold-glow-intense);
}

.dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-shimmer);
}

.dot-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.4);
  animation: rotateHalo 12s linear infinite;
}

.event-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.event-title {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
  color: #FFF;
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.event-meta {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* ==========================================================================
   LOCATION & LOGISTICS
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.venue-card {
  padding: 3rem;
}

.venue-badge {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.venue-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.venue-address {
  font-size: 1rem;
  color: var(--gold-shimmer);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.inline-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--gold-primary);
}

.venue-description {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.map-placeholder-box {
  background: rgba(11, 17, 30, 0.8);
  border: 1px solid rgba(253, 230, 138, 0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.map-artistic-visual {
  height: 140px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.7) 70%);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  border: 1px dashed rgba(253, 230, 138, 0.2);
}

.map-pin {
  position: relative;
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.pin-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow-intense) 0%, transparent 70%);
  animation: pulseGlow 2s infinite ease-in-out;
}

.map-caption span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.map-caption p {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
}

.map-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Logistics Card */
.logistics-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(253, 230, 138, 0.12);
}

.logistics-icon {
  font-size: 2.2rem;
}

.card-header-title {
  font-size: 1.55rem;
  color: var(--text-primary);
}

.card-header-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.logistics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logistics-list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.logistics-list strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.25rem;
}

/* Accommodations Subsection */
.accommodations-section {
  margin-top: 3rem;
}

.subsection-title {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.accommodations-sub {
  margin-bottom: 2.5rem;
}

.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.hotel-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.hotel-distance-badge {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--sage-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hotel-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: #FFF;
}

.hotel-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.hotel-perks {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(253, 230, 138, 0.1);
  margin-bottom: 1.5rem;
  color: var(--gold-shimmer);
}

.hotel-btn {
  width: 100%;
}

/* ==========================================================================
   ATTIRE & DRESS CODE
   ========================================================================== */
.dress-code-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
}

.dress-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.palette-wrapper {
  margin-bottom: 3.5rem;
  text-align: center;
}

.palette-title {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.palette-swatches {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.swatch-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.swatch-item:hover .swatch-circle {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  border-color: var(--gold-light);
}

.swatch-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.practical-advice-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(253, 230, 138, 0.12);
}

.advice-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.advice-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.advice-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.advice-item p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================================
   RSVP INTERACTIVE SECTION
   ========================================================================== */
.rsvp-card-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.rsvp-card {
  padding: 4rem 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, rgba(16, 25, 43, 0.9) 70%);
}

.rsvp-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.col-half {
  flex: 1;
}

.form-group label,
.form-legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.form-group .required {
  color: var(--gold-primary);
}

.form-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: rgba(11, 17, 30, 0.7);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(16, 25, 43, 0.9);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #F87171;
  margin-top: 0.35rem;
}

.form-group.has-error .form-input {
  border-color: #F87171;
}

.form-group.has-error .form-error {
  display: block;
}

/* Custom Radio Attendance Cards */
.attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.attendance-radio-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(11, 17, 30, 0.6);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.attendance-radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(253, 230, 138, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.attendance-radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow-intense);
}

.attendance-radio-label input[type="radio"]:checked + .radio-custom::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0B111E;
}

.attendance-radio-label:has(input[type="radio"]:checked) {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.radio-text strong {
  display: block;
  font-size: 1rem;
  color: #FFF;
}

.radio-text small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Stepper Input */
.stepper-input {
  display: flex;
  align-items: center;
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-md);
  background: rgba(11, 17, 30, 0.7);
  overflow: hidden;
}

.stepper-btn {
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.stepper-btn:hover {
  background: rgba(253, 230, 138, 0.15);
}

.stepper-val {
  text-align: center;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-shimmer);
}

/* Dietary Multi-Select Chips */
.dietary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(11, 17, 30, 0.6);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip input[type="checkbox"] {
  display: none;
}

.chip:has(input[type="checkbox"]:checked) {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

/* RSVP Success State */
.rsvp-success-state {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: fadeIn 0.5s ease-out;
}

.success-icon-glow {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: pulseGlow 2s infinite ease-in-out;
}

.success-title {
  font-size: 2.25rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.success-details-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(11, 17, 30, 0.7);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-md);
  text-align: left;
}

.badge-confirmed {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(96, 108, 56, 0.3);
  border: 1px solid var(--sage-light);
  color: var(--sage-light);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   REGISTRY SECTION
   ========================================================================== */
.registry-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.registry-card {
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.registry-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.registry-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #FFF;
}

.registry-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.registry-details {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--glass-border-hover);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-chevron {
  width: 12px;
  height: 12px;
  border-bottom: 2px solid var(--gold-light);
  border-right: 2px solid var(--gold-light);
  transform: rotate(45deg);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 2rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #FFF;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.modal-header h3 {
  font-size: 1.75rem;
  color: var(--gold-light);
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bank-details-box {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(11, 17, 30, 0.85);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.bank-details-box p {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.bank-details-box strong {
  color: var(--gold-light);
}

.modal-footer {
  margin-top: 1.75rem;
  text-align: right;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, transparent 0%, var(--bg-darkest) 100%);
  border-top: 1px solid rgba(253, 230, 138, 0.1);
}

.footer-monogram {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--text-pure);
  margin-bottom: 1rem;
}

.footer-monogram .amp {
  color: var(--gold-light);
  font-style: italic;
}

.footer-signoff {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-shimmer);
  margin-bottom: 0.75rem;
}

.footer-couple-date {
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-hashtag {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 3.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-faint);
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(253, 230, 138, 0.2);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back-to-top:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* ==========================================================================
   SCROLL REVEAL & ANIMATIONS
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

@keyframes rotateHalo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES — BESPOKE SMARTPHONE & iOS OPTIMIZATION
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .registry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline-track {
    left: 24px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    display: block;
    padding-left: 54px;
    margin-bottom: 2.75rem;
    column-gap: 0;
  }

  .timeline-dot {
    left: 24px;
    top: 14px;
    transform: translate(-50%, -50%);
  }

  .timeline-time,
  .timeline-item:nth-child(even) .timeline-time,
  .timeline-item:nth-child(odd) .timeline-time {
    display: inline-flex;
    align-items: center;
    width: auto;
    text-align: left;
    padding: 0.25rem 0.85rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
  }

  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    width: 100%;
  }
}

/* Smartphone & iPhone Portrait Mode (< 768px) */
@media (max-width: 768px) {
  /* Layout & Section Padding */
  .section {
    padding: 4rem 0;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-badge {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.85rem;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Sticky iOS Navigation Bar */
  .site-header {
    padding-top: max(0.85rem, env(safe-area-inset-top));
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: 0.85rem;
    height: auto;
    background: rgba(6, 9, 17, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(253, 230, 138, 0.15);
  }

  /* Native-Feel iOS Slide-in Sheet Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100%;
    height: 100dvh;
    background: rgba(7, 11, 20, 0.96);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-left: 1px solid rgba(253, 230, 138, 0.2);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    align-items: stretch !important;
    text-align: left !important;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 20px) + 5rem) 1.75rem calc(env(safe-area-inset-bottom, 20px) + 2rem);
    gap: 0.85rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100% !important;
    text-align: left !important;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #F8FAFC;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .nav-link::after {
    display: none !important;
  }

  .nav-link:active {
    color: var(--gold-light);
    transform: translateX(4px);
  }

  .nav-cta-item {
    margin-top: 1.25rem;
    width: 100% !important;
  }

  .btn-nav-rsvp {
    width: 100%;
    height: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* --------------------------------------------------------------------------
     HERO SECTION: VERTICAL SMARTPHONE & IPHONE FRAMING
     -------------------------------------------------------------------------- */
  .hero-section {
    min-height: 100svh;
    min-height: -webkit-fill-available;
    padding: calc(var(--sat) + 5.5rem) 1.25rem calc(var(--sab) + 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* User's portrait reference image framed perfectly for vertical screens */
  .hero-flythrough-image {
    background-image: url('assets/wedding_tent_reference.jpg') !important;
    background-position: center 25% !important;
    background-size: cover !important;
    top: -5% !important;
    left: -5% !important;
    width: 110% !important;
    height: 110% !important;
    filter: brightness(0.85) contrast(1.16) saturate(1.1) !important;
    animation: heroMobileSubtlePan 22s ease-in-out infinite alternate !important;
  }

  @keyframes heroMobileSubtlePan {
    0% {
      transform: scale(1.0) translate3d(0, 0, 0);
    }
    100% {
      transform: scale(1.07) translate3d(0, -2.5%, 15px);
    }
  }

  .hero-subtitle-badge {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.15rem;
    max-width: 95%;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
  }

  .hero-title .ampersand {
    font-size: 0.85em;
    margin: 0 0.15em;
  }

  .hero-date-badge {
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    line-height: 1.4;
    margin-bottom: 1.75rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
  }

  /* Native iOS Glass Widget Countdown */
  .countdown-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.45rem !important;
    padding: 0.75rem 0.65rem !important;
    max-width: 340px !important;
    width: 100% !important;
    margin: 0 auto 2.25rem !important;
    background: rgba(11, 17, 30, 0.65) !important;
    border: 1px solid rgba(253, 230, 138, 0.24) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }

  .countdown-divider {
    display: none !important;
  }

  .countdown-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 0.55rem 0.2rem !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .countdown-num {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #FDFBF7 !important;
    font-variant-numeric: tabular-nums !important;
  }

  .countdown-label {
    font-size: 0.62rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--gold-light) !important;
    margin-top: 0.25rem !important;
    font-weight: 600 !important;
  }

  /* Native Full-Width Action Buttons */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    gap: 0.8rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
  }

  .hero-actions .btn:active {
    transform: scale(0.98);
  }

  .scroll-indicator {
    bottom: max(1rem, env(safe-area-inset-bottom));
    margin-top: 1.5rem;
  }

  /* --------------------------------------------------------------------------
     SECTIONS & CARDS ON SMARTPHONE
     -------------------------------------------------------------------------- */
  .glass-card,
  .vibe-card,
  .dress-code-card,
  .rsvp-card,
  .venue-card,
  .registry-card,
  .hotel-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }

  /* --------------------------------------------------------------------------
     TIMELINE: MOBILE ROADMAP WITH LEFT GLOWING LINE
     -------------------------------------------------------------------------- */
  .timeline-container {
    padding: 0.5rem 0 !important;
  }

  .timeline-track {
    left: 20px !important;
    transform: none !important;
    width: 2px !important;
    background: linear-gradient(180deg, var(--gold-primary), rgba(245, 158, 11, 0.3) 90%, transparent) !important;
  }

  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    display: block !important;
    padding-left: 48px !important;
    margin-bottom: 2.25rem !important;
    position: relative !important;
  }

  .timeline-dot {
    position: absolute !important;
    left: 20px !important;
    top: 13px !important;
    transform: translate(-50%, -50%) !important;
    width: 18px !important;
    height: 18px !important;
    z-index: 3 !important;
  }

  .timeline-time,
  .timeline-item:nth-child(even) .timeline-time,
  .timeline-item:nth-child(odd) .timeline-time {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--gold-light) !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 999px !important;
    margin-bottom: 0.65rem !important;
    text-align: left !important;
    width: auto !important;
  }

  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    width: 100% !important;
    padding: 1.35rem 1.15rem !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  }

  .event-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.3 !important;
  }

  .event-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.65rem !important;
  }

  /* --------------------------------------------------------------------------
     ORT & LOGISTIK (LOCATION)
     -------------------------------------------------------------------------- */
  .location-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .map-placeholder-box {
    padding: 1rem !important;
    border-radius: 16px !important;
  }

  .map-actions {
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .map-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    border-radius: 999px !important;
  }

  .practical-advice-box {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* --------------------------------------------------------------------------
     DRESSCODE: INSPIRATION & SWATCHES
     -------------------------------------------------------------------------- */
  .palette-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.85rem !important;
  }

  .swatch-item {
    width: calc(33.333% - 0.85rem) !important;
    min-width: 80px !important;
  }

  .swatch-circle {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 0.35rem !important;
  }

  .swatch-label {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .dress-advice-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* --------------------------------------------------------------------------
     RSVP FORM: iOS NATIVE FEEL & ANTI-ZOOM FIX
     -------------------------------------------------------------------------- */
  /* CRITICAL iOS SAFARI FIX: 16px minimum font size prevents disruptive auto-zooming */
  .form-input,
  .form-textarea,
  select,
  input[type="text"],
  input[type="email"],
  input[type="number"] {
    font-size: 16px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    padding: 0.75rem 1rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #F8FAFC !important;
    -webkit-appearance: none !important;
  }

  .form-textarea {
    min-height: 95px !important;
    padding: 0.75rem 1rem !important;
  }

  .form-row {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .form-group {
    margin-bottom: 1.25rem !important;
  }

  .form-group label {
    font-size: 0.92rem !important;
    margin-bottom: 0.45rem !important;
    display: block !important;
  }

  .attendance-options {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .attendance-radio-label {
    min-height: 58px !important;
    padding: 0.85rem 1rem !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .dietary-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .chip span {
    min-height: 38px !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.88rem !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .stepper-input {
    min-height: 50px !important;
    border-radius: 14px !important;
  }

  .stepper-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.35rem !important;
  }

  .form-actions {
    margin-top: 1.75rem !important;
  }

  .form-actions #submitRsvpBtn {
    width: 100% !important;
    min-height: 54px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35) !important;
  }

  .form-privacy-note {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin-top: 0.85rem !important;
  }

  /* --------------------------------------------------------------------------
     REGISTRY & MODAL (FLITTERWOCHEN)
     -------------------------------------------------------------------------- */
  .registry-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .registry-card .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
  }

  .modal-dialog {
    width: calc(100% - 1.75rem) !important;
    max-width: 440px !important;
    padding: 1.85rem 1.35rem !important;
    border-radius: 24px !important;
    margin: auto !important;
  }

  .bank-details-box {
    padding: 1rem !important;
    border-radius: 14px !important;
    font-size: 0.88rem !important;
  }

  .modal-footer #modalDoneBtn {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 999px !important;
  }

  /* --------------------------------------------------------------------------
     FAQ ACCORDION: iOS LIST CELL FEEL
     -------------------------------------------------------------------------- */
  .faq-question {
    padding: 1.15rem 1rem !important;
    min-height: 54px !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }

  .faq-answer-inner {
    padding: 0 1rem 1.15rem 1rem !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  /* --------------------------------------------------------------------------
     FOOTER WITH SAFE AREA INSET
     -------------------------------------------------------------------------- */
  .site-footer {
    padding: 3.5rem 1.25rem calc(var(--sab) + 2.5rem) !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1.25rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .btn-back-to-top {
    min-height: 46px !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 999px !important;
  }
}

/* Small Smartphone Viewports (< 480px, e.g. iPhone SE) */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.15rem, 10vw, 2.75rem) !important;
  }

  .countdown-num {
    font-size: 1.35rem !important;
  }

  .countdown-label {
    font-size: 0.58rem !important;
  }

  .swatch-item {
    width: calc(50% - 0.85rem) !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

