/* ============================================================
   MEDITERRANEAN WEDDING INVITATION — Elena & Alexandros
   Strict 1:1 Reference Clone
   ============================================================ */

/* ─── Typekit Fonts & Fallbacks ───────────────────────────── */
@import url("https://use.typekit.net/gmc4evw.css");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap");

/* ─── Design Tokens & CSS Custom Properties ───────────────── */
:root {
  --color-navy: #1B3A5C;
  --color-ivory: #FAF8F5;
  --color-white: #FFFFFF;
  --color-card: rgba(255, 255, 255, 0.6);
  --color-border: rgba(27, 58, 92, 0.2);
  --color-border-subtle: rgba(27, 58, 92, 0.1);
  --color-text-muted: rgba(27, 58, 92, 0.7);
  --color-text-light: rgba(27, 58, 92, 0.5);
  --color-gold: #C9A84C;
  --color-gold-soft: #D4BA7A;

  --font-display: "antiquarian-scribe", "Cormorant Garamond", Georgia, serif;
  --font-script: "antiquarian-scribe", "Cormorant Garamond", cursive;
  --font-body: "bahnschrift-semicondensed", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(27, 58, 92, 0.06);
  --shadow-md: 0 4px 14px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(27, 58, 92, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-white);
  color: var(--color-navy);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Typography Classes ──────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-script  { font-family: var(--font-script); }
.font-body    { font-family: var(--font-body); }

/* ─── Animations & Scroll Reveal ──────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

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

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

@keyframes ripplePulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

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

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

/* ─── FIXED CONTROLS ──────────────────────────────────────── */

/* 1. Language Switcher (fixed top-4 right-4) */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(250, 248, 245, 0.95);
  border: 1px solid rgba(27, 58, 92, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.lang-switcher.is-scrolled {
  background-color: rgba(250, 248, 245, 0.65);
  opacity: 0.6;
}

.lang-switcher.is-scrolled:hover {
  opacity: 1;
  background-color: rgba(250, 248, 245, 0.95);
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--color-navy);
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background-color: var(--color-navy);
  color: #ffffff;
}

/* 2. Floating Music Toggle (fixed bottom-6 right-6) */
.music-toggle-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.music-toggle-btn {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-navy);
  background-color: #ffffff;
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-toggle-btn:hover {
  transform: scale(1.1);
}

.music-toggle-btn.is-playing {
  background-color: var(--color-navy);
  color: #ffffff;
}

/* ─── SECTION 1: DOOR / ENTRANCE ──────────────────────────── */
#door-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  cursor: pointer;
  background-color: #0A1628;
}

.door-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.door-tap-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2.5rem;
  z-index: 10;
  pointer-events: none;
}

.door-tap-hint span {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(27, 58, 92, 0.85);
  background-color: rgba(250, 248, 245, 0.8);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.door-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.door-video.is-active {
  display: block;
}

/* Door Fading Hero State */
.door-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-color: var(--color-ivory);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.door-hero-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.door-hero-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
  pointer-events: none;
}

.door-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90%;
  width: 28rem;
  margin-top: -3rem;
  padding: 0 1rem;
}

.door-hero-invitation {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 2rem;
  font-weight: 500;
}

.door-hero-name {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  line-height: 0.95;
  color: var(--color-navy);
  font-weight: 400;
}

.door-hero-ampersand {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--color-navy);
  line-height: 1;
  margin: 0.25rem 0;
}

.door-hero-message {
  position: absolute;
  bottom: 8rem;
  left: 0;
  right: 0;
  padding: 0 1.5rem;
  text-align: center;
}

.door-hero-message p {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--color-navy);
  max-width: 28rem;
  margin: 0 auto;
}

.door-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.door-hero-scroll p {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.door-hero-scroll svg {
  animation: bounceSlow 1.5s infinite ease-in-out;
}

/* ─── SECTION 2: SCRATCH REVEAL ───────────────────────────── */
#scratch-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background-color: var(--color-ivory);
  position: relative;
}

.scratch-hint-icon {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scratch-hint-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 2s infinite ease-in-out;
}

