/* ==========================================================================
   LAURA & STEPHAN — TEMPLATE 2 (19.09.2026 & 20.09.2026 | THE HEERENHUYS)
   Palette: Midnight Navy (#1b232d / #292f38), Champagne Gold (#e2cd96),
            Soft Blush Ivory (#f8f0ed)
   ========================================================================== */

:root {
  --navy-deep: #1b232d;
  --navy-card: #292f38;
  --navy-text: #192333;
  --navy-btn: #373e4a;
  --gold: #e2cd96;
  --gold-soft: rgba(226, 205, 150, 0.25);
  --ivory: #f8f0ed;
  --ivory-light: #f9f1ed;
  --ivory-input: #f3f1ed;
  --white: #ffffff;
  --font-script: 'Beau Rivage', cursive;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier Prime', monospace;
  --shadow-ivory: 0 20px 50px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--navy-deep);
  color: var(--ivory-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading {
  overflow: hidden;
}

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

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

/* ==========================================================================
   1. FLOATING TOP UTILITY BAR (BILINGUAL + GUEST LINK GENERATOR)
   ========================================================================== */
.utility-bar {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 9500;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.util-btn {
  background: rgba(27, 35, 45, 0.88);
  backdrop-filter: blur(10px);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.util-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. GOLDEN RINGS PRELOADER & GOLDEN CURTAINS OPENING OVERLAY
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring-wrapper {
  width: 170px;
  height: 170px;
  background-image: url('assets/preloader_rings.png');
  background-position: right center;
  background-size: 100%;
  background-repeat: no-repeat;
  margin-bottom: 14px;
  animation: pulseRings 2.6s ease-in-out infinite;
}

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

.preloader-couple {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 6px;
}

.preloader-guest {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 10px;
}

.dot-loader {
  font-family: var(--font-script);
  font-size: 29px;
  color: var(--gold);
  display: inline-block;
  white-space: nowrap;
  margin-bottom: 18px;
}

.dots {
  display: inline-block;
  width: 1.5em;
  text-align: left;
  vertical-align: bottom;
}

.dots::before {
  content: "";
  display: inline-block;
  animation: dots-appear 1.2s steps(4, end) infinite;
}

@keyframes dots-appear {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

.open-curtain-btn {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(226, 205, 150, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.open-curtain-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(226, 205, 150, 0.5);
}

/* Golden Curtain Overlay */
#curtain-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  pointer-events: none;
}

.curtain {
  position: absolute;
  top: -15vh;
  width: 94%;
  height: 120vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.left-curtain {
  left: 0;
  z-index: 2;
  background-image: url('assets/curtain_left_gold.png');
  background-position: right center;
  transform: translateX(0);
}

.right-curtain {
  right: 0;
  z-index: 1;
  background-image: url('assets/curtain_right_gold.png');
  background-position: left center;
  transform: translateX(0);
}

.open-left {
  transform: translateX(-120%) rotate(10deg);
}

.open-right {
  transform: translateX(120%) rotate(-10deg);
}

/* Floating Audio Control */
.audio-control {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border: 2px solid var(--navy-deep);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9500;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}

.audio-control:hover {
  transform: scale(1.08);
}

.audio-control svg {
  width: 24px;
  height: 24px;
  fill: var(--navy-deep);
}

/* ==========================================================================
   3. MAIN PAGE CONTAINER & PERSONALIZED GUEST BANNER
   ========================================================================== */
.page-shell {
  max-width: 540px;
  margin: 0 auto;
  background: var(--navy-deep);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.guest-banner {
  background: linear-gradient(90deg, #292f38, #1b232d);
  border-bottom: 1px solid var(--gold-soft);
  color: var(--gold);
  text-align: center;
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   4. HERO SUBTLE MOTION VIDEO SECTION (REC 2225136913)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 690px;
  background: var(--navy-deep);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 690px;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gradient-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 35, 45, 0.45) 0%, rgba(27, 35, 45, 0.2) 55%, rgba(27, 35, 45, 1) 98%);
  pointer-events: none;
}

.hero-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px 70px;
  z-index: 3;
}

.hero-couple-title {
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 11vw, 4.9rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  margin-bottom: 8px;
}

.hero-date-text {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 140px;
}

.hero-scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-family: var(--font-script);
  font-size: 2.1rem;
  text-decoration: none;
}

.hero-chevron {
  width: 25px;
  height: 16px;
  animation: bounceDown 1.6s ease-in-out infinite;
}

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

/* ==========================================================================
   5. DEAR FRIENDS AND FAMILY (BLUSH IVORY CARD - REC 2225136923)
   ========================================================================== */
.ivory-card-section {
  padding: 28px 24px 44px;
  position: relative;
}

.ivory-card {
  background: var(--ivory);
  color: var(--navy-card);
  border-radius: 12px;
  padding: 42px 28px;
  box-shadow: var(--shadow-ivory);
  position: relative;
  text-align: center;
}

.ivory-card-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy-card);
  margin-bottom: 18px;
}

.ivory-card-text {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--navy-card);
  line-height: 1.65;
  margin-bottom: 14px;
}

