/* 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 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/*site Buhanor*/
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  background: #E2E5DE;
  color: #3B260E;
}

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


header {
    color: #e7e7de ;
    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:#45261d;
}

.navbar img{
  width: 100px;
  height: auto;
  margin-left: 10px;
}
/* Liens de navigation */
.nav-links {
    list-style: none;
    margin: 5px 59px;
    padding: 0;
    display: flex;
    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:  #CE7650;
}

li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}
li:before {
    content: "•";
    color: #CE7650;
    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);
}

/* ===== Section Hero ===== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.0)), url('plus-belle-plage-senegal-cap-skirring-buhanor.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;
}
.hero h2{
    font-size: 1em;
    letter-spacing: 2px;
    color:  #45261d;
    text-align: justify;
}

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

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


.BU1 {
  width: 15%;
  min-width: 100px;
  max-width: 200px;
  margin: -10px;
}

.container0 {
 max-width: 1200px;
 margin: 0 auto;
 padding: 10px 40px;
}

 .header {
 text-align: center;
 margin-bottom: 10px;
}

 .header h2 {
 font-size: 2.2em;
 font-weight: bold;
 letter-spacing: 2px;
 margin-bottom: 10px;
 color: #333;
}

 .header p {
 font-size: 1.1em;
 color: #666;
 line-height: 1.5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.reach-out-button {
    background: #2c2c2c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: fit-content;
    margin: 10px 0;
}

.reach-out-button1 {
    background-color: #45261d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    width: fit-content;
    margin-top: 10px;
}

.BU1-CH {
  width: 10%;
  min-width: 100px;
  max-width: 200px;
  margin-bottom: -15px;
}

.BU-CH1{
  padding: 10px 40px;
  background-color: white;
  margin: 5px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #45261d;
  text-align: center;
}
.BU-CH1 h3{
    font-size: 1.8em;
}

.BU-CH1 h2{
    font-size: 1.4em;
}

.BU-CH1 p{
    font-size: 1em;
    text-align: center;
}
.equipements-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 300;
}

.equipements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    justify-items: center;
}

.equipement-card {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 40px 20px;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon {
    font-size: 40px;
    color: #666;
}

.equipement-text {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.BU2{
  padding: 30px 20px;
  background-color: #45261d;
  margin: 0px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: white;
  text-align: center;
}
.BU2 h2{
    font-size: 2.5em;
    font-family: "Revalia" ;
}
.BU2 p{
    font-size: 1.1em;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 9px auto;
    padding: 20px;
    background-color: #45261d;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-btn, .prev-btn, .next-btn {
    position: absolute;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn {
    top: 15px;
    right: 35px;
}

.close-btn:hover,
.close-btn:focus,
.prev-btn:hover,
.next-btn:hover {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev-btn {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.next-btn {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}


.footer {
    background-color: white;
    color: #45261d;
    font-family: "Revalia";
}

.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0px;
}
.footerr {
    text-align: center;
    padding: 2rem;
    background-color: #020c1b;
    color: #8892b0;
}

.footer-section {
    margin-bottom: 20px;
    text-align: center;
}

.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;
    text-align: justify;
}
.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: #CE7650;
}

.footer-section a {
    color: inherit;
    text-decoration: none;
}
.platform-icons {
    display: flex;
    align-items: center;
}

.platform-icons img {
    height: 40px;
    margin-right: 20px;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    width: 300px;
    height: auto;
    margin-right: 15px;
}

html {
    scroll-behavior: smooth;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 999px) {
    .equipement-card {
        width: 85%;
        height: 150px;
        padding: 25px 15px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color:#45261d;
        position: absolute;
        top: 70px;
        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;
    }
     .hero{
        height: 280px;
     }
     .header h2 {
         font-size: 1.2em;
     }
     .header p {
         font-size: 1em;
         line-height: 1.4;
     }

    .BU-CH1 h3{
        font-size: 1em;
        padding: 0 5px;
    }
    .BU-CH1 h2{
        font-size: 1.2em;
    }
    .BU-CH1 P{
        font-size: 0.9em;
        padding: 0 10px;
    }
    .BU1-CH {
      width: 10%;
      height: 21%;
     }
    .BU-CH1{
      padding: 5px 5px;
      margin: 5px auto;
    }
    .BU-CH1 p{
        font-size: 0.9em;
        text-align: center;
    }
    .BU2{
      padding: 15px 10px;
    }
    .BU2 h2{
        font-size: 1.6em;
    }
    .BU2 p{
        font-size: 1em;
    }
     .gallery-container {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        width: 100%;
        text-align: center;
    }
    .platform-icons {
        justify-content: center;
    }
    .footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
     .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
     }
     .equipements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
     }
     .equipement-card {
        width: 85%;
        height: 150px;
        padding: 25px 15px;
     }
     .icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
     }
     .icon {
        font-size: 30px;
     }
     .equipement-text {
        font-size: 14px;
     }
}

/* ========================================= */
/* ==   STYLES TABLEAU COMPARATIF CHAMBRES == */
/* ========================================= */

.chambre-comparatif {
    background-color: #ffffff;
    padding: 30px 20px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.comparatif-titre {
    text-align: center;
    font-size: 1.8em;
    color: var(--couleur-primaire-foncee);
    margin-bottom: 25px;
    font-family: "Revalia", sans-serif;
}

.table-responsive-comparatif {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chambre-comparatif table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: #fff;
}

.chambre-comparatif th,
.chambre-comparatif td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    vertical-align: middle;
}

.chambre-comparatif th {
    background-color: var(--couleur-primaire-foncee);
    color: white;
    font-weight: 600;
    font-size: 0.95em;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.5px;
    border-color: var(--couleur-primaire-foncee);
}