.scratch-hint-ripple {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(27, 58, 92, 0.3);
  animation: ripplePulse 1.5s infinite ease-out;
}

.scratch-hint-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(27, 58, 92, 0.08);
  border: 1px solid rgba(27, 58, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scratch-header {
  text-align: center;
  margin-bottom: 2rem;
}

.scratch-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.scratch-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.scratch-instruction {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.scratch-circles-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.scratch-card {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-ivory);
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 640px) {
  .scratch-card {
    width: 140px;
    height: 140px;
  }
}

.scratch-underlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EDE8DF;
  border-radius: 50%;
}

.scratch-underlay span {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-navy);
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
  transition: opacity 0.7s ease;
  border-radius: 50%;
}

.scratch-canvas.is-revealed {
  opacity: 0;
  pointer-events: none;
}

.scratch-announcement {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--color-navy);
  margin-top: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s ease;
}

.scratch-announcement.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Confetti particles */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  top: -20px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(105vh) rotate(720deg);
    opacity: 0;
  }
}

/* ─── SECTION 3: COUNTDOWN TIMER ──────────────────────────── */
#countdown-section {
  padding: 4rem 1.5rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.countdown-title {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  color: var(--color-navy);
  margin-bottom: 2.5rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .countdown-grid {
    gap: 2rem;
  }
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4rem;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  color: var(--color-navy);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-top: 0.5rem;
}

.countdown-big-day {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-top: 2.5rem;
}

/* ─── DIVIDERS ────────────────────────────────────────────── */
.divider-section {
  display: flex;
  justify-content: center;
  background-color: var(--color-white);
}

.divider-section.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.divider-section.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.divider-img {
  width: 7rem;
  height: auto;
}

@media (min-width: 768px) {
  .divider-img {
    width: 9rem;
  }
}

/* ─── SECTION 4: VENUES (SAVE THE DATE) ───────────────────── */
#venues-section {
  padding: 3rem 1.5rem 4rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.venue-intro-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.venue-wreath {
  width: 6rem;
  height: auto;
  margin: 1.5rem auto;
}

@media (min-width: 768px) {
  .venue-wreath {
    width: 8rem;
  }
}

.venue-name-logo {
  height: 4rem;
  width: auto;
  margin: 0 auto 1rem;
}

@media (min-width: 768px) {
  .venue-name-logo {
    height: 5.5rem;
  }
}

.venue-location-line {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.venue-address-line {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-navy);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.venue-illustration {
  width: 100%;
  max-width: 42rem;
  height: auto;
  margin-bottom: 2rem;
}

.venue-map-wrap {
  width: 100%;
  max-width: 32rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.venue-map-iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

.venue-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  background: transparent;
  transition: all 0.3s ease;
}

.venue-maps-btn:hover {
  background-color: var(--color-navy);
  color: #ffffff;
}

/* ─── SECTION 5: TIMELINE / SCHEDULE ──────────────────────── */
#timeline-section {
  padding: 3rem 1rem 4rem;
  background-color: var(--color-ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timeline-header {
  text-align: center;
  margin-bottom: 2rem;
}

.timeline-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.timeline-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

.timeline-frame-img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-events-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 15%;
  margin-top: -1rem;
  text-align: center;
}

.timeline-event-item {
  margin: 0.35rem 0;
}

.timeline-event-time {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.15rem;
}

.timeline-event-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.5vw, 2.25rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--color-navy);
}

.timeline-event-subtitle {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-navy);
  margin-top: 0.2rem;
}

.timeline-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-navy);
  margin: 0.75rem auto;
}

/* ─── SECTION 6: MENU ─────────────────────────────────────── */
#menu-section {
  padding: 3.5rem 1.5rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-header {
  text-align: center;
  margin-bottom: 2rem;
}

.menu-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.menu-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.menu-hero-illustration {
  width: 15rem;
  height: auto;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .menu-hero-illustration {
    width: 20rem;
  }
}

.menu-card {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  background-color: var(--color-ivory);
  margin-top: 1.5rem;
}

.menu-course-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.menu-course-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-navy);
}

