@font-face {
  font-family: 'HerrVon';
  src: url('HerrVonMuellerhoff-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


.invitation-names {
  font-family: 'HerrVon', cursive;
  font-size: 4rem;
  letter-spacing: 1px;
}

:root {
  --cream: #f8f6f2;
  --taupe: #c4bdb3;
  --dark: #2c2c2c;
  --palePink: #dac8c9;
  --nav-height: 72px;
}
/* Only hide the honeypot field */
.rsvp-form [name="bot-field"] {
  display: none !important;
  visibility: hidden;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', serif;
  color: var(--dark);
  line-height: 1.7;
}

/* =========================
   LOCATION MAP STYLING
========================= */
.elegant-map {
  width: 100%;
  max-width: 900px;
  height: 0;
  padding-bottom: 56.25%;  /* 16:9 aspect ratio */
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  position: relative;
  border: 2px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(2px);
}

.elegant-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Make map section visually distinct */
.map-container {
  width: 100%;
  max-width: 900px;
  height: 300px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Optional caption styling */
.map-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--dark);
  font-size: 1rem;
}

/* Ensure this section feels separate */
#location {
  padding: 5rem 2rem;
  background: var(--cream);
}

.directions-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--palePink);
  color: var(--dark);
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  text-decoration: none;
  transition: background 0.3s ease;
}

.directions-btn:hover {
  background: #978b7f;
}


/* =========================
   PASSWORD SCREEN
========================= */


.password-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  height: 45px;          /* define height */
  padding-right: 45px;   /* space for the icon */
  box-sizing: border-box;
}

.eye-icon {
  position: absolute;
  top: 0;
  right: 12px;
  height: 45px;          /* EXACT same as input height */
  display: flex;
  align-items: center;   /* centers SVG vertically */
  cursor: pointer;
}

.eye-icon svg {
  fill: none;
  stroke: var(--palePink);
  stroke-width: 2;
}


.password-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 90%;
}

.password-box h1 {
  /* font-family: 'Great Vibes', cursive; */
  font-size: 3rem;
  margin-bottom: 1rem;
}

.password-box p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.password-box input {
  padding: 0.75rem 1rem;
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.password-box button {
  padding: 0.75rem 2rem;
  background: var(--palePink);
  color: black;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.password-box button:hover { background: var(--dark); }

.password-box #error { color: red; margin-top: 1rem; font-weight: 500; }

/* =========================
   NAVIGATION
========================= */
.nav {
  background: white;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  position: sticky;
  top: 0;
  height: var(--nav-height);
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

.logo img { height: 50px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 400;
}

/* Hamburger */
.hamburger {
  display: none;
  position: fixed;
  top: 16px;
  right: 20px;
  width: 35px;
  height: 35px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3000;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  position: absolute;
  height: 1px; /* thinner */
  width: 35px;
  height: 4px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.4s ease;
  left: 0;
}

.hamburger span:nth-child(1) { top: 6px;  height: 3px; }
.hamburger span:nth-child(2) { top: 50%; height: 3px; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 6px; height: 3px; }

.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    font-size: 1.5rem;
    z-index: 2000;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li a:hover { color: var(--palePink); }
}

/* =========================
   HERO
========================= */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: url('Logo.svg') center no-repeat; */
  background: url('proposal_blk_wht.webp') center/cover no-repeat;
  position: relative;
  color: white;
}

.flip-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1200px; /* enables 3D */
  cursor: pointer;
  aspect-ratio: 3 / 4; /* or whatever matches your invitation */
}

.flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.9s ease;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}
input, button, select, textarea {
  font-size: 16px;
}


.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* hides reversed side */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.calendar-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cal-btn {
  background: var(--palePink);
  color: var(--dark);
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#dayCal,
#eveningCal {
  display: none;
}


.cal-btn:hover {
  background: #978b7f;
  transform: translateY(-2px);
}

.cal-btn.google {
  background: var(--palePink); /* same base */
}

.cal-btn.google:hover {
  background: #978b7f;
}


/* FRONT */
/* .flip-front {
  background-image: url('Invitaton 4.jpg');
} */

