*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: playfairDisplay;
    src: url(font/PlayfairDisplay-VariableFont_wght.ttf);
}
@font-face {
    font-family: greatVibes;
    src: url(font/GreatVibes-Regular.ttf);
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#review {
    animation: fadeIn 1.5s ease-in;
}

body{
    font-family: playfairDisplay;
}

.header-bg {
    background-image: url(image/massage-835468_1280.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 250px;
    width: 100%; 
    display: flex;
    align-items: center;
    justify-items: center;
    
}

#logo {
    position: relative;
    z-index: 1;
    width: 650px;
}


#navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #a2d2ff;
    padding: 40px 50px;
    font-size: larger;
    flex-wrap: wrap;
    position: relative;
    z-index: 9999;
}

#menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

#menu .name-arrow {
    position: relative;
}

#navbar div {
    margin: 0 30px;
}

#navbar a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

#navbar a:hover {
    color: whitesmoke;
}

.name-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}
.name {
    font-weight: bold;
}
.name:hover{
    color: whitesmoke;
}
.arrow-up, .arrow-down {
    margin-left: 10px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.arrow-down {
    transform: rotate(180deg);
}


#burger {
    display: none; /* Cacher par défaut */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

#burger .bar {
    width: 30px;
    height: 4px;
    background-color: black;
    border-radius: 5px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -50px;
    width: 500px; 
    background: #a2d2ff; 
    border: 1px solid #000000; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 4px;
}
.hidden {
    display: none;
}
.dropdown-menu a {
    text-decoration: none;
    color: #333;
    padding: 15px;
    font-size: large;
    border-radius: 5px;
    background: #a2d2ff;
    margin-bottom: 5px;
    display: block;
}
.dropdown-menu a:hover {
    background: #add8e6;
    color: #000;
}
.dropdown-menu a:last-child {
    margin-bottom: 0;
}
.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.arrow-icon.rotate {
    transform: rotate(180deg);
}


#presentation {
    width: 100%;
    height: auto;
    font-size: 40px;
    font-family: greatVibes;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    background-image: url(image/salle.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#presentation h1{
    width: 100%;
    height: auto;
    font-size: 40px;
    font-family: greatVibes;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    font-weight: lighter;
}

#filtre{
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.45);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#presentation #texteTitre{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
#presentation #salle{
    z-index: -1;
    width: 100%;
    height: auto;
    filter: blur(5px) brightness(0.35);
    position: absolute;
}
#presentation #texte{
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    justify-self: center;
    width: 80%;
    margin: 20px 0;
    color: #fff;
}

#endroit{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    background-color: #f5f5dc;
    padding: 50px;
}
#endroit #box{
    width: 40%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
}
#endroit #horraire,
#endroit #localisation{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}
#endroit p.titre {
    font-size: 25px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin: 5px 0;
}
#endroit hr{
    width: 280px;
    margin: 20px 0;
    border: 1px solid #FFD66B;
}
#endroit #box2{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: baseline;
}
#endroit p{
    font-size: larger;
    line-height: 30px;
}
#endroit #map{
    width: 40%;
    height: 500px;
    justify-content: center;
}

#trouver {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #f5f5dc, #EEDC82);
    padding: 40px 0;
}

#trouver h5 {
    font-size: 3rem; /* Augmente la taille du texte */
    font-weight: bold;
    color: #333; /* Ajoute une couleur sombre pour le texte */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Ombre légère pour rendre le texte plus lisible */
    text-align: center;
}

#trouver #collone {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: row; /* Organise les éléments horizontalement */
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* Permet aux éléments de se réorganiser si l'écran est trop petit */
    margin-top: 30px;
}

#trouver #collone #box {
    align-items: center;
    text-align: center;
    margin: 20px 50px;
    background-color: #f5f5dc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-basis: 30%; /* Répartit les éléments également, chacun prenant 30% de la largeur */
    box-sizing: border-box; /* S'assure que les marges et les paddings n'affectent pas la largeur totale */
}

#trouver #collone #box:hover {
    transform: translateY(-10px); /* Effet de survol pour une animation dynamique */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée au survol */
}

#trouver #collone #iconne {
    width: 240px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

#trouver p#titre {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#trouver p.description {
    font-size: 1.2rem;
    font-weight: normal;
    color: #555; /* Une couleur plus douce pour la description */
    line-height: 1.6;
    margin-top: 10px;
}



#review{
    background-color: #EEDC82;
    padding-bottom: 20px;
}

