/* ===================================================
   Sabrina & Ricky Wedding Website — Main Stylesheet
   =================================================== */

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

:root {
  --cream:        #FAF6F0;
  --cream-mid:    #F2E9DC;
  --cream-dark:   #EBE0D0;
  --charcoal:     #2C2422;
  --charcoal-mid: #4A3F38;
  --taupe:        #8B7355;
  --taupe-light:  #C4A882;
  --script:       #6B5040;

  /* Accent palette — subtle pops of color */
  --accent-blush:  #F6A7B5;
  --accent-orange: #F48037;
  --accent-olive:  #5E6732;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-script:   'Great Vibes', cursive;
  --font-body:     'Cormorant Garamond', Georgia, serif;

  --max-width: 1100px;
  --nav-height: 78px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: url('images/cursor.png') 13 5, auto;
}

/* Pointer cursor (links, buttons) uses the same custom image */
a, button, label, input[type="radio"], input[type="submit"],
.rsvp-result-card, .hamburger, [role="button"] {
  cursor: url('images/cursor.png') 13 5, pointer;
}


/* ===================================================
   NAVIGATION
   =================================================== */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.8rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 1px 24px rgba(44, 36, 34, 0.07);
  border-bottom: 1px solid rgba(196, 168, 130, 0.25);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s;
}
.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
#navbar.scrolled .nav-logo img {
  height: 64px;
}
.nav-logo:hover { opacity: 0.75; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.8rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}

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

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--accent-olive);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ===================================================
   HERO
   =================================================== */

.hero {
  min-height: 100vh;
  background-color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 3rem) 2rem 5rem;
}

/* Corner decorations */
.decor {
  position: absolute;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.decor-tl { top: 7rem;   left: 4rem;   }
.decor-tr { top: 6.5rem; right: 4rem;  }
.decor-bl { bottom: 7rem; left: 4rem;  }
.decor-br { bottom: 6.5rem; right: 4rem; }

/* Hero content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  animation: heroFadeUp 1.2s ease both;
}

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

.hero-swans {
  opacity: 0.72;
  margin-bottom: 0.5rem;
}

.hero-venue-image {
  width: 80%;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-venue-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

.hero-couple-photo {
  width: 75%;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-couple-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(44, 36, 34, 0.12);
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 0.09em;
  color: var(--charcoal);
  line-height: 1.0;
}

.hero-and {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent-blush);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.hero-and em { font-style: italic; }

.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--script);
  margin-top: 0.4rem;
  animation: heroFadeUp 1.4s 0.2s ease both;
}

.hero-info {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  animation: heroFadeUp 1.4s 0.4s ease both;
}

.hero-date {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--charcoal);
}

.hero-rule {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--taupe-light), transparent);
}

.hero-venue {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.09em;
  color: var(--taupe);
}

.boot-svg { flex-shrink: 0; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scrollBounce 2.4s ease-in-out infinite;
  opacity: 0.45;
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--taupe));
}

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


/* ===================================================
   COUNTDOWN
   =================================================== */

.countdown-section {
  background-color: var(--cream-mid);
  border-top: 1px solid rgba(196, 168, 130, 0.3);
  border-bottom: 1px solid rgba(196, 168, 130, 0.3);
  padding: 6rem 2rem;
}

.countdown-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
}

.countdown-col { text-align: center; }
.countdown-col-left  { text-align: right; }
.countdown-col-right { text-align: left;  }

.countdown-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1.25;
}

.countdown-divider {
  width: 1px;
  height: 100px;
  background: var(--taupe-light);
  opacity: 0.7;
}

.countdown-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  line-height: 1;
}

.time-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 10vw, 6.5rem);
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: 0.02em;
}

.time-to-go {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
}


/* ===================================================
   JOIN / SAVE THE DATE
   =================================================== */

.join-section {
  background-color: var(--cream);
  padding: 6rem 2rem;
  text-align: center;
}

.join-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.join-ornament {
  line-height: 1;
}

.join-top-script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--taupe);
}

.join-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.join-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--charcoal-mid);
  letter-spacing: 0.03em;
}

.join-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.9rem 3rem;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.join-btn:hover {
  background: transparent;
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}


/* ===================================================
   FOOTER
   =================================================== */

.footer {
  background-color: var(--cream-mid);
  border-top: 1px solid rgba(196, 168, 130, 0.35);
  padding: 4rem 2rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.footer-script {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--taupe-light);
  line-height: 1;
}