.menu-course-divider {
  width: 2rem;
  height: 1px;
  background-color: rgba(27, 58, 92, 0.3);
  margin: 1.5rem auto;
}

/* ─── SECTION 7: DRESS CODE ───────────────────────────────── */
#dresscode-section {
  padding: 3.5rem 1.5rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dresscode-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 2rem;
}

.dresscode-illustration {
  width: 100%;
  max-width: 18rem;
  height: auto;
  margin: 0 auto 2rem;
}

.dresscode-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-navy);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.dresscode-formal-badge {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.dresscode-note {
  font-size: 0.95rem;
  color: var(--color-navy);
  letter-spacing: 0.03em;
}

/* ─── SECTION 8: GIFTS & BANK DETAILS ─────────────────────── */
#gifts-section {
  padding: 3.5rem 1.5rem;
  background-color: var(--color-ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gifts-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.gifts-icon {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.gifts-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 2rem;
}

.gifts-message {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-navy);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.gifts-with-love {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  color: var(--color-navy);
  margin-bottom: 2rem;
}

.gifts-bank-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.gifts-bank-box {
  border: 2px solid var(--color-navy);
  padding: 1.5rem 2rem;
  display: inline-block;
  min-width: 18rem;
  max-width: 100%;
}

.gifts-reveal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  margin: 0 auto;
}

.gifts-reveal-btn svg {
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.gifts-reveal-btn:hover svg {
  transform: scale(1.1);
}

.gifts-reveal-btn p {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}

.gifts-bank-content {
  display: none;
  text-align: left;
}

.gifts-bank-content.is-revealed {
  display: block;
  animation: fadeIn 0.5s ease;
}

.gifts-bank-content p {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.gifts-bank-content p:last-child {
  margin-bottom: 0;
}

/* ─── SECTION 9: TRANSPORTATION ───────────────────────────── */
#transport-section {
  padding: 3rem 1.5rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.transport-card {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  background-color: var(--color-ivory);
}

.transport-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.transport-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.transport-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-navy);
}

/* ─── SECTION 10: ACCOMMODATION ───────────────────────────── */
#accommodation-section {
  padding: 0.5rem 1.5rem 3rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.accommodation-card {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  background-color: var(--color-ivory);
}

.accommodation-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.accommodation-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.accommodation-message {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-navy);
}

/* ─── SECTION 11: RSVP FORM ───────────────────────────────── */
#rsvp {
  padding: 4rem 1.5rem;
  background-color: var(--color-ivory);
}

.rsvp-wrapper {
  max-width: 34rem;
  margin: 0 auto;
}

.rsvp-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.rsvp-rings-img {
  width: 5.5rem;
  height: auto;
  margin: 0 auto 1.5rem;
}

.rsvp-title {
  font-family: var(--font-script);
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.rsvp-deadline {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  opacity: 0.7;
}

.rsvp-card-form {
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(27, 58, 92, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .rsvp-card-form {
    padding: 2.5rem;
  }
}

.form-field-group {
  display: flex;
  flex-direction: column;
}

.form-field-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-text-input,
.form-textarea-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 58, 92, 0.2);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-text-input::placeholder,
.form-textarea-input::placeholder {
  color: rgba(27, 58, 92, 0.4);
}

.form-text-input:focus,
.form-textarea-input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 2px rgba(27, 58, 92, 0.1);
}

.form-attendance-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .form-attendance-buttons {
    flex-direction: row;
  }
}

.btn-attendance {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 58, 92, 0.2);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--color-navy);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-attendance.active {
  background-color: var(--color-navy);
  color: var(--color-ivory);
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.guest-count-stepper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-stepper {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(27, 58, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: 1.25rem;
  transition: background-color 0.2s ease;
}

.btn-stepper:hover:not(:disabled) {
  background-color: rgba(27, 58, 92, 0.08);
}

.btn-stepper:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.input-guest-number {
  width: 3.5rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 58, 92, 0.2);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
  font-weight: 600;
}

.dietary-preferences-box {
  background-color: rgba(27, 58, 92, 0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dietary-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-navy);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--color-navy);
  width: 1rem;
  height: 1rem;
}