.intro-floral-decor {
  width: 170px;
  margin: -26px auto 12px;
  position: relative;
  z-index: 4;
}

/* ==========================================================================
   6. COUNTDOWN TIMER SECTION (REC 2225136933)
   ========================================================================== */
.countdown-section {
  padding: 36px 20px 48px;
  text-align: center;
}

.gold-script-heading {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 7vw, 3.2rem);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.countdown-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.time-block {
  text-align: center;
  min-width: 64px;
}

.time-number {
  font-family: 'Times New Roman', var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 3.25rem);
  color: var(--gold);
  line-height: 1;
}

.time-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-top: 8px;
  color: var(--gold);
}

.time-sep {
  font-family: 'Times New Roman', serif;
  font-size: clamp(2.2rem, 6vw, 3.1rem);
  color: var(--gold);
  margin-top: -26px;
  line-height: 1;
}

.calendar-btns-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gold-outline-btn {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
}

.gold-outline-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ==========================================================================
   7. 2-DAY EVENT TIMELINE SECTION (REC 2225136953)
   ========================================================================== */
.timeline-section {
  padding: 24px 24px 52px;
  position: relative;
}

.timeline-card-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.timeline-floral-accent {
  position: absolute;
  top: -38px;
  left: -34px;
  width: 165px;
  z-index: 4;
  pointer-events: none;
}

.timeline-couple-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

.timeline-ivory-body {
  background: var(--ivory);
  color: var(--navy-card);
  border-radius: 0 0 12px 12px;
  padding: 36px 26px 38px;
  box-shadow: var(--shadow-ivory);
}

.timeline-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy-card);
  margin-bottom: 24px;
}

.timeline-day-block {
  margin-bottom: 26px;
}

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

.timeline-date-badge {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-card);
  border-bottom: 1.5px solid rgba(41, 47, 56, 0.2);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-entry {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.06rem;
  color: var(--navy-card);
}

.entry-time {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-btn);
  min-width: 54px;
}

.entry-details strong {
  display: block;
  font-weight: 600;
}

.entry-venue {
  display: block;
  font-size: 0.92rem;
  font-style: italic;
  color: #525a68;
}

/* ==========================================================================
   8. DRESS CODE & 5 SWATCHES + 7 OUTFIT PHOTOS (REC 2225136963)
   ========================================================================== */
.dress-section {
  padding: 36px 24px 52px;
  text-align: center;
}

.dress-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--ivory-light);
  margin-bottom: 10px;
}

.dress-desc {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ivory-light);
  max-width: 360px;
  margin: 0 auto 24px;
  opacity: 0.92;
}

.swatches-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.swatch-square {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease;
}

.swatch-square:hover {
  transform: translateY(-4px) scale(1.06);
}

.dress-gallery {
  max-width: 400px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dress-photo-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  background: var(--navy-card);
}

.dress-photo-item.wide {
  grid-column: 1 / -1;
  height: 250px;
}

.dress-photo-item:not(.wide) {
  height: 235px;
}

.dress-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dress-photo-item:hover img {
  transform: scale(1.05);
}

