 Styles généraux */
/* Variables CSS pour les couleurs */
:root {
  --couleur-primaire-foncee: #45261d;
  --couleur-accent-marron: #8F543E;
  --couleur-texte-clair: #CE7650;
  --couleur-texte-sombre: #3B260E;
  --couleur-neutre-grise: #AFA099;
}


/* Réinitialisation de base */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

/* Base de la typographie */
.revalia-regular {
  font-family: "Revalia", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat-regular { /* Remplacer par la classe générée par Google Fonts si différente */
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* Exemple, ajustez selon votre lien Google Fonts */
  font-style: normal;
}
/*site Buhanor*/
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  background: #000814;
  color: #3B260E; /* Couleur de texte par défaut */
}
span{
    color: #25D366;
}

.montserrat-<uniquifier> {
  
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


header {
    background-color: #000814;
    color: white;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    left: 0px;
    right: 0px;
    background-color: #000814;
    
}

.navbar img{
  width: 100px; /* Taille du logo dans la nav */
  height: auto;
  margin-left: 10px; 
}
/* Liens de navigation */
.nav-links {
    list-style: none;
    margin: 5px 59px;
    padding: 0;
    display: flex; /* Affiche les liens côte à côte par défaut (grands écrans) */
    font-size: 1.2em;
    gap: 15px;
}

.nav-links li {
    margin-bottom: 0;
}
.nav-links a {
     font-family: "Revalia", sans-serif;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.5s ease;
}

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

li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}
li:before {
    content: "•";
    color: #f20089;
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* Menu Hamburger */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Réglages Généraux et Polices ===== */


h1, h2 {
    font-weight: 700;
}

/* ===== Section Hero ===== */
.hero {
    /* Remplacez 'city-background.jpg' par le chemin de votre image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 2)), url('ciel-tropical-campement-buhanor-plage-cap-skirring-copie.jpg');
    height: 400px;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    padding: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Petits points sous le titre */
.dots {
    margin-bottom: 20px;
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    margin: 0 4px;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
}

/* ===== Section Infos de Contact ===== */

.main-container {
    display: flex;
    background-color: #000814;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden; /* Pour contenir les bords arrondis */
    margin: 0 2%;
}

/* Section d'informations de contact (à gauche) */
/* ===== Section Infos de Contact ===== */
.contact-info {
    
    justify-content: space-around;
    padding: 30px 80px;
    text-align: center;
    
}

.info-card {
    max-width: 400px;
    margin: 10px;
}

.icon-container {
    font-size: 2.5rem;
    color: #d9dcd6; /* Couleur  des icônes */
    margin-bottom: 20px;
    text-align: center;
}

.info-card h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color:#d9dcd6;
}

.lorem-text {
    color:#d9dcd6;
    margin-bottom: 15px;
    font-size: 1em;
    text-align: justify;
}

.highlight {
    color: #ccdbdc; /* Couleur orange */
    font-weight: 900;
    font-size: 2em;
}
  .whatsapp-button {
            display: inline-flex;
            align-items: center;
            background-color: #25D366;
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 10px;
            transition: var(--transition);
        }
        
        .whatsapp-button:hover {
            background-color: #128C7E;
            transform: translateY(-3px);
        }
        
        .whatsapp-button i {
            margin-right: 8px;
        }
/* Section du formulaire (à droite) - Design Minimaliste */
.form-section {
    flex: 1;
    min-width: 400px;
    padding: 60px 50px;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Ombre pour détacher légèrement */
    /* Ligne verticale retirée pour un look plus clean */
}

/* ❌ L'ancienne ligne verticale a été retirée pour un look plus moderne. */
/* .form-section::before {} */


/* Style du Titre Principal du Formulaire (ex: CONTACTEZ-NOUS PAR MAIL) */
.form-section h2:first-child {
    font-family: "Revalia", sans-serif; /* Police distinctive pour la marque */
    font-size: 2.8em; /* Taille légèrement augmentée */
    font-weight: 400; /* Revalia n'a qu'un poids normal */
    color: #45261d; /* Couleur primaire foncée pour l'impact */
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

/* Ligne décorative sous le titre principal */
.form-section h2:first-child::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* Ligne plus longue */
    height: 3px; /* Ligne plus épaisse */
    background-color: #CE7650; /* Couleur accent marron */
    border-radius: 2px;
}

/* Styles pour les Sous-titres (ex: 1. Détails du Séjour, 2. Vos Coordonnées) */
.form-section h2:not(:first-child) {
    font-family: "Montserrat", sans-serif; /* Police lisible et moderne */
    font-size: 1.4em; /* Plus élégant et moins agressif */
    font-weight: 600; /* Gras pour la hiérarchie */
    color: #000814;
    margin-bottom: 15px;
    margin-top: 40px; /* Marge supérieure réduite */
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 8, 20, 0.1); /* Ligne de séparation très subtile */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 35px; /* Augmente l'espace entre les groupes */
    position: relative;
}

