/* ============================================================
   WEDDING WEBSITE - Roby & Felicia × Jaimy & Raoul
   Luxe Gold & White Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600&family=Great+Vibes&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #9A7B3A;
  --cream: #FDF8F0;
  --cream-dark: #F5EDD8;
  --white: #FFFFFF;
  --dark: #2C2416;
  --grey: #6B6458;
  --grey-light: #F0EBE3;
  --blue-grey: #F4F6FA;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Great Vibes', cursive;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-script); font-weight: 400; }
.script { font-family: var(--font-script); }

.section-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

.gold { color: var(--gold); }

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
}

#nav.menu-open {
  opacity: 1;
  pointer-events: all;
}

#nav.menu-open {
  opacity: 1;
  pointer-events: all;
}

#nav.scrolled {
  opacity: 1;
  pointer-events: all;
  background: rgba(253, 248, 240, 0.96);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  box-shadow: 0 2px 30px rgba(201, 168, 76, 0.1);
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

#nav.scrolled .nav-logo { color: var(--dark); }

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

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: var(--transition);
}

#nav.scrolled .nav-links a { color: var(--grey); }
.nav-links a:hover { color: var(--gold); }

.nav-rsvp {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: white !important;
  padding: 0.65rem 1.6rem;
  letter-spacing: 0.15em;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-sans);
  border-radius: 2px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  display: inline-block;
}

#nav.scrolled .nav-rsvp {
  background: var(--gold);
  border-color: var(--gold);
  color: white !important;
}

.nav-rsvp:hover {
  background: transparent !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  box-shadow: none;
}

#nav.scrolled .nav-rsvp:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* background set via JS */
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(20,15,8,0.35) 0%,
    rgba(20,15,8,0.25) 50%,
    rgba(20,15,8,0.55) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 2rem;
  padding-top: 14rem;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-content { padding-top: 3rem; }
}

.hero-pretitle {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 300;
  line-height: 1.1;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero-name-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-names .amp {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: 0.7em;
  vertical-align: middle;
  margin: 0 0.25em;
}

.hero-names .couple-2 {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
}

.hero-date {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 2rem 0;
}

.hero-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.7);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
}

/* ─── LOTTIE DISCOBAL ─── */
#disco-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.disco-string {
  width: 2px;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(201,168,76,0.9));
  margin: 0 auto;
  margin-bottom: -140px;
  z-index: 3;
  position: relative;
}

#lottie-disco {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.7)) drop-shadow(0 0 80px rgba(255,200,100,0.3));
  position: relative;
  z-index: 5;
}

@media (max-width: 768px) {
  #lottie-disco {
    width: 180px;
    height: 180px;
  }
}

.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: sparkleFly 1.5s ease-out forwards;
  font-size: 1.2rem;
}

@keyframes sparkleFly {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-120px) rotate(720deg); opacity: 0; }
}

/* ─── COUNTDOWN ─── */
#countdown {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  z-index: 2;
}

.countdown-unit {
  text-align: center;
  color: white;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.3rem;
  display: block;
}

.countdown-sep {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
  align-self: flex-start;
  padding-top: 0.3rem;
  opacity: 0.6;
}

/* ─── SLIDER ARROWS ─── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 5;
  padding: 1rem;
  transition: var(--transition);
}

.hero-arrow:hover { color: var(--gold-light); }
.hero-arrow.left { left: 1rem; }
.hero-arrow.right { right: 1rem; }

/* ─── SECTIONS ─── */
section { padding: 6rem 2rem; }

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

/* ─── INTRO ─── */
#intro {
  background: var(--blue-grey);
  text-align: center;
}

#intro .intro-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

#intro .intro-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── COUPLES ─── */
#couples {
  background: var(--cream);
}

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

.couple-card {
  background: white;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(201,168,76,0.15);
}

.couple-card::before,
.couple-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
}

.couple-card::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.couple-card::after { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

.couple-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(201,168,76,0.12); }

.couple-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-light);
  margin-bottom: 0.5rem;
}

.couple-heart {
  color: var(--gold);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.75rem;
}

.couple-name {
  font-family: var(--font-script);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.couple-name .amp {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.2em;
}

.couple-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--grey);
}

/* ─── DETAILS ─── */
#details {
  background: var(--blue-grey);
  text-align: center;
}

.details-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.detail-card {
  background: var(--cream);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.2);
}

.detail-icon {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: block;
}

.detail-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.detail-value {
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark);
}

.detail-sub {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.3rem;
}

/* ─── QUOTE ─── */
#quote-section {
  position: relative;
  background-image: url('/assets/images/hero/hero5.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8rem 2rem;
  text-align: center;
}

#quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20,15,8,0.6);
}

#quote-section blockquote {
  position: relative;
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── LOCATION ─── */
#location { background: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.location-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.2);
}

