/* =========================================
   RESET GLOBAL & BODY
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

/* =========================================
   LIENS
========================================= */
a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =========================================
   HEADER & NAV
========================================= */
header {
    background: linear-gradient(to right, #2E8B57, #90EE90);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav div {
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* =========================================
   TITRES
========================================= */
h1 {
    font-size: 3.5rem;
    color: #90EE90;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 40px 0;
}

h2, h3 {
    color: #90EE90;
    margin-bottom: 20px;
    text-align: center;
}

/* =========================================
   MENU & FORMULES
========================================= */
.menu-img, .formule-img {
    display: block;
    width: 80%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-img:hover, .formule-img:hover {
    transform: scale(1.05);
}

.formules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

/* =========================================
   LIGHTBOX
========================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(144,238,144,0.4);
    transition: transform 0.3s ease;
}

.lightbox img:hover {
    transform: scale(1.02);
}

/* Croix fermeture en haut à droite */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #90EE90;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox .close:hover {
    color: #2E8B57;
    transform: scale(1.2);
}

/* Flèche précédente */
.lightbox .prev {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #90EE90;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox .prev:hover {
    color: #2E8B57;
    transform: translateY(-50%) scale(1.2);
}

/* Flèche suivante */
.lightbox .next {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #90EE90;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox .next:hover {
    color: #2E8B57;
    transform: translateY(-50%) scale(1.2);
}

/* Animation fadeIn */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: linear-gradient(to right, #2E8B57, #90EE90);
    padding: 30px 0;
}

footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

footer img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

footer img:hover {
    transform: scale(1.2);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .formules {
        gap: 20px;
    }

    .menu-img, .formule-img {
        width: 90%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        margin: 20px 0;
    }

    .formules {
        flex-direction: column;
        gap: 20px;
    }

    .menu-img, .formule-img {
        width: 95%;
        margin: 20px auto;
    }

    .lightbox .close {
        font-size: 2rem;
        top: 15px;
        right: 20px;
    }

    .lightbox .prev,
    .lightbox .next {
        font-size: 2.5rem;
        left: 20px;
        right: 20px;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 70%;
    }

    footer img {
        width: 35px;
        height: 35px;
    }
}
