html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   STYLE SPECIFIQUE HOME PAGE (HERO SECTION & TRANSPARENCE NAVBAR)
   ========================================================================== */

/* --- 1. HERO SECTION --- */

/* Structure de l'image de fond */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  background-image: url("../images/home_img.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Filtre sombre pour rendre le texte lisible */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Conteneur du texte */
.hero-container {
  max-width: 1600px;
  width: 100%;
  height: 100%;
  padding: 0 50px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* On aligne le conteneur à gauche au lieu du centre */
  align-items: flex-start;
  text-align: left;
  color: #ffffff;
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  /* On aligne le contenu interne à gauche */
  align-items: flex-start;
}

/* Grand titre */
.hero-title {
  font-size: 85px; /* Un peu plus grand pour coller à la maquette */
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

/* Style spécifique pour l'italique dans le titre */
.hero-title em {
  font-style: italic;
}

/* Bouton "Carnet de voyage" */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  /* Couleur un peu plus terne pour matcher avec votre image cible */
  background-color: #a8815c;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-family: var(--font-main); /* On utilise la police Serif élégante */
  letter-spacing: 1px;
  /* J'ai supprimé text-transform: uppercase pour garder la casse normale */
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #8c6a4a;
}

/* Lien bas de page "Decouvrez notre univers" */
.fixed-scroll-link {
  position: absolute;
  bottom: 40px;
  right: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fixed-scroll-link span {
  font-size: 1.2em;
}

/* --- 2. TRANSPARENCE NAVBAR (HOME PAGE UNIQUEMENT) --- */

.home-page .navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 100;
}

.home-page .navbar-nav > li > a,
.home-page .dropdown-toggle,
.home-page .icon-btn {
  color: #ffffff;
}

.home-page .navbar-nav > li > a.active {
  border-bottom-color: #ffffff;
}

.home-page .arrow-icon,
.home-page .navbar-icons svg {
  stroke: #ffffff;
}

.home-page .kebab-icon {
  fill: #ffffff;
  stroke: none;
}

.home-page .navbar-logo img {
  filter: brightness(0) invert(1);
}

/* --- 3. RESPONSIVE --- */

@media (max-width: 1450px) {
  /* Lien de scroll sur tablette */
  .fixed-scroll-link {
    bottom: 20px;
    right: 20px;
    font-size: 15px;
  }

  /* Menu mobile sur la page d'accueil transparente */
  .home-page .burger-btn svg {
    stroke: #ffffff;
  }

  .home-page .navbar-nav {
    background-color: var(--bg-dropdown);
  }

  .home-page .navbar-nav > li > a,
  .home-page .dropdown-toggle {
    color: var(--text-main);
  }

  .home-page .arrow-icon {
    stroke: var(--text-main);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 14px;
  }

  /* Lien de scroll sur mobile (centre en bas) */
  .fixed-scroll-link {
    font-size: 14px;
    right: 50%;
    transform: translateX(50%);
    bottom: 15px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   SECTION "DÉCOUVREZ NOTRE UNIVERS" (ABOUT)
   ========================================================================== */

.about-section {
  padding: 100px 50px;
  background-color: var(--bg-color); /* Utilise le fond beige global */
}

/* Grille 50/50 pour Desktop */
.about-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* --- COLONNE GAUCHE (IMAGES) --- */
.about-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* Garde une proportion harmonieuse */
}

.img-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: auto;
  z-index: 1;
  object-fit: cover;
}

.img-front {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: auto;
  z-index: 2;
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1); /* Légère ombre pour détacher l'image */
}

/* --- COLONNE DROITE (TEXTES) --- */

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Garde le texte et la carte alignés à gauche */
}

/* On cible spécifiquement le bouton à l'intérieur pour le centrer */
.about-content .btn-primary {
  align-self: center; /* Centre uniquement le bouton */
  margin-top: 10px;
}

.about-title {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 15px;
}

.about-title span {
  font-size: 48px;
  display: block;
}

