@import url(./style-header.css);
@import url(./style-footer.css);
@import url(./root.css);






.hover-effect  {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    z-index: 0;
}







.banner-module {
    position: relative;
    padding: 0;
    margin-bottom: 0
}

.banner-module .owl-item {
    position: relative;
}

.banner-slider {
    margin: 0;
}

.banner-slider .owl-controls {
    margin: 0;
}

.banner-slider .owl-controls .owl-nav div[class*="owl-"] {
    width: 50px;
    height: 50px;
    line-height: 40px;

    background-color: var(--color-site-3);
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
}

@media (max-width: 767px) {
    .banner-slider .owl-controls .owl-nav div[class*="owl-"] {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 30px;
    }
}


.banner-slider.owl-carousel .owl-item img {
    height: 90vh;
}



.title-section h2 {
    font-size: 36px;
    font-weight: 600;
    background: linear-gradient(to right, var(--color-site-1) 1%, #333 22%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    color: var(--text-color);
}




.form-control {
    font-size: 14px;
    line-height: 1.42857;
    margin: 0;
    font-weight: 300;
    text-transform: inherit;
    text-align: inherit;
}

.dropdown-menu > li > a {
    font-size: 14px;
    line-height: 1.42857;
    margin: 0;
    font-weight: 400;
    text-transform: inherit;
    text-align: inherit;
}




.img-hotel {
    height: 240px !important;
    object-fit: cover;
}

.image-tab-destination {
    height: 260px !important;
    object-fit: cover;
}

#align-content-center {
    display: flex;
    align-content: center;
    justify-content: center;
}


#newsletter ::placeholder {
    color: white;
}


.tab-content {
    display: flex;
    flex-direction: column;
}

.tab-content > .tab-pane {
    display: block !important;
    height: 0;
}

.tab-content > .active {
    display: block !important;
    height: auto;
}





#banner-slider {
    margin-top: -20vh;
}


.search-expandable {
    position: relative;

    display: flex;
    align-items: center;
    z-index: 2;
    margin-top: -8vh;
}



.advanced-search {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
}


.advanced-search .row {
    align-items: flex-end;
    margin: 0 -10px;
}

.advanced-search .row > [class*="col-"] {
    padding: 0 10px;
}


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


.label-filtre {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6b7a8d;
    margin: 8px 0;

}


.input-search,
.input-calendar,
.input-room,
.input-icon {
    position: relative;
}


.form-control.bg-input,
.bg-input.form-control {
    background: #f4f6f9 !important;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1a2a3a;
    font-weight: 500;
    height: 48px;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.form-control.bg-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}


.typeahead__container.destination {
    position: relative;
}


.typeahead__container.destination::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    z-index: 3;
    pointer-events: none;
    background-color: var(--color-site-2);

    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z'/></svg>") center/contain no-repeat;
}

.typeahead__container.destination .form-control {
    padding-left: 40px !important;
}


.input-calendar::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 54%;
    width: 16px;
    height: 16px;
    z-index: 3;
    pointer-events: none;

    background-color: var(--color-site-2);

    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H64C28.7 64 0 92.7 0 128v16 32 272c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V176 144 128c0-35.3-28.7-64-64-64h-40V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H152V24zM48 144H400v32H48V144zm0 80H400V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V224z'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H64C28.7 64 0 92.7 0 128v16 32 272c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V176 144 128c0-35.3-28.7-64-64-64h-40V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H152V24zM48 144H400v32H48V144zm0 80H400V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V224z'/></svg>") center/contain no-repeat;
}

.input-calendar .form-control {
    padding-left: 40px !important;
    cursor: pointer;
}


