@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
    --main-color: #f3efe6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}

body, html {
    height: 100%;
    background-color: #f3efe6;
}

body a {
    text-decoration: none;
    color: #000;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 28px 12%;
    transition: all .50s ease;
    height: 80px; /* Ensure to set a fixed height */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    margin-right: 3px;
    transition: all .50 ease;
}

.logo span {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all .50 ease;
}

.navbarr {
    display: flex;
    margin-top: 15px;
}

.navbarr a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0;
    margin: 0px 30px;
    transition: all .50s ease;
}

.navbarr a:hover {
    color: var(--main-color);
}

.navbarr a.active {
    color: var(--main-color);
}

.mainn {
    display: flex;
    align-items: center;
}

.mainn a {
    margin-right: 25px;
    margin-left: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all .50s ease;
}

.mainn a:hover {
    color: var(--main-color);
}

#menu-icon {
    font-size: 35px;
    color: #000;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

@media only screen and (max-width: 1350px) {
    header {
        padding: 14px 2%;
        transition: .2s;
    }

    .navbarr a {
        padding: 5px 0;
        margin: 0px 20px;
    }
}

@media only screen and (max-width: 1090px) {
    #menu-icon {
        display: block;
    }

    .navbarr {
        position: absolute;
        top: 60%;
        right: -100%;
        width: 270px;
        height: 29vh;
        background-color: var(--main-color);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-radius: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
        transition: all .50s ease;
    }

    .navbarr a {
        display: block;
        margin: 12px 0;
        padding: 0 25px;
        color: #fff;
        transition: all .50 ease;
    }

    .navbarr a:hover {
        color: wheat;
        transform: translateX(7px);
    }

    .navbarr a.active {
        color: wheat;
    }

    .navbarr.open {
        right: 2%;
    }

    .logo img {
        margin-left: 10px;
        width: 30px;
        transition: all .50s ease;
    }

    .logo span {
        font-size: 1.1rem;
        transition: all .50s ease;
    }

    .mainn a {
        margin-right: 15px;
        margin-left: 5px;
        font-size: 1rem;
        font-weight: 600;
        transition: all .50s ease;
    }
}

/* New section styles */
#background-section {
    height: 200px; /* Adjust height as needed */
    background-image: url('images/Logo2.png'); /* Replace with your background image URL */
    background-size: contain; /* Adjust size to fit the section */
    background-position: center;
    background-repeat: no-repeat; /* Prevent repeating the image */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px; /* Add padding for better text placement */
    margin-top: 80px; /* Add space between header and this section */
}

.background-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.background-content p {
    font-size: 1.2rem;
    max-width: 600px;
}

#presentation {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #746E68;
    margin-top: 80px; /* Ensure space between this section and the header */
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    width: 90%;
    gap: 20px;
    text-align: center; /* Center text */
}
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #cdc2b0;
}

.custom-border {
    border: 5px solid #cdc2b0; /* Ajoute le contour de la couleur souhaitée */
}



.about-text {
    flex: 2;
    max-width: 500px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1rem;
    color: #333;
}

@media only screen and (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image img {
        width: 120px;
        height: 120px;
    }
}

.container-image {
    padding: 40px 0; /* Ajuste l'espacement global du conteneur */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px; /* Réduit l'espacement au-dessus du conteneur */
    text-align: center;
}

.custom-col {
    padding-left: 5px; /* Réduit l'espace à gauche des colonnes */
    padding-right: 5px; /* Réduit l'espace à droite des colonnes */
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-size-container {
    width: 100%; /* Utilise toute la largeur disponible dans la colonne */
    max-width: 400px; /* Largeur maximale pour les images */
    height: 600px; /* Hauteur fixe pour toutes les images */
    overflow: hidden; /* Masque tout débordement de l'image */
    border: 5px solid #cdc2b0;
    border-radius: 5px;
}

.custom-size {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste l'image pour couvrir le conteneur sans déformation */
}
.text-container {
    max-width: 600px; /* Largeur maximale du conteneur du texte */
    margin: 20px auto; /* Centrer le conteneur horizontalement et ajouter un espacement vertical */
    text-align: center; /* Centrer le texte horizontalement */
}



/* Section Prestation */
#prestation {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #746E68;
    margin-top: 80px;
}

