/* ========================================
   Marc & Sandra - One Page Wedding Site
   ======================================== */

/* CSS Variables */
:root {
  --cream: #faf8f5;
  --cream-dark: #f5f0e8;
  --gold: #b8956e;
  --gold-dark: #96774d;
  --gold-light: #d4bc98;
  --olive: #5c5a4d;
  --ink: #2c2a25;
  --ink-light: #4a4740;
  --white: #ffffff;
  --blush: #f8e8dc;
  --sage: #a8b5a0;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Container */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.main-nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 5px;
  padding: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.main-nav.scrolled .lang-switcher {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  border-radius: 20px;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.2);
}

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

.main-nav.scrolled .lang-btn {
  color: var(--ink);
}

.main-nav.scrolled .lang-btn:hover {
  color: var(--ink);
  background: rgba(0,0,0,0.1);
}

.main-nav.scrolled .lang-btn.active {
  background: var(--gold);
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.main-nav.scrolled .nav-links a {
  color: var(--ink-light);
}

.nav-links .nav-cta {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 30px;
  transition: var(--transition);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.main-nav.scrolled .nav-toggle span {
  background: var(--ink);
}

/* Burger to X animation */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.52) 0%,
    rgba(0,0,0,0.65) 50%,
    rgba(0,0,0,0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 100px 20px 40px;
}

.hero-date-small {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.hero-logo {
  width: 420px;
  height: auto;
  opacity: 0.95;
}


.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}

.hero-location {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 30px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

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

.countdown-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-btn {
  display: inline-block;
  padding: 18px 45px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition);
}

.hero-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Scroll Indicator */
.scroll-indicator {
  display: none;
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   Section Styles
   ======================================== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 15px;
}

.section-tag.light {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ========================================
   Introduction
   ======================================== */
.intro {
  padding: 120px 0;
  background: var(--white);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 50px;
}

.intro-details {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.detail-icon {
  font-size: 1.5rem;
  color: var(--gold);
}

.detail-item span:last-child {
  font-size: 0.9rem;
  color: var(--ink-light);
}

/* ========================================
   Story Section
   ======================================== */
.story {
  padding: 120px 0;
  background: var(--cream);
}

.story-timeline {
  max-width: 1000px;
  margin: 0 auto;
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.story-card.reverse {
  direction: rtl;
}

.story-card.reverse > * {
  direction: ltr;
}

.story-card.featured {
  grid-template-columns: 1fr;
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.story-card-img {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story-card-img > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.story-card:hover .story-card-img > img {
  transform: scale(1.03);
}

/* .story-card-img.large now uses .story-carousel wrapper — see carousel section */
.story-card.featured .story-card-img.large {
  margin: -30px -30px 25px -30px;
  border-radius: 0;
  box-shadow: none;
}

.story-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--cream-dark);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 15px;
}

.story-badge.gold {
  background: var(--gold);
  color: var(--white);
}

.story-card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 15px;
  color: var(--ink);
}

.story-card-content p {
  color: var(--ink-light);
  margin-bottom: 15px;
}

.story-card:not(.featured) .story-card-content p {
  text-align: justify;
}

.story-more {
  font-size: 1rem;
}

.story-highlight {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-dark);
  padding: 20px;
  background: var(--blush);
  border-radius: 10px;
  margin-top: 20px;
}

/* ========================================
   Story Carousel
   ======================================== */
.story-carousel {
  position: relative;
  height: 400px;
}

.story-card-img.large .story-carousel {
  height: 500px;
  margin: 0;
}

.story-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.story-carousel-slide.active {
  opacity: 1;
}

.story-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: none;
}

.story-card:hover .story-carousel-slide img {
  transform: none;
}

#sandraCarousel .story-carousel-slide img,
#coupleCarousel .story-carousel-slide img {
  object-position: center center;
}

#sandraCarousel .story-carousel-slide:first-child img {
  object-position: center 30%;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--white);
  transform: scale(1.35);
  border-color: var(--white);
}

/* ========================================
   Programme Section
   ======================================== */
.programme {
  padding: 120px 0;
  background: var(--white);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.programme-day {
  background: var(--cream);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.day-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--gold-light);
}

.day-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.day-info {
  display: flex;
  flex-direction: column;
}

.day-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.day-month {
  font-size: 0.9rem;
  color: var(--ink-light);
}

.timeline {
  position: relative;
  padding-left: 25px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 25px;
  padding-left: 25px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--ink-light);
}

.dress-code {
  margin-top: 30px;
  padding: 15px 20px;
  background: var(--blush);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dress-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dress-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-dark);
}

.programme-note {
  text-align: center;
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
  padding: 20px 30px;
  background: var(--blush);
  border-radius: 10px;
  border: 1px solid var(--gold-light);
}

/* ========================================
   Lieu Section
   ======================================== */
.lieu {
  padding-bottom: 120px;
  background: var(--white);
}

.lieu-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  margin-bottom: 80px;
}

