@import url(./header-promo.css);

/* ==========================================
   1. BASES & RÈGLES GÉNÉRALES
   ========================================== */
section {
    padding: 40px 0;
}

section:nth-child(2n+1) {
    background-color: #eff8ff;
}

.container {
    position: relative;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-1 {
    flex: 1;
}

.text-end {
    text-align: end;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eff8ff;
    z-index: 9999;
}

/* ==========================================
   2. TYPOGRAPHIE & EN-TÊTES
   ========================================== */
.tag-title {
    font-size: 25px;
    color: var(--color-site-1);
    font-weight: 300;
    font-family: Reey-Regular-400;
    z-index: 2;
    margin-bottom: 0;
}

.title {
    font-size: 35px;
    color: var(--color-site-2);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.title::before {
    position: absolute;
    height: 3px;
    width: 40px;
    left: 0;
    bottom: -6px;
    background: var(--color-site-1);
    display: block;
    content: "";
}

.description-title {
    color: #5d5d5d;
    font-weight: 300;
    font-size: 15px;
    width: 90%;
}

p.bloc-name {
    font-size: 16px;
    color: #fff;
    margin-bottom: 0;
    font-weight: 700;
}

p.numbertel a:hover {
    font-weight: 700;
}

.display-4 {
    font-size: 2rem;
}

.font-size-25 {
    font-size: 25px !important;
}

/* ==========================================
   3. BOUTONS & LIENS
   ========================================== */
.btn.btn-liste {
    border-radius: 10px;
    font-weight: 400;
    padding: 6px 20px;
    width: fit-content;
}

.btn-liste-details {
    background-color: var(--color-site-3);
    color: #fff;
    font-weight: 500;
}

.btn-liste-details:hover {
    background-color: var(--color-site-2);
    color: #fff;
    font-weight: 500;
}

.liensutiles > a {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

/* ==========================================
   4. NAVIGATION, MENUS & DIALOGUES (MODALS)
   ========================================== */


.modal {
    z-index: 99999999;
}

.modal-content {
    border-radius: 0 0 35px;
}

.modal hr, .promofooter hr {
    border-top: 1px solid var(--color-site-1) !important;
}

#Hôtels .fa-times, #voyages .fa-times {
    color: #000;
}

#Hôtels .modal-content, #voyages .modal-content {
    border-right: 5px solid var(--color-site-1);
}

#Hôtels .modal-header, #voyages .modal-header {
    color: var(--color-site-1);
}

/* ==========================================
   5. MOTEUR DE RECHERCHE & FILTRES (.search-promo)
   ========================================== */
.banner-promo {
    padding-bottom: 25px;
    background: #eff8ff;
}

.search-promo .container-filtre {
    align-items: center;
    background-color: #fff;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    border: 1px solid #eee;
}

.search-promo .nav-tabs {
    background: #fff;
}

.search-promo .nav-tabs .nav-link {
    font-size: 16px;
    text-transform: uppercase;
    background-color: #fff;
    color: #000;
}

.search-promo .nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--color-site-1);
}

.search-promo .nav-tabs .nav-item.show .nav-link, 
.search-promo .nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: transparent;
    cursor: pointer;
    display: inline-block;
    color: var(--color-site-1);
    border-bottom: 3px solid var(--color-site-1);
}

.advanced-search {
    padding: 20px 0 20px 5px;
}

.advanced-search .btn, .btn-search {
    color: #fff;
    position: relative;
    height: 66px;
    border-radius: 55px 0 55px 55px;
    width: 110%;
    text-transform: uppercase;
    background-color: var(--color-site-1);
}

.label-filtre {
    top: 10px;
    position: absolute;
    left: 50px;
    text-transform: uppercase;
    font-size: 13px;
    color: grey;
    font-weight: 500;
    z-index: 5;
}

.search-promo .form-control {
    height: 65px;
    padding: 15px 0 0 50px;
    border-radius: 55px 0 55px 55px;
    font-size: 13px;
}

.search-promo .form-control[readonly],
.modal .form-group select {
    background: #fff;
}

.modal .form-group select {
    min-height: 35px;
    padding: 5px 15px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    width: 100%;
    font-size: 16px;
}

/* Icônes et inputs personnalisés */
.input-calendar:before, .input-search:before {
    width: 30px;
    content: "";
    background-repeat: no-repeat;
}

.input-search:before { background-image: url(../images/mp.svg); }
.input-calendar:before { background-image: url(../images/calendar.svg); }

.input-room:before {
    content: "";
    background-image: url(../images/pers.svg);
    background-repeat: no-repeat;
    width: 35px;
}

.input-icon:before {
    color: #a8a8a8;
    text-align: center;
    height: 45px;
    position: absolute;
    left: 20px;
    top: 24px;
    z-index: 5;
}

.typeahead__list, .typeahead__dropdown {
    top: 100% !important;
}

/* ==========================================
   6. COMPOSANT SWIPER / SLIDER & CAROUSEL
   ========================================== */
.swiper-container {
    height: auto;
}

.image-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.image-slider .swiper-slide .wrapper {
    margin-top: 200px;
    margin-bottom: 200px;
}

