/*NavBar*/




p {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background:
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('Images/prunes.webp') no-repeat center center fixed;
    background-size: cover;
}


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


/*Navabar*/




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



.navbarprunelia {
    display: flex;
    justify-content: space-between;
    /* espace entre le titre et les boutons */
    align-items: center;
    /* centre verticalement le texte et les liens */
    padding: 20px 20px;
    background-color: white;
    position: fixed;
    /* important pour qu’elle reste en haut */
    width: 100%;
    top: 0;
    left: 0;
    transition: top 0.3s ease;
    /* animation douce */
    z-index: 999;
    /* devant tout */
    box-sizing: border-box;
    /* important pour inclure le padding dans la largeur */

}

.navbarboutons {
    list-style: none;
    display: flex;
    /* les li sont en ligne */
    gap: 20px;
    /* espace entre les boutons */
    margin: 0;
    padding: 0;
}

.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;
    /* épaisseur du trait */
    text-underline-offset: 15px;
    /* <-- c’est ça qui déplace le soulignement */
    transition: color 0.3s;
}

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

.dropdown-content.show {
    display: flex;
}


.navbarboutons li a:hover {
    color: #96d8f4;
    /* léger effet au survol */
}


.navbarboutons li a.active {
    font-weight: 600;
    /* plus gras */
    text-decoration: none;
    /* pas de soulignement */
}

/*Conteneur chambre fond blanc*/

.chambrepruneliacontainer {
    background-color: white;
    margin-left: 120px;
    margin-right: 120px;
}

h2 {
    font-size: 4rem;
    font-family: "Dancing Script";
    margin-top: 60px;
    padding: 50px;
    text-align: center;
}

/*Carousel*/


.container {
    width: 70%;
    max-width: 700px;
    /* limite sur grand écran */

    margin: 50px auto;
    position: relative;
    overflow: visible;
    /* permet aux images secondaires de dépasser */
}

.carousel-inner {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 300px;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.5;
    transition: all 0.5s ease;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Image centrale */
.slide.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
    /* devant tout le monde */
}

/* Image à gauche derrière */
.slide.prev {
    transform: translate(-120%, -50%) scale(0.85);
    /* plus proche de l'image centrale */
    opacity: 0.7;
    z-index: 1;
    /* derrière */
}

/* Image à droite derrière */
.slide.next {
    transform: translate(20%, -50%) scale(0.85);
    /* ajuster la position */
    opacity: 0.7;
    z-index: 1;
    /* derrière */
}

/* Description chambre*/


.container-description-chambre {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.item-chambre {
    display: flex;
    gap: 10px;
    align-items: center;

}

.item-chambreprix {
    font-size: 1.5rem;
    display: flex;
    gap: 10px;
    align-items: center;
}


.prixchambreprunelia strong {
    font-size: 2rem;
    /* augmente la taille du texte */
    font-weight: bold;
    /* garde le gras */
    color: #000;
    /* optionnel : changer la couleur si tu veux */
}


.liste-item-chambre-prunelia {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 2 colonnes de largeur égale */
    column-gap: 80px;
    /* espace horizontal entre les colonnes */
    row-gap: 20px;
    /* Espace entre les items */
    list-style: none;
    padding: 10px;
}

hr {
    width: 5cm;
    height: 2px;
    background-color: #333;
    border: none;
    margin: 60px 0 60px 10px;
    /* top right bottom left */
}


/*Tarifs*/

body {
    padding: 20px;
    background-color: #f9f9f9;
}

h3 {
    margin-top: 50px;
    font-size: 1.5rem;
}

table {
    width: 60%;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 15px;
    text-align: center;
    background-color: transparent;
    /* pour voir le dégradé du tr */
}

/* Ligne du haut blanche */
thead th {
    background-color: white;
    font-weight: 200;
}

/* Dégradé gris clair sur les lignes paires */
tbody tr:nth-child(even) {
    background: linear-gradient(90deg, #f5f5f5, #e0e0e0);
}


td {
    border-bottom: 1px solid #ddd;
}

tbody tr:last-child td {
    border-bottom: none;
}


.colonne1 {
    font-size: medium;

}

.prix {
    font-size: medium;
    font-weight: 500;
}

.taxesejour {
    margin-top: 30px;
}


/*Autres chambres*/


.les-autres-chambres {
    display: flex;
    justify-content: space-around;
    /* ou space-between */

    /* ✅ espace égal entre, avant et après les cartes */
    padding-bottom: 50px;

}



/* Chambres */

.plesautreschambres {
    font-family: "Dancing Script";
    font-size: 3.5rem;
    text-align: center;
    font-weight: 600;
}

.chambre {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: auto;
    height: max-content;
    /* prend toute la largeur possible */
    max-width: 400px;
    /* mais ne dépasse pas 400px sur grand écran */
    border-radius: 60px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
    /* centre le conteneur horizontalement */
    background-color: white;

    /* largeur de base mais adaptable */
    box-sizing: border-box;
    /* pour éviter les débordements */
}

.imagechambrecapucine,
.imagechambreburon {
    border-radius: 40px;
    min-height: 250px;
}


.chambre img {
    border-radius: 40px;

}


.chambre p {
    margin: 0;
}

h4 {
    font-size: 1.5rem;
    margin: 16px;
    text-align: center;
}

.milieu-chambre {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px;
    gap: 20px;
}


.chambre .icon-line {
    display: flex;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    margin: 0;
    gap: 15px;
}

.btn-voir-chambre {
    width: 150px;
    max-width: 100%;
    background-color: #000;
    color: #fff;
    border-radius: 100px;
    padding: 10px 15px;
    margin: 0 auto;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-voir-chambre:hover {
    background-color: #333;
    /* effet au survol */
}



/* footer */
.footer {
    background-color: black;
    color: white;

}

.footer-items {
    display: flex;
    flex-direction: column;
    /* Empile les éléments verticalement */
    gap: 10px;

}

.items-contact {
    display: flex;
    align-items: center;
    /* Aligne icône et texte sur la même ligne */
    gap: 10px;
    /* Espace entre icône et texte */

}

.footer {
    background-color: black;
    color: white;
    padding: 40px 60px;
    /* 20px vertical, 60px horizontal */

}

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

/* Conteneur principal du footer : deux colonnes */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* <-- alignement en haut */
    gap: 50px;
    flex-wrap: wrap;
    /* pour mobile */
}


/* Colonne gauche */
.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;
    /* ajuster selon taille icône */
    height: 20px;
}

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

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



/* Desktop uniquement */
@media (min-width: 769px) {

    /* Dropdown parent */
    .dropdown {
        position: relative;
        /* référence pour le positionnement absolu du sous-menu */
    }

    /* Sous-menu */
    .dropdown-content {
        display: none;
        /* caché par défaut */
        position: absolute;
        /* sort du flux normal */
        top: 100%;
        /* juste en dessous du bouton */
        left: 0;
        background-color: white;
        padding: 10px;
        min-width: 200px;
        /* largeur minimale */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 100;
        /* devant tout le reste */
    }

    .dropdown-content.show {
        display: block;
        /* affichage quand on clique */
    }

    .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;
    }
}



