:root {
  --gold: #d1a054;
  --gold-light: #e0bc7a;
  --gold-dark: #a67c3d;
  --blush: #F7CAC9;
  --blush-light: #FDE8E7;
  --champagne: #F7E7CE;
  --beige: #FAF9F7;
  --rose-gold: #B76E79;
  --white: #FFFFFF;
  --dark: #2C2C2C;
  --text: #4A4A4A;
  --text-light: #7A7A7A;
  --overlay: rgba(44, 44, 44, 0.45);
  --nav-height: 72px;
  --transition: 300ms ease-out;
}

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

html {
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--gold-dark);
}

::selection {
  background: var(--blush);
  color: var(--dark);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 2rem;
  border: none;
}

/* ========== NAVBAR ========== */
.navbar {
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  padding: 0.8rem 0;
  z-index: 1050;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: color var(--transition);
}

.navbar:not(.scrolled) .navbar-brand {
  color: var(--white) !important;
}

.navbar.scrolled .navbar-brand {
  color: var(--gold) !important;
}

.navbar .nav-link {
  color: var(--white) !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 0.8rem !important;
  position: relative;
  transition: color var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--dark) !important;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition), left var(--transition);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
  left: 0;
}

/* RSVP nav link: gold highlight when navbar is scrolled */
.navbar.scrolled .nav-link.nav-link--rsvp {
  color: var(--gold) !important;
  font-weight: 600;
}

.navbar.scrolled .nav-link.nav-link--rsvp::after {
  background: var(--gold);
}

.lang-switcher .btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar:not(.scrolled) .lang-switcher .btn {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.navbar:not(.scrolled) .lang-switcher .btn.active-lang {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.navbar.scrolled .lang-switcher .btn {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.navbar.scrolled .lang-switcher .btn.active-lang {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d1a054' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== HERO ========== */
#home {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-swiper .swiper-slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

@media (max-width: 767px) {
  .hero-swiper .slide-img-23 img { object-position: 65% bottom; }
  .hero-swiper .slide-img-26 img { object-position: 60% bottom; }
  .hero-swiper .slide-img-55 img { object-position: 35% bottom; }
  .hero-swiper .slide-img-72 img { object-position: 30% bottom; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,44,44,0.3) 0%, rgba(44,44,44,0.5) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  padding: 2rem;
}

.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-overlay .hero-date {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.hero-divider {
  width: 120px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* Countdown */
.countdown-wrapper {
  margin-bottom: 2rem;
}

.hero-overlay .btn-gold {
  margin-top: 1rem;
  position: relative;
  z-index: 5;
  opacity: 1;
  color: var(--white) !important;
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.4);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay .btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.hero-overlay .btn-gold::before {
  background: var(--gold-dark);
}

/* Hero scroll-down hint: on mobile in flow (below countdown, above CTA) */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
  z-index: 15;
}

.hero-scroll-hint:hover {
  color: var(--gold-light);
}

.hero-scroll-hint__icon {
  font-size: 1.5rem;
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Only pin scroll hint to bottom when mobile CTA is not used (≥992px) */
@media (min-width: 992px) {
  .hero-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .hero-overlay .btn-gold {
    margin-top: 1.25rem;
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
  }
}

.countdown-wrapper .countdown-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.countdown {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.countdown-item {
  text-align: center;
}

.countdown-item .count-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
  display: block;
  min-width: 70px;
}

.countdown-item .count-label {
  font-size: 0.7rem;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  letter-spacing: 2px;
  margin-top: 0.3rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  border: none;
  padding: 0.9rem 2.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-gold:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  color: var(--white);
}

.btn-gold:hover::before {
  opacity: 1;
}

.btn-gold span {
  position: relative;
  z-index: 1;
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 0.7rem 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  transition: all var(--transition);
}

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

/* ========== INVITATION ========== */
#invitation {
  background: var(--white);
}

@media (min-width: 992px) {
  #invitation .container {
    max-width: 1200px;
  }
  
  #invitation .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  #invitation .gold-divider {
    margin: 1rem auto;
  }
  
  #invitation .row {
    align-items: center;
  }
  
  #invitation .col-lg-6:last-child img {
    max-height: 80vh;
    width: 100%;
    object-fit: cover;
  }
}

.invitation-text {
  font-size: 1.2rem;
  line-height: 2;
  color: var(--text);
}

@media (min-width: 992px) {
  .invitation-text {
    font-size: 1.05rem;
    line-height: 1.75;
  }
}

.invitation-image {
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transition: transform var(--transition);
  aspect-ratio: 2 / 3;
}

.invitation-image:hover {
  transform: scale(1.02);
}

/* ========== ABOUT US ========== */
#about {
  background: var(--beige);
}