.mail {
    width: 100%;
    height: 800px;
    background: #ffffff;
    background-image: url(image/eye-4721699_1280.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.mail h2 {
    text-align: center;
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

#mailForm {
    display: flex;
    flex-direction: column;
    width: 80%;
}

.mail-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(15px) brightness(0.9);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mail-form label {
    color: #ffffff;
    font-size: 16px;
    margin: 10px 0 5px;
    align-self: flex-start;
}

.mail-form input,
.mail-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mail-form input:focus,
.mail-form textarea:focus {
    border-color: #007BFF;
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.mail-form button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
}

.mail-form button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.mail-form button:active {
    transform: translateY(0);
    box-shadow: none;
}

footer {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px;
    background-color: #3a3a3a;
    color: #fff;
}
footer a#imagesutilisées {
    text-decoration: none; /* Supprime la sous-ligne du lien */
    font-size: 1.2rem; /* Taille de police légèrement plus grande */
    color: #3a3a3a; /* Couleur sombre pour le texte */
    font-weight: bold; /* Rend le texte en gras */
    padding: 10px 15px; /* Ajoute de l'espace autour du lien */
    border-radius: 5px; /* Arrondir les coins du lien */
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease; /* Ajoute une transition douce */
    display: none;
}

.footer-section {
    flex: 1;
    display: flex;
    justify-content: center;
}
.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
}
.marque {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-weight: bold;
}
footer img {
    max-width: 110%;
    height: auto;
}
.marque img {
    max-width: 30px;
    margin-right: 8px;
}
.reseau, .boxbox {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}
.reseau img {
    max-width: 40px;
    margin-right: 8px;
}

footer p, .reseau p, .contact p {
    margin: 0;
    line-height: 1.5;
}
.footer-section .reseau a img {
    max-width: 30px;
    transition: transform 0.2s;
}
.footer-section .reseau a:hover img {
    transform: scale(1.1);
}

.footer-section .contact .boxbox a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #fff;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
    text-align: center;
}

.footer-section .contact .boxbox a:hover {
    background-color: #fff;
    color: #3a3a3a;
}
footer h4{
    margin-bottom: 15px;
}
.boxbox a {
    text-decoration: none;
    font-weight: bold;
    color: #000;
}
@media screen and (max-width: 1024px) {
    #burger {
        display: flex; /* Afficher le bouton burger sur tablette */
        justify-content: flex-end;
    }

    #navbar{
        justify-content: flex-end;
    }

    #menu {
        display: none;
        top: 0;
        width: 300px;
        height: 100%;
        left: -250px;
        padding: 20px;
        background-color: #a2d2ff;
        transition: right 0.5s ease; /* Animation pour le slide-in */
        border: black 2px solid;
        padding-right: 50px;
        padding-left: 50px;
    }
    #endroit #box{
        height: auto;
        padding: 30px 0;
        margin-top: 0;
    }
    #menu.active {
        display: flex;
        position: absolute;
        z-index: 999999;
        left: 0; /* Affiche le menu lorsqu'il est actif */
        margin: 0;
        height: auto;
        align-items: flex-start;
        justify-content: flex-start;
    }

    #navbar a:hover {
        color: black;
    }

    .name:hover{
        color: black;
    }

    .dropdown-menu a:hover {
        background: #a2d2ff;
        color: #000;
    }

    .name-arrow {
        margin: 15px 0;
    }

    .name-arrow a {
        display: block;
        margin-left: 20px;
    }
}

/* Affichages très petits, comme téléphones */
@media screen and (max-width: 768px) {
    header {
        height: 150px; /* Réduire la hauteur */
    }
    #logo {
        width: 300px; /* Réduire la taille du logo */
    }

    #navbar div{
        margin: 0 5px;
    }

    #presentation #texte {
        font-size: 25px; /* Réduire la taille des textes */
    }
    #endroit #horraire,
    #endroit #localisation{
        width: auto;
    }
    #trouver #collone #iconne{
        width: 100%;
    }

    #endroit, 
    #review, 
    .mail {
        padding: 20px;
    }
    #endroit{
        flex-direction: column;
    }
    #endroit #map{
        width: 80%;
    }
    .mail form input, 
    .mail form textarea {
        font-size: 14px; /* Taille des champs réduite */
    }
    .footer-section:nth-child(2) {
        display: none;
    }
}
@media screen and (max-width: 310px){
    footer{
        flex-direction: column;
    }
    header #logo{
        width: 100%;
    }
    body{
        font-size: x-small;
    }
    #trouver h5{
        font-size: medium;
    }
    #endroit p.titre{
        font-size: medium;
    }
    #endroit hr{
        width: 100%;
    }
}