:root {
    --color-site-1: #1a326e; /* Bleu principal */
    --color-site-2: #9fbd31; /* Vert accent */
    --color-site-3: #1A2F68; /* Bleu foncé */

    /* Typographie */
    --font: "Poppins", sans-serif;

    /* UI */
    --border-radius: 10px;

    /* Couleurs système */
    --color-border: #C7DBEB;
    --text-color: #232323;

    /* Layout */
    --container-max-width: 1420px;
}

section {
    padding: 3rem 0;
}

section:nth-child(even) {
    background-color: #f2f4f5;
}

.title-section {
    padding: 0 0 35px 0;
}

.title-section h2 {
    color: var(--color-site-1);
    font-weight: 500;
    font-family: var(--font);
    font-size: 35px;
    position: relative;
    display: inline-block;
}

.title-section h2:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 14px auto;
    width: 30%;
    height: 3px;
    background: var(--color-site-2);
}

.title-section h2:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 15px auto;
    width: 90%;
    height: 1px;
    background: #999999;
}

.title-section h2 span {
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font);
    font-size: 35px;
}

.no-padding {
    padding: 0
}

.scrolltop-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    text-align: center;
    background-color: var(--color-site-2) !important;
    color: #fff;
    padding: 0;
    z-index: 999;
    padding: .375rem 0.75rem !important;
    border-radius: var(--border-radius);
}

.scrolltop-btn:hover {
    opacity: .8;
}

.btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-list {
    background-color: var(--color-site-2);
    color: #ffffff;
    font-weight: 300;
  
    font-size: 16px;
    text-transform: uppercase;
}

.btn-list:hover {
    background-color: #fff;
    color: var(--color-site-2);
    border: 1px solid var(--color-site-2);
}

.owl-theme .owl-dots .owl-dot span {
    background-color: var(--color-site-1);
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    border: 1px solid var(--color-site-1);
}


/***banner**/

/* --- Conteneur Principal du Slider --- */
#banner-module, 
#banner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Suppression des paddings Bootstrap si nécessaire */
.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* --- Gestion Responsive des Images --- */
#banner-slider .item a {
    display: block;
    width: 100%;
}

#banner-slider .item img {
    width: 100%;
    /* Ajuste la hauteur max pour éviter que l'image ne prenne tout l'écran */
    height: 60vh; /* Recommandé : prend 60% de la hauteur de l'écran */
    object-fit: cover; /* Recadre l'image proprement sans la déformer */
    object-position: center; /* Reste centré sur le paysage */
    display: block;
}

/* --- Ajustements pour le Mobile --- */
@media (max-width: 768px) {
    #banner-slider .item img {
        height: 40vh; /* Hauteur réduite sur mobile pour un meilleur rendu */
    }
}

/* --- Personnalisation des Points (Dots) de Navigation --- */
.owl-theme .owl-dots {
    position: absolute;
    bottom: 20px; /* Aligne les points juste au-dessus du bas de l'image */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0 !important;
    z-index: 10;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #fff !important; /* Couleur blanche pure pour le point actif */
    transform: scale(1.2);
}

/****promo***/

#voyages .item,
#promo .item {
    margin: 5px 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: var(--border-radius);
    overflow: hidden; /* Pour conserver l'arrondi sur les images */
}

#voyages .details,
#promo .details {
    background-image: linear-gradient(0deg, #161714 27%, rgba(22, 23, 20, 0) 100%);
    bottom: 0;
    display: block;
    padding: 10px;
    position: absolute;
    width: 100%;
    z-index: 1032;
    color: white;
}

#voyages .card-overlay,
#promo .card-overlay {
    position: relative;
    z-index: 3;
    background-color: var(--color-site-1);
    color: #fff;
    text-align: center;
    margin-top: -2px;
    padding: 10px 0;
}

#voyages h3,
#promo h3 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 400;

}

#voyages .card-body,
#promo .card-body {
    padding: 10px;
    background-color: #ffffff;
}

