/* 🌍 Déclaration universelle */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 🎨 Variables de couleur */
:root {

    /* Font-Family : Police principale & alternative */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lora', serif; /* Optionnel pour titres élégants */

    /* Tailles des textes */
    --font-size-base: 16px; /* Taille par défaut */
    --font-size-small: 14px;
    --font-size-medium: 18px;
    --font-size-large: 24px;
    --font-size-title: 32px;

    /* Header */
    --header-bg-blue: #005F73;
    --header-bg-gold: #C49A6C;
    --header-text-white: #FFFFFF;
    --header-text-beige: #F6F1E9;

    /* Body */
    --body-bg-sand: #F4EDE1;
    --body-bg-blue: #D8E2DC;

    /* Cartes activités & services */
    --card-bg: #FCF8F2;
    --card-border: #E5E5E5;

    /* Footer */
    --footer-bg-darkblue: #003049;
    --footer-bg-brown: #6D4C41;

    /* Boutons */
    --button-primary-blue: #028090;
    --button-primary-gold: #D4A373;
    --button-hover-blue: #37BEB0;
    --button-hover-gold: #E1C27C;

    /* Titres et textes */
    --text-dark: #222222;
    --text-blue: #004E64;
}

/* 📌 Utilisation des couleurs */
header {
    background-color: var(--header-bg-blue); /* Change ici pour doré si besoin */
    color: var(--header-text-white);
}

body {
    overflow: auto; /* Garde le scroll actif */
    background-color: var(--body-bg-sand); /* Change ici pour bleu doux si besoin */
    color: var(--text-dark);
    scrollbar-width: none; /* Firefox : supprime l'affichage */
}
/* Masquer la barre de scroll sans désactiver le défilement */
::-webkit-scrollbar {
    width: 0px; /* Cache la scrollbar */
    height: 0px;
}
/* 📜 Style global du header */
.site-header {
  width: 100%;
  background-color: var(--header-bg-blue);
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}

/* 🖼️ Logo */
.logo {
    height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
    }
.logo img {
    height: 100%;
width: auto;
  aspect-ratio: 1 / 1;
  display: block;
}

/* 🔗 Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: var(--header-text-white);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* 🔗 Navigation - Visible sur grand écran */
.nav-links {
    display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-links.show {
        right: 0; /* Le menu apparaît */
        display: flex;
        flex-direction: column;
    }

.nav-links a {
    color: var(--header-text-white);
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
}

.nav-left, .nav-right {
    display: none;
}

/* 🍔 Menu hamburger */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.hamburger-menu span {
    width: 30px;
    height: 4px;
    background-color: var(--header-text-white);
    border-radius: 2px;
}

/* 🔺 Bouton de fermeture */
.close-menu {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px; /* Grand "X" */
    color: var(--header-text-white); /* Couleur en accord avec le menu */
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    display: none;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
}

footer {
    background-color: var(--footer-bg-darkblue);
    color: var(--header-text-beige);
}

button {
    background-color: var(--button-primary-blue); /* Change ici pour doré si besoin */
    color: var(--header-text-white);
}

button:hover {
    background-color: var(--button-hover-blue);
}

/* 📜 HTML : Paramètres généraux */
html {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    overflow: auto; /* Garde le scroll actif */
    scrollbar-width: none; /* Firefox : supprime l'affichage */
   /* scroll-behavior: smooth; /* Améliore la navigation fluide */
    font-size: 100%; /* Base pour le responsive (1rem = 16px) */
}

/* 🖼️ HEAD & Compatibilité multi-navigateurs */
body {
    position: relative;
    z-index: 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f9f9f9; /* Couleur de fond neutre */
    color: #333; /* Contraste optimisé pour la lisibilité */
    line-height: 1.6; /* Espacement optimal du texte */
}

/* 🏔️ Hero Section */
#hero {
    width: 80%;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 60px 20px 15px 20px;
    color: var(--header-text-blue);
}