#number-night .input-icon::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 52%;

    width: 20px;
    height: 20px;
    z-index: 3;
    pointer-events: none;

    background-color: var(--color-site-2);

    -webkit-mask: url("data:image/svg+xml;utf8,<svg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' enable-background='new 0 0 20 20' xml:space='preserve'><g><g><rect x='8.747' fill='%23055393' width='1.421' height='20'/></g><g><path fill='%23055393' d='M9.457,16.137c-3.2,0-5.803-2.753-5.803-6.137s2.604-6.136,5.803-6.136v1.503c-2.416,0-4.382,2.078-4.382,4.633s1.966,4.634,4.382,4.634V16.137z'/></g><g><polygon fill='%23055393' points='3.812,5.093 2.27,3.462 3.274,2.399 4.817,4.03'/></g><g><rect x='0' y='9.248' fill='%23055393' width='2.182' height='1.503'/></g><g><polygon fill='%23055393' points='3.274,17.601 2.27,16.538 3.812,14.907 4.817,15.971'/></g><g><path fill='%23055393' d='M13.887,16.137c-2.086,0-4.021-1.192-5.048-3.113l1.237-0.739c0.776,1.449,2.235,2.35,3.811,2.35c1.439,0,2.725-0.727,3.523-1.879c-0.445,0.154-0.918,0.234-1.398,0.234c-2.498,0-4.531-2.147-4.531-4.789c0-0.874,0.225-1.71,0.627-2.433c-0.844,0.397-1.563,1.073-2.032,1.948l-1.237-0.74c1.093-2.04,3.238-3.245,5.435-3.095l2.52,0.171l-2.232,1.244c-1.021,0.569-1.658,1.683-1.658,2.904c0,1.813,1.395,3.286,3.109,3.286c0.908,0,1.77-0.422,2.361-1.158L20,8.304l-0.383,2.626C19.176,13.946,16.766,16.137,13.887,16.137z'/></g></g></svg>") center/contain no-repeat;

    mask: url("data:image/svg+xml;utf8,<svg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' enable-background='new 0 0 20 20' xml:space='preserve'><g><g><rect x='8.747' fill='%23055393' width='1.421' height='20'/></g><g><path fill='%23055393' d='M9.457,16.137c-3.2,0-5.803-2.753-5.803-6.137s2.604-6.136,5.803-6.136v1.503c-2.416,0-4.382,2.078-4.382,4.633s1.966,4.634,4.382,4.634V16.137z'/></g><g><polygon fill='%23055393' points='3.812,5.093 2.27,3.462 3.274,2.399 4.817,4.03'/></g><g><rect x='0' y='9.248' fill='%23055393' width='2.182' height='1.503'/></g><g><polygon fill='%23055393' points='3.274,17.601 2.27,16.538 3.812,14.907 4.817,15.971'/></g><g><path fill='%23055393' d='M13.887,16.137c-2.086,0-4.021-1.192-5.048-3.113l1.237-0.739c0.776,1.449,2.235,2.35,3.811,2.35c1.439,0,2.725-0.727,3.523-1.879c-0.445,0.154-0.918,0.234-1.398,0.234c-2.498,0-4.531-2.147-4.531-4.789c0-0.874,0.225-1.71,0.627-2.433c-0.844,0.397-1.563,1.073-2.032,1.948l-1.237-0.74c1.093-2.04,3.238-3.245,5.435-3.095l2.52,0.171l-2.232,1.244c-1.021,0.569-1.658,1.683-1.658,2.904c0,1.813,1.395,3.286,3.109,3.286c0.908,0,1.77-0.422,2.361-1.158L20,8.304l-0.383,2.626C19.176,13.946,16.766,16.137,13.887,16.137z'/></g></g></svg>") center/contain no-repeat;
}

#number-night .form-control {
    padding-left: 28px
}

.input-room:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 52%;

    width: 20px;
    height: 20px;
    z-index: 3;
    pointer-events: none;

    background-image: url(../img/icon-room.svg);
    background-repeat: no-repeat;
}


.input-room .form-control {
    padding-left: 40px !important;
    cursor: pointer;
}

.input-room .form-control.read-only {
    cursor: pointer;
}

/* ===== SEARCH BUTTON ===== */
.btn.filtres {
    background: var(--color-site-1);
    color: #ffffff;

    border-radius: 10px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
width: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);


}


.typeahead__result-list {
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    margin-top: 6px;
    overflow: hidden;
}




.hotel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    transition: all 0.3s ease;

}


.hotel-card:hover .badge-promo {
    color: var(--color-site-2);
    background-color: #fff;

    transition: all 0.3s;
}

.hotel-card .hotel-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.hotel-card .hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}
.hotel-card .badge-promo {
    position: absolute;
    top: 15px;
    left: 0;
    background: var(--color-site-2);
    color: #fff;
    padding: 8px 14px;
    border-radius: 0 20px 20px 0;
    font-size: 14px;
    font-weight: 600;
}

.hotel-card .hotel-content {
    padding: 14px;
}

.hotel-card .hotel-rating {
    color: #FFD700 ;
    font-size: 14px;
    margin-bottom: 10px;
}

.hotel-card .hotel-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hotel-card .hotel-title a {
    color: #222;
    text-decoration: none;
}

.hotel-card .hotel-meta {
    display: flex;
    gap: 20px;
    color: #666;
    margin-bottom: 20px;
}

.hotel-card .hotel-meta i {
    color: var(--color-site-1);
    margin-right: 5px;
}

.hotel-card .hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.hotel-card .hotel-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;

}

.hotel-card .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-site-2);
}

.hotel-card .currency {
    color: var(--color-site-2);
    font-weight: 700;
}