.celebrate-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 400px;
  margin: 24px auto 0;
}

.celebrate-script {
  font-family: var(--font-script);
  font-size: 3.1rem;
  color: var(--gold);
  font-weight: 400;
}

.celebrate-floral {
  width: 140px;
}

/* ==========================================================================
   9. ORGANIZATIONAL ASPECTS (MARIA +31 6845965887) & GIFTS
   ========================================================================== */
.org-section {
  padding: 16px 24px 48px;
  position: relative;
}

.org-card {
  max-width: 410px;
  margin: 0 auto;
  background: var(--ivory);
  color: var(--navy-text);
  border-radius: 12px;
  padding: 36px 26px 40px;
  text-align: center;
  box-shadow: var(--shadow-ivory);
  position: relative;
}

.org-phone-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy-text);
  text-decoration: none;
  margin: 12px 0 16px;
  padding: 6px 18px;
  border-radius: 8px;
  background: rgba(25, 35, 51, 0.07);
  transition: background 0.2s ease;
}

.org-phone-link:hover {
  background: rgba(25, 35, 51, 0.15);
}

.org-floral-bottom {
  width: 145px;
  margin: -30px auto 0 10px;
  position: relative;
  z-index: 4;
}

/* Gifts / Mchango Section */
.gifts-section {
  padding: 20px 24px 48px;
}

.gifts-card {
  max-width: 410px;
  margin: 0 auto;
  background: var(--navy-card);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-ivory);
}

.gift-box {
  background: rgba(27, 35, 45, 0.75);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 16px;
  margin-top: 14px;
}

.gift-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.gift-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 4px 0;
}

.copy-pill-btn {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
}

/* ==========================================================================
   10. RSVP SECTION (PLEASE CONFIRM YOUR ATTENDANCE - REC 2225136973)
   ========================================================================== */
.rsvp-section {
  padding: 16px 24px 52px;
}

.rsvp-wrapper {
  max-width: 410px;
  margin: 0 auto;
}

.rsvp-couple-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.rsvp-ivory-card {
  background: var(--ivory);
  color: var(--navy-card);
  border-radius: 0 0 12px 12px;
  padding: 34px 26px 38px;
  box-shadow: var(--shadow-ivory);
}

.rsvp-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy-card);
  line-height: 1.25;
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-btn);
  margin-bottom: 8px;
}

.text-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--ivory-input);
  border: 1px solid #c5beb9;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--navy-card);
}

.text-input:focus {
  outline: none;
  border-color: var(--navy-btn);
  background: var(--white);
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--navy-btn);
  cursor: pointer;
}

.choice-item input {
  width: 17px;
  height: 17px;
  accent-color: var(--navy-btn);
}

.submit-btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 24px auto 0;
  height: 50px;
  background: var(--navy-btn);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

/* VIP QR Pass Box */
.vip-pass-card {
  margin-top: 26px;
  padding: 22px 18px;
  background: var(--white);
  border: 2px dashed var(--navy-btn);
  border-radius: 12px;
  text-align: center;
  display: none;
}

.vip-pass-card.is-visible {
  display: block;
}

.vip-qr-image {
  width: 160px;
  height: 160px;
  margin: 12px auto;
  padding: 8px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 10px;
}

/* ==========================================================================
   11. THE LOCATION (MAP) & FOOTER (REC 2225136983, 2225136993, 2225137003)
   ========================================================================== */
.location-section {
  padding: 16px 24px 48px;
  text-align: center;
}

.map-container {
  max-width: 410px;
  margin: 16px auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  box-shadow: var(--shadow-ivory);
}

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

.footer-section {
  padding: 36px 24px 80px;
  text-align: center;
}

.footer-floral-ornament {
  width: 130px;
  margin: 18px auto 0;
}

/* ==========================================================================
   12. ORGANIZER GUEST LINK GENERATOR MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9800;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  background: var(--ivory);
  color: var(--navy-card);
  max-width: 420px;
  width: 100%;
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-card);
  cursor: pointer;
}

@media print {
  .utility-bar, .audio-control, #preloader, #curtain-overlay {
    display: none !important;
  }
}