.prestation-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: auto; /* Hauteur automatique pour s'adapter au contenu */
    overflow: hidden;
    text-align: center; /* Centre le texte du bouton */
}

.prestation-images {
    display: flex;
    width: 100%;
    height: 400px; /* Hauteur fixe pour les images */
    position: relative;
}

.prestation-image {
    flex: 1 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1; /* Assure que les images sont derrière les éléments avec un z-index plus élevé */
}

.prestation-image.active {
    opacity: 1;
}

.prestation-image img {
    width: 50%; /* Réduit la taille des images à 50% */
    height: auto;
    border-radius: 10px; /* Coins arrondis */
    object-fit: cover;
}

.prestation-button {
    margin-top: 30px; /* Augmente l'espacement entre les images et le bouton */
    z-index: 2; /* Assure que le bouton est au-dessus des images */
    position: relative; /* Assure que le bouton est positionné par rapport au conteneur */
}

.prestation-button button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prestation-button button:hover {
    background-color: #333;
}

.prestation-description {
    margin-top: 20px; /* Augmente l'espacement entre le bouton et la description */
    z-index: 2; /* Assure que la description est au-dessus des images */
    position: relative; /* Assure que la description est positionnée par rapport au conteneur */
}

@media only screen and (max-width: 768px) {
    .prestation-container {
        height: auto; /* Ajuste la hauteur automatique pour les petits écrans */
    }

    .prestation-images {
        height: 300px; /* Hauteur ajustée pour les écrans plus petits */
    }

    .prestation-image img {
        width: 80%; /* Ajuste la taille des images pour les petits écrans */
    }

    .prestation-button {
        margin-top: 20px; /* Réduit l'espacement pour les petits écrans */
    }

    .prestation-description {
        margin-top: 15px; /* Réduit l'espacement pour les petits écrans */
    }
}

/* Section Contact */
#salon {
    padding: 60px 0;
    background-color: #746E68;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px; /* Espace entre cette section et la section précédente */
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    width: 90%;
    gap: 20px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #cdc2b0;
}

.about-text {
    flex: 2;
    max-width: 500px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1rem;
    color: #333;
}

@media only screen and (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image img {
        width: 120px;
        height: 120px;
    }
}

.about-section {
    position: relative; /* Pour que le bouton fixe ne chevauche pas les éléments */
}

.reserve-button {
    display: block;
    width: fit-content;
    margin: 20px auto; /* Centrer le bouton sous le texte */
    background-color: #CDC2B0; /* Couleur de fond du bouton */
    color: #fff; /* Couleur du texte du bouton */
    padding: 10px 20px; /* Espacement interne du bouton */
    border-radius: 5px; /* Coins arrondis */
    text-align: center; /* Centre le texte dans le bouton */
    text-decoration: none; /* Supprime le soulignement du lien */
    font-size: 16px; /* Taille de la police */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre du bouton */
    position: absolute; /* Initialement positionné sous le texte */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Centrer horizontalement */
    transition: all 0.3s ease; /* Transition pour les changements de position */
}

.reserve-button.fixed {
    position: fixed; /* Rendu fixe lorsque défilé */
    bottom: 20px; /* Espace depuis le bas de l'écran */
    left: 50%;
    transform: translateX(-50%); /* Centrer horizontalement */
    z-index: 999; /* Assurer que le bouton est au-dessus des autres éléments */
}


/* Conteneur des médias Instagram */
#instagram-media img,
#instagram-media video {
    max-width: 100%;     /* Limite la largeur à celle du conteneur */
    height: auto;        /* Hauteur automatique pour conserver les proportions */
    object-fit: contain; /* Utilise contain pour éviter la coupe et le zoom des médias */
    border-radius: 5px;  /* Facultatif : si tu veux un contour arrondi */
    margin: 10px;        /* Facultatif : espace entre les médias */
}

/* Optionnel : appliquer un style spécifique aux vidéos */
#instagram-media video {
    max-height: 400px;   /* Limite la hauteur de la vidéo */
    width: auto;         /* Largeur auto pour respecter le ratio */
}



