/* ============================================================
   WEDDING WEBSITE — Austin & Bianca — November 6, 2026
   Pleasantdale Chateau, West Orange, NJ
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Color Palette: Fall + French Chateau — Burgundy, Champagne, Rust, Forest Green & Copper */
  --ivory:        #F8F4EE;   /* warm white — primary backgrounds */
  --cream:        #EDE0CA;   /* champagne cream — section backgrounds */
  --cream-dark:   #DCCEB6;   /* deeper champagne */
  --white:        #FFFDF9;   /* card surfaces */
  --gold:         #C4783A;   /* warm copper — primary metallic accent */
  --gold-dark:    #9A5A22;   /* deep copper */
  --gold-light:   #DBA878;   /* light copper / champagne gold */
  --burgundy:     #7B1A2A;   /* rich deep burgundy */
  --burgundy-dark:#5C1220;   /* very deep burgundy */
  --rust:         #B5511A;   /* warm rust — secondary accent */
  --sage:         #3A5C35;   /* deep forest green */
  --sage-light:   #688C60;   /* lighter forest green */
  --espresso:     #3D2B1F;   /* dark brown — primary text */
  --brown:        #7D5A45;   /* warm brown — secondary text */
  --taupe:        #A89078;   /* muted taupe — tertiary text */

  /* Typography */
  --font-script:  'Alex Brush', cursive;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Lato', 'Helvetica Neue', sans-serif;

  /* Layout */
  --container-max: 1080px;
  --section-pad:   90px 0;
  --nav-height:    72px;

  /* Transitions */
  --ease: 0.3s ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--espresso);
  background-color: var(--ivory);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--ease); }
ul  { list-style: none; }
button { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.script        { font-family: var(--font-script); }
.serif         { font-family: var(--font-serif); }
.text-center   { text-align: center; }
.text-gold     { color: var(--gold-dark); }
.text-burgundy { color: var(--burgundy); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  background: rgba(248, 244, 238, 0.96);
  box-shadow: 0 1px 24px rgba(61, 43, 31, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo / Monogram */
.nav-logo {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--espresso);
  line-height: 1;
  flex-shrink: 0;
}

/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  padding-bottom: 3px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
  transform-origin: left;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active         { color: var(--burgundy); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Language Translate — fixed floating widget */
.lang-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 244, 238, 0.96);
  border: 1px solid rgba(168, 144, 120, 0.4);
  border-radius: 3px;
  padding: 7px 12px;
  box-shadow: 0 2px 16px rgba(61, 43, 31, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-widget-icon {
  font-size: 0.75rem;
  color: var(--taupe);
  flex-shrink: 0;
  line-height: 1;
}

/* Hide "Powered by Google" label */
.lang-widget .goog-te-gadget > span { display: none; }

.lang-widget .goog-te-gadget {
  font-family: var(--font-sans) !important;
  font-size: inherit !important;
  line-height: 1;
}

.goog-te-combo {
  font-family: var(--font-sans) !important;
  font-size: 0.63rem !important;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--espresso);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

/* Suppress Google's injected top banner */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* Mobile Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 43, 31, 0.35);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   DIVIDERS & ORNAMENTS
   ============================================================ */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}

.divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}

.divider .ornament {
  font-size: 0.55rem;
  letter-spacing: 5px;
  color: var(--gold);
}

.divider .fleur {
  font-size: 1rem;
  color: var(--gold);
  line-height: 1;
}

.divider-center { max-width: 320px; margin: 24px auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--section-pad); }

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--brown);
  line-height: 1.85;
  max-width: 640px;
}

.section-body.centered { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--ease);
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 28px 72px;
  text-align: center;
  background: linear-gradient(160deg, var(--cream) 0%, #D8C8A8 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(196, 120, 58, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(181, 81, 26, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(58, 92, 53, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold-dark);
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.page-hero-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  padding: 44px 36px;
  box-shadow: 0 4px 32px rgba(61, 43, 31, 0.07);
}

.card-accent-top    { border-top: 3px solid var(--gold); }
.card-accent-left   { border-left: 3px solid var(--rust); }

/* ============================================================
   FORMS
   ============================================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--espresso);
  background: var(--ivory);
  border: 1px solid #D4C4A8;
  border-radius: 0;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A89078' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  padding: 52px 28px;
}

.footer-script {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.footer-date {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 20px;
}

.footer-bar {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.footer-venue {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--taupe);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }
.fade-in[data-delay="3"] { transition-delay: 0.3s; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 100px;
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248, 244, 238, 0.72) 0%,
    rgba(248, 244, 238, 0.60) 50%,
    rgba(248, 244, 238, 0.78) 100%
  );
  z-index: 0;
}

/* Subtle inset frame */
.hero::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  pointer-events: none;
  z-index: 2;
}