/* 🔥 Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

h1 { font-size: var(--font-size-title); 
    color: var(--header-bg-blue);
    }
h2 { font-size: var(--font-size-large); color:#258742;}
h3 { font-size: var(--font-size-medium); color:#005F73;}
h4, h5, h6 { font-size: var(--font-size-small); }

img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    margin: auto;
}

/* 📌 Sections générales */
section {
    padding: 15px 15px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 📩 Bouton "Book Now" */
.book-now {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    background-color: #F5B421;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.book-now:hover {
    background-color: var(--button-hover-gold);
}

/**********************   Section Services ************************/

#services {
    padding: 60px 20px;
    text-align: center;
}
.services-container {
    display: flex !important;
    justify-content: flex-start;
    
    gap: 15px;
    overflow-x: auto; /* permet le scroll horizental */
    scrollbar-width: none; /* Supprime la barre sous Firefox */
    scroll-snap-type: x mandatory; /*scroll fluide */
    padding-bottom: 20px;
    width: 100%;
}
.services-container::-webkit-scrollbar {
    display: none; /* Masque la barre de scroll par défaut */
}
.service-card {
    flex: 0 0 200px; /*largeur en mobile*/
    width: 200px;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start; /*centrage automatique */
    
    
}
.service-card img {
    width: 100px;
}

/*/////////////////////     Section Activités         ///////////////////////*/



.activities {
    padding: 20px;
    text-align: center;
}
.activity-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.activity {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.activity-images {
    display: flex;
}
.activity-images img {
    width: 50%;
    height: auto;
    object-fit: cover;
}
.activity-info {
    padding: 15px;
}
.activity-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.activity-info p {
    font-size: 16px;
    margin: 5px 0;
}



.details-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #F5B421;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/* Fond du modal (assombri en arrière-plan) */
.modal {
    display: none; /* Masqué au chargement */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* Effet sombre */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* S'affiche au-dessus de tout */
}

/* Contenu du modal */
.modal-content {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    max-width: 70vw; /* Ne dépasse pas la largeur de l'écran */
    max-height: 80vh; /* Ne dépasse pas la hauteur */
    margin: 25vh auto;
    overflow: auto; /* Ajoute un scroll interne si nécessaire */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}
#modalInfo {
    position: relative;
    top: 0;
    left: 0;
    margin-top: -40px;
    z-index: 5; /* Toujours en arrière-plan */
}
/* Conteneur interne pour le bouton */
.modal-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end; /* Aligne le bouton à droite */
    z-index: 10; /* Toujours visible */
}
/* Bouton de fermeture */
.close {
    background: #F5B421;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 15%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    
}

/**********   modal content ***************/

    /* Conteneur de la liste */
    .activity-details {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }
    /* Alignement du contenu */
    p.activity-price, p.activity-duration, p.activity-description {
        display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    padding: 5px 0px;
    }

    #modalInfo p {
        gap: 5px;
        display: flex;
        align-items: center;

    }

    #modalInfo img {
        width: 50px;
        height: 50px;
    }
    /* Icônes avec le texte */
    .activity-details p {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        margin: 8px 0;
    }

    svg {
    width: 50px;
    height: 50px;
    margin-right: 10px; /* Espacement avec le texte */
    flex-shrink: 0; /* Évite le redimensionnement */
}
nav a:hover svg {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}
    /* Liste de l'itinéraire avec cercles */
.itineraire-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    margin-left: 20px;
}

.itineraire-step {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Cercles numérotés */
.circle {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5B421;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Traits reliant les étapes */
.itineraire-step::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background: #F5B421;
    left: 15px;
    top: 30px;
}

.itineraire-step:last-child::before {
    display: none; /* Supprime le trait pour la dernière étape */
}

    #modalInfo h3 {
        text-align: left;
        font-size: 16px;
        margin: 8px 0;
    }

/* Icônes à côté des titres */
strong {
    display: flex;
    color: #005F73;
    font-size: 22px;
    align-items: center;
    gap: 10px;
}