.form-group label {
    font-family: "Montserrat", sans-serif; /* Police de marque */
    display: block;
    margin-bottom: 8px; /* Marge réduite pour rapprocher du champ */
    color: #45261d; /* Couleur primaire foncée pour l'importance */
    font-size: 0.8em; /* Petit, élégant et discret */
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Styles pour les champs Nom et Prénom côte à côte */
.name-group {
    display: inline-block;
    width: calc(50% - 10px);
    vertical-align: top;
}

.name-group:first-child {
    margin-right: 20px;
}

/* Styles pour TOUS les champs d'entrée (text, email, date, number, select, textarea) */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
    font-family: "Montserrat", sans-serif; /* Cohérence de police */
    width: 100%;
    padding: 10px 0; /* Padding vertical réduit pour look plus fin */
    border: none;
    border-bottom: 1px solid rgba(69, 38, 29, 0.2); /* Ligne de séparation par défaut (couleur brand) */
    border-radius: 0;
    box-sizing: border-box;
    font-size: 1.1em;
    color: #000814;
    background-color: transparent;
    transition: border-bottom-color 0.3s ease, background-color 0.3s ease;
    letter-spacing: 0.5px;
}

/* Placeholder modernisé */
input::placeholder, textarea::placeholder {
    font-family: "Montserrat", sans-serif;
    color: rgba(69, 38, 29, 0.5); /* Couleur plus douce */
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Hover et Focus pour un effet "material" */
input:hover, select:hover, textarea:hover {
    border-bottom-color: #45261d; /* Ligne plus foncée au survol */
}

input:focus, select:focus, textarea:focus {
    border-bottom-color: #CE7650; /* Couleur accent (orange) au focus */
    border-bottom-width: 2px;
    outline: none;
    background-color: rgba(206, 118, 80, 0.05); /* Arrière-plan très léger au focus */
    padding-bottom: 9px; /* Maintient la hauteur pour le border-bottom-width de 2px */
}

/* Ligne animée (soulignement) — Maintenu pour le côté sophistiqué */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #45261d; /* Ligne animée en couleur primaire foncée */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group:focus-within::after {
    width: 100%;
}

/* Styles spécifiques pour le champ SELECT (liste déroulante) */
select {
    cursor: pointer;
    /* Styles pour la flèche personnalisée - Utilisez le même SVG que dans la correction précédente */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath fill="%2345261d" d="M6 8L0 0h12z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px; 
}

/* Styles pour le champ DATE (icône de calendrier) */
input[type="date"] {
    /* Utilisation de l'icône de calendrier SVG pour l'UX */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%2345261d" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v14H4V5h16zm-5 7h2v-2h-2v2zm-4 0h2v-2h-2v2zm-4 0h2v-2H7v2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}

/* Suppression des éléments natifs (Spinners, icônes) pour un design plat */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield; 
}

/* -- OPTIMISATION POUR LES CLICS SUR ORDINATEUR -- */
input[type="date"] {
    position: relative; /* Permet le positionnement absolu de l'indicateur */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute; /* Positionné absolument pour couvrir */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    background: transparent; /* S'assure qu'aucun fond n'est affiché */
    color: transparent; /* S'assure qu'aucune icône native n'est affichée */
    opacity: 0; /* Rendu invisible, mais la zone fonctionnelle est là */
    cursor: pointer; /* Indique la zone cliquable */
    z-index: 2; /* S'assure qu'il est PAR DESSUS l'icône SVG */
}

/* Fix pour IE/Edge qui masque l'icône native qui gère le clic */
input[type="date"]::-ms-expand {
    display: none;
}

/* Réponse adaptative (responsive) */
@media (max-width: 768px) {
    .form-section {
        padding: 40px 30px;
        min-width: 100%;
    }
    
    .name-group {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 25px; /* Espacement corrigé */
    }
    
    .form-section h2:first-child {
        font-size: 2em;
        letter-spacing: 1.2px;
    }
    
    .form-section h2:not(:first-child) {
        font-size: 1.3em;
        margin-top: 30px;
    }
    .form-group {
        margin-bottom: 30px;
    }
}
/* Bouton d'envoi */
button[type="submit"] {
    background-color: #000814; /* Couleur primaire */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: auto; /* Largeur auto pour le bouton */
    display: block; /* Prend sa propre ligne */
}

button[type="submit"]:hover {
    background-color: #45261d;
    transform: translateY(-2px); /* Petit effet de levée au survol */
}

/* Messages d'erreur et de succès */
.error-message {
    color: #dc3545; /* Rouge vif pour les erreurs */
    font-size: 0.85em;
    margin-top: 5px;
    display: none; /* Masqué par défaut */
}

.success-message {
    color: #28a745; /* Vert pour le succès */
    font-size: 1em;
    text-align: center;
    margin-top: 25px;
    padding: 10px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    display: none; /* Masqué par défaut */
}

/* ===== Section Carte ===== */
.map-section {
    width: 100%;
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
}



  /* Styles généraux du footer */
.footer {
    background-color: white; /* Couleur de fond verte foncée */
    color: #45261d;
    font-family: "Revalia"; 
}