.btn-rsvp-submit {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md);
  background-color: var(--color-navy);
  color: #ffffff;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-rsvp-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-rsvp-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.rsvp-error-feedback {
  color: #c0392b;
  font-size: 0.8rem;
  text-align: center;
  display: none;
}

/* RSVP Confirmation Screen (replacing form or overlay) */
.rsvp-confirmation-view {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(27, 58, 92, 0.1);
}

.rsvp-confirmation-view.is-visible {
  display: flex;
  animation: fadeIn 0.8s ease;
}

.rsvp-confirm-video-wrap {
  width: 100%;
  max-width: 22rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.rsvp-confirm-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 2.75rem);
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.rsvp-confirm-message {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-navy);
  max-width: 26rem;
  margin: 0 auto 1.5rem;
}

.rsvp-confirm-details {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  opacity: 0.75;
}

/* ─── SECTION 12: THANK YOU (POSTAGE STAMP CARD) ──────────── */
#thankyou-section {
  padding: 3rem 1.5rem 4rem;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thankyou-outer-card {
  position: relative;
  width: 100%;
  max-width: 24rem;
  background-color: var(--color-navy);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .thankyou-outer-card {
    max-width: 28rem;
    padding: 2rem;
  }
}

/* Exact Stamp Jagged Polygon Clip Path from Reference */
.thankyou-stamp-inner {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  clip-path: polygon(
    0% 8%, 4% 4%, 8% 0%, 
    15% 2%, 22% 0%, 29% 2%, 36% 0%, 43% 2%, 50% 0%, 
    57% 2%, 64% 0%, 71% 2%, 78% 0%, 85% 2%, 92% 0%,
    96% 4%, 100% 8%,
    98% 15%, 100% 22%, 98% 29%, 100% 36%, 98% 43%, 100% 50%,
    98% 57%, 100% 64%, 98% 71%, 100% 78%, 98% 85%, 100% 92%,
    96% 96%, 92% 100%,
    85% 98%, 78% 100%, 71% 98%, 64% 100%, 57% 98%, 50% 100%,
    43% 98%, 36% 100%, 29% 98%, 22% 100%, 15% 98%, 8% 100%,
    4% 96%, 0% 92%,
    2% 85%, 0% 78%, 2% 71%, 0% 64%, 2% 57%, 0% 50%,
    2% 43%, 0% 36%, 2% 29%, 0% 22%, 2% 15%
  );
  -webkit-clip-path: polygon(
    0% 8%, 4% 4%, 8% 0%, 
    15% 2%, 22% 0%, 29% 2%, 36% 0%, 43% 2%, 50% 0%, 
    57% 2%, 64% 0%, 71% 2%, 78% 0%, 85% 2%, 92% 0%,
    96% 4%, 100% 8%,
    98% 15%, 100% 22%, 98% 29%, 100% 36%, 98% 43%, 100% 50%,
    98% 57%, 100% 64%, 98% 71%, 100% 78%, 98% 85%, 100% 92%,
    96% 96%, 92% 100%,
    85% 98%, 78% 100%, 71% 98%, 64% 100%, 57% 98%, 50% 100%,
    43% 98%, 36% 100%, 29% 98%, 22% 100%, 15% 98%, 8% 100%,
    4% 96%, 0% 92%,
    2% 85%, 0% 78%, 2% 71%, 0% 64%, 2% 57%, 0% 50%,
    2% 43%, 0% 36%, 2% 29%, 0% 22%, 2% 15%
  );
}

@media (min-width: 768px) {
  .thankyou-stamp-inner {
    padding: 4rem 2.5rem 3.5rem;
  }
}

.thankyou-stamp-title {
  font-family: var(--font-script);
  font-size: clamp(2.25rem, 6vw, 3rem);
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.thankyou-stamp-message {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.thankyou-stamp-names {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  color: var(--color-navy);
}

.thankyou-stamp-footer {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(27, 58, 92, 0.4);
  margin-top: 2rem;
}

.thankyou-stamp-footer a {
  color: rgba(27, 58, 92, 0.5);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.thankyou-stamp-footer a:hover {
  opacity: 0.8;
}