/* Style de l'itinéraire */
.itineraire-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.itineraire-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    position: relative;
}

/* Cercles numérotés */
.circle {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5B421;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Traits reliant les étapes */
.itineraire-step::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background: #F5B421;
    left: 15px;
    top: 30px;
}

.itineraire-step:last-child::before {
    display: none; /* Supprime le trait pour la dernière étape */
}

/* Points forts sous forme de liste */
.highlight-list {
    padding-left: 20px;
    position: relative;
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    align-items: center;
}

.highlight-list li {
    list-style: none;
    display: flex;
    padding-left: 20px;
    position: relative;
    flex-direction: row;
    align-items: center;
}
ul li img{
    width: 40px !important;
    height: 40px !important;
}
.modalText {
    margin-left: 20px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cta-contact {
  background-color: #f6fdf9;
  border: 2px solid #258742;
  border-radius: 8px;
  padding: 30px 20px;
  margin-bottom: 40px;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.cta-contact h2 {
  color: #005F73;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.cta-contact p {
  font-size: 1rem;
  color: #005F73;
  line-height: 1.5;
}
.contact-container h2 {
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 300px;
    padding: 20px;
    border: 1px solid #005F73;
    background-color: #ffffff;
    color: #005F73;
    border-radius: 10px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}
label {
    font-weight: bold;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid#005f73;
    border-radius: 5px;
    background-color: #ffffff;
}
 .error-message {
            color: red;
            font-size: 0.9em;
        }
#success-message {
  /*display: none;*/
  text-align: center;
  font-size: 1.2rem;
  color: #258742;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#success-message.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.9em;
  color: #258742;
}
button {
    background-color: #F5B421;
    color: white;
    padding: 10px;
    border:none;
    border-radius: 5px;
    cursor: pointer; 
    transition: 0.3s;
}
button:hover {
    background-color: #258742;
}
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    min-width: 300px;
    padding: 20px;
    border: 1px solid #005F73;
    background-color: #ffffff;
    color: #005F73;
    border-radius: 10px;
}
.contact-title {
    font-size: var(--font-size-large);
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}
.contact-info p {
    margin: 15px 0;
}
.contact-info a {
    text-decoration: none;
    color: #258742;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #005F73;
}
.contact-phone {
    display: flex;
    align-items: center; /* Centre le contenu */
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
    padding-left: 10px;
}
.contact-phone img {
    width: 50px;
    height: 50px;
}
.call-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}
.call-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 8px 0;
}
.call-item a {
    text-decoration: none;
    color: #258742;
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.call-item a:hover {
    color: #005F73;
    transform: scale(1.1);
}


.contact-email {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center; /* Aligne le texte et la valeur sur une seule ligne */
    gap: 10px;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    padding-left: 10px;
}
.contact-email img {
    width: 50px;
    height: 50px;
}


.contact-message {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 10px;
}
/* Centrage du titre */
.faq-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Ajustement automatique */
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
/* Bloc de catégories */
.faq-category {
    text-align: center;
    border: 1px solid #005F73;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
    margin-bottom: 15px;
    width: 75%;
}

/* Conteneur des questions */
.faq-container, .faq-body {
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    /*flex-direction: column;*/
    /*gap: 15px;
    max-width: 600px;
    margin: auto;*/
    padding: 10px;
}
.faq-body {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem); /* Texte fluide */
    line-height: 1.6; /* Lisibilité améliorée */
    color: #005F73;
}
.faq-body.active {
  display: block;
}

/* Bloc FAQ */
.faq-item {
    border: 1px solid #005F73;
    border-radius: 8px;
    background-color: #ffffff;
    margin-bottom: 10px;
    /*color: #005F73;
    overflow: hidden;*/
}

/* Header des questions */
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
    font-size: clamp(1.2rem, 4vw, 1.8rem); /* Adaptation selon l'écran */
    /*font-weight: bold;
    color: #005F73;
    background-color: #f9f9f9;*/
}

