/* Styles Généraux */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #F8F9FA;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* En-tête */
.wedding-header {
    height: 400px;
    background-image: url('assets/cap.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.banner-overlay {
    background-color: rgba(0, 43, 91, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.wedding-header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.wedding-header p {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Navigation */
.wedding-nav {
    background-color: #002B5B;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.wedding-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.wedding-nav li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.wedding-nav li a.active, .wedding-nav li a:hover {
    color: #FFD700;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Language switch */
.lang-switch {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lang-switch a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1;
    transition: opacity 0.3s;
}

.lang-switch a:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem 1rem;
    z-index: 1001;
    align-items: center;
    gap: 0.5rem;
}

.hamburger .hamburger-label {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-lines span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.open .hamburger-lines span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-lines span:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-lines span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Contenu */
h2 {
    font-family: 'Dancing Script', cursive;
    color: #002B5B;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    display: inline-block;
}

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

.content-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Titres dans content-box (page programme) */
.content-box h3 {
    font-family: 'Dancing Script', cursive;
    color: #002B5B;
    font-size: 2rem;
    margin-top: 0;
    border-bottom: 1px solid #FFD700;
    padding-bottom: 8px;
}

.content-box h4 {
    color: #002B5B;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

/* Titres dans todo-section (page cap corse) — pas Dancing Script */
.todo-section h3 {
    font-family: 'Open Sans', sans-serif;
    color: #002B5B;
    margin-top: 2.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #FFD700;
    padding-bottom: 6px;
}

.todo-section h3:first-of-type {
    margin-top: 1rem;
}

.todo-section h4 {
    color: #002B5B;
    font-size: 1.15rem;
    margin-top: 1.5rem;
}

.todo-section ul, .todo-section ol {
    padding-left: 20px;
}

.todo-section li {
    margin-bottom: 0.5rem;
}

/* Sommaire */
.toc {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #002B5B;
}

.toc p {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #002B5B;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
}

.toc ul li a {
    color: #002B5B;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.toc ul li a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Hébergement */
.hotel-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hotel-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #002B5B;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.hotel-info {
    flex: 1;
}

.hotel-info strong {
    font-size: 1.05rem;
}

.hotel-desc {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.3rem;
}

.hotel-status {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.hotel-status.complet {
    color: #c0392b;
}

.hotel-status.dispo {
    color: #27ae60;
}

.hotel-item a {
    color: #002B5B;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #002B5B;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
    align-self: center;
}

.hotel-item a:hover {
    background: #002B5B;
    color: white;
}

.airbnb-note {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}

/* Liste de Mariage */
.registry-block {
    text-align: center;
    padding: 3rem 0;
}

.btn-primary {
    background-color: #002B5B;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.3s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,43,91,0.3);
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: #001F3F;
    transform: translateY(-2px);
}

/* Itinéraires */
.itinerary {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid #FFD700;
}

.itinerary h4 {
    color: #002B5B;
    margin-top: 0;
}

/* Images rdv */
.rdv-img {
    max-width: min(350px, 80%);
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 1rem auto 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer */
.wedding-footer {
    background-color: #001F3F;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* --- SMARTPHONES --- */
@media (max-width: 768px) {
    .wedding-header {
        height: 250px;
    }

    .wedding-header h1 {
        font-size: 2.5rem;
    }

    .wedding-header p {
        font-size: 1.1rem;
    }

    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    .nav-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .lang-switch {
        position: static;
        transform: none;
        padding: 0.8rem 1rem;
    }

    .wedding-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #002B5B;
    }

    .wedding-nav ul.open {
        display: flex;
    }

    .wedding-nav li a {
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hotel-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .hotel-item a {
        align-self: flex-start;
        margin-top: 0.5rem;
    }

    .toc ul {
        flex-direction: column;
        gap: 0.3rem;
    }
}