.hero-content { position: relative; z-index: 3; }

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 400;
  font-synthesis: none;
  color: var(--espresso);
  line-height: 1.05;
  margin-bottom: 0;
}

.hero-divider {
  max-width: 360px;
  margin: 18px auto 20px;
}

.hero-date-line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.18em;
  color: var(--espresso);
  margin-bottom: 6px;
}

.hero-venue-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--brown);
  margin-bottom: 4px;
}

.hero-location-line {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 40px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid rgba(168, 144, 120, 0.25);
}
.countdown-unit:last-child { border-right: none; }

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--espresso);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.hero-scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
}

.hero-scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--taupe), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.08); }
}

/* ============================================================
   HOME — WELCOME SECTION
   ============================================================ */
.welcome-section {
  background: var(--ivory);
}

/* ============================================================
   HOME — INFO CARDS
   ============================================================ */
.info-section { background: var(--cream); padding: var(--section-pad); }

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  box-shadow: 0 4px 36px rgba(61, 43, 31, 0.08);
}

.info-card {
  background: var(--white);
  padding: 52px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(225, 215, 200, 0.6);
}
.info-card:last-child { border-right: none; }

.info-card-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}

.info-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.info-card-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.65;
  font-weight: 300;
}

.info-card strong {
  font-weight: 400;
  color: var(--espresso);
}

.info-card .btn { margin-top: 22px; }

/* ============================================================
   HOME — NAV TILES
   ============================================================ */
.nav-tiles-section { background: var(--ivory); }

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

.nav-tile {
  background: var(--cream);
  padding: 52px 28px;
  text-align: center;
  display: block;
  border: 1px solid rgba(201, 169, 110, 0.2);
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease);
}

.nav-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--espresso);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
  z-index: 0;
}

.nav-tile:hover::after { transform: scaleY(1); }

.nav-tile:hover .nav-tile-script,
.nav-tile:hover .nav-tile-sub { color: var(--ivory); }

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

.nav-tile-inner { position: relative; z-index: 1; }

.nav-tile-script {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--espresso);
  display: block;
  margin-bottom: 8px;
  transition: color var(--ease);
  line-height: 1.2;
}

.nav-tile-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color var(--ease);
}

/* ============================================================
   OUR STORY PAGE
   ============================================================ */
.story-section { background: var(--ivory); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.story-label-col { padding-top: 8px; }

.story-chapter-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: block;
}

.story-chapter-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.2;
}

.story-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--brown);
  line-height: 1.9;
}

.story-body p + p { margin-top: 16px; }

.story-quote {
  border-left: 3px solid var(--rust);
  padding: 16px 28px;
  margin: 36px 0;
  background: var(--cream);
}

.story-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--espresso);
  line-height: 1.6;
}

.story-divider { background: var(--cream); }

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream);
  border: 1px dashed rgba(201, 169, 110, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--taupe);
}

.photo-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   DETAILS PAGE
   ============================================================ */
.details-section { background: var(--ivory); }
.details-alt     { background: var(--cream); }

.event-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.event-card {
  background: var(--white);
  box-shadow: 0 4px 28px rgba(61, 43, 31, 0.07);
  border-top: 3px solid var(--gold);
}

.event-card-header {
  padding: 32px 36px 0;
}

.event-card-icon {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.event-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 4px;
}

.event-card-time {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--taupe);
}

.event-card-body {
  padding: 24px 36px 36px;
}

.event-detail-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(225, 215, 200, 0.6);
  font-size: 0.9rem;
}
.event-detail-row:last-child { border-bottom: none; }

.event-detail-key {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  min-width: 90px;
  padding-top: 2px;
}

.event-detail-val {
  color: var(--brown);
  font-weight: 300;
  line-height: 1.5;
}

.dress-code-section { background: var(--espresso); padding: var(--section-pad); }

.dress-code-section .section-eyebrow { color: var(--gold); }
.dress-code-section .section-title   { color: var(--ivory); }
.dress-code-section .section-body    { color: var(--taupe); }

.dress-code-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.dress-item {
  background: rgba(255, 253, 249, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 28px 24px;
  text-align: center;
}

.dress-item-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.dress-item-val {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ivory);
}

/* ============================================================
   DIRECTIONS / MAP
   ============================================================ */
.map-wrap {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(196, 120, 58, 0.2);
  overflow: hidden;
  line-height: 0; /* collapse inline-block gap below iframe */
}

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

.directions-wrap {
  max-width: 620px;
  margin: 36px auto 0;
  text-align: center;
}

.directions-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--taupe);
  margin-bottom: 14px;
}

