/* ========================================
   Sarah & Mickaël - Wedding Website
   ======================================== */

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

:root {
    --red-primary: #C41E3A;
    --red-dark: #9B1B30;
    --red-light: #E8A0A0;
    --header-height: 55px;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE0;
    --gold: #C4A35A;
    --text-dark: #2C2C2C;
    --text-medium: #555;
    --text-light: #888;
    --white: #FFFFFF;
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Lato', sans-serif;
}

/* Base augmentée pour lisibilité (public senior, consultation mobile) */
html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-serif);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(196, 30, 58, 0.1);
    height: var(--header-height);
}

.header-left {
    display: flex;
    align-items: center;
}

.hearts-icon {
    display: block;
}

.header-hearts-img {
    height: 38px;
    width: auto;
    display: block;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: 1px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 4px;
}

.countdown #days,
.countdown #hours,
.countdown #minutes,
.countdown #seconds {
    display: inline-block;
    min-width: 22px;
    text-align: center;
    font-weight: 600;
}

.countdown-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    text-transform: uppercase;
}

.countdown .countdown-unit {
    margin: 0 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hebrew-text {
    font-size: 0.9rem;
    color: var(--red-primary);
    font-weight: 500;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--red-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Navigation Overlay
   ======================================== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 240, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--red-primary);
    cursor: pointer;
    line-height: 1;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    margin: 18px 0;
}

.nav-links a {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--red-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* ========================================
   Section Base Styles
   ======================================== */
.section {
    min-height: 100vh;
    padding: 75px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.section-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Section Ornament */
.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
}

.ornament-line {
    flex: 1;
    height: 1px;
    background: var(--red-primary);
    opacity: 0.4;
}

.ornament-hebrew {
    font-size: 0.85rem;
    color: var(--red-primary);
    opacity: 0.6;
}

/* ========================================
   Typography
   ======================================== */
.section-title {
    font-family: var(--font-script);
    font-size: 2.6rem;
    color: var(--red-primary);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--red-primary);
    font-weight: 400;
    margin-bottom: 20px;
}

.couple-names {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--red-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
}

.couple-names-small {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--red-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.accent-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.body-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.body-text-small {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    font-style: italic;
}

.separator-text {
    margin-top: 25px;
    padding-top: 20px;
}

/* ========================================
   Event Blocks
   ======================================== */
.event-block {
    margin-bottom: 16px;
}

.event-date {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--red-primary);
    font-weight: 600;
}

.event-time {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-medium);
    font-style: italic;
}

.event-location {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.event-address {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-medium);
}

.event-address-link {
    color: var(--text-medium);
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.event-address-link:hover {
    color: var(--red-primary);
    border-bottom-color: var(--red-primary);
}

/* ========================================
   Section: Accueil
   ======================================== */
.section-accueil {
    padding-top: 55px;
    background-color: var(--cream);
}

/* Homepage: banner — mobile = hero-bg.png (portrait), desktop = hero-bg-desktop.png (paysage) */
.section-accueil-banner {
    margin-top: var(--header-height);
    padding: 0;
    min-height: calc(100dvh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    background-color: #f0e4dc;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .section-accueil-banner {
        background-image: url('../images/hero-bg-desktop.png');
        background-position: center bottom;
    }
}

/* Homepage uniquement : anciennes font-size (base 16px dans le banner) */
.section-accueil-banner {
    font-size: 16px;
}
.section-accueil-banner .couple-names-banner {
    font-size: 2.8rem;
}
.section-accueil-banner .wedding-date-subtitle,
.section-accueil-banner .wedding-venue-subtitle {
    font-size: 1.4rem;
}
.section-accueil-banner .btn-programme {
    font-size: 1rem;
}

.accueil-content-banner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 520px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 28px;
}

.banner-top {
    width: 100%;
}

/* Texte en rouge foncé (maquette) */
.couple-names-banner {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--red-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}

.wedding-date-banner {
    margin-bottom: 4px;
}

.wedding-venue-banner {
    margin-bottom: 24px;
}

.banner-hearts {
    margin: 8px 0 0;
}

.illustration-hearts-banner {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.btn-programme-bottom {
    margin-top: auto;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.25);
}

.hero-background {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 55vh;
}

.accueil-content {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.wedding-date-subtitle {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    color: var(--red-primary);
    margin-bottom: 2px;
}

.wedding-venue-subtitle {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    color: var(--red-primary);
    margin-bottom: 25px;
}

.btn-programme {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 44px;
    background: var(--red-primary);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-programme:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

/* Liens vers les 2 autres événements, au-dessus du bouton RSVP */
.event-nav-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 30, 58, 0.2), transparent);
    margin: 32px 0 20px;
}

.event-nav-intro {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 14px;
}

.event-nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0 20px;
    margin-top: 0;
}

.event-nav-divider {
    display: inline-block;
    width: 1px;
    height: 1.1em;
    background: rgba(196, 30, 58, 0.35);
    margin: 0 4px;
    vertical-align: middle;
}