.about-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-card .card-img-wrapper {
  height: 380px;
  overflow: hidden;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card .card-img-wrapper picture {
  width: 100%;
  height: 100%;
}

.about-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.about-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.about-card .card-body h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.wedding-party-card {
  text-align: center;
  padding: 2rem 1rem;
}

.wedding-party-card .party-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wedding-party-card:hover .party-img {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(183, 110, 121, 0.3);
}

/* ========== GALLERY ========== */
#gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 2 / 3;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.gallery-item picture {
  width: 100%;
  height: 100%;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ========== WHEN & WHERE ========== */
#when-where {
  background: var(--beige);
}

@media (min-width: 992px) {
  #when-where .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  #when-where .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  #when-where .venue-info {
    margin-bottom: 1.5rem;
  }
  
  #when-where .venue-info .venue-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  
  #when-where .venue-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }
  
  #when-where .venue-info p {
    font-size: 1rem;
  }
}

.venue-info {
  text-align: center;
}

.venue-info .venue-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.venue-info h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

@media (min-width: 992px) {
  .map-wrapper iframe {
    height: 350px;
  }
}

.when-where-subheading {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 992px) {
  .when-where-subheading {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
}

.when-where-image-wrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
  .when-where-image-wrapper {
    max-width: 100%;
    height: 350px;
  }
}

.when-where-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 992px) {
  .when-where-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.weather-widget {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
}

@media (min-width: 992px) {
  .weather-widget {
    padding: 1.5rem;
  }
}

.weather-day {
  text-align: center;
  padding: 0.5rem;
}

.weather-day img {
  width: 50px;
  height: 50px;
}

.weather-day .temp {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
}

.weather-day .day-name {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.weather-day .day-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.add-to-calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== TRANSPORTATION ========== */
#transportation {
  background: var(--white);
}

.transport-item {
  text-align: center;
  padding: 2rem 1rem;
}

.transport-item .transport-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ========== ITINERARY ========== */
#itinerary {
  background: linear-gradient(135deg, rgba(247, 231, 206, 0.5) 0%, rgba(250, 249, 247, 0.6) 100%);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-item .timeline-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-item .timeline-time {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.timeline-item .timeline-event {
  font-size: 1rem;
  color: var(--text);
}

/* ========== DRESS CODE ========== */
#dress-code {
  position: relative;
  overflow: hidden;
}

.dress-code-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.dress-code-bg picture {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vmax;
  min-height: 100vmax;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.dress-code-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dress-code-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(250, 249, 247, 0.82);
}

#dress-code .container {
  z-index: 2;
}

.dress-code-text {
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 700px;
  white-space: pre-line;
  text-align: center;
}

/* ========== GIFTS ========== */
#gifts {
  background: linear-gradient(180deg, rgba(250, 249, 247, 0.95) 0%, rgba(247, 241, 232, 0.98) 100%);
}

.gifts-icons {
  margin-top: 0.5rem;
}

.gift-icon-item {
  text-align: center;
  padding: 0.75rem;
}

.gift-icon {
  font-size: 2.5rem;
  color: var(--gold);
  transition: transform 0.4s ease, color 0.3s ease;
  display: block;
}

.gift-icon-item:hover .gift-icon {
  transform: scale(1.1);
  color: var(--gold-dark);
}

.gifts-text {
  font-size: 1.2rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 640px;
  white-space: pre-line;
  text-align: center;
  color: var(--text);
}

@media (min-width: 768px) {
  .gift-icon {
    font-size: 2.5rem;
  }
}

.rsvp-thank-you-message {
  white-space: pre-line;
}

/* ========== RSVP ========== */
#rsvp {
  background: var(--white);
  position: relative;
}

.rsvp-banner {
  background: linear-gradient(135deg, var(--champagne), var(--blush-light));
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 3rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.guest-form-card {
  background: var(--beige);
  border-radius: 8px;
  padding: 1.75rem 2rem 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: box-shadow var(--transition);
}

.guest-form-card .guest-details {
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}

.guest-form-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.guest-form-card .guest-number {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--gold);
  color: var(--white);
  padding: 0.4rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

.form-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

.form-check.form-check-clickable {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  padding-left: 1rem;
  cursor: pointer;
  margin: 0;
}

.form-check.form-check-clickable .form-check-input {
  flex-shrink: 0;
  margin-top: 0;
}

.form-check.form-check-clickable .form-check-label {
  cursor: pointer;
}

.attendance-radio {
  padding-left: 0;
  margin-bottom: 0;
}

.attendance-radio .form-check.attendance-option {
  padding: 0.85rem 1rem 0.85rem 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.attendance-radio .form-check.attendance-option .form-check-input {
  flex-shrink: 0;
  margin-top: 0;
  margin-left: 0 !important;
  float: none;
}

.attendance-radio .form-check.attendance-option .form-check-label {
  cursor: pointer;
}

.attendance-radio .form-check.attendance-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(209, 160, 84, 0.08);
  box-shadow: 0 0 0 1px var(--gold);
}

.grecaptcha-badge { visibility: hidden; }

.rsvp-error-msg {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.recaptcha-notice {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}

.recaptcha-notice a {
  color: var(--gold);
}

.rsvp-submit-wrapper .btn-spinner {
  vertical-align: middle;
}

.rsvp-submit-wrapper .btn-gold .btn-spinner {
  border-color: currentColor;
  border-right-color: transparent;
}

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

/* Success modal */
.success-modal-content {
  text-align: center;
  padding: 2rem;
}

.success-modal-content img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin-bottom: 1.5rem;
}

.success-modal-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
}

