/* ==================== Variables ==================== */
:root {
    --rose-poudre: #8aab8d;
    --peche: #a4c4a7;
    --beige: #f5e6d3;
    --taupe-rose: #c9ada7;
    --ivoire: #fff8f0;
    --sage: #7a9b7e;
    --sage-dark: #5a7d5e;
    --sage-light: #a4c4a7;
    --sage-medium: #8aab8d;
    --sand: #d9cfc1;
    --cream: #f0f2ed;
    --cream-dark: #e3e8df;
    --warm-white: #fafaf8;
    --black: #1a1a18;
    --gray: #6b6b68;
    --taupe: #a39888;

    --font-serif: "Cormorant", serif;
    --font-sans: "Montserrat", sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
    background: var(--cream);
    overflow-x: hidden;
}

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

/* ==================== Typography ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
}

p {
    max-width: 65ch;
}

/* ==================== Layout ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* Full viewport sections */
section.save-date > .container-narrow,
section.verses > .container-narrow,
section.timeline-section > .container-narrow,
section.locations > .container,
section.wedding-party > .container,
section.reminders > .container-narrow,
section.rsvp > .container {
    width: 100%;
}

section {
    padding: clamp(4rem, 10vw, 10rem) 0;
}

/* ==================== Navigation ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 155, 142, 0.15);
    transition: transform 0.3s var(--ease);
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem clamp(1.5rem, 5vw, 3rem);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--sage-dark);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-brown);
    text-decoration: none;
    position: relative;
    transition: color 0.3s var(--ease);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease);
}

.nav-link:hover {
    color: var(--terracotta);
}

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

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--sage-dark);
    display: block;
    border-radius: 2px;
    transform-origin: center;
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s var(--ease);
        border-bottom: 1px solid rgba(139, 155, 142, 0.15);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(199, 121, 82, 0.05);
    }
}

/* ==================== 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;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    animation: scale-in 1.5s var(--ease-out);
}

@keyframes scale-in {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.55) 100%
        ),
        rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    animation: fade-up 1s 0.3s var(--ease-out) backwards;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-names {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: white;
    margin: 2rem auto;
    opacity: 0.8;
}

.hero-date {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

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

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.hero-scroll::after {
    content: "";
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, white, transparent);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    background: transparent;
}

.btn-primary {
    color: white;
    border-color: white;
}

.btn-primary:hover {
    background: white;
    color: var(--sage-dark);
}

.btn-dark {
    color: white;
    background: var(--sage-dark);
    border-color: var(--sage-dark);
}

.btn-dark:hover {
    background: var(--sage);
    border-color: var(--sage);
    color: white;
}

.btn-outline {
    color: var(--sage-dark);
    border-color: var(--peche);
}

.btn-map {
    width: 15rem;
}

.btn-outline:hover {
    border-color: var(--sage-dark);
    background: var(--sage-dark);
    color: white;
}

/* ==================== Save the Date ==================== */
.save-date {
    background: var(--warm-white);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.rsvp .section-subtitle {
    color: white;
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.3px;
    max-width: 700px;
    margin: 0 auto;
}

.rsvp .section-title {
    color: white;
}

.date-box {
    max-width: 400px;
    margin: 4rem auto;
    padding: 3rem;
    background: white;
    border: 1px solid var(--sand);
    box-shadow: 0 4px 20px rgba(139, 155, 142, 0.08);
}

.date-day {
    font-family: var(--font-serif);
    font-size: 6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--sage-dark);
}

.date-month-year {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-top: 1rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* ==================== Location ==================== */
.locations {
    background: url(picture/page5.jpeg) center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

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

.location-card {
    background: var(--warm-white);

    padding: 3rem 2.5rem;
    border: 1px solid rgba(139, 155, 142, 0.2);
    transition: all 0.4s var(--ease);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(122, 155, 126, 0.15);
    border-color: var(--sage);
}

.location-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--sage);
}

.location-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--sage-dark);
}

.location-time {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--taupe);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.location-address {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ==================== Timeline ==================== */
.timeline-section {
    background: var(--warm-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(138, 171, 141, 0.15);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-time {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--sage);
    padding-top: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--taupe-rose);
}

.timeline-content p {
    color: var(--gray);
}

@media (max-width: 640px) {
    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }

    .timeline-time {
        font-size: 1.3rem;
    }
}

/* ==================== Dress Code ==================== */
.dress-code {
    background: var(--sage-dark);
    color: white;
}

.dress-code .section-title {
    color: white;
}

.dress-code .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.dress-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.dress-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.color-palette {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s var(--ease);
}

.color-swatch:hover {
    transform: scale(1.1);
}