.faq-header img {
    width: clamp(20px, 5vw, 32px);
    height: auto;
}

.faq-question {
    font-size: clamp(1rem, 3vw, 1.5rem); /* Taille optimale pour lecture */
    flex-grow: 1;
    padding-left: 10px;
    color: #005F73;
}

.faq-container.active, .faq-body.visible {
    display: block;
}

/* Animation de la flèche */
.faq-toggle, .category-toggle {
    transition: transform 0.3s ease-in-out;
}
p strong{
    display: inline;
}
#about {
    padding: 60px 20px;
    text-align: center;
    background: #f8f8f8; /* Couleur douce pour la section */
}

.about-container {
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 75%;
}

.about_text {
    color: #005F73;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.highlight-item {
    flex: 1 1 250px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.highlight-item img {
    width: 50px !important;
    margin-bottom: 10px !important;
}

/*/////            QrCode section      ///////*/

.qrcode-section {
  padding: 60px 20px;
  text-align: center;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeUp {
    from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qrcode-section h2 {
  color: #005F73;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.qrcode-intro {
  color: #005F73;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.qrcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qrcode-box img {
  border: 6px solid #258742;
  border-radius: 16px;
  background: #fff;
}

.qrcode-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.qrcode-actions button {
    display: block !important;
  background: linear-gradient(135deg, #005F73, #258742);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qrcode-actions button:hover {
  background: linear-gradient(135deg, #258742, #005F73);
}

.copy-feedback {
  margin-top: 20px;
  font-size: 1rem;
  color: #258742;
  display: none;
}

.copy-feedback.show {
  display: block;
}

/* 📄 Impression : version claire et simplifiée */
@media print {
  body * {
    visibility: hidden;
  }
  #qrcode, #qrcode * {
    visibility: visible;
  }
  #qrcode {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    width: 100%;
  }
  .qrcode-actions, .copy-feedback {
    display: none !important;
  }
}
/* Animation d’apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
/* Conteneur flexible pour aligner l’icône, le titre et la carte */
.map-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px; /* Espacement entre éléments */
    flex-wrap: wrap; /* Permet un retour à la ligne si l’écran est trop petit */
    margin-bottom: 15px;
}

/* Icône */
.map-container img {
    width: 24px;
    height: auto;
}

/* Titre */
.map-container strong {
    font-size: clamp(1rem, 2vw, 1.5rem); /* Taille dynamique selon l’écran */
    color: #005F73;
}

/* Ajustement de la carte pour un rendu responsive */
.map-container iframe {
    display: block;
    width: clamp(100px, 50vw, 400px); /* Passe de 100px à 400px selon l’écran */
    height: clamp(70px, 30vw, 250px); /* Adapte la hauteur dynamiquement */
    border-radius: 8px; /* Arrondi des bords pour un design moderne */
    border: 1px solid #258742; /* Bordure subtile */
}

/* //////////               FOOTER          ////////////////**/

.site-footer {
  text-align: center;
  padding: 40px 20px 20px;
  font-family: 'Inter', sans-serif;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: #D4A373;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.call-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #258742;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.call-btn:hover {
  background-color: #1f6a3b;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.footer-menu li a:hover {
  text-decoration: underline;
}

.footer-column p a {
    color: goldenrod;
}

footer .social-icons {
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 10px;
    }

footer .social-icons a {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #258742;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  color: goldenrod;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #258742;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTopBtn::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 3px solid white;
  border-top: 3px solid white;
  transform: rotate(-45deg);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#scrollTopBtn:hover {
  background-color: #1f6a3b;
}

/* Accessibilité : cache visuellement le label */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
}

/* Conteneur général */
#language-switcher {
  width: 100%;
  background-color: var(--header-bg-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0.8rem;
  pointer-events: auto;
  position: relative;
  z-index: 1000;
}

/* Style du select */
#language-switcher select {
  background-color: #005F73;
  border: 1px solid #E1C27C;
  border-radius: 5px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: white;
  padding: 0.4rem 1.2rem;
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
  /*background-image: url("./assets/icones/arrow-dropdown.svg");*/
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 0.6rem;
}