.img-promo {
    height: 330px !important;
    object-fit: cover;
}

.hotel-title {
    font-size: 17px;
    color: var(--text-color);
    font-weight: 500;
 
}

.localisation-hotels {
    color: #6e706f;
    font-weight: 400;
    
}

i.fa-star {
    color: #ea7706;
    font-size: 9px;
}

.rating {
    margin-left: 7px;
}


/****recommande***/

#hotels .panel-body {
    padding: 0;
}

#hotels .panel-heading {
    background-color: var(--color-site-1);
    padding: 0;
    border-radius: 0;
}

#hotels .panel-heading li.active>a {
    border-bottom: 2px solid var(--color-site-2);
    background: transparent;
    color: #fff;
}

#hotels .panel-heading li.active>a::before {
    position: absolute;
    content: '';
    -webkit-transform: rotate(180deg);
    top: 43px;
    right: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-site-2);
}

#hotels .nav-tabs {
    border-bottom: none;
    margin-bottom: -5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#hotels .nav-tabs>li>a {
    color: white;
    font-weight: 400;
    border: none;
    border-radius: 0;
    font-size: 15px;
}

#hotels.nav-tabs>li>a:hover {
    border-color: none;
}

#hotels .nav-tabs li.active {
    background-color: none !important;
    border: none;
    border-bottom: 3px solid var(--color-site-2);
    color: #fff;
}

#hotels .nav>li>a:hover,
#hotels .nav>li>a:focus {
    background-color: transparent;
}

#hotels .nav-tabs>li.active>a,
#hotels .nav-tabs>li.active>a:hover,
#hotels .nav-tabs>li.active>a:focus {
    color: var(--color-site-2);
    cursor: default;
    background-color: transparent;
    border: none;
    border-bottom-color: transparent;
}

@media only screen and (min-width:992px) {
    #hotels .flex-row {
        display: flex;
        gap: 15px;
    }
}

#hotels .flex-row>.col {
    flex: 33%;
}

#hotels .tab-content {
    padding: 25px 0 25px 0;
}

#hotels .card-hotel {
    margin-bottom: 10px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

#hotels .card-hotel .image img {
    display: block;
    width: 100%;
}

#hotels .card-hotel .image .gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background-image: linear-gradient(180deg, rgba(20, 47, 109, 0) 0%, var(--color-site-3) 100%);
}

#hotels .card-hotel .details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

#hotels .card-hotel .details h3 {
    margin: 0;
    padding: 0;
    margin-bottom: 2px;
    font-size: 19px;
}

#hotels .card-hotel .details h3 a {
    color: #fff;
    zoom: 1;
    margin-bottom: 5px;
    font-size: 16px;
}

#hotels .card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    z-index: 55;
}

#hotels .card-hotel .localisation-hotels {
    color: #fff;
}

#hotels .card-img-overlay h3 {
    margin: 5px 0;
}

.text-primary-btn {
    background-color: var(--color-site-1);
    color: #ffffff;
    font-weight: 300;
    font-family: var(--font);
    font-size: 16px;
    padding: .375rem 1.75rem;
    border-radius: var(--border-radius);
}


/***circuits**/

.bg-white {
    background-color: #ffffff;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.img-circuits {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.card-overlay-circuits {
    position: relative;
    padding: 10px 0;
    background-color: var(--color-site-1);
    color: #fff;
    text-align: center;
    margin-top: -10%;
}

@media (max-width: 767px) {
    .card-overlay-circuits {
        margin-top: 0;
    }
    .img-circuits {
        height: auto;
    }
    #circuits .card-body {
        padding: 10px;
    }
    #circuits .card-body p {
        display: flex;
    }
}

.card-overlay-circuits h3 {
    margin: 0;
}

.card.card-circuits {
    -webkit-box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

#circuits .align-medium {
    display: flex;
    align-items: center;
}

.card-circuits .card-body {
    padding: 0 10px 0 20px;
}

.circuits-title {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font);
}