.image-slider .swiper-slide .sub-title {
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: 900;
    margin-bottom: -30px;
}

.image-slider .swiper-slide .title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.image-slider .swiper-slide .description {
    color: #fff;
    font-size: 1rem;
    text-align: justify;
}

.image-slider .controls, 
.owl-carousel .owl-nav, 
.owl-carousel .owl-nav.disabled {
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: 40%;
    width: 100%;
}

.image-slider .ctrl, 
.owl-carousel .owl-nav button.owl-next, 
.owl-carousel .owl-nav button.owl-prev {
    width: 40px;
    height: 40px;
    background-image: none;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: inline-flex;
    outline: 0;
    transition: .1s;
    border: 1px solid var(--color-site-1);
    color: var(--color-site-1);
    border-radius: 5px;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.image-slider .ctrl {
    margin: 20px;
}

.image-slider .ctrl:hover {
    color: #5d5d5d;
    background-color: #fff;
}

.image-slider .ctrl.next-ctrl {
    margin-left: 20px;
}

.image-slider .text-wrapper {
    overflow: hidden;
    display: inline-flex;
}

.image-slider .swiper-button-next::after, 
.image-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.image-slider .text-wrapper .text-inner {
    transform: translateY(100%);
    transition: .5s;
}

.image-slider .swiper-slide-active.active .text-inner {
    transform: translateY(0);
    opacity: 1;
}

.image-slider .swiper-slide.active .sub-title .text-inner { transition-delay: 50ms; }
.image-slider .swiper-slide.active .title .text-inner { transition-delay: 0.1s; }
.image-slider .swiper-slide.active .description .text-inner { transition-delay: 0.15s; }

.image-slider .swiper-slide .img-container img {
    min-height: auto;
    width: 100%;
    aspect-ratio: auto 19 / 6 !important;
}

.owl-carousel .owl-nav button.owl-next:hover, 
.owl-carousel .owl-nav button.owl-prev:hover {
    border: 1px solid var(--color-site-2);
    color: var(--color-site-2);
}

#properties-carousel-partenaires .item {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 200px;
}

#properties-carousel-partenaires .partenaire-img {
    aspect-ratio: auto 25 / 14 !important;
}

/* ==========================================
   7. CARDS & SELECTIONS (HÔTELS / VOYAGES)
   ========================================== */
.card {
    border: none !important;
    margin: 2px;
}

.card:hover {
    box-shadow: rgba(212, 217, 222, .3) 0 0 0 3px;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    z-index: 55;
    border-radius: calc(.25rem - 1px);
}

.card-img-overlay-center, .card-img-overlay-center-circuits {
    position: absolute;
    top: auto;
    right: 10px;
    bottom: 10px;
    left: auto;
    z-index: 105;
}

.card-img-overlay > div {
    border: 3px solid #ffffff70;
    border-radius: 50% 0 50% 50%;
}

.card .details {
    background: linear-gradient(to bottom, rgb(39, 100, 174) 15%, rgba(0, 0, 0, 0) 66%);
    top: 0;
    display: block;
    padding: 10px 0 50px 10px;
    position: absolute;
    width: 100%;
    z-index: 1032;
}

.detail-hotel .fa-star {
    color: #ffcc10;
    font-size: 11px;
}

p.detail-hotel {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.card-bottom-overlay {
    position: absolute;
    background-color: #fff;
    font-weight: 700;
    display: flex;
    z-index: 55;
    bottom: 60px;
    color: var(--color-site-1);
    right: 10px;
    border-radius: 6px;
    min-width: 120px;
    gap: 6px;
    padding: 5px;
}

.box {
    display: inline-flex;
    color: #fff;
    border-radius: 6px;
    border: 2px solid #fff;
    background-color: var(--color-site-2);
    width: auto;
    max-width: 150px;
    font-weight: 700;
    gap: 5px;
    padding: 0 5px;
}

.price {
    font-size: 20px;
    display: inline;
    white-space: nowrap;
}

.libelle {
    font-size: 9px;
    color: #848791;
    font-weight: 700;
}

.box span, .card-bottom-overlay span {
    writing-mode: tb-rl;
    writing-mode: sideways-lr;
    font-size: 7px;
    color: #848791;
    font-weight: 700;
    padding-bottom: 2px;
    padding-top: 2px;
}

.image-hotel, .img-circuits, .img-voyage {
    height: 315px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.img-circuits, .img-voyage {
    height: 316px;
}

.image-hotel-selection {
    height: 270px;
    object-fit: cover;
}

.justify-content-evenly {
    justify-content: space-evenly;
    height: 95%;
}

.selectionhotels .nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    overflow: auto;
}

.height-75vh {
    height: 85vh;
    overflow: auto;
}

.selectionhotels .nav-tabs {
    border-bottom: 1px solid var(--color-site-1);
    padding-bottom: 15px;
}

.selectionhotels .nav-tabs .nav-link {
    border: 1px solid var(--color-site-1);
    border-radius: 23px;
    color: var(--color-site-1);
    font-size: 14px;
    padding: 6px 12px;
    white-space: nowrap;
}

.selectionhotels .nav-tabs .nav-item.show .nav-link, 
.selectionhotels .nav-tabs .nav-link.active {
    color: #fff;
    border-color: var(--color-site-1);
    border-radius: 23px;
    background-color: var(--color-site-1);
    display: inline-block;
    position: relative;
}

.selectionhotels .nav-tabs .nav-link.active:before {
    content: " ";
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    z-index: 10;
    border: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    margin-left: -10px;
    border-top: 10px solid var(--color-site-1);
    right: 50%;
    bottom: -10px;
}

/* ==========================================
   8. STRUCURE DE LA GALERIE D'ENTREPRISE
   ========================================== */
.card-galerie img {
    filter: drop-shadow(0px 3px 3.5px rgba(0, 0, 0, 0.16)); /* Correction du mot-clé invalide 'filtrer' */
    border-radius: 0;
}

.fit-cover.height-col-1 {
    height: 470px;
    object-fit: cover;
}

.fit-cover.height-col {
    height: 400px;
    object-fit: cover;
}

.card-img-galery {
    position: relative;
}

.card-img-galery:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: linear-gradient(to bottom, rgba(39, 100, 174, 0.76) 25%, rgba(0, 0, 0, 0) 66%);
    border-radius: 6px;
}