/* Effet au focus */
#language-switcher select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.3);
  text-decoration: underline;
}
/* Responsive bonus */
@media screen and (max-width: 480px) {
  #language-switcher {
    justify-content: center;
    padding: 0.5rem;
  }

}
/* 📱 Mobile-first : styles par défaut */
@media (max-width: 767px) {
    html {
        max-width: 100%;
        overflow-x: hidden;
        font-size: 90%; /* Ajuste la taille de texte sur petits écrans */
    }

    body { font-size: var(--font-size-small); }
    h1 { font-size: var(--font-size-title); }
    h2 { font-size: var(--font-size-large); }

    .site-header {
        width: 100%;
        background-color: #f9f9f9;
        padding: 0 15px;
    }

    .topbar-mobile{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .topbar-mobile .logo{
        height: 50px;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .topbar-mobile .logo img {
        height: 100%;
        width: auto;
        aspect-ratio: 1 / 1;
        display: block;
    }
    

    .nav-links {
       display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    right: -100%;
    width: 180px;
    height: 100vh;
    background-color: rgba(0, 95, 115, 0.9);
    padding: 20px;
    z-index: 1500;
    backdrop-filter: blur(10px);
    transition: right 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    }   

    nav ul {
        gap: 10px;
        flex-direction: column;
    }

    nav ul li a {
        font-size: 1rem;
    }

    /* 📌 Lorsque le menu est actif */
    .nav-links.show {
        right: 0;
        opacity: 1;
        display: flex;
        align-items: flex-start;
    }

    /* ✅ Alternance entre le hamburger et le bouton "X" */
    .nav-links.show + .hamburger-menu {
        display: none; /* Cache le hamburger */
    }

    button.close-menu {
        display: block; /* Affiche le bouton "X" */
        order: -1; /* Place le bouton en premier */
        align-self: flex-end; /* Positionne à droite */
    }

    .nav-left, .nav-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-top: 25px;
   }
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 4px;
        cursor: pointer;
    }
    .hamburger-menu:active {
    transform: scale(0.9); /* Effet de pression au clic */
}
    .hamburger-menu span {
    width: 30px;
    height: 4px;
    background-color: var(--header-bg-blue);
    border-radius: 2px;
    transition: 0.3s;
    }

    .close-menu {
         display: block;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    color: var(--header-text-white);
    cursor: pointer;
    }
    .close-menu:active {
        transform: scale(0.9); /* Effet de pression au clic */
    }

    .hero {
        width: 100%;
    }
    section {
        padding: 20px 15px;
    }
    .book-now {
        font-size: 16px;
        padding: 12px 25px;
    }

    .services-container {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Scroll horizontal */
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    justify-content: flex-start; /* Alignement à gauche au chargement */
}
    .service-card{
        /*flex: 0 0 200px; /* Augmente la taille pour mobile */
         width: 200px;
         min-width: 200px;
         padding: 20px;
         border-radius: 10px;
         text-align: center;
         box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
         scroll-snap-align: start;
         transform: translateX(100px); /* Décalage initial hors écran */
    }

    .modal-content {
        max-width: 70vw;
        max-height: 80vh;
        margin: 20vh auto;
    }

    .contact-container {
        flex-direction: column;
    }
    .contact-form, .contact-info {
        height: auto;
    }
    .contact-info {
        align-items: center;
    }

    .phone-links {
        flex-direction: column; /* Icônes empilées verticalement */
        align-items: center;
    }
    .call-item img {
        width: 24px;
        height: 24px;
    }
    .call-options {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }
    .faq-container {
        width: 90%;
    }

    #about {
    padding: 60px 20px;
    text-align: center;
    background: #f8f8f8; /* Couleur douce pour la section */
}