/* Section supérieure du footer (localisation, réservations, plateformes) */
.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; /* Permet aux sections de passer à la ligne sur de petits écrans */
    margin-bottom: 0px; /* Espace entre la section du haut et la section du bas (logo/nom) */
}

.footer-section {
    margin-bottom: 20px; /* Espace sous chaque section sur petits écrans */
    text-align: center; /* Alignement du texte à gauche par défaut */
}

.footer-section h3 {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 9px;
    font-size: 1.5em;
}

.footer-section p {
       font-family: "Montserrat";
      font-size: 1.1em;
     color: #555;
}
.footersectionblog{
    margin-bottom: 20px; /* Espace sous chaque section sur petits écrans */
    text-align: justify; /* Alignement du texte à gauche par défaut */

}
.footersectionblog h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.footersectionblog p {
    text-align: center;
    color: white;
    margin: 0;
} 
.footersectionblog a{
     font-family: "Montserrat";
      font-size: 1.1em;
     color: #000814;
}

.footer-section a {
    color: inherit;
    text-decoration: none;
}
/* Styles pour les icônes des plateformes */
.platform-icons {
    display: flex;
    align-items: center;
}

.platform-icons img {
    height: 40px; /* Taille des icônes */
    margin-right: 20px; /* Espace entre les icônes */

}

/* Section inférieure du footer (logo) */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permet au logo et au texte de passer à la ligne si nécessaire */
}
.footerr { 
            text-align: center; 
            padding: 2rem; 
            background-color: #020c1b; 
            color: #8892b0; 
        } 

.footer-logo {
    width: 300px;
    height: auto; /* Hauteur du logo, ajustez selon vos besoins */
    margin-right: 15px; /* Espace entre le logo et le texte "BUHANOR" */
}


/* Media queries pour la responsivité (facultatif mais recommandé) */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column; /* Empile les sections verticalement sur les petits écrans */
        align-items: center; /* Centre les sections empilées */
    }

    .footer-section {
        width: 100%; /* Chaque section prend toute la largeur */
        text-align: center; /* Centre le texte des sections */
    }

    .platform-icons {
        justify-content: center; /* Centre les icônes sur petits écrans */

    }

    .footer-logo {
        margin-right: 0; /* Pas de marge à droite quand empilé */
        margin-bottom: 10px; /* Marge sous le logo quand empilé */
    }
}
/* Media Queries pour les écrans plus petits */

@media (max-width: 1250px) {
    .nav-links{
        margin: 5px 40px;
        font-size: 1.4em;
    }

}

@media (max-width: 999px) {
    .contact-info {
        padding: 22px 5px;
    }
}


@media (max-width: 799px) {
.hero h1 {
    font-size: 1.3em;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Petits points sous le titre */
.dots {
    margin-bottom: 20px;
}

.dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: white;
    margin: 0 4px;
}

.hero p {
    font-size: 1em;
    font-weight: 300;
}
/* ===== Section Infos de Contact ===== */
.contact-info {
        padding: 20px 10px;
        display: grid;
        align-items: center;
}

.lorem-text {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.highlight {
    font-size: 2.em;
}

/* ===== Section Infos de Contact ===== */
     .main-container {
        flex-direction: column; /* Les sections s'empilent sur petits écrans */
    }

    .contact-info-section, .form-section {
        border-right: none;
        border-bottom: 1px solid #eee; /* Ligne de séparation horizontale */
        min-width: unset; /* Supprime la largeur minimale */
        
        padding: 30px;
    }

    .contact-info-section {
        padding-bottom: 20px; /* Moins de padding en bas */
    }

    .form-section {
        padding-top: 20px; /* Moins de padding en haut */
    }

    .name-group {
        width: 100%; /* Les champs Nom et Prénom prennent toute la largeur */
        margin-right: 0 !important; /* Annule la marge entre eux */
        display: block;
    }

/* ===== Section Carte ===== */
.map-section {
    width: 100%;
  }
/* ===== Pied de page (Footer) ===== */
footer {
    background-color: black; /* Bleu foncé */
    padding: 40px 0;
    text-align: center;
}
footer h2{
    color: white;
    font-family: "Revalia";
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 7px;
}
.logo-icone{
    text-align: center;
    gap: 20px;
}

.trip{
    width: 17%;
   
}
.maps{
    width: 10%;
}
} 
/* Media Queries pour le menu hamburger */
@media (max-width: 999px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color:#000814;
        position: absolute;
        top: 70px; /* Ajustez selon la hauteur réelle de .navbar */
        right: 0;
        text-align: center;
        padding: 20px 0;
        font-size: 1.4em;
        z-index: 999;
        transform: translateX(100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger-menu {
        display: block;
    }

    .brand-logo img {
        width: 120px;
    }
}

@media (max-width: 799px) {
    .nav-links {
        width: 35%;
        margin: 0;
        top: 70px;
        font-size: 1.2em;
    }

    .nav-links.active {
        display: flex;
        padding: 20px 0;
        MARGIN-TOP: -5%;
    }
    li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .brand-logo img {
        width: 100px;
    }
}