.about-subtitle {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 400;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text {
  font-family:
    "Roboto", sans-serif; /* Assurez-vous d'utiliser une police lisible */
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 40px;
}

/* --- CARTE DES HORAIRES --- */
.schedule-card {
  background-color: #fdfbf7; /* Beige très clair/blanc cassé */
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.schedule-title {
  font-family: var(--font-main);
  color: #c49d79; /* Doré/Marron de votre thème */
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}

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

.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-family: "Roboto", sans-serif;
  font-size: 14.5px;
  color: #333333;
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-list .closed {
  color: #d35400; /* Rouge/Orange discret pour "Fermé" */
  font-weight: 500;
}

.schedule-footer {
  margin-top: 20px;
  text-align: center;
}

.schedule-footer p {
  font-family: "Roboto", sans-serif;
  font-size: 13.5px;
  color: #555555;
  margin-bottom: 5px;
  font-style: italic;
}

.schedule-footer a {
  color: #c49d79;
  font-weight: 600;
  text-decoration: none;
}

.schedule-footer .schedule-note {
  font-size: 12.5px;
  color: #888888;
  margin-top: 15px;
  line-height: 1.5;
}

/* --- RESPONSIVE POUR LA SECTION ABOUT --- */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr; /* Passage sur une seule colonne */
    gap: 50px;
  }

  .about-images {
    aspect-ratio: 1 / 1;
    max-width: 600px;
    margin: 0 auto;
  }

  .about-section {
    padding: 60px 30px;
  }
}

@media (max-width: 768px) {
  .about-title {
    font-size: 28px;
  }
  .about-title span {
    font-size: 38px;
  }
  .schedule-card {
    padding: 25px 20px;
  }
}

/* ==========================================================================
   SECTION "NOS PRESTATIONS"
   ========================================================================== */

.services-section {
  padding: 120px 50px;
  background-color: #ffffff; /* Fond blanc pour contraster avec la section beige au-dessus */
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- EN-TÊTE (Titre / Texte) --- */
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.services-title {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.2;
}

.services-intro {
  font-family: "Roboto", sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: #666666;
}

.services-intro p {
  margin-bottom: 20px;
}

.services-intro p:last-child {
  margin-bottom: 0;
}

/* --- GRILLE DES PRESTATIONS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Le trait supérieur au-dessus de toutes les icônes */
  border-top: 1px solid #e5e5e5;
}

/* Structure d'une carte (Lien cliquable) */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 40px;
  text-decoration: none;
  color: var(--text-main);
  border-right: 1px solid #e5e5e5; /* Le trait vertical entre les colonnes */
  transition: background-color 0.3s ease;
}

/* Retire la bordure droite du tout dernier élément */
.service-card:last-child {
  border-right: none;
}

/* Effet au survol */
.service-card:hover {
  background-color: #faf9f6;
}

.service-icon {
  height: 65px;
  margin-bottom: 30px;
}

.service-icon img {
  height: 100%;
  width: auto;
  display: block;
}

.service-name {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* La flèche en bas */
.service-arrow {
  margin-top: auto; /* Pousse la flèche tout en bas de la carte */
  font-size: 24px;
  font-weight: 300;
  color: var(--text-main);
  transition: transform 0.3s ease;
}

/* Animation de la flèche au survol de la carte */
.service-card:hover .service-arrow {
  transform: translateX(10px);
}

/* --- RESPONSIVE PRESTATIONS --- */
@media (max-width: 1200px) {
  .services-header {
    gap: 40px;
  }
  .service-card {
    padding: 40px 20px;
  }
  .service-name {
    font-size: 22px;
  }
}

@media (max-width: 992px) {
  .services-header {
    grid-template-columns: 1fr; /* Le texte passe sous le titre */
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes au lieu de 4 */
  }

  /* Ajustement des bordures pour 2 colonnes */
  .service-card {
    border-bottom: 1px solid #e5e5e5;
  }
  .service-card:nth-child(2n) {
    border-right: none; /* Enlève la bordure à droite du 2ème et 4ème élément */
  }
}

@media (max-width: 600px) {
  .services-section {
    padding: 80px 30px;
  }

  .services-title {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
  }

  /* Ajustement des bordures pour 1 colonne */
  .service-card {
    border-right: none; /* Plus aucune bordure à droite */
    padding: 30px 0;
  }
}

/* ==========================================================================
   SECTION "L'EXPÉRIENCE MAHANA" (GALERIE)
   ========================================================================== */

.experience-section {
  padding: 100px 0; /* Pas de padding gauche/droite pour que la galerie respire */
  background-color: var(--bg-color); /* On garde le fond beige du site */
  text-align: center;
}

/* --- TEXTES DE L'EN-TÊTE --- */
.experience-header {
  max-width: 800px; /* Limite la largeur pour que le texte revienne à la ligne proprement */
  margin: 0 auto 60px auto;
  padding: 0 30px;
}

.experience-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
  margin-bottom: 20px;
}