.about-container {
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 75%;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.highlight-item {
    flex: 1 1 250px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.highlight-item img {
    width: 50px !important;
    margin-bottom: 10px !important;
}
}

/* 🖥️ Points de rupture */
@media (min-width: 768px) and (max-width: 1023px) {
    html {
        font-size: 100%; /* Adapté aux tablettes et écrans moyens */
    }

    body { font-size: var(--font-size-base); }

    .site-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        background-color: #f9f9f9;
    }
  /*.topbar-mobile {
    display: none;
  }*/
     .logo {
        height: 150px;
        width: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto; /* n'étire pas le logo */
        margin-inline: 20px; /* espace horizontal */
    }

    .logo img {
        
        width: auto;
        aspect-ratio: 1 / 1;
    }

    .hamburger-menu {
        display: none !important;
    }

    .nav-links {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        width: 100%;
    }

    /* 🔥 Empêcher le menu mobile d’influencer la version desktop */
    .nav-links.show {
        transform: none;
        right: 0;
    }

    .nav-links a {
        color: #005F73;
        font-size: 1.1rem;
        text-decoration: none;
        font-weight: bold;
    }
    .nav-left, .nav-right {
        height: 100px;
        display: flex;
        gap: 20px;
        flex: 1;
        align-items: center;
        justify-content: center;
    }

    .nav-right {
        justify-content: center;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .social-icons img {
        width: 24px; /* Ajuster selon le design */
    }

    .hamburger-menu, .close-menu {
        display: none !important;
    }
    
    #hero {
        padding: 100px 20px 20px 20px;
        width: 50%;
    }
    .book-now {
        font-size: 20px;
        padding: 18px 35px;
    }

    .services-container {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Scroll horizontal */
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    justify-content: center; /* Alignement à gauche au chargement */
}
    .service-card{
        flex: 0 0 200px; /* Augmente la taille pour mobile */
        width: 200px;
        min-width: 200px;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        scroll-snap-align: start;
        transform: translateX(100px); /* Décalage initial hors écran */
        opacity: 0; /* Caché au départ */
        transform: translateX(0px) !important;
        opacity: 1 !important;
    }
    
    /*/////////////    Section Activités   //////////////*/

    .activity-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .modal-content {
        max-width: 70vw;
        max-height: 80vh;
        margin: 30vh auto;
    }
    p.activity-description {
        display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    }

    #modalInfo img {
        width: 80px;
        height: 80px;
    }
    ul li img{
    width: 60px !important;
    height: 60px !important;
}

.cta-contact {
    padding: 40px 60px;
  }
  .cta-contact h2 {
    font-size: 2rem;
  }
.contact-phone {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
    .call-item img {
        width: 30px;
        height: 30px;
    }
    
    /* //////////               FOOTER          ////////////////**/

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-column {
        flex: 1;
        max-width: 300px;
    }
    footer .social-icons {
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 10px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px){
    html {
        font-size: 110%; /* Adapté aux grands écrans */
    }
    #language-switcher {
        pointer-events: auto !important;
        z-index: 9999 !important;
    }

    #language-switcher select {
        pointer-events: auto !important;
        position: relative;
        z-index: 10000;
    }
    h1 { font-size: var(--font-size-title); }
    h2 { font-size: var(--font-size-large); }

    .site-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        background-color: #f9f9f9;
    }
  /*.topbar-mobile {
    display: none;
  }*/
     .logo {
        height: 180px;
        width: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto; /* n'étire pas le logo */
        margin-inline: 20px; /* espace horizontal */
    }

    .logo img {
        
        width: auto;
        aspect-ratio: 1 / 1;
    }

    .hamburger-menu {
        display: none !important;
    }

    .nav-links {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        width: 100%;
    }

    /* 🔥 Empêcher le menu mobile d’influencer la version desktop */
    .nav-links.show {
        transform: none;
        right: 0;
    }

    .nav-links a {
        color: #005F73;
        font-size: 1.3rem;
        text-decoration: none;
        font-weight: bold;
    }
    .nav-left, .nav-right {
        height: 100px;
        display: flex;
        gap: 30px;
        flex: 1;
        align-items: center;
        justify-content: center;
    }

    .nav-right {
        justify-content: center;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .social-icons img {
        width: 24px; /* Ajuster selon le design */
    }

    .close-menu {
        display: none;
    }

    #hero {
        padding: 100px 20px 20px 20px;
        width: 50%;
    }

    .services-container{
        overflow-y: hidden;
        justify-content: center;
        flex-wrap: nowrap;
    }
    .service-card{
        flex: 0 0 200px;
        min-width: 200px;
        transform: translateX(0px) !important;
        opacity: 1 !important;
    }
    .modal-content {
        max-width: 70vw;
        max-height: 80vh;
        margin: 30vh auto;
    }

    p.activity-description {
        display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    }

    #modalInfo img {
        width: 80px;
        height: 80px;
    }
    ul li img{
        width: 60px !important;
        height: 60px !important;
    }

    .cta-contact {
    padding: 40px 60px;
  }
  .cta-contact h2 {
    font-size: 2rem;
  }
    .contact-phone {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
    .call-item img {
        width: 50px;
        height: 50px;
    }

    /* //////////               FOOTER          ////////////////**/

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-column {
        flex: 1;
        max-width: 300px;
    }
    footer .social-icons {
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 10px;
    }
}

