p {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;

}

h2 {
    font-family: "Dancing Script";
    font-size: 3.5rem;
}

/* ----------------------------- */
/*           NAVBAR              */
/* ----------------------------- */

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.navbarcapucine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    /* padding horizontal comme V2 */
    height: 80px;
    /* hauteur fixe */
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 0.3s ease;
    z-index: 999;
    box-sizing: border-box;

    flex-wrap: nowrap;
    /* empêche le passage à la ligne */

}

.les-fees-du-buron {
    font-family: "Dancing Script";
    font-size: 28px;
}

.navbarboutons {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    /* empêche le passage à la ligne */

}



.navbarboutons li a {
    text-decoration: none;
    transition: color 0.3s;
    color: black;
}

.navbarboutons li a.dropbuttonchambre {
    text-decoration: underline;
    text-decoration-color: black;
    font-weight: 500;
    text-decoration-thickness: 1px;
    text-underline-offset: 15px;
    transition: color 0.3s;
}

.dropdown-content {
    display: none;
    /* caché par défaut */
    flex-direction: column;
    padding-left: 20px;
    gap: 10px;
}

.dropdown-content.show {
    display: block;
    /* même comportement que V2 */
}

.navbarboutons li a:hover {
    color: #96d8f4;
}

.navbarboutons li a.active {
    font-weight: 600;
    text-decoration: none;
}

/* ----------------------------- */
/*            SECTION            */
/* ----------------------------- */

.carte-cadeau {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 900px;

    img {
        max-width: 650px;
        width: auto;
        height: auto;
        object-fit: cover;
    }
}

.sectioncarte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 100vh;
    text-align: center;
}

/* ----------------------------- */
/*            FOOTER             */
/* ----------------------------- */

.footer {
    background-color: black;
    color: white;
    padding: 40px 60px;
}

.footer h4 {
    margin-bottom: 40px;
    text-align: start;
    font-size: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-items li img {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info img {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

/* ----------------------------- */
/*         DESKTOP ONLY          */
/* ----------------------------- */

@media (min-width: 769px) {

    .dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        padding: 10px;
        min-width: 200px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .dropdown-content.show {
        display: block;
        /* correspond à V2 */
    }

    .dropdown-content a {
        display: block;
        padding: 5px 10px;
        color: black;
        text-decoration: none;
    }

    .dropdown-content a:hover {
        background-color: #f0f0f0;
    }

    .navbarboutons,
    .navbarboutons ul,
    .navbarboutons li {
        list-style: none;
        margin: 10px;
        padding: 0;
    }
}

/* ----------------------------- */
/*            MOBILE             */
/* ----------------------------- */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .navbarboutons {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 10px 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    .navbarboutons.show {
        display: flex;
    }

    .navbarboutons li {
        border-bottom: 1px solid #ccc;
        padding: 10px 0;
    }

    .navbarboutons li:last-child {
        border-bottom: none;
    }

    .navbarboutons li a {
        font-weight: 400;
        font-size: 18px;
        color: black;
        text-decoration: none;
        transition: color 0.3s;
    }

    .navbarboutons li a.active {
        font-weight: 700;
    }

    .carte-cadeau {
        width: 80%;
        margin: 0 auto;

        img {
            max-width: 80%;
            height: auto;
            object-fit: cover;
        }
    }

    .sectioncarte {
        padding: 20px;
        min-height: 100vh;
        text-align: center;
    }
}