*{
    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 150px;
    font-size: larger;
}

#navbar div {
    margin: 0 10px;
}

#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);
}

.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);
}

#couleur {
    background-color: #f9f9f9;
    padding: 30px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

#couleur p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

#couleur a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#couleur a:hover {
    color: #0056b3;
    text-decoration: underline;
}

#couleur a:visited {
    color: #0056b3;
}

#couleur br {
    margin-bottom: 10px; /* Espacement entre chaque ligne */
}

#couleur #minititre {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

#couleur hr {
    border: 1px solid #ccc;
    margin: 10px 0;
}

footer {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px;
    background-color: #3a3a3a;
    color: #fff;
}
.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;
}
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: #333; /* 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 */
}

footer a#imagesutilisées:hover {
    color: #fff; /* Change la couleur du texte au survol */
    background-color: #ffce2c; /* Change la couleur de fond au survol (couleur or) */
    transform: scale(1.05); /* Légère augmentation de taille au survol */
}

.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: 35px;
    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 */
    }

    #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 (max-width: 768px) {
    header {
        height: 150px; /* Réduire la hauteur */
    }
    #logo {
        width: 300px; /* Réduire la taille du logo */
    }

    #navbar div{
        margin: 0 5px;
    }

    #menu.active{
        width: 250px;
    }

    #presentation #texte {
        font-size: 25px; /* Réduire la taille des textes */
    }

    #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;
    }
}