.experience-title {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 20px;
}

.experience-text {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 30px;
}

.experience-text strong {
  color: var(--text-main);
  font-weight: 500;
}

/* --- SIGNATURE INGRID --- */
.experience-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.experience-signature strong {
  font-family: var(--font-main);
  font-size: 20px;
  color: var(--text-main);
}

.experience-signature span {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #999999;
}

/* --- GALERIE PHOTO (ASymétrique) --- */
.experience-gallery {
  display: flex;
  justify-content: center;
  /* L'astuce magique : centrer verticalement des images de hauteurs différentes */
  align-items: center;
  gap: 30px;
  padding: 0 50px;
  width: 100%;

  /* Permet le défilement horizontal sur mobile */
  overflow-x: auto;
  scrollbar-width: none; /* Cache la barre de défilement (Firefox) */
}

.experience-gallery::-webkit-scrollbar {
  display: none; /* Cache la barre de défilement (Chrome/Safari/Edge) */
}

.gal-img {
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex-shrink: 0; /* Empêche les images de s'écraser sur petit écran */
  transition: transform 0.4s ease;
}

.gal-img:hover {
  transform: translateY(-5px); /* Léger mouvement au survol */
}

/* Tailles variables pour recréer le style de la maquette */
.img-small {
  width: 280px;
  height: 220px;
}

.img-tall {
  width: 320px;
  height: 480px;
}

.img-medium {
  width: 350px;
  height: 300px;
}

/* --- RESPONSIVE GALERIE --- */
@media (max-width: 1024px) {
  .experience-title {
    font-size: 34px;
  }
  .experience-gallery {
    justify-content: flex-start; /* Aligne au bord gauche pour inciter au scroll */
    padding: 0 30px;
  }
  /* On réduit un peu les dimensions sur tablette */
  .img-tall {
    height: 400px;
    width: 280px;
  }
  .img-medium {
    height: 260px;
    width: 300px;
  }
  .img-small {
    height: 200px;
    width: 240px;
  }
}

@media (max-width: 768px) {
  .experience-title {
    font-size: 28px;
  }
  .experience-gallery {
    gap: 15px;
    padding: 0 20px;
  }
  /* Sur mobile, on uniformise les hauteurs pour que le carrousel horizontal soit fluide */
  .gal-img {
    width: 260px !important;
    height: 320px !important;
  }
}

/* ==========================================================================
   SECTION "TÉMOIGNAGES" (CARROUSEL D'AVIS)
   ========================================================================== */

.reviews-section {
  /* On utilise le même fond foncé que le footer pour une belle continuité */
  background-color: #1a1614;
  padding: 100px 0;
  color: #ffffff;
  overflow: hidden; /* Empêche le débordement horizontal sur tout le site */
}

/* --- EN-TÊTE --- */
.reviews-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.reviews-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c49d79; /* Marron/Doré */
  margin-bottom: 20px;
}

.reviews-title {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
}

/* --- CARROUSEL --- */
.reviews-carousel {
  display: flex;
  gap: 30px;
  padding: 20px 50px 60px 50px;

  /* Propriétés pour le défilement horizontal fluide */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.reviews-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* --- CARTES D'AVIS --- */
.review-card {
  /* L'élément se "clipse" au centre lors du défilement */
  scroll-snap-align: center;

  /* Dimensions fixes pour garantir l'aspect carrousel */
  flex: 0 0 auto;
  width: 400px;

  background-color: #24201e; /* Légèrement plus clair que le fond pour détacher la carte */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.quote-icon {
  font-family: var(--font-main);
  font-size: 40px;
  color: #c49d79;
  line-height: 1;
  margin-bottom: 20px;
}

.review-text {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #d1cfcd;
  flex-grow: 1; /* Pousse l'auteur vers le bas si les textes sont de tailles différentes */
  margin-bottom: 30px;
}

.review-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.review-author strong {
  font-family: var(--font-main);
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 5px;
}

.review-author span {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #888888;
}

/* --- RESPONSIVE CARROUSEL --- */
@media (max-width: 768px) {
  .reviews-carousel {
    padding: 20px 30px 40px 30px;
    gap: 20px;
  }

  .review-card {
    width: 300px; /* Cartes plus petites sur mobile */
    padding: 30px 25px;
  }

  .reviews-title {
    font-size: 32px;
  }
}