.details-voyage,
#circuits .card-body p {
    color: #6e706f;
    font-weight: 400;
    font-family: var(--font);
}

#circuits .mb {
    margin-bottom: 30px;
}


/****voyages***/

.icon-calendar {
    width: 20px !important;
    margin-right: 5px;
}

.details-voyage {
    display: inline-flex;
}

.voyage-title {
    margin-top: 20px;
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font);
}

.img-voyages {
    height: 320px;
    object-fit: cover;
}


/***search***/

#search .container.bg-blue {
  background-color: #63769c !important; /* Couleur bleu-gris ardoise exacte de la maquette */
  border-radius: 12px;
  padding: 20px 25px !important;
  font-family: var(--font), 'Poppins', sans-serif;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: -140px;
  z-index: 999;
}

@media only screen and (min-width: 1200px) {
 
    #search .form {
        position: absolute;
        margin-top: -120px;
        z-index: 3;
        width: 85%;
    }
}

@media only screen and (min-width: 992px) {
    #search .container {
        width: 85%;
        max-width: var(--container-max-width);
        margin: auto;
    }
    #search .form {
        position: absolute;
        margin-top: -120px;
        z-index: 3;
        width: 85%;
    }
}

#search .form-group {
    margin-bottom: 0;
 
}

#search label {
   display: block;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px !important;
  padding: 0;
  height: auto;
}
.container.bg-blue .form-group,
.container.bg-blue .input-group,
.container.bg-blue .typeahead__container {
  width: 100% !important;
  margin: 0 !important;
}



#search .form-control,
#search .read-only {
    border: 1px solid var(--color-border);
    color: #fff;
    box-shadow: none;
    background-color: transparent;
    border-radius: 6px;
}

/* --- BOUTON RECHERCHE VERT VERT --- */
.container.bg-blue #btnSearch {
  height: 52px !important;
  background: var(--color-site-2) !important; /* Ton vert vif */
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important; /* "Recherche" au lieu de "RÉSERVER" */
  border-radius: 10px !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: opacity 0.2s ease;
}

.container.bg-blue #btnSearch:hover {
  opacity: 0.95;
}

#search .no-padding {
    padding: 0 !important;
}

#search .img-filtre {
    margin-right: 5px;
    height: 25px !important;
}

#search .form-control::placeholder {
    color: #ffffff;
}
.container.bg-blue .form-control {
  height: 52px !important;
  background-color: #ffffff !important;
  border: none !important;
  color: #1e293b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 15px 10px 12px !important; /* Espace à gauche pour l'icône */
  box-shadow: none !important;
  transition: all 0.2s ease;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
}

#preloader:before,
#preloader:after {
    content: "";
    position: absolute;
    border: 4px solid var(--color-site-2);
    border-radius: 50%;
    -webkit-animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

@-webkit-keyframes animate-preloader {
    0% {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        opacity: 1;
    }
    100% {
        width: 72px;
        height: 72px;
        top: calc(50% - 36px);
        left: calc(50% - 36px);
        opacity: 0;
    }
}

@keyframes animate-preloader {
    0% {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        opacity: 1;
    }
    100% {
        width: 72px;
        height: 72px;
        top: calc(50% - 36px);
        left: calc(50% - 36px);
        opacity: 0;
    }
}





.spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999999999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spinner-wrapper .spinner img {
    width: 400px;
    height: 400px;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
}

.fade-out {
    top: -110%;
    opacity: 0;
}

.goog-te-gadget img {
    display: none;
}
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value {
    color: #FFFFFF !important;
}
.goog-te-gadget-simple .goog-te-menu-value span {
    border-left: 1px solid transparent !important;
    color: #FFFFFF !important;
}
.main .top-bar {
    background-color: var(--color-site-3); /* Unifié avec le bleu foncé */
}
.modal {
    top: 200px !important;
    border-radius: var(--border-radius);
}

.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span {
    color: #fff;
}
.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}
.gap-3 {
    gap: 10px;
}