.event-nav-link {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--red-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.event-nav-link:hover {
    opacity: 0.8;
    border-bottom-color: var(--red-primary);
}

.btn-rsvp-inline {
    margin-top: 28px;
    margin-bottom: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-rsvp-inline:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 22px rgba(196, 30, 58, 0.4);
}

.btn-rsvp-inline:active {
    transform: translateY(-1px) scale(1.01);
}

/* ========================================
   Illustrations
   ======================================== */
.illustration-container {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-container.illustration-narrow {
    max-width: 240px;
}

.illustration-container.illustration-after {
    max-width: 200px;
}

.illustration-container.illustration-train {
    max-width: 220px;
}

.illustration-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Remove black backgrounds from illustrations using screen blend mode */
.illustration-dark-bg {
    mix-blend-mode: screen;
    border-radius: 0;
}

/* Hearts illustration (white background, no blend needed) */
.illustration-hearts {
    max-width: 180px;
}

/* Key illustration */
.illustration-key {
    max-width: 250px;
}

/* RSVP pen illustration */
.illustration-rsvp {
    max-width: 280px;
}

/* ========================================
   Section: Houppa
   ======================================== */
.parents-block {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.parents-col {
    text-align: center;
}

.parents-names {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
}

.hebrew-couple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--red-primary);
}

.hebrew-couple-stack {
    flex-direction: column;
    gap: 4px;
    font-size: 1.2rem;
}

/* Noms hébreux en dessous des noms français (שרה sous Sarah, חיים sous Mickaël) */
.couple-names-with-hebrew {
    text-align: center;
    margin-bottom: 20px;
}

.hebrew-couple-under {
    flex-direction: row;
    justify-content: center;
    gap: 2em;
    margin-top: 0.35em;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.family-names {
    margin: 25px 0;
    padding: 20px;
    background: rgba(196, 30, 58, 0.03);
    border-radius: 8px;
}

/* ========================================
   Section: Séjour / Hotels
   ======================================== */
.section-sejour {
    background: var(--cream);
}

.hotel-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .hotel-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .hotel-cards-grid .hotel-card {
        max-width: none;
    }
}

.hotel-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    margin: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(196, 30, 58, 0.08);
}

.hotel-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hotel-details {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 12px;
}
.hotel-address-link {
    color: var(--text-medium);
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.hotel-address-link:hover {
    color: var(--red-primary);
    border-bottom-color: var(--red-primary);
}

.hotel-promo {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(196, 163, 90, 0.08);
    border-radius: 6px;
}

.hotel-info-label {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.hotel-note {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 12px;
}

.hotel-stars {
    font-size: 0.95em;
    font-weight: 400;
    color: var(--red-primary);
}

.btn-hotel {
    display: inline-block;
    padding: 12px 34px;
    border: 2px solid var(--red-primary);
    color: var(--red-primary);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-hotel:hover {
    background: var(--red-primary);
    color: var(--white);
}

/* Séparation avant « Comment venir à Arles » (page Séjour) */
.sejour-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 30, 58, 0.2), transparent);
    margin: 40px 0 28px;
}

/* Comment venir à Arles (page Séjour) */
.section-subtitle-sejour {
    margin-top: 0;
    margin-bottom: 8px;
}

.transport-option {
    margin-bottom: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(196, 30, 58, 0.08);
}

.transport-option:last-of-type {
    border-bottom: none;
}

.transport-option-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--red-primary);
    margin-bottom: 6px;
}

.transport-option .body-text {
    margin: 0;
}

/* ========================================
   Section: RSVP Form
   ======================================== */
.section-rsvp {
    background: var(--cream);
    padding-bottom: 60px;
}

/* Confirmation RSVP (affichée à la place du formulaire après envoi) */
.rsvp-confirmation {
    display: none;
    text-align: center;
    max-width: 400px;
    margin: 1.5em auto 0;
    background: rgba(196, 30, 58, 0.05);
    border: 2px solid var(--red-primary);
    border-radius: 12px;
    padding: 2.5em 1.5em;
}

.rsvp-confirmation.rsvp-confirmation-visible,
.rsvp-confirmation:not([hidden]) {
    display: block;
}

.rsvp-confirmation-title {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--red-primary);
    margin-bottom: 0.5em;
}

.rsvp-confirmation-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.rsvp-confirmation-sejour {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 1.25em 0 0;
}

.rsvp-confirmation-sejour .rsvp-confirmation-btn {
    display: block;
    margin-top: 14px;
    text-decoration: none;
    text-align: center;
}

#rsvpForm {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--red-light);
    border-radius: 6px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.1);
}

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

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C41E3A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    cursor: pointer;
}

/* Form Event Groups */
.form-event-group {
    margin: 25px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(196, 30, 58, 0.12);
}

.form-event-title {
    font-family: var(--font-script);
    font-size: 1.65rem;
    color: var(--red-primary);
    margin-bottom: 12px;
}