.footer-venue-image {
  width: 80%;
  max-width: 380px;
  margin: 0 auto 0.5rem;
  display: flex;
  justify-content: center;
}

.footer-venue-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}

.footer-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--charcoal);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--taupe-light); }

.footer-nav span {
  color: rgba(196, 168, 130, 0.4);
  font-size: 0.7rem;
}

.footer-venue {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--taupe);
  margin-top: 0.5rem;
}


/* ===================================================
   PAGE HERO (reusable inner-page header)
   =================================================== */

.page-hero {
  padding: calc(var(--nav-height) + 5rem) 2rem 4rem;
  text-align: center;
  background-color: var(--cream);
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.1em;
  color: var(--charcoal);
  line-height: 1;
}

.page-hero-rule {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-olive), transparent);
  margin: 1.4rem auto;
}

.page-hero-sub {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--taupe);
}

.page-hero-pre {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}


/* ===================================================
   ITINERARY / TIMELINE
   =================================================== */

.timeline-section {
  background-color: var(--cream);
  padding: 2rem 2rem 5rem;
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background: var(--charcoal);
  opacity: 0.55;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
}

.timeline-text {
  font-family: var(--font-display);
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--charcoal);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.timeline-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--accent-olive);
  letter-spacing: 0.02em;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
}

.timeline-icon svg,
.timeline-icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Left-side text items */
.item-left .timeline-text {
  grid-column: 1;
  text-align: right;
  padding-right: 2.5rem;
}
.item-left .timeline-icon {
  grid-column: 2;
  justify-self: start;
  padding-left: 2rem;
}

/* Right-side text items */
.item-right .timeline-text {
  grid-column: 2;
  text-align: left;
  padding-left: 2.5rem;
  order: 2;
}
.item-right .timeline-icon {
  grid-column: 1;
  justify-self: end;
  padding-right: 2rem;
  order: 1;
}

.timeline-end {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  opacity: 0.7;
}


/* ===================================================
   RSVP PAGE
   =================================================== */

.rsvp-section {
  background-color: var(--cream);
  padding: 2rem 2rem 6rem;
}

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

.rsvp-step {
  animation: heroFadeUp 0.5s ease both;
}

/* ---- Search ---- */

.rsvp-instruction {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--charcoal-mid);
  text-align: center;
  margin-bottom: 2rem;
}

.rsvp-search-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--taupe-light);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.rsvp-search-wrap:focus-within {
  border-color: var(--taupe);
}

.rsvp-search-input {
  flex: 1;
  padding: 1rem 1.4rem;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.rsvp-search-input::placeholder {
  color: var(--taupe-light);
  font-style: italic;
}

.rsvp-search-btn {
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.rsvp-search-btn:hover {
  background: var(--cream);
  color: var(--accent-orange);
}

/* ---- Results ---- */

.rsvp-results {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rsvp-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  border: 1px solid rgba(196, 168, 130, 0.35);
  background: rgba(255,255,255, 0.5);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}

.rsvp-result-card:hover {
  border-color: var(--taupe);
  background: rgba(255,255,255, 0.85);
  transform: translateY(-1px);
}

.rsvp-result-party {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.rsvp-result-names {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.rsvp-result-arrow {
  font-size: 1.3rem;
  color: var(--taupe);
  flex-shrink: 0;
  margin-left: 1rem;
}

.rsvp-no-results {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px dashed var(--taupe-light);
}

.rsvp-no-results p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

/* ---- Form step ---- */

.rsvp-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--taupe);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0;
  transition: color 0.3s;
}

.rsvp-back-btn:hover { color: var(--script); }

.rsvp-party-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--charcoal);
  text-align: center;
}

.rsvp-form-instruction {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  text-align: center;
  margin: 0.5rem 0 2rem;
  letter-spacing: 0.04em;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rsvp-guests {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Individual guest card */
.rsvp-guest-card {
  border: 1px solid rgba(196, 168, 130, 0.3);
  padding: 1.4rem 1.6rem;
  background: rgba(255,255,255,0.5);
}

.rsvp-guest-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.rsvp-attendance {
  display: flex;
  gap: 1rem;
}

.rsvp-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--charcoal-mid);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.rsvp-radio-label:hover { color: var(--charcoal); }

.rsvp-radio-label input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--taupe-light);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}

.rsvp-radio-label input[type="radio"]:checked {
  border-color: var(--taupe);
}

