@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body{
    background-color: #F3F4F6;
}
header{
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow-x: hidden; /* pas de scroll horizontal */
}
section{
    padding: 70px 8%;
}
.logo{
    font-weight: bold;
    font: 20px;
}
.logo-div{
    width: 30%;
}
.logo span{
    color: #F6D238;
}

ul{
    display: flex;
    justify-content: center;
    width: 40%;
    list-style: none;
    flex-wrap: nowrap;
    overflow: hidden;
}
ul li{
    padding: 10px 25px;
}
ul li a{
    text-decoration: none;
    color: #000000;
    transition: 0.5s;
    font-size: 14px;
}
ul li a:hover{
    background-color: #FACC15;
    padding: 15px;
    color: black;
    font-size: bold;
    border-radius: 20px;
}
.btn-header{
    width: 30%;
    display: flex;
    justify-content: end;
}
.btn{
    color: #000;
    background-color: #FACC15;
    border: 2px solid #FACC15 ;
    padding: 15px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.1) ;
    transition: 0.5s;
}
.btn:hover{
    background-color: #f1f1f1;
    transform: rotate(5deg);
}
.btn i{
    margin-right: 5px;
}

.home-section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.home-section .left {
    position: relative;
    height: 500px;
    width: 600px;
    display: flex;
    justify-content: center;
}
.home-section .left img{
    position: absolute;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow:5px 5px 30px rgba(0,0,0,0.1);
    border-radius: 2rem;
    max-width: 100%;
}
.home-section .left-image-1{
    width: 450px;
    height: 500px;
    transition: 0.5s;
}
.home-section .left-image-1:hover{
    transform: scale(1.1) rotate(10deg);
}
.home-section .left-image-2{
    width: 350px;
    height: 350px;
    top: 150px;
    left: 250px;
    transition: 0.5s;
}
.home-section .left-image-2:hover{
    transform: scale(1.1) rotate(-10deg);
}

.right{
    margin-left: 100px;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.righty{
    text-align: left;
}
.right .text-right {
    color: #FACC15;
    font-weight: bold;
}
.right h1{
    margin: 20px 0;
    font-size: 35px;
    font-weight: bold;
    line-height: 50px;
}
.right p{
    margin-bottom: 25px;
    color: #6f6f6f;
    width: 100%;
    font-size: 15px;
    
}
.righty p{
    margin-bottom: 25px;
    color: #6f6f6f;
    width: 100%;
    font-size: 15px;
    
}
.rightx p{
    margin-bottom: 25px;
    color: #323232;
    width: 100%;
    font-size: 14px;

    
}
.see-video{
    border: 0;
    display: flex;
    background-color: transparent;
    align-items: center;
    cursor: pointer;
}
.buttons{
    display: flex;
    align-items: center;
}
.see-video span{
    margin-left: 25px;
    font-weight: bold;
}
.video-bg{
    margin-left: 20px;
    background: url(image/img3.jpg);
    height: 50px;
    width: 50px;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    position: relative;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.1) ;
}
.play-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.1) ;
    right: -20px;
    transform: translate(-20% -50%);
}
.play-btn i{
    color: #CF0711;
}