.hotel-card .person {
    color: #666;
}

/* Conteneur des tabs */
.tabs-hotel-tunisie {
    display: flex;
    flex-wrap: nowrap;
    overflow-y: auto;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;

}

.tabs-hotel-tunisie li {
    margin: 0;
}

.tabs-hotel-tunisie li a {
    display: inline-block;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tabs-hotel-tunisie li a:hover {
    color: var(--color-site-2);
    border-color: var(--color-site-2);
}

.tabs-hotel-tunisie li.active a,
.tabs-hotel-tunisie li.active a:hover {
    color: #fff;
    background: var(--color-site-2);
    border-color: var(--color-site-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Icône étoile optionnelle si vous voulez un picto avant le texte */
.tabs-hotel-tunisie li a i {
    margin-right: 6px;
    color: var(--color-site-1);
}

.tabs-hotel-tunisie li.active a i {
    color: #fff;
}


@media (max-width: 1024px) {

    .hotel-card .hotel-title {
        font-size: 16px;


    }

    .hotel-card .price {
        font-size: 22px;
    }

    .yellow_btn {
        padding: 10px 20px;

    }

    .yellow_btn span {
        font-size: 14px;
    }

    .hotel-card .hotel-content {
        padding: 12px;
    }
}

@media (max-width: 767px) {


    .banner-slider.owl-carousel .owl-item img {
        height: 60vh;
    }

    .search-expandable {
        margin-top: 20px;
    }

    .banner-slider .owl-controls {
        display: none;
    }
}

/* Modal */
#occupations .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

/* Header */
#occupations .modal-header {
    background: linear-gradient(135deg, var(--color-site-2), #4d9ae0);
    color: #fff;
    padding: 18px 24px;
    border-bottom: 0;
}

#occupations .modal-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
}

#occupations .close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(255, 255, 255, .15);
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    transition: .3s;
}

#occupations .close:hover {
    background: rgba(255, 255, 255, .25);
    transform: rotate(90deg);
}


#occupations .modal-body {
    padding: 25px;
    background: #fff;
}


#occupations h5 {
    color: var(--color-site-2);
    font-weight: 600;
    margin-bottom: 20px;
}


/* Labels */
#occupations label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 6px;
}

/* Select */
#occupations select {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 12px;
    width: 100%;
    min-height: 45px;
}

#occupations select:focus {
    border-color: var(--color-site-2);
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 129, 208, .15);
}

/* Separateur */
#occupations hr {
    border-color: #e9eef3;
    margin: 25px 0;
}

/* Boutons */
#occupations .btn-ajouter {
    background: var(--white);
    color: var(--color-site-1);
    border: 1px solid var(--color-site-1);
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
    width: 100%;
}

#occupations .btn-ajouter:hover {

    opacity: .9;
}

#occupations .btn-details {
    background: var(--color-site-2);
    color: #fff;
    border: 0;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
}

#occupations .btn-details:hover {
    background: #1f6db6;
}




.partenaires .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}


.partners-carousel {
    padding: 15px 5px 10px;
}

.partners-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.partners-carousel .item {
    padding: 5px;
}


.partner-card {
    position: relative;
    height: 120px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow: hidden;
    transition: all 0.35s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Glow Effect */

.partner-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
            135deg,
            rgba(59, 130, 246, 0.35),
            rgba(99, 102, 241, 0.15),
            rgba(255, 255, 255, 0)
    );

    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
}


.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.35s ease;
}


.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(59, 130, 246, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.06);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card:hover img {
    transform: scale(1.05);
}


@media (max-width: 991.98px) {
    .partner-card {
        height: 100px;
        padding: 18px;
    }
}

@media (max-width: 767.98px) {




    .partner-card {
        height: 85px;
        padding: 15px;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {

    .partner-card {
        height: 80px;
        padding: 12px;
        border-radius: 16px;
    }
}


/* Force linear transition */
.partners-carousel .owl-stage {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}



.top-carousel-item .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}

.top-carousel-item .card:hover {
    transform: translateY(-5px);
}



.top-carousel-item .card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    display: block;
}

.topCard__image {
    position: relative;
}

.topCard__image img {
    height: 260px;
    object-fit: cover;
    width: 100%;
    transition: transform .4s ease;
}

.card-destination:hover img {
    transform: scale(1.05);
}

/* Overlay */
.topCard__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .2), transparent);
    color: #fff;
}

.topCard__overlay h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}


.owl-theme .owl-dots .owl-dot.active span {
    width: 24px;
    height: 12px;
    border: 1px solid var(--color-site-1);
    background-color: var(--color-site-1);
}
.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;

}
