/* ===================== RESET ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===================== BODY ===================== */
body {
    background: #7ec8ff;
    color: #1f2933;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===================== BANDEROLE ===================== */
.hero {
    background: #7ec8ff;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.hero img {
    width: 95%;
    max-width: 1600px;
    height: 180px;
    object-fit: contain;
}

/* ===================== MENU ===================== */
.menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    background: #fb8500;
    position: sticky;
    top: 0;
    z-index: 10;
}

.menu a {
    padding: 20px 45px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
}

.menu a:hover {
    background: #ffb703;
    color: #1f2933;
    transform: translateY(-2px);
}
/* ===================== BANNIÈRE SOUS MENU ===================== */
.menu-banner {
    width: 100%;
    padding: 0;
    background: #7ec8ff;
}

.menu-banner img {
    width: 100%;
    height: 140px;      /* ← plus fin ici */
    object-fit: cover;
    display: block;
}


/* ===================== SECTIONS ===================== */
section {
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #023047;
    text-transform: uppercase;
}

section p {
    font-size: 18px;
    line-height: 1.6;
}

/* ===================== GALERIE ===================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* ===================== LIGHTBOX ===================== */
#lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox-overlay img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
}

/* ===================== FLÈCHES ===================== */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    background: rgba(0,0,0,0.6);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    cursor: pointer;
    border-radius: 6px;
    user-select: none;
    z-index: 1100;
}

.arrow:hover {
    background: rgba(255,255,255,0.3);
}

.arrow-left {
    left: 15px;
}

.arrow-right {
    right: 15px;
}

/* ===================== BOUTON FERMER ===================== */
#close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    color: white;
    background: rgba(0,0,0,0.4);
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 1100;
}

#close-lightbox:hover {
    background: rgba(255,255,255,0.3);
}

/* ===================== FOOTER ===================== */
footer {
    background: #fb8500;
    color: #ffffff;
    text-align: center;
    padding: 12px 10px; /* ← plus fin */
    margin-top: auto;
    font-size: 14px;    /* texte un peu plus petit */
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #ffb703;
}


/* ===================== MENTIONS LÉGALES ===================== */
.legal {
    background: #f9f9f9;
    padding: 50px 30px;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-size: 16px;
    line-height: 1.8;
}

.legal h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #fb8500;
}

.legal-section h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #023047;
    border-bottom: 2px solid #ffb703;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {

    section {
        padding: 20px;
        margin: 20px auto;
    }

    section h2 {
        font-size: 24px;
    }

    section p {
        font-size: 15px;
    }

    .menu a {
        font-size: 18px;
        padding: 15px 25px;
    }

    .arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .arrow-left {
        left: 5px;
    }

    .arrow-right {
        right: 5px;
    }
}