@media (min-width: 1440px) {
    html {
        font-size: 120%; /* Pour les écrans larges */
    }

    h1 { font-size: 40px; }
    h2 { font-size: 32px; }

        #language-switcher {
        pointer-events: auto !important;
        z-index: 9999 !important;
    }

    #language-switcher select {
        pointer-events: auto !important;
        position: relative;
        z-index: 10000;
        font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    }
   
    .site-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        background-color: #f9f9f9;
    }
    .nav-links {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        width: 100%;
    }
  /*.topbar-mobile {
    display: none;
  }*/
    .logo {
        height: 180px;
        width: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto; /* n'étire pas le logo */
        margin-inline: 20px; /* espace horizontal */
    }

    .logo img {
        
        width: auto;
        aspect-ratio: 1 / 1;
    }

    .hamburger-menu {
        display: none !important;
    }

    
    .nav-links a {
        color: #005F73;
        font-size: 1.3rem;
        text-decoration: none;
        font-weight: bold;
    }
    .nav-left, .nav-right {
        height: 100px;
        display: flex;
        gap: 50px;
        flex: 1;
        align-items: center;
        justify-content: center;
    }

    .nav-right {
        justify-content: center;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .social-icons img {
        width: 24px; /* Ajuster selon le design */
    }
    .close-menu {
        display: none;
    }
    nav ul li a {
        font-size: var(--font-size-large);
    }

    #hero {
        padding: 100px 20px 20px 20px;
        width: 50%;
    }

    .services-container{
        overflow-x: hidden;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 80px;
        
    }
    .service-card{
        flex: 0 0 280px;
        min-width: 250px;
        transform: translateX(0px) !important;
        opacity: 1 !important;
    }
    
    /*////////////////      Activites          /////////////////////*/

    
    .activity {
        max-width: 400px; /* Ajuste la largeur sur les écrans larges */
    }
    .modal-content {
        max-width: 70vw;
        max-height: 80vh;
        margin: 30vh auto;
    }

    p.activity-description {
        display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    }
    #modalInfo img {
        width: 120px;
        height: 120px;
    }
    ul li img {
        width: 100px !important;
        height: 100px !important;
    }

    .cta-contact {
        padding: 40px 60px;
    }
    .cta-contact h2 {
        font-size: 2rem;
    }

    .contact-phone {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
    .call-item img {
        width: 80px;
        height: 80px;
    }

    /* //////////               FOOTER          ////////////////**/

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-column {
        flex: 1;
        max-width: 300px;
    }
    footer .social-icons {
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 10px;
    }
}

/* Animation d’apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