/* BACK */
.flip-back {
  /* background-image: url('Invitation\ Back\ 2\ .jpg'); */
  transform: rotateY(180deg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-family: 'HerrVon', cursive;
  font-weight: 10;
  font-size: 4rem;
  margin-bottom: 1rem;
}

.svg-divider {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: -80px;   /* pulls it upward */
  margin-bottom: -80px;/* pulls next section upward */
  pointer-events: none; /* optional */
}

.svg-divider img {
  width: 200px; /* adjust */
  max-width: 90%;
}

#welcome-anim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* critical */
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  overscroll-behavior: none; /* prevents pull-to-refresh */
}

body.no-scroll { overflow: hidden !important; height: 100vh; position: fixed; /* prevents iOS scroll bounce */ width: 100%; touch-action: none; /* blocks touch scrolling */ }


#welcome-anim.active {
  opacity: 0.9;
  background: white;
  pointer-events: auto;
  overflow: hidden;
}

#welcome-anim svg path {
  stroke: black;
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s ease forwards;
}
#welcome-anim.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

#welcome-anim svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateY(5%); width: 80vw; /* or 100vw if you want it huge */ height: auto; overflow: visible; }

#welcome-anim {
  text-align: center;
}
#welcome-anim svg {
  overflow: visible;
}




@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

#welcome-anim svg path {
  animation:
    draw 3s ease forwards,
    pulse 4s ease-in-out infinite 3s; /* starts after draw */
}

@keyframes pulse {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.85; transform: scale(1.015); }
  100% { opacity: 1; transform: scale(1); }
}

#invite { padding: 0rem 0rem 3rem 0rem; max-width: 900px; margin: auto; text-align: center; }


.date { font-weight: 300; margin-top: 0.5rem; }

/* =========================
   SECTIONS
========================= */
.section { padding: 5rem 2rem; max-width: 900px; margin: auto; text-align: center; }
.section.alt { background: var(--cream); }
.section h2 {   font-family: 'HerrVon', cursive; font-size: 3rem; margin-bottom: 1.5rem; font-weight: 100;}
/* .section h2 {   font-family: 'HerrVon', cursive; font-size: 3rem; margin-bottom: 1.5rem; } */

/* DETAILS GRID */
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; margin-top: 2rem; }