/* ==================== Gallery ==================== */
.gallery {
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
    background: var(--cream-dark);
}

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

/* ==================== RSVP ==================== */
.rsvp {
    position: relative;
    background: url(picture/page10.jpeg) center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.rsvp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.55) 100%
        ),
        rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.rsvp .container {
    position: relative;
    z-index: 1;
}

.rsvp-form {
    max-width: 600px;
    margin: 4rem auto 0;
    background: var(--warm-white);
    padding: 3rem;
    border: 1px solid rgba(139, 155, 142, 0.2);
    box-shadow: 0 4px 20px rgba(139, 155, 142, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--peche);
    background: white;
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-info {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: white;
    border: 1px solid rgba(47, 63, 52, 0.1);
    text-align: center;
}

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

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--sage-dark);
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0 auto;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--sage-dark);
    color: white;
    text-align: center;
    padding: 4rem 0 2rem;
}

.footer-names {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer-date {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 2rem auto;
}

.footer-bottom {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 3rem;
}

/* ==================== Animations ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }

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

    .dress-grid {
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}

/* ==================== New Sections Styles ==================== */

/* Hero Families */
.hero-families {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2vw, 1.21rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--sage-dark);
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    color: var(--gray);
}

.countdown-ended {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--sage-dark);
    text-align: center;
}

.date-ring {
    font-size: 2rem;
    margin-top: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Verses Section */
.verses {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    color: var(--warm-white);
    overflow: hidden;
}

.verses-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.verses-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.4);
}

.verses-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 155, 142, 0.85),
        rgba(122, 155, 126, 0.85)
    );
    z-index: 1;
}

.verses-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.verse {
    margin: 1.5rem 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
}

.verse-text {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 0.8rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.verse-ref {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.verse-divider {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    opacity: 0.6;
}

/* Accommodations */
.accommodations {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.accommodations::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(picture/page3.jpeg) center/cover no-repeat;
    filter: grayscale(20%) blur(3px);
    opacity: 0.6;
    z-index: 0;
}

/* Mobile: décaler image hébergement à gauche */
@media (max-width: 768px) {
    .accommodations::before {
        background-position: calc(50% - 5rem) center;
    }

    .accommodation-card:first-child {
        margin-top: 5rem;
    }
}

.accommodations .container {
    position: relative;
    z-index: 1;
}

.accommodations .section-title {
    color: black;
}

.accommodations .section-subtitle {
    color: var(--black);
    font-weight: 500;
}

.accommodation-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    filter: grayscale(100%);
    transition: all 0.3s var(--ease);
}

.accommodation-card:hover .accommodation-icon {
    transform: scale(1.1);
    filter: grayscale(0%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.accommodation-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-sm {
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin: 3rem 0;
}

.accommodation-card {
    padding: 1rem;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.accommodation-card:hover {
    transform: translateY(-4px);
}

.accommodation-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.accommodation-type {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-sm-full {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.accommodation-more {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.accommodation-more p {
    margin: 0 auto 1rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.accommodation-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.accommodation-links a {
    color: var(--sage-dark);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s var(--ease);
}

.accommodation-links a:hover {
    border-bottom-color: var(--sage-dark);
}

/* Timeline Horizontal */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.timeline-h-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
}

.timeline-h-img {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--ease);
    background: white;
    border: 2px solid var(--cream-dark);
}

.timeline-h-img-bw {
    filter: grayscale(100%);
}

.timeline-h-item-bottom .timeline-h-img {
    margin: 1.2rem auto 0;
}

.timeline-h-item:hover .timeline-h-img {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--sage);
}

.timeline-h-item-bottom:hover .timeline-h-img {
    transform: translateY(5px);
}

.timeline-h-time {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--sage);
    margin-bottom: 0.8rem;
}

.timeline-h-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-h-desc {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.timeline-h-separator {
    width: 40px;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--cream-dark),
        var(--sage),
        var(--cream-dark)
    );
    flex-shrink: 0;
}

/* Old accommodation styles - keep for fallback */
.accommodation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 2rem auto;
}

.accommodation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--warm-white);
    border-radius: 8px;
    border: 1px solid var(--cream-dark);
    transition: all 0.3s var(--ease);
}

.accommodation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--sage);
}

.accommodation-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--black);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background: var(--sage-dark);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    display: inline-block;
}

.btn-sm:hover {
    background: var(--sage);
    transform: translateY(-1px);
}

.location-main {
    grid-column: 1 / -1;
    text-align: center;
}

/* Wedding Party (Noces) */
.wedding-party {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: var(--warm-white);
}

.party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.party-category {
    text-align: center;
}

.party-category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--sage-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.party-category-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--sage);
}