.directions-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.directions-row .form-control { flex: 1; }
.directions-row .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 560px) {
  .venue-map { height: 300px; }
  .directions-row { flex-direction: column; }
  .directions-row .btn { width: 100%; }
}

/* ============================================================
   RSVP PAGE
   ============================================================ */
.rsvp-section { background: var(--ivory); }

.rsvp-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.rsvp-form {
  background: var(--white);
  padding: 52px 48px;
  box-shadow: 0 4px 40px rgba(61, 43, 31, 0.08);
  border-top: 3px solid var(--gold);
}

.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(225, 215, 200, 0.6);
}

.rsvp-submit-wrap {
  text-align: center;
  margin-top: 8px;
}

.rsvp-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--taupe);
  margin-top: 14px;
  font-style: italic;
}

/* Success state */
.rsvp-success {
  display: none;
  text-align: center;
  padding: 52px;
  background: var(--white);
  box-shadow: 0 4px 40px rgba(61, 43, 31, 0.08);
  border-top: 3px solid var(--sage);
}
.rsvp-success.visible { display: block; }

.rsvp-success-icon {
  font-size: 2.5rem;
  color: var(--sage);
  margin-bottom: 16px;
}

/* ============================================================
   REGISTRY PAGE
   ============================================================ */
.registry-section { background: var(--ivory); }

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

.registry-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 40px 28px 36px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--ease), box-shadow var(--ease);
}

.registry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(61, 43, 31, 0.12);
}

.registry-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.registry-card-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 8px;
}

.registry-card-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}

.registry-note-section {
  background: var(--cream);
  padding: var(--section-pad);
}

.registry-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   TRAVEL PAGE
   ============================================================ */
.travel-section    { background: var(--ivory); }
.travel-alt        { background: var(--cream); }

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

.hotel-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.06);
}

.hotel-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--burgundy);
  padding: 3px 10px;
  margin-bottom: 12px;
}

.hotel-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 6px;
}

.hotel-distance {
  font-size: 0.8rem;
  color: var(--taupe);
  font-style: italic;
  margin-bottom: 14px;
}

.hotel-detail {
  font-size: 0.875rem;
  color: var(--brown);
  line-height: 1.65;
  font-weight: 300;
}

.hotel-detail + .hotel-detail { margin-top: 6px; }

.hotel-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}
.hotel-link:hover { color: var(--burgundy); border-color: var(--burgundy); }

.airport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.airport-card {
  background: var(--white);
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.06);
  border-top: 3px solid var(--sage);
}

.airport-code {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--espresso);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.airport-name {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
}

.airport-info {
  font-size: 0.9rem;
  color: var(--brown);
  font-weight: 300;
  line-height: 1.7;
}

.tips-list {
  list-style: none;
  margin-top: 28px;
}

.tips-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(225, 215, 200, 0.7);
  font-size: 0.9rem;
  color: var(--brown);
  font-weight: 300;
  line-height: 1.6;
}

.tips-list li:last-child { border-bottom: none; }

.tips-list .tip-icon {
  color: var(--rust);
  flex-shrink: 0;
  font-size: 1rem;
  padding-top: 2px;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .event-cards       { grid-template-columns: 1fr; }
  .registry-grid     { grid-template-columns: 1fr 1fr; }
  .hotels-grid       { grid-template-columns: 1fr 1fr; }
  .dress-code-items  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  /* Nav — mobile slide-in */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 300px);
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 48px 40px;
    box-shadow: -4px 0 24px rgba(61, 43, 31, 0.12);
    transition: right 0.35s ease;
    z-index: 1100;
  }

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

  .nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }

  /* Hero */
  .hero { padding: 100px 28px 80px; }
  .hero::before { inset: 12px; }
  .countdown { gap: 0; }
  .countdown-unit { padding: 0 12px; }

  /* Tiles */
  .nav-tiles      { grid-template-columns: 1fr; gap: 12px; }
  .info-cards     { grid-template-columns: 1fr; }
  .info-card      { border-right: none; border-bottom: 1px solid rgba(225,215,200,0.6); }
  .info-card:last-child { border-bottom: none; }

  /* Story */
  .story-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Details */
  .event-cards     { grid-template-columns: 1fr; }
  .dress-code-items { grid-template-columns: 1fr; }

  /* RSVP */
  .rsvp-form       { padding: 36px 24px; }
  .form-row        { grid-template-columns: 1fr; gap: 0; }

  /* Registry */
  .registry-grid   { grid-template-columns: 1fr; }

  /* Travel */
  .hotels-grid     { grid-template-columns: 1fr; }
  .airport-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 260px; text-align: center; }
  .countdown-unit { padding: 0 8px; }
}