.form-message-group {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(196, 30, 58, 0.12);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--red-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red-primary);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--red-primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: scale(1);
}

/* Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 30px auto 0;
    padding: 14px 34px;
    background: var(--red-primary);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

/* ========================================
   Info Note
   ======================================== */
.info-note {
    margin: 25px 0;
    padding: 15px;
    background: rgba(196, 30, 58, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--red-primary);
}

.info-note p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 8px;
    font-style: italic;
}

.info-note p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Liens de navigation en bas de page
   ======================================== */
.page-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
    padding: 24px 20px;
    background: var(--cream);
    border-top: 1px solid rgba(196, 30, 58, 0.08);
}

@media (max-width: 767px) {
    .page-nav-links {
        display: none;
    }
}

.page-nav-links a {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--red-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.page-nav-links a:hover {
    opacity: 0.8;
    border-bottom-color: var(--red-primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--red-primary);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.footer-hebrew {
    font-size: 1.35rem;
    opacity: 0.8;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content,
.accueil-content,
.accueil-content-banner,
.hero-background {
    animation: fadeInUp 0.8s ease forwards;
}

/* Scroll reveal - elements start hidden */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ========================================
   Responsive Design
   ======================================== */

/* Small phones (320px and up) */
@media (max-width: 374px) {
    .countdown {
        font-size: 1rem;
    }
    .countdown-unit {
        font-size: 0.8rem;
    }
    .section {
        padding: 65px 16px 30px;
    }
    .accueil-content-banner {
        padding-bottom: 18px;
    }
    .couple-names-banner {
        font-size: 2.4rem;
    }
    .section-accueil-banner .couple-names-banner {
        font-size: 1.95rem;
        line-height: 1.1;
    }
    .section-accueil-banner .wedding-date-subtitle,
    .section-accueil-banner .wedding-venue-subtitle {
        font-size: 1.15rem;
        line-height: 1.3;
    }
    .couple-names {
        font-size: 2.2rem;
    }

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

    .parents-block {
        gap: 12px;
    }

    .parents-names {
        font-size: 0.85rem;
    }

    .nav-links a {
        font-size: 1.7rem;
    }
}

/* Standard phones (375px - 428px) */
@media (min-width: 375px) and (max-width: 428px) {
    .section {
        padding: 35px 20px 25px;
    }
    .accueil-content-banner {
        padding-bottom: 22px;
    }
    .section-accueil-banner .couple-names-banner {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    .section-accueil-banner .wedding-date-subtitle,
    .section-accueil-banner .wedding-venue-subtitle {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    .parents-names {
        font-size: 0.95rem;
    }
}

/* Large phones / Small tablets (429px - 767px) */
@media (min-width: 429px) and (max-width: 767px) {
    .section {
        padding: 3.5em 1.75em 2em;
    }

    .couple-names {
        font-size: 3.2rem;
    }

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

    .illustration-container {
        max-width: 350px;
    }

    .parents-names {
        font-size: 0.95rem;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .header {
        padding: 12px 40px;
        height: 60px;
    }

    .countdown {
        font-size: 1.3rem;
    }

    .section {
        padding: 80px 40px 50px;
    }

    .section-content {
        max-width: 600px;
    }

    .couple-names-banner {
        font-size: 3.5rem;
        white-space: nowrap;
    }

    .couple-names {
        font-size: 3.5rem;
    }

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

    .couple-names-small {
        font-size: 2.2rem;
    }

    .body-text {
        font-size: 1.1rem;
    }

    .hero-background {
        max-width: 600px;
    }

    .illustration-container {
        max-width: 380px;
    }

    #rsvpForm {
        max-width: 500px;
    }

    .rsvp-confirmation {
        max-width: 500px;
    }

    .hotel-card {
        padding: 30px;
    }

    .parents-block {
        gap: 50px;
    }

    .nav-links a {
        font-size: 2.2rem;
    }

    .nav-links li {
        margin: 22px 0;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .section {
        padding: 90px 60px 60px;
    }

    .section-content {
        max-width: 700px;
    }

    .couple-names {
        font-size: 4rem;
    }

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

    .hero-background {
        max-width: 500px;
    }

    .hero-image {
        max-height: 65vh;
    }

    .illustration-container {
        max-width: 400px;
    }

    .hotel-card {
        max-width: 500px;
        margin: 20px auto;
    }
    .hotel-cards-grid .hotel-card {
        max-width: none;
        margin: 0;
    }
}

/* Large desktop (1440px and up) */
@media (min-width: 1440px) {
    .section-content {
        max-width: 800px;
    }

    .couple-names {
        font-size: 4.5rem;
    }

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

    .body-text {
        font-size: 1.2rem;
    }
}

/* ========================================
   Print styles
   ======================================== */
@media print {
    .header,
    .nav-overlay,
    .menu-toggle,
    .btn-programme,
    .btn-submit {
        display: none;
    }

    .section {
        padding: 20px;
        min-height: auto;
        page-break-inside: avoid;
    }
}