.card-galerie-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

.card-galerie-overlay .h5 {
    color: #fff;
}

/* Accordéon FAQ */
.FAQ .accordion a:after {
    position: absolute;
    top: calc(50% - 7px);
    right: calc(1rem + 6px);
    display: block;
    transition: all 0.3s;
}

.FAQ .accordion a[aria-expanded="true"]:after {
    font-family: "Font Awesome 5 Free";
    content: "\f068";
}

.FAQ .accordion a[aria-expanded="false"]:after {
    font-family: "Font Awesome 5 Free";
    content: "\f067";
}

/* ==========================================
   9. BAS DE PAGE (FOOTER) & RÉSEAUX SOCIAUX
   ========================================== */
.promofooter {
    color: var(--color-site-1);
    padding: 50px 0 0;
}

.promofooter img.logo {
    width: 245px;
    height: auto;
}

.copyright, .promofooter img.logo {
    padding: 5px 0;
}

.copyright {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.facebook, .instagram, .youtube {
    color: #fff;
    padding: 5px 8px;
}

.facebook { background-color: #1876d6; }
.instagram { background-color: #c337a2; }
.youtube { background-color: red; }

/* ==========================================
   10. ANIMATIONS & UTILS / VENDORS INTERNES
   ========================================== */
.loading-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    width: 100%;
    height: 100px;
    line-height: 100px;
}

.loading-text span {
    display: inline-block;
    margin: 0 5px;
    color: var(--color-site-1);
    font-size: 16px;
    font-weight: 900;
    filter: blur(0px);
    animation: 1.5s linear infinite alternate blur-text;
}

.loading-text span:nth-child(2) { animation-delay: .2s; }
.loading-text span:nth-child(3) { animation-delay: .4s; }
.loading-text span:nth-child(4) { animation-delay: .6s; }
.loading-text span:nth-child(5) { animation-delay: .8s; }
.loading-text span:nth-child(6) { animation-delay: 1s; }
.loading-text span:nth-child(7) { animation-delay: 1.2s; }

@keyframes blur-text {
    0% { filter: blur(0px); }
    100% { filter: blur(4px); }
}

.glyphicon-refresh:before {
    content: "\e031";
}

.fa.fa-trash {
    color: red !important;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active, 
.dropdown-menu.show, .tab-content > .active {
    display: block !important;
}

.img-banner {
    aspect-ratio: auto 50 / 13;
}

/* ==========================================
   11. MÉDIAS QUERIES & RESPONSIVE
   ========================================== */
@media only screen and (min-width: 991px) {
    .owl-carousel .owl-nav .owl-prev { left: -42px !important; }
    .owl-carousel .owl-nav .owl-next { right: -42px !important; }
}

@media only screen and (min-width: 992px) {
    .search-promo {
        position: relative;
        margin-top: -50px;
        z-index: 50;
    }
}

@media only screen and (max-width: 992px) {
    .owl-carousel .owl-nav .owl-next {
        margin-left: 10px !important;
    }
    
    .owl-carousel .owl-nav, .owl-carousel .owl-nav.disabled {
        bottom: -25px;
        width: auto;
        top: auto;
    }
}

@media only screen and (max-width: 991px) {
    .selectionhotels .nav {
        justify-content: start;
        flex-wrap: nowrap;
    }

    #myTab {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }

    .search-promo .nav-tabs .nav-link {
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .image-slider .controls {
        top: 20%;
    }
}

@media (max-width: 767px) {
    .label-filtre {
        font-size: 11px;
    }
}

@media only screen and (max-width: 768px) {
    .swiper-container {
        height: auto !important;
    }

    .image-slider .swiper-slide .img-container img {
        height: auto;
        object-fit: cover;
    }

    .advanced-search .btn, .promofooter img.logo {
        width: 100%;
    }

    .search-promo {
        margin-top: 0;
    }
}