/* Sticky mobile CTA */
.mobile-rsvp-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 0.8rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
}

.mobile-rsvp-cta .btn {
  width: 100%;
}

/* ========== FLOATING HEARTS ========== */
.floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  opacity: 0.22;
  color: var(--gold);
  animation: floatHeart linear infinite;
  font-size: 2rem;
  text-shadow: 0 0 20px rgba(209, 160, 84, 0.3);
  font-family: 'Lato', sans-serif;
  -webkit-text-fill-color: var(--gold);
}

@keyframes floatHeart {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer .footer-names {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
  }

  .navbar-collapse .lang-switcher {
    margin-top: 0.75rem;
  }

  #mainNav .navbar-collapse .lang-switcher .btn {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    background: transparent !important;
  }

  #mainNav .navbar-collapse .lang-switcher .btn.active-lang {
    background: var(--gold) !important;
    color: var(--white) !important;
    border-color: var(--gold) !important;
  }

  .navbar-collapse .nav-link {
    color: var(--dark) !important;
  }

  .hero-overlay h1 {
    font-size: 2.8rem;
  }

  .hero-overlay .hero-date {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .countdown .count-number {
    font-size: 2rem;
  }

  .countdown {
    gap: 1rem;
  }

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

  /* Itinerary: left-aligned with timeline, centered block */
  #itinerary .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #itinerary .section-title,
  #itinerary .gold-divider {
    width: 100%;
    text-align: center;
  }

  .timeline {
    width: 100%;
    max-width: 320px;
  }

  .timeline::before {
    left: 24px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 60px;
    text-align: left !important;
    left: 0 !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::before {
    display: block;
    left: 16px !important;
    right: auto !important;
    top: 1.5rem;
  }

  /* Hide hero CTA on mobile — sticky bottom CTA handles it */
  .hero-overlay .btn-gold {
    display: none;
  }

  .mobile-rsvp-cta {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .countdown .count-number {
    font-size: 1.5rem;
    min-width: 50px;
  }

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

  .countdown {
    gap: 0.6rem;
  }

  .guest-form-card {
    padding: 1.5rem 1.25rem 1.5rem 1.5rem;
  }

  .attendance-radio {
    padding-left: 0;
    margin-bottom: 0.75rem;
  }
  
  .attendance-radio .form-check.attendance-option {
    padding: 1.25rem 1.25rem 1.25rem 20px;
  }
  
  .menu-options {
    margin-top: 1.25rem;
  }
}

/* ========== VALIDATION ========== */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: var(--rose-gold);
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: var(--gold);
}

.invalid-feedback {
  color: var(--rose-gold);
  font-size: 0.8rem;
}

.attendance-radio.border-danger,
.menu-options.border-danger,
.travel-options.border-danger {
  border: 2px solid var(--rose-gold) !important;
  border-radius: 8px;
  padding: 1rem 1.5rem;
}

.menu-options {
  padding: 0.75rem 0;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color var(--transition);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  margin-left: 0;
}

.travel-options {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.25rem 0;
  transition: border-color var(--transition);
}

.travel-options.border-danger {
  padding: 1rem 1rem;
}

.menu-options.border-danger {
  padding: 1rem 1rem;
  margin-top: 2rem;
}

.menu-options .d-flex {
  margin-left: 0;
}

.guest-details > .row.g-3:first-child {
  margin-bottom: 0.75rem;
}

.guest-details .form-check.form-check-clickable {
  padding-left: 0;
}

.guest-details .form-check.form-check-clickable .form-check-input {
  margin-left: 0 !important;
  float: none;
}

/* ========== LIGHTGALLERY OVERRIDES ========== */
.lg-backdrop {
  background-color: rgba(44, 44, 44, 0.95);
}

/* ========== LOADING ========== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.page-loader .loader-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