.location-info h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.location-address {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.location-date-badge {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

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

.btn-solid {
  background: var(--dark);
  color: white;
  border: 1px solid var(--dark);
}

.btn-solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.overnight-box {
  background: var(--cream-dark);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 2px;
}

.overnight-box h4 {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.overnight-box p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.overnight-box a {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.location-map {
  grid-column: 1 / -1;
  margin-top: 1rem;
  height: 350px;
  border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── GALLERY ─── */
#gallery { background: var(--blue-grey); text-align: center; }

.gallery-toggle {
  font-size: 0.75rem;
  color: var(--grey);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.0);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(201,168,76,0.15);
}

/* ─── LIGHTBOX ─── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}

#lightbox.active { display: flex; }

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.3);
}

#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#lightbox-close:hover { opacity: 1; }

/* ─── ALBUM ─── */
#album { background: var(--cream); text-align: center; }

.album-notice {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--grey);
  font-style: italic;
  margin-top: 2rem;
}

/* ─── RSVP ─── */
#rsvp { background: var(--cream); text-align: center; }

.rsvp-intro {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.rsvp-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: white;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A84C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-dresscode {
  background: linear-gradient(135deg, var(--dark) 0%, #3d2f1a 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(201,168,76,0.3);
}

.form-dresscode .dc-icon { font-size: 1.5rem; }

.form-dresscode .dc-text {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.form-dresscode .dc-title {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: white;
  display: block;
  margin-top: 0.15rem;
}

.genre-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.genre-chip {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201,168,76,0.3);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  color: var(--grey);
  user-select: none;
}

.genre-chip.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.genre-chip input { display: none; }

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  background: var(--dark);
  color: white;
  border: none;
  padding: 1rem 3.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,168,76,0.3);
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border: 1px solid rgba(201,168,76,0.3);
}

.form-success.active { display: block; }

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-success p {
  color: var(--grey);
  font-size: 0.9rem;
}

/* ─── OVERNIGHT POPUP ─── */
#overnight-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

#overnight-modal.active { display: flex; }

.modal-box {
  background: white;
  max-width: 480px;
  width: 90%;
  padding: 3rem;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--grey);
  background: var(--grey-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 10;
}
.modal-close:hover { background: var(--gold); color: white; }

.modal-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.modal-box h3 {
  font-family: var(--font-script);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.modal-box p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ─── FOOTER ─── */
#footer-hero {
  position: relative;
  background-image: url('/assets/images/hero/hero4.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 2rem;
  text-align: center;
}

#footer-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20,15,8,0.65);
}

.footer-content {
  position: relative;
  color: white;
}

.footer-content p {
  font-size: 0.85rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-names {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.footer-names .amp {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: 0.8em;
}

.footer-date {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 1rem;
  opacity: 0.8;
}

footer {
  background: var(--dark);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ─── CONFETTI ─── */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall 3s ease-in forwards;
}

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

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE NAV ─── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  color: white;
  font-size: 1.5rem;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#nav.scrolled .nav-hamburger { color: var(--dark); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  #nav { padding: 1rem 1.5rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 0;
    opacity: 1 !important;
    pointer-events: all !important;
  }

  .nav-links.open a { color: var(--dark) !important; font-size: 1.1rem; }
  .nav-hamburger { display: block; }

  section { padding: 4rem 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .location-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  #countdown { gap: 0.8rem; bottom: 5rem; }
  .countdown-num { font-size: 1.8rem; }

  .hero-names { font-size: clamp(2.2rem, 8vw, 3.5rem); white-space: nowrap; }
  .hero-names .couple-2 { font-size: clamp(2rem, 7.5vw, 3.2rem); }

  .couples-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .details-cards { grid-template-columns: 1fr; }
}

/* ─── MODAL EXTRA ─── */
.modal-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ffc107;
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 1rem 0;
  text-align: left;
  border-radius: 2px;
}

.modal-facilities {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-align: left;
}

@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ─── MODAL BOOK BUTTON ─── */
.modal-book-btn {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  padding: 1rem 1.5rem;
  background: var(--dark);
  color: white !important;
  border: 1px solid var(--dark);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  margin-top: 0.5rem;
}
.modal-book-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ─── NAV HAMBURGER CLOSE ICON ─── */
.nav-hamburger { position: relative; z-index: 1002; opacity: 1 !important; pointer-events: all !important; }

/* ─── NAV LOTTIE ─── */
#nav-lottie {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* ─── NAV CLOSE BUTTON (mobile menu) ─── */
.nav-close-btn {
  display: none;
}
@media (max-width: 768px) {
  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1003;
    line-height: 1;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-close-btn:hover { color: var(--gold); }
  .nav-links.open { position: fixed; }
}