.lieu-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lieu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.lieu-hero-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  box-sizing: border-box;
}

.lieu-address {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
}

.lieu-btn {
  display: inline-block;
  padding: 14px 35px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 30px;
  transition: var(--transition);
}

.lieu-btn:hover {
  background: var(--white);
  color: var(--ink);
}

.lieu-info {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.lieu-info p {
  margin-bottom: 20px;
  color: var(--ink-light);
}

.lieu-tip {
  padding: 20px;
  background: var(--blush);
  border-radius: 10px;
}

.lieu-fun {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Map */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.map-frame {
  width: 100%;
  height: 400px;
  border: none;
}

/* ========================================
   Hébergement Section
   ======================================== */
.hebergement {
  padding: 120px 0;
  background: var(--cream);
}

.hebergement-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.hebergement-text {
  text-align: center;
}

.hebergement-text p {
  color: var(--ink-light);
  margin-bottom: 15px;
}

.hebergement-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
  margin-bottom: 25px;
}

.hebergement-list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.95rem;
  color: var(--ink-light);
}

.hebergement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.hebergement-note {
  padding: 20px;
  background: var(--blush);
  border-radius: 10px;
  font-weight: 500;
}

.hebergement-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hebergement-gallery .gallery-item {
  aspect-ratio: 3/2;
}

/* ========================================
   Cadeaux Section
   ======================================== */
.cadeaux {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--white) 100%);
}

.cadeaux-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cadeaux-content p {
  color: var(--ink-light);
  margin-bottom: 20px;
}

/* Payment Options Accordion */
.payment-options {
  margin: 50px 0;
}

.payment-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 30px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}

.payment-toggle:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.payment-toggle-icon {
  transition: transform 0.3s ease;
}

.payment-toggle[aria-expanded="true"] .payment-toggle-icon {
  transform: rotate(180deg);
}

.payment-list {
  display: grid;
  gap: 15px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}

.payment-list.open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 25px;
}

.payment-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 30px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 15px;
  transition: var(--transition);
  text-align: left;
}

.payment-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.payment-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 12px;
  color: var(--gold);
}

.payment-icon svg {
  width: 24px;
  height: 24px;
}

.payment-icon.revolut {
  background: var(--cream);
  color: var(--gold);
}

.payment-info {
  flex: 1;
}

.payment-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.payment-details {
  font-size: 0.95rem;
  color: var(--ink-light);
}

.payment-details p {
  margin-bottom: 5px;
}

.payment-details strong {
  color: var(--ink);
}

.copyable {
  font-family: 'Monaco', 'Consolas', monospace;
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  margin-left: 5px;
}

.copyable:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.copyable.copied {
  background: var(--sage);
  color: var(--white);
}

.payment-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-top: 8px;
}

.revolut-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 30px;
  transition: var(--transition);
  margin-top: 5px;
}

.revolut-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gold-dark);
  color: var(--white);
}

.cadeaux-thanks {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-dark);
}

/* ========================================
   RSVP Section
   ======================================== */
.rsvp {
  padding: 120px 0;
  background: var(--ink);
  color: var(--white);
}

.rsvp .section-tag {
  color: var(--gold-light);
}

.rsvp .section-title {
  color: var(--white);
}

.rsvp .section-subtitle {
  color: rgba(255,255,255,0.7);
}

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

.rsvp-intro {
  text-align: center;
  margin-bottom: 40px;
}

.rsvp-intro p {
  color: rgba(255,255,255,0.8);
}