.rsvp-radio-label input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: var(--taupe);
}

/* ---- Form footer ---- */

.rsvp-form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.rsvp-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.rsvp-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--taupe-light);
  border-radius: 2px;
  background: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  resize: vertical;
  outline: none;
  transition: border-color 0.3s;
}

.rsvp-textarea:focus { border-color: var(--taupe); }

.rsvp-submit-btn {
  align-self: center;
  margin-top: 1rem;
  padding: 1rem 3.5rem;
  background: var(--taupe);
  color: var(--cream);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s ease;
}

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

/* ---- Confirmation ---- */

.rsvp-confirm-inner {
  text-align: center;
  padding: 3rem 1rem;
}

.rsvp-confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--accent-olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-olive);
  line-height: 1;
}

.rsvp-confirm-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.rsvp-confirm-body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--charcoal-mid);
  line-height: 1.8;
  margin-top: 0.6rem;
}

/* ---- RSVP summary card ---- */
.rsvp-summary {
  max-width: 500px;
  margin: 2rem auto 0;
  text-align: left;
  border-top: 1px solid var(--taupe-light);
  border-bottom: 1px solid var(--taupe-light);
}

.rsvp-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--cream-dark);
}

.rsvp-summary-row:last-child {
  border-bottom: none;
}

.rsvp-summary-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.rsvp-summary-status {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rsvp-summary-status.summary-accept  { color: var(--accent-olive); }
.rsvp-summary-status.summary-decline { color: var(--accent-orange); }
.rsvp-summary-status.summary-none    { color: var(--taupe); }

.rsvp-summary-notes {
  padding: 1rem 0.25rem 1.2rem;
  border-top: 1px solid var(--cream-dark);
}

.rsvp-summary-notes-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-olive);
  margin-bottom: 0.4rem;
}

.rsvp-summary-notes-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
  font-style: italic;
}

.rsvp-summary-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  margin: 1.5rem 0 0;
}

.rsvp-confirm-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.rsvp-edit-btn {
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.rsvp-edit-btn:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}


/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 800px) {
  .decor-tl, .decor-tr, .decor-bl, .decor-br {
    opacity: 0.35;
  }
  .decor-tl { top: 5.5rem; left: 1.5rem; }
  .decor-tr { top: 5rem;   right: 1.5rem; }
  .decor-bl { bottom: 5rem; left: 1.5rem; }
  .decor-br { bottom: 4.5rem; right: 1.5rem; }
}

/* Mobile menu overlay — applies whenever .open is set, regardless of width */
.nav-links.open {
  display: flex !important;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FAF6F0; /* solid cream */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  z-index: 999;
  box-shadow: 0 0 60px rgba(44, 36, 34, 0.18);
  animation: menuFadeIn 0.25s ease;
}

.nav-links.open a {
  font-size: 1.2rem !important;
  letter-spacing: 0.2em !important;
  color: var(--charcoal) !important;
  font-weight: 600;
}

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

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

@media (max-width: 680px) {
  .decor-tl, .decor-tr, .decor-bl, .decor-br { display: none; }

  /* Countdown — stack to single column on mobile */
  .countdown-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .countdown-col-left,
  .countdown-col-right { text-align: center; }
  .countdown-timer { align-items: center; }
  .countdown-divider {
    width: 70px;
    height: 1px;
    justify-self: center;
  }

  .countdown-section { padding: 4rem 1.5rem; }
  .join-section      { padding: 4rem 1.5rem; }

  /* Timeline — stack with spine between icons and text */
  .timeline-section { padding: 1rem 1rem 3rem; }
  .timeline-spine { left: 100px; transform: none; }

  .timeline-item {
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .item-left .timeline-text,
  .item-right .timeline-text {
    grid-column: 2;
    text-align: left;
    padding: 0;
    order: 2;
  }

  .item-left .timeline-icon,
  .item-right .timeline-icon {
    grid-column: 1;
    justify-self: center;
    padding: 0;
    order: 1;
  }

  .timeline-icon svg,
  .timeline-icon img { width: 42px; height: 42px; }

  .timeline-title { font-size: 1.3rem; }
  .timeline-time  { font-size: 1rem; }
}

@media (max-width: 440px) {
  .hero { padding: 5.5rem 1.2rem 4rem; }
  .hero-swans { display: none; }
  .name { letter-spacing: 0.06em; }
}

/* ============================================
   TRAVEL PAGE
   ============================================ */
.travel-section {
  padding: 4rem 2rem 5rem;
  background: var(--cream);
}

.travel-section-alt {
  background: var(--cream-mid);
}

.travel-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.travel-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.travel-rule {
  width: 60px;
  height: 1px;
  background: var(--accent-olive);
  margin: 0 auto 1.5rem;
}

.travel-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--charcoal-mid);
  margin: 0 0 2.5rem;
}