/* =========================
   ACCOMMODATION
========================= */
#accommodation { background: var(--cream); }
.accommodation-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.hotel {
  background: var(--palePink);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.hotel:hover { transform: translateY(-4px); }
.hotel h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--dark); }
.hotel p { font-size: 1rem; margin-bottom: 1rem; }
.hotel a { color: var(--dark); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.hotel a:hover { color: var(--dark); }

/* =========================
   WEDDING PARTY
========================= */
.party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.party-member {
  background: var(--palePink);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.party-member:hover { transform: translateY(-4px); }
.party-member h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.party-member p { font-size: 1rem; }

/* =========================
   IMPORTANT NOTICES
========================= */
.notices-list {
  list-style: disc inside;
  margin-top: 2rem;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================
   GIFTS
========================= */
#gifts p {
  margin-top: 2rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* =========================
   RSVP BUTTON & MODAL
========================= */
/* #rsvp { background: var(--cream); } */
#RSVP .rsvp-button-wrapper { max-width: 400px; margin: auto; }

.rsvp-btn {
  padding: 1rem 2rem;
  font-size: 1.3rem;
  border-radius: 6px;
  background: var(--palePink);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: block;
  margin: auto;
  transition: background 0.3s ease;
}
.rsvp-btn:hover { background: #978b7f; }

.modal {
  /* you already have these */
  position: fixed;
  z-index: 1200;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* background: rgba(0,0,0,0.6); */
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height)+1rem) 1rem 1rem;
  overflow: visible; /* ⬅ change from auto to visible */
}

.modal-content {
  background: var(--cream);
  width: 95%;
  max-width: 600px;
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  margin: auto;
  overflow: visible; /* ⬅ important so dropdown can escape */
}
.modal-content .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal-content .close:hover { color: var(--taupe); }

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.rsvp-form button {
  margin-top: 1rem;
  padding: 0.75rem;
  width: 100%;
  background: var(--palePink);
  color: black;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.rsvp-form button:hover { background: #978b7f; }

/* =========================
   FOOTER
========================= */
.footer { padding: 2rem; text-align: center; background: #f0f0f0; }
.colour-circles {
  margin-top: 12px;
  display: flex;
  gap: 20px;
  justify-content: center;   /* centers horizontally */
  text-align: center;
}

.circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #333; /* ensures visibility for light colours */
  margin-bottom: 6px;
}

.circle.white { background-color: #ffffff; }
.circle.ivory { background-color: #fffff0; }
.circle.pink { background-color: #dac8c9; }

.circle-wrap p {
  font-size: 0.9em;
  color: #555;
  margin: 0;
}


.party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 20px;
}

.party-member {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.party-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.party-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.party-member h3 {
  margin: 15px 10px 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2c2c2c;
}

.party-member p {
  margin: 0 10px 18px;
  font-size: 0.95rem;
  color: #555;
}

.logo {
  width: 200px;   /* adjust size */
  height: auto;
}

.pdf-image-wrapper {
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
}

.pdf-page {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.moodboard {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.moodboard {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease forwards;
}

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

.collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 2rem;
}

.collage-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.collage-grid img:hover {
  transform: scale(1.03);
}
.mood-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.mood-modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.mood-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}


.palette-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 2rem 0;
}

.swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid rgba(0,0,0,0.1);
}


.dresscode-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: left;
}

.dresscode-card h3 {
  font-family: 'HerrVon', cursive;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.dresscode-card ul {
  list-style: disc inside;
  line-height: 1.6;
}

.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 2rem;
}

.moodboard-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.moodboard-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.masonry {
  column-count: 3;
  column-gap: 12px;
  margin-top: 2rem;
}

.masonry img {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  break-inside: avoid;
}

.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
  margin-top: 2rem;
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

/* Sizes */
.collage .large  { grid-column: span 3; grid-row: span 3; }
.collage .tall   { grid-column: span 2; grid-row: span 3; }
.collage .wide   { grid-column: span 4; grid-row: span 2; }
.collage .medium { grid-column: span 2; grid-row: span 2; }
.collage .small  { grid-column: span 1; grid-row: span 1; }

.overlap-board {
  position: relative;
  width: 100vw;
  height: 850px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}



.overlap-board .img {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overlap-board .img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}


.overlap-board .img { 
  position: absolute; 
  border-radius: 12px; 
  object-fit: cover;
  cursor: pointer; 
  box-shadow: 0 6px 18px rgba(0,0,0,0.12); 
  transition: transform 0.25s ease; /* base layer */ 
}

/* --- Balanced full-width layout with stronger left side --- */
.img1 { width: 48%; top: 0; left: -2%; transform: rotate(-4deg); z-index: 3; } 
.img2 { width: 40%; top: 2%; left: 50%; transform: rotate(5deg); z-index: 4; } 
.img3 { width: 45%; top: 30%; left: 4%; transform: rotate(6deg); z-index: 2; } 
.img4 { width: 44%; top: 30%; left: 52%; transform: rotate(-5deg); z-index: 12; } 
.img5 { width: 38%; top: 58%; left: 0%; transform: rotate(4deg); z-index: 6; } 
.img6 { width: 42%; top: 60%; left: 54%; transform: rotate(-6deg); z-index: 7; } 
.img7 { width: 32%; top: 12%; left: 34%; transform: rotate(5deg); z-index: 3; } 
.img8 { width: 36%; top: 46%; left: 28%; transform: rotate(-5deg); z-index: 9; } 
.img9 { width: 28%; top: 15%; left: 72%; transform: rotate(7deg); z-index: 10; } 
.img10 { width: 30%; bottom: 2%; left: 26%; transform: rotate(-7deg); z-index: 11; }


#dresscode.section {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}





.mood-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 4000;
}

.mood-modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.mood-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.mood-close:hover {
  opacity: 0.7;
}
JON







/* PDF Viewer Modal Background */
/* Fullscreen Modal */
.pdf-viewer-modal {
  display: none;
  position: fixed;
  z-index: 1300;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

/* Modal Content */
.pdf-viewer-content {
  background: var(--cream);
  border-radius: 0;
  padding: 1rem;
  width: 100%;
  height: 100%;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Close Button */
.pdf-viewer-content .pdf-close {
  position: absolute;
  top: 16px; right: 24px;
  font-size: 2.5rem;
  color: var(--dark);
  cursor: pointer;
  z-index: 1400;
  transition: color 0.3s ease;
}
.pdf-viewer-content .pdf-close:hover { color: var(--taupe); }

/* PDF Images */
.pdf-wrapper {
  width: 100%;
  max-width: 1200px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  overflow-y: auto;
  padding: 2rem 0;
}



/* Trigger Button */
.pdf-btn {
  background: var(--palePink);
  color: var(--dark);
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.pdf-btn:hover { background: #978b7f; }

/* Download Button */
.download-btn {
  background: var(--palePink);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
}
.download-btn:hover { background: #978b7f; }
#details {
  position: relative; /* keep content above watermark */
  overflow: hidden;   /* ensure pseudo-element stays within section */
}

/* Watermark as pseudo-element */
#details::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) ;
  width: 400px;       /* adjust size */
  height: 400px;      /* adjust size */
  background: url('Logo.svg') center/contain no-repeat;
  opacity: 0.08;      /* subtle watermark */
  pointer-events: none; /* allow text interaction */
  z-index: 0;
}

/* Watermark as pseudo-element */
#passwordScreen::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) ;
  width: 320px;       /* adjust size */
  height: 400px;      /* adjust size */
  background: url('Logo.svg') center/contain no-repeat;
  opacity: 0.08;      /* subtle watermark */
  pointer-events: none; /* allow text interaction */
  z-index: 0;
}


/* Ensure content is above watermark */
#details > * {
  position: relative;
  z-index: 1;
}

.hotel-table a:hover {
  color: var(--dark);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hotel-table td {
    padding: 0.75rem 1rem;
  }
}


.accomodation-btn {
  padding: 0.5rem 1rem;
  font-size: 0.6rem;
  border-radius: 6px;
  background: var(--palePink);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: block;
  /* margin: auto; */
  transition: background 0.3s ease;
}



.person-block {
  opacity: 1;               /* keep this simple for now */
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: visible;
  z-index: 1;
}

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



/* Wrapper */
.custom-select {
  position: relative;
  width: 100%;
  font-family: inherit;
  margin-bottom: 20px;
}

/* Trigger (closed state) */
.custom-select-trigger {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Trigger hover */
.custom-select-trigger:hover {
  border-color: #b79c7d;
  box-shadow: 0 0 0 3px rgba(183,156,125,0.15);
}

/* Dropdown panel */
.custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease;
  z-index: 9999; /* sit above everything in the block */
}

/* Open state */
.custom-select.open .custom-options {
  opacity: 1;
  max-height: 500px;
}

/* Option */
.custom-option {
  display: block;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Hover */
.custom-option:hover {
  background: #f7f4f2;
}

/* Selected option */
.custom-option.selected {
  background: #f0ece9;
  font-weight: 600;
}



/* Yes/No buttons */
.attending-toggle {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.attend-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 30px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}

.attend-btn:hover {
  border-color: #b79c7d;
  box-shadow: 0 0 0 3px rgba(183,156,125,0.15);
}

.attend-btn.active {
  background: #f7f4f2;
  border-color: #b79c7d;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(183,156,125,0.25);
}



#rsvpModal {
  overflow-y: auto;
  max-height: 100vh;
}

.confirmation-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.13);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  animation: fadeIn 0.4s ease;
}

.confirmation-box {
  background: var(--cream);
  padding: 3rem 2rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: slideUp 0.4s ease;
}

.confirmation-title {
  font-family: 'HerrVon', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.confirmation-message {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.confirmation-btn {
  background: var(--palePink);
  color: var(--dark);
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.confirmation-btn:hover {
  background: #978b7f;
}

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

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