/* couleurs
Vert de base #2F625C
Vert foncé #134640
Beige #BD9C7F
*/

@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;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Général */
html, body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    text-align: center;
    scroll-behavior: smooth;
}

section {
    font-size: 30px;
    height: 100vh; /* Chaque section occupe 100% de la hauteur de la fenêtre */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    font-size: 8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h2 {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

p {
    font-size: 1.2rem;
    font-weight: 150;
}

/* Bannière */

/* Style du menu */
.navbar {
    display: flex;
    justify-content: space-between; /* Sépare logo et menu */
    align-items: center;
    position: absolute;
    top: 0px;
    right: 50px;
    width: 95%;
    padding: 0 50px; /* Espacement sur les côtés */
    z-index: 1000;
}

/* Style du logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px; /* Ajuste la taille selon besoin */
    width: auto;
    
}

/* Style du menu */
.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

/* Liens du menu */
.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.5s;
    padding: 10px 15px;
}

.nav-links a:hover {
    color: #BD9C7F;
}

/* Ajustement Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        background: transparent; /* Plus de fond noir */
        position: absolute;
        top: 70px;
        right: 10px;
        padding: 10px;
        border-radius: 5px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}


/* Bannière améliorée */
.banner {
    position: relative;
    height: 90vh; 
    background: url('images/banniere.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh; 
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Assombrit l'image pour plus de lisibilité */
}

/* Ajout d'un SVG pour l'effet arrondi */
.wave {
    position: absolute;
    bottom: -2px; /* Ajuste cette valeur si besoin */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    transform: rotate(180deg); /* Retourne l’image */
}

.wave img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}


/* Bouton Réserver */
.banner .cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.2rem;
    color: white;
    background-color: #2F625C;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.5s;
}

.banner .cta-button:hover {
    background-color: #134640;
}

/* presentation */

.presentation {
    background: #eaddd3;
    display: flex;
    flex-direction: column; /* Met le texte au-dessus et les icônes en dessous */
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 50px;
    box-sizing: border-box;
    text-align: center;
}
.presentation h2 {
    color: #134640;
}
    
.presentation .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crée une seule ligne avec 4 colonnes */
    gap: 30px; /* Espacement entre les cases */
    text-align: center;
    max-width: 95%; /* Largeur max pour éviter que ça s'étale trop */
}

.presentation img {
    height: 400px; /* Uniformiser la hauteur */
    border-radius: 50px; /* Coins arrondis */
}

/* services */
.services {
    background: #b7c8c5;
    display: flex;
    flex-direction: column; /* Met le texte au-dessus et les icônes en dessous */
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 50px;
    box-sizing: border-box;
    text-align: center;
}

.services .text {
    font-family: "Poppins", sans-serif;
    max-width: 80%; /* Permet au texte de prendre plus d'espace */
    text-align: center;
    margin-bottom: 30px; /* Espacement entre texte et icônes */
}

.services .features {
    display: grid;
    grid-template-columns: repeat(3, 2fr); /* Crée une seule ligne avec 4 colonnes */
    gap: 30px; /* Espacement entre les cases */
    text-align: center;
    max-width: 95%; /* Largeur max pour éviter que ça s'étale trop */
}

.services h2 {
    color: #BD9C7F;
}

/* Style des icônes */
.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature i {
    font-size: 40px;
    color: #333;
    margin-bottom: 5px;
}



/* Contact */
.contact {
    background: #eaddd3;
    display: flex;
    flex-direction: column; /* Met le texte au-dessus et les icônes en dessous */
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 250px;
    box-sizing: border-box;
    text-align: center;
}

.contact h2 {
    color: #134640;
    font-size: 2em;
    margin-bottom: 150px;
    text-align: center;
    display: block;  /* Assure qu'il prend toute la largeur */
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    grid-template-rows: repeat(2, auto); /* 2 lignes */
    gap: 20px;
    justify-content: center; /* Centre la grille horizontalement */
    align-items: center; /* Centre verticalement */
    max-width: 800px;
    margin: 0 auto; /* Centre le conteneur */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
}

.contact-item i {
    color: #134640;
    font-size: 1.5em;
}

.contact-item a {
    color: #134640;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2F625C;
    color: white;
    padding: 10px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .presentation {
        flex-direction: column;
        text-align: center;
    }

    .text {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .features {
        grid-template-columns: 1fr; /* Une seule colonne sur petits écrans */
    }
}