.venue-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin: 0 0 0.4rem;
  letter-spacing: 0.03em;
}

.venue-address {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--charcoal-mid);
  margin: 0 0 2rem;
}

.venue-address a {
  color: var(--charcoal-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe-light);
  transition: color 0.25s, border-color 0.25s;
}

.venue-address a:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.venue-map {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--taupe-light);
  box-shadow: 0 4px 18px rgba(60, 50, 40, 0.08);
  overflow: hidden;
}

.venue-map iframe {
  display: block;
  width: 100%;
}

/* ----- DFW guide list ----- */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.guide-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 2rem;
  text-align: left;
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--taupe-light);
}

.guide-item.item-right {
  grid-template-columns: 140px 1fr;
}

.guide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.guide-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
}

.guide-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-links li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--charcoal-mid);
  padding: 0.25rem 0;
}

.guide-links a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe-light);
  transition: color 0.25s, border-color 0.25s;
}

.guide-links a:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.guide-links .placeholder {
  color: var(--taupe);
  font-style: italic;
}

.guide-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent-olive);
  margin-left: 0.4rem;
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .travel-section { padding: 3rem 1.2rem 3.5rem; }

  .guide-item,
  .guide-item.item-right {
    grid-template-columns: 80px 1fr;
    gap: 1.2rem;
    padding: 1.2rem;
  }

  .guide-item .guide-text { order: 2; }
  .guide-item .guide-icon { order: 1; }

  .guide-icon img { width: 64px; height: 64px; }

  .guide-title { font-size: 1.25rem; }
  .guide-links li { font-size: 1.05rem; }

  .venue-map iframe { height: 260px !important; }
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
  padding: 2rem 2rem 6rem;
  background: var(--cream);
}

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

.faq-item {
  border-bottom: 1px solid var(--taupe-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--taupe-light);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.4rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: left;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.faq-question:hover {
  color: var(--charcoal-mid);
}

.faq-arrow {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--charcoal);
  border-bottom: 1.5px solid var(--charcoal);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.3s ease;
  margin-bottom: 4px;
}

.faq-item.open .faq-arrow {
  transform: rotate(-135deg);
  margin-bottom: -4px;
  border-color: var(--accent-orange);
}

.faq-item.open .faq-question {
  color: var(--accent-olive);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--charcoal-mid);
  margin: 0 0 1.4rem;
  padding-right: 2rem;
}

.faq-answer a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe-light);
  transition: border-color 0.25s;
}

.faq-answer a:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

@media (max-width: 720px) {
  .faq-section { padding: 1.5rem 1.2rem 4rem; }
  .faq-question { font-size: 1.1rem; padding: 1.1rem 0.1rem; }
  .faq-answer p { font-size: 1.08rem; padding-right: 0.5rem; }
}

/* ============================================
   LOGIN / PASSWORD GATE
   ============================================ */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 2rem 1.2rem;
}

.login-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-card {
  max-width: 440px;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem;
}

.login-logo {
  width: 90px;
  height: auto;
  display: block;
  margin: 0 auto 1.2rem;
  opacity: 0.95;
}

.login-pre {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--accent-blush);
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem;
}

.login-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3rem);
  color: var(--charcoal);
  letter-spacing: 0.08em;
  margin: 0;
}

.login-rule {
  width: 60px;
  height: 1px;
  background: var(--accent-olive);
  margin: 1.2rem auto;
}

.login-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal-mid);
  margin: 0 0 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.login-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--taupe-light);
  outline: none;
  text-align: center;
  letter-spacing: 0.08em;
  transition: border-color 0.25s;
}

.login-form input:focus {
  border-color: var(--accent-olive);
}

.login-btn {
  padding: 0.9rem 1rem;
  background: var(--charcoal);
  color: var(--cream);
  border: 1.5px solid var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.login-btn:hover {
  background: transparent;
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.login-error {
  min-height: 1.2em;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--accent-orange);
  font-size: 0.95rem;
  margin: 0.3rem 0 0;
}