.chambre-comparatif td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--couleur-texte-sombre);
    background-color: #f8f8f8;
    padding-left: 20px;
}
.chambre-comparatif td:first-child i {
    margin-right: 8px;
    color: var(--couleur-accent-marron);
    width: 20px;
    text-align: center;
}

.chambre-comparatif tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

.chambre-comparatif .oui {
    color: #28a745;
    font-weight: bold;
}
.chambre-comparatif .non {
    color: #dc3545;
}

.chambre-comparatif tfoot td {
    border: none;
    padding-top: 20px;
    background-color: #fff;
}

.chambre-comparatif .reach-out-button {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: var(--couleur-accent-marron);
    color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
    margin: 0;
}

.chambre-comparatif .reach-out-button:hover {
    background-color: var(--couleur-primaire-foncee);
}

@media (max-width: 768px) {
    .chambre-comparatif {
        padding: 20px 10px;
        margin: 20px auto;
    }
    .comparatif-titre {
        font-size: 1.5em;
    }
    .chambre-comparatif th,
    .chambre-comparatif td {
        padding: 10px 8px;
        font-size: 0.85em;
    }
    .chambre-comparatif table {
        min-width: auto;
    }
     .chambre-comparatif td:first-child {
        padding-left: 10px;
     }
     .chambre-comparatif .reach-out-button {
        font-size: 0.8em;
        padding: 6px 10px;
    }
}

/* ========================================= */
/* == NOUVELLE PRÉSENTATION ÉPURÉE CHAMBRES == */
/* ========================================= */

.chambres-presentation-epuree {
    padding: 60px 15px;
}

.chambre-epuree {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ffffff;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.chambre-epuree.reverse {
    flex-direction: row-reverse;
}

.chambre-epuree-images {
    flex: 1 1 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 400px;
}

.chambre-epuree-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chambre-epuree-details {
    flex: 1 1 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.chambre-epuree-details .chambre-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}
.chambre-badge.premium { background-color: #c8a2c8; }
.chambre-badge.confort { background-color: #6495ED; }
.chambre-badge.eco { background-color: #90EE90; }
.chambre-badge.jour { background-color: #FFD700; color: #333; }
.chambre-badge.bar-interieur { background-color: #A0522D; }
.chambre-badge.bar-plage { background-color: #4682B4; }

.chambre-epuree-details h2 {
    font-family: "Revalia", sans-serif;
    font-size: 2em;
    color: var(--couleur-primaire-foncee);
    margin-bottom: 5px;
}

.chambre-epuree-details h3 {
    font-size: 1.1em;
    color: var(--couleur-accent-marron);
    margin-bottom: 20px;
    font-weight: 500;
}

.chambre-epuree-details p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.chambre-epuree-caracteristiques {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 0.85em;
    color: #666;
}

.chambre-epuree-caracteristiques span {
    display: inline-flex;
    align-items: center;
    background-color: #f8f8f8;
    padding: 6px 12px;
    border-radius: 5px;
}

.chambre-epuree-caracteristiques i {
    margin-right: 8px;
    color: var(--couleur-accent-marron);
    width: 16px;
    text-align: center;
}

.chambre-epuree-prix {
    margin-bottom: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.chambre-epuree-prix strong {
    font-size: 2em;
    font-weight: bold;
    color: var(--couleur-primaire-foncee);
    margin-right: 5px;
}

.chambre-epuree-prix small {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
}

.bouton-reserver-epure {
    display: inline-block;
    background-color: var(--couleur-accent-marron);
    color: white;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.bouton-reserver-epure:hover {
    background-color: var(--couleur-primaire-foncee);
    transform: translateY(-2px);
}

/* ========================================= */
/* ==   SECTION DETENTE IMMERSIVE (BARS)   == */
/* ========================================= */

.section-detente {
    padding: 60px 15px;
}

.section-titre-detente {
    text-align: center;
    font-size: 2em;
    color: var(--couleur-primaire-foncee);
    margin-bottom: 40px;
    font-family: "Revalia", sans-serif;
    position: relative;
    padding-bottom: 15px;
}

.section-titre-detente::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--couleur-texte-clair);
    border-radius: 2px;
}

.detente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.carte-detente {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carte-detente-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carte-detente:hover .carte-detente-bg {
    transform: scale(1.05);
}

.carte-detente-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.carte-detente-text h3 {
    font-family: "Revalia", sans-serif;
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.carte-detente-text p {
    font-size: 1em;
    line-height: 1.6;
    max-width: 80%;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* === CORRECTIONS RESPONSIVE === */
@media (max-width: 992px) {
    .chambre-epuree,
    .chambre-epuree.reverse {
        flex-direction: column;
    }

    .chambre-epuree-images {
        height: 300px; /* Hauteur ajustée pour tablettes */
        width: 100%;
    }

    .chambre-epuree-details {
        padding: 30px;
    }
     .chambre-epuree-details h2 {
        font-size: 1.8em;
     }
}

@media (max-width: 768px) {
    .section-titre, .section-titre-detente {
        font-size: 1.6em;
    }
}

@media (max-width: 576px) {
    .chambres-presentation-epuree {
        padding: 30px 10px;
    }
    .chambre-epuree-images {
        grid-template-columns: 1fr 1fr; /* On garde les deux colonnes */
        height: 200px; /* Hauteur réduite pour mobile */
    }
    .chambre-epuree-details {
        padding: 20px;
    }
    .chambre-epuree-details h2 {
        font-size: 1.6em;
    }
     .chambre-epuree-prix strong {
        font-size: 1.8em;
     }
     .bouton-reserver-epure {
        width: 100%;
        text-align: center;
     }
}