.rsvp-form {
  background: rgba(255,255,255,0.05);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

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

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--ink);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.radio-group {
  display: grid;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.radio-option:hover {
  background: rgba(255,255,255,0.1);
}

.radio-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.radio-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.btn-primary {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.form-feedback, .search-feedback {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}

.form-feedback.show, .search-feedback.show {
  display: block;
  background: rgba(168, 181, 160, 0.2);
  color: var(--sage);
}

.search-feedback.error {
  background: rgba(192, 57, 43, 0.2);
  color: #e74c3c;
}

/* RSVP Steps */
.rsvp-step {
  transition: opacity 0.3s ease;
}

.rsvp-step.hidden {
  display: none;
}

.search-form {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
}

.search-form .form-group {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  margin-bottom: 0;
}

.search-form .btn-primary {
  height: fit-content;
}

/* Group Header */
.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.group-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
}

.btn-back {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-back:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Attendance Sections */
.attendance-section {
  background: rgba(184, 149, 110, 0.15);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
}

.attendance-section.hidden {
  display: none;
}

.attendance-section > .form-group > label:first-child {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 15px;
  display: block;
}

/* Stay Reminder */
.stay-reminder {
  background: rgba(168, 181, 160, 0.2);
  border: 1px solid var(--sage);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.stay-reminder.hidden {
  display: none;
}

.stay-reminder p {
  color: var(--sage);
  font-size: 0.95rem;
  margin: 0;
}

/* Cannot Message */
.cannot-message {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-top: 20px;
}

.cannot-message.hidden {
  display: none;
}

.cannot-message p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin: 0;
}

/* Members Section */
.members-section {
  margin-top: 25px;
}

.members-section.hidden {
  display: none;
}

.members-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.members-list {
  display: grid;
  gap: 15px;
}

/* Member Cards */
.group-members {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.member-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 25px;
  transition: var(--transition);
}

.member-card:hover {
  background: rgba(255,255,255,0.1);
}

.member-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.member-category {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-category.adult {
  background: rgba(52, 152, 219, 0.2);
  color: #5dade2;
}

.member-category.child {
  background: rgba(230, 126, 34, 0.2);
  color: #f39c12;
}

.member-category.baby {
  background: rgba(155, 89, 182, 0.2);
  color: #bb8fce;
}

.member-fields {
  display: grid;
  gap: 15px;
}

.member-fields .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.member-fields .form-group {
  margin-bottom: 0;
}

.member-fields label {
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.member-fields select,
.member-fields input {
  padding: 12px 15px;
  font-size: 0.95rem;
}

/* Attendance options in member card */
.attendance-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.attendance-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.attendance-option:hover {
  background: rgba(255,255,255,0.1);
}

.attendance-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.attendance-option input:checked + span {
  color: var(--gold-light);
}

/* Small attendance options for individual members */
.member-attendance-group {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.member-attendance-options {
  display: flex;
  gap: 10px;
}

.attendance-option.small {
  padding: 8px 12px;
  font-size: 0.85rem;
  flex: 1;
  justify-content: center;
}

.attendance-option.small input {
  width: 16px;
  height: 16px;
}

/* Hidden member details */
.member-details.hidden {
  display: none;
}

/* Save button */
.btn-save {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
}

.member-attendance-options label:has(input:disabled) {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.menu-child-select {
  pointer-events: none;
  opacity: 0.75;
  cursor: default;
}

/* Saved indicator */
.member-card.saved {
  border-color: var(--sage);
}

.member-card.saved::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: var(--sage);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .search-form {
    flex-direction: column;
  }

  .search-form .form-group {
    max-width: none;
    width: 100%;
  }

  .search-form .btn-primary {
    width: 100%;
  }

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

  .attendance-options {
    grid-template-columns: 1fr;
  }

  .group-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 60px 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.footer-content {
  margin-bottom: 30px;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 10px;
}

.footer-date {
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 5px;
}

.footer-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .lang-switcher {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
    background: var(--ink);
    border-color: var(--ink-light);
  }

  .lang-btn {
    color: rgba(255,255,255,0.8);
  }

  .lang-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.2);
  }

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

  .nav-toggle {
    order: 3;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--ink);
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin-top: 20px;
  }

  .story-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .story-card .story-card-img {
    order: 1;
  }

  .story-card .story-card-content {
    order: 2;
  }

  .story-carousel {
    height: 280px;
  }

  .story-card-img.large .story-carousel {
    height: 280px;
    max-width: none;
    margin: 0 0 25px;
  }

  .story-card.featured {
    display: grid;
    grid-template-columns: 1fr;
  }

  .story-card.featured .story-card-img {
    order: 1;
  }

  .story-card.featured .story-card-content {
    order: 2;
  }

  .story-card.reverse {
    direction: ltr;
  }

  .story-card-img > img {
    height: 280px;
  }

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

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

  .countdown {
    gap: 20px;
  }

  .intro-details {
    flex-direction: column;
    gap: 25px;
  }

  .payment-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  .payment-details {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 100dvh;
    min-height: 100svh;
    height: 100dvh;
    height: 100svh;
    align-items: center;
  }

  .hero-content {
    padding: 70px 15px 20px;
  }

  .scroll-indicator {
    display: flex;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
    z-index: 3;
  }

  .scroll-indicator span {
    font-size: 0.55rem;
  }

  .hero-date-small {
    margin-bottom: 5px;
    font-size: 0.8rem;
  }

  .hero-date {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .hero-divider {
    margin-bottom: 6px;
    gap: 10px;
  }

  .divider-line {
    width: 20px;
  }

  .hero-logo {
    width: auto;
    max-width: 72vw;
    max-height: 200px;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .hero-location {
    margin-bottom: 8px;
    font-size: 0.8rem;
  }

  .countdown {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
  }

  .countdown-item {
    min-width: 55px;
  }

  .countdown-number {
    font-size: 1.4rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }

  .hero-btn {
    padding: 10px 25px;
    font-size: 0.75rem;
  }


  .section-title {
    font-size: 1.8rem;
  }

  .programme-day {
    padding: 30px 25px;
  }

  .day-number {
    font-size: 3rem;
  }

  .rsvp-form {
    padding: 30px 25px;
  }

  .lieu-hero {
    height: 50vh;
  }

  .lieu-hero-content {
    bottom: 30px;
  }

  .lieu-btn {
    display: block;
    text-align: center;
    white-space: nowrap;
  }

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-indicator {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