.party-members {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.party-members p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--black);
    margin: 0;
}

/* Filles et Garçons d'honneur */
/* Pour désactiver cette section sur mobile, décommentez la ligne ci-dessous dans la section @media (max-width: 768px) */
.party-honor-section {
    /* display: none; */
}

.party-honor-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(139, 155, 142, 0.2);
}

.party-honor-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--sage-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.party-honor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.party-honor-column {
    text-align: center;
}

.party-honor-subtitle {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--sage);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.party-honor-subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1.5px;
    background: var(--sage-light);
}

.party-honor-members {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.party-honor-members p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--black);
    margin: 0;
    letter-spacing: 0.3px;
}

.party-flower-girl {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(164, 196, 167, 0.08),
        rgba(122, 155, 126, 0.08)
    );
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.party-flower-girl p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--black);
    margin: 0;
}

.flower-girl-label {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--sage-dark);
    font-weight: 500;
    margin-right: 0.5rem;
}

.honor-attendants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(
        135deg,
        rgba(138, 171, 141, 0.1),
        rgba(164, 196, 167, 0.1)
    );
    border-radius: 15px;
}

.honor-section {
    text-align: center;
}

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

.honor-list p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--black);
    margin: 0;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--cream-dark);
}

.flower-girl {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(
        135deg,
        rgba(232, 196, 184, 0.2),
        rgba(245, 230, 211, 0.2)
    );
    border-radius: 15px;
}

.flower-girl-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--sage-dark);
    margin-top: 1rem;
}

/* Reminders Section */
.reminders {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: var(--cream);
}

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

.reminder-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--cream-dark);
    transition: all 0.3s var(--ease);
    text-align: center;
}

.reminder-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--sage);
}

.reminder-icon {
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    line-height: 1;
    filter: grayscale(100%);
    transition: all 0.3s var(--ease);
    display: block;
}

.reminder-item:hover .reminder-icon {
    transform: scale(1.15);
    filter: grayscale(40%);
}

.reminder-item h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.reminder-item p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
    letter-spacing: 0.3px;
}

.reminder-item strong {
    color: var(--black);
    font-weight: 600;
}

.footer-location {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-families {
        margin-top: -10rem;
    }

    .countdown {
        gap: 1rem;
    }

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

    .countdown-value {
        font-size: 2rem;
    }

    .verse {
        padding: 1.5rem;
    }

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

    .party-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* === Filles et Garçons d'honneur sur mobile === */
    /* Pour masquer cette section sur mobile, décommentez la ligne ci-dessous */
    /* .party-honor-section { display: none; } */

    .party-honor-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .party-honor-title {
        font-size: 1.6rem;
    }

    .party-honor-subtitle {
        font-size: 1.2rem;
    }

    .honor-attendants {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .reminders-list {
        grid-template-columns: 1fr;
    }

    .accommodation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .accommodation-links {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-horizontal {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-h-item {
        display: flex;
        flex-direction: column;
    }

    .timeline-h-img {
        max-width: 150px;
        height: 100px;
        order: 10;
        margin: 1.2rem auto 0;
    }

    .timeline-h-separator {
        width: 2px;
        height: 30px;
        background: linear-gradient(
            to bottom,
            var(--cream-dark),
            var(--sage),
            var(--cream-dark)
        );
    }

    .reminder-icon {
        font-size: 2.5rem;
    }

    .accommodation-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Sur mobile, permet le défilement si le contenu est trop long */
    .save-date,
    .verses,
    .locations,
    .timeline-section,
    .accommodations,
    .wedding-party,
    .reminders,
    .rsvp {
        min-height: auto;
        padding: 4rem 0;
    }

    .falling-element {
        display: none;
    }
}

/* ==================== Toast Notifications ==================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    color: var(--black);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    /* More squared for elegance */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    border-left: 3px solid var(--sage);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: var(--sage-dark);
}

.toast-error {
    border-left-color: #d35d5d;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-dark);
    margin-top: 2px;
}

.toast-error .toast-icon {
    color: #d35d5d;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.toast-message {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-light);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: var(--black);
}

/* ==================== Elegant Details ==================== */

/* Selection Color */
::selection {
    background: var(--sage-light);
    color: var(--black);
}

/* Smooth Reveal for Headings */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--sage);
    transition: width 0.8s var(--ease), left 0.8s var(--ease);
}

.visible .section-title::after {
    width: 60px;
    left: calc(50% - 30px);
}

/* Button Refinement */
.btn {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-families {
        margin-top: -3rem;
    }
    .hero-names {
        padding-top: 8rem;
    }
    .toast-container {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .toast {
        width: 100%;
        min-width: auto;
    }
}