.desc-button {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}
.desc-button .buttons button{
    background-color: #FACC15;
    border: 0;
    cursor: pointer;
    border: 2px solid #FACC15;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}
.desc-button .buttons button:hover{
    background-color: #F1F1F1;
    transform: rotate(10deg);
} 
.second{
    margin-left: 20px;
}
.desc-button .button button i {
    font-size: 25px;
}

.destinations .small-desc{
    color:#999;
    width: 60%;
    font-size: 14px;
}
.destinations .gallerie {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.destinations .gallerie .image {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    height: 350px;
    border-radius: 1rem;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    padding: 20px;
}
.destinations .gallerie .image img{
    object-fit:cover;
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    transition: 0.5s;
}
.destinations .gallerie .description{
    transform: translateY(350px);
    background-color: #FFF;
    padding: 20px;
    text-align: center;
    transition: 0.5s;
}
.destinations .gallerie .description h1{
    font-size: 20px;
    margin-bottom: 10px;
}
.destinations .gallerie .description p{
    font-size: 14px;
    color: #999;
}
.destinations .gallerie .image:hover .description {
    transform: translateY(-120px);
}
.destinations .gallerie .image:hover img {
    transform: translateY(-120px);
}

footer{
    background-color: #f1f1f1;
    border-radius: 60px 60px 0 0;
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
footer .right-footer{
    color: #999;
    font-size: 14px;
}
footer .right-footer span{
    color: #FACC15;
}

/* --- MEDIA QUERIES --- */



/* Home section en colonne */
@media (max-width: 1100px) {
    .home-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 10px;
    }
    .right {
        margin-left: 0;
        width: 100%; /* texte prend plus de place */
    }
    .right p {
        width: 90%;
    }
    .rightx p {
        width: 90%;
    }
    .home-section .left {
        width: auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .home-section .left img {
        position: relative;
        max-width: 250px;
        height: auto;
    }
    .home-section .left-image-2 {
        top: 0;
        left: 0;
        margin-left: 20px;
    }
}
@media (max-width: 1200px) {
    .destinations .gallerie .image {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}


@media (max-width: 1900px) {
    .rightx p {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .destinations .gallerie .image {
        flex: 1 1 100%;
        max-width: 100%;
    }

}

/* === Corrections menu responsive === */
@media (max-width: 1125px) {
    ul {
        width: auto;
        gap: 10px; /* espace entre les liens */
    }

    ul li {
        padding: 5px 10px; /* réduit l’espace interne */
    }

    ul li a {
        font-size: 13px; /* réduit légèrement la taille */
    }
}
/* === Corrections menu responsive === */
@media (max-width: 1000px) {
    ul {
        width: auto;
        gap: 10px; /* espace entre les liens */
    }

    ul li {
        padding: 5px 10px; /* réduit l’espace interne */
    }

    ul li a {
        font-size: 13px; /* réduit légèrement la taille */
    }
}

@media (max-width: 800px) {
    ul {
        flex-wrap: wrap; /* au lieu de se superposer ou déborder */
        justify-content: center;
        width: 100%;
        gap: 10px; /* espace entre les liens */
    }

    ul li {
        padding: 3px 7px; /* réduit l’espace interne */
    }

    ul li a {
        font-size: 10px; /* réduit légèrement la taille */
    }
}


/* Menu burger */
.menu-toggle {
    display: none;
    font-size: 25px;
    cursor: pointer;
    color: #333;
    z-index: 1001; /* au-dessus des images */
    position: relative;
}

/* Menu mobile */
@media (max-width: 768px) {
    ul {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #fff;
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000; /* derrière le burger mais devant le reste */
    }

    ul li {
        padding: 10px;
    }

    ul li a {
        font-size: 16px;
    }

    .menu-toggle {
        display: block;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Pour mobile */
@media (max-width: 768px) {
    /* Cacher la première image */
    .home-section .left-image-1 {
        display: none;
    }

    /* Centrer la deuxième image */
    .home-section .left-image-2 {
        position: relative; /* au lieu d'absolue */
        top: 0;
        left: 0;
        margin: 0 auto;
        display: block;
    }
}

/* Mobile - centrer le bouton Réserver dans le header */
@media (max-width: 768px) {
    .btn-header {
        width: 100%;
        justify-content: center; /* centre le bouton */
        margin-top: 10px; /* un petit espace au-dessus */
    }

    .btn-header .btn {
        padding: 10px 20px; /* bouton moins gros sur mobile */
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    section {
        padding-top: 10px; /* réduit de 20px par rapport à avant */
    }
}


/* ===== CARROUSEL MOBILE OPTIMISÉ ===== */
@media (max-width: 768px) {
  .destinations .gallerie {
    display: flex !important;       /* garder le slider horizontal */
    flex-wrap: nowrap !important;   /* pas de retour à la ligne */
    overflow: hidden !important;    /* cacher les slides hors écran */
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .destinations .gallerie .image {
    flex: 0 0 100% !important;      /* chaque slide prend 100% du conteneur */
    max-width: 100% !important;
    height: auto !important;        /* hauteur automatique pour respecter proportions */
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .destinations .gallerie .image img {
    width: 100% !important;         /* image prend toute la largeur */
    height: auto !important;        /* respect proportion */
    display: block !important;
    object-fit: contain !important; /* ajuste image sans couper ni dépasser */
    border-radius: 1rem !important;
  }

  /* description visible au-dessus de l’image */
  .destinations .gallerie .description {
    transform: translateY(0) !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    text-align: center !important;
    background-color: rgba(255,255,255,0.8) !important;
    border-radius: 1rem !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
  }

  /* boutons navigation visibles et au-dessus */
  .desc-button .buttons {
    position: relative !important;
    z-index: 1002 !important;
  }
}

/* --- CARROUSEL MOBILE : points sous le slider --- */
@media (max-width: 768px) {
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px; /* espace entre le carrousel et les points */
  }

  .carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    transition: all 0.3s;
    cursor: pointer;
  }

  .carousel-dots .dot.active {
    width: 14px;
    height: 14px;
    background-color: #FACC15; /* couleur du point actif */
  }
}