/* Sur mobile */
@media (max-width: 768px) {

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

    /* Menu mobile */
    .navbarboutons {
        display: none;
        /* caché par défaut */
        flex-direction: column;
        gap: 15px;
        /* espacement entre les liens */
        background-color: #fff;
        position: absolute;
        top: 60px;
        /* juste sous la navbar */
        right: 20px;
        padding: 10px 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 100;

        /* aligne les li à droite dans le menu */

    }

    /* Afficher quand le menu est actif */
    .navbarboutons.show {
        display: flex;
    }

    /* Chaque lien avec un petit trait de séparation */
    .navbarboutons li {
        border-bottom: 1px solid #ccc;
        /* trait fin */
        padding: 10px 0;
        /* espace autour du texte */
    }

    .navbarboutons li:last-child {
        border-bottom: none;
        /* pas de trait après le dernier lien */
    }

    /* Texte des liens */
    .navbarboutons li a {
        text-decoration: none;
        /* pas de soulignement */
        font-weight: 400;
        /* poids normal par défaut */
        font-size: 18px;
        /* texte plus lisible */
        color: black;
        transition: color 0.3s;
    }

    /* Lien actif */
    .navbarboutons li a.active {
        font-weight: 700;
        /* plus gras */
        text-decoration: none;
        /* pas de soulignement */
    }


    .container {
        width: 90%;
        /* occupe presque toute la largeur */
        margin: 30px auto;
    }

    .carousel-inner {
        height: 250px;
        /* plus petit que sur desktop */
    }

    .slide {
        width: 250px;
        height: 180px;
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.5;
    }

    .slide.active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    .slide.prev {
        transform: translate(-80%, -50%) scale(0.75);
        opacity: 0.6;
    }

    .slide.next {
        transform: translate(-20%, -50%) scale(0.75);
        opacity: 0.6;
    }

    /* Supprimer le background */
    body {
        background: #fff;
        /* fond blanc simple */
    }

    /* Conteneurs principaux sans marge ni padding */
    .chambrepruneliacontainer,
    .container-description-chambre,
    .les-autres-chambres {
        margin: 0;
        padding: 0;
        width: 100%;
    }


    .les-autres-chambres {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* pour centrer les cartes */
        gap: 20px;
        /* ou l’espacement que tu veux */
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .chambre {
        width: 80%;
        /* tu l’as déjà, parfait */
        max-width: 100%;
        margin: 0 auto;
        /* centre la carte */
    }

    /* Textes centraux adaptés */
    h2 {
        font-size: 2.5rem;
        padding: 20px 10px;
    }

    .chambre {
        max-width: 100%;
        width: 80%;
        margin: 20px 0;
        /* plus arrondi si tu veux */
        padding: 15px 10px;
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
        /* même ombre que desktop */

    }

    .prixchambreprunelia {
        text-align: center;
        margin: 10px 0;
        /* espace vertical optionnel */
    }


    .container-description-chambre {
        align-items: center;
        margin: 20px;
    }

    .liste-item-chambre-prunelia {
        align-items: start;
        display: flex;
        flex-direction: column;
    }


    .chambre .icon-line {
        justify-content: center;
    }

    .description-chambre-prunelia {
        font-size: 1rem;
        /* taille plus adaptée */
        line-height: 1.4;
        /* espace entre lignes */
        text-align: start;
        /* ou left selon ton design */
        max-width: 80%;
        /* limite la largeur */
        margin: 10px;
        /* centre le texte et espace autour */
        word-break: break-word;
        /* évite débordement */
    }


    .h2 {
        align-items: center;
        /* <-- centre les articles horizontalement */

        flex-direction: column;
        gap: 20px;
    }

    hr {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .plesautreschambres {
        align-items: center;
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 600;
    }

    /* Sous-menu mobile niveau inférieur */
    .dropdown-content {
        display: none;
        flex-direction: column;
        padding-left: 20px;
        /* indentation pour montrer le niveau inférieur */
        gap: 10px;
    }

    .dropdown-content.show {
        display: flex;
    }

    /* Conteneur du sous-menu */
    .dropdown {
        position: relative;
    }

    /* Cacher le sous-menu par défaut */

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

    .dropdown-content a.active {
        font-weight: 900;
        /* maximum de gras */
        text-decoration: underline;
        /* facultatif, pour bien marquer la page active */
    }

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