﻿/*---------------- CUSTOM ----------------*/
.section-tab .nav-tabs {
    display: block !important;
}
/* Overriding _SearchHotel Style */
.roomInc,
.roomDec,
.qtyInc,
.qtyDec {
    display: flex !important;
    justify-content: center !important;
}
.title-section-hotels {
    margin-bottom: 30px;
    font-size: 40px;
    color: #333333;
    font-weight: 700;
}
.input-search-qty {
    background-color: transparent !important;
    border: none !important;
    color: #333333;
    font-size: 17px;
    font-weight: 500;
}

.partial-input-margin {
    margin-bottom: 27px !important;
}

.partial-input-margin .input-box {
    margin-bottom: 17px;
}

.dx-button-mode-outlined.dx-state-hover {
    background-color: #f0f0f0;
    border-color: #ca262c;
}

.dx-button-mode-outlined.dx-state-focused {
    background-color: transparent !important;
    border-color: #ca262c;
}

/*---------------- END CUSTOM ----------------*/

/*---------------- HOTEL HEADER ----------------*/
.main-banner .header-banner .img-index-hotel {
    background-position: center center;
    height: 50vh;
    background-image: url(/wahanatravelnew/images/img-slider/index-hotels.png);
    background-size: cover;
    background-repeat: no-repeat;
}
@media screen and (min-width: 320px) and (max-width: 767px) {
    .main-banner .header-banner .img-index-hotel {
        height: 60vh;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .main-banner .header-banner .img-index-hotel {
        height: 38vh;
    }
}
/*---------------- END HOTEL HEADER ----------------*/

/*---------------- DISCOVER THE MOSTBOOKED HOTELS / SECTION 1 ----------------*/

.indexhotels-destination {
    padding: 250px 0px 50px 0px;
    position: relative;
}

.indexhotels-destination .destination-card {
    position: relative;
    overflow: hidden;
    -webkit-transform: scale(1.04);
    -moz-transform: scale(1.04);
    -ms-transform: scale(1.04);
    -o-transform: scale(1.04);
    transform: scale(1.02);
}

.indexhotels-destination .section-heading {
    text-align: center;
}

.indexhotels-destination .section-heading h2 {
    display: block;
    font-size: 45px;
    margin: 5px 0px;
    font-weight: bold;
    color: #212529;
}

.indexhotels-destination .section-heading span {
    color: #ca262c;
    margin-left: 7px;
}

.indexhotels-destination .section-heading h3 {
    font-size: 35px;
    display: block;
    margin: 1px;
    font-weight: bold;
    color: var(--theme-primary);
}

.indexhotels-destination .section-heading h4 {
    margin: 5px 0px;
    font-size: 28px;
    display: block;
    font-weight: 500;
}

.indexhotels-destination .section-heading h5 {
    margin: 5px 0px;
    font-size: 23px;
    display: block;
    font-weight: 500;
}

.indexhotels-destination .section-heading h6 {
    margin: 5px 0px;
    font-size: 18px;
    display: block;
    font-weight: 500;
}

.indexhotels-destination .section-heading p {
    font-size: small;
}

/*---------------- END DISCOVER THE MOSTBOOKED HOTELS / SECTION 1 ----------------*/

/*---------------- EASY HOTEL BOOKING WITH WAHANA TRAVEL / SECTION 2 ----------------*/
.hotel-Step-by-Step-section {
    position: relative;
}

.hotel-Step-by-Step-section::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/wahanatravelnew/images/background/color-bg.png);
    background-color: #e6e6e6;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.2;
}

.hotel-Step-by-Step-title {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    font-size: 40px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 3rem;
}

.hotel-Step-by-Step-info-card {
    border-radius: 15px;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hotel-Step-by-Step-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.hotel-Step-by-Step-info-card:hover::before {
    left: 100%;
}

.hotel-Step-by-Step-info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hotel-Step-by-Step-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.hotel-Step-by-Step-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.hotel-Step-by-Step-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.hotel-Step-by-Step-info-card:nth-child(4) {
    animation-delay: 0.4s;
}

.hotel-Step-by-Step-check-icon {
    color: #dc3545;
    font-weight: bold;
    font-size: 24px;
    margin-right: 5px;
    background: linear-gradient(135deg, #ff6b6b, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(220, 53, 69, 0.1);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.hotel-Step-by-Step-title-h5 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.hotel-Step-by-Step-info-card:hover .hotel-Step-by-Step-title-h5 {
    color: #dc3545;
}

.hotel-Step-by-Step-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.hotel-Step-by-Step-info-card:hover .hotel-Step-by-Step-description {
    color: #495057;
}

.hotel-Step-by-Step-row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.hotel-partner-title {
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: #333333;
    font-weight: 700;
}

/* Animasi keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.hotel-Step-by-Step-info-card:focus-within {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/*---------------- END EASY HOTEL BOOKING WITH WAHANA TRAVEL / SECTION 2 ----------------*/

/*---------------- RESPONSIVE HEADER HOTEL MOBILE & TABLET ----------------*/
@media (max-width: 576px) {
    .main-banner .header-banner .flight-box,
    .main-banner .header-banner .hotel-box {
        bottom: -390px;
        font-size: 16px;
        padding: 0px;
    }

    .title-section-hotels {
        font-size: 29px;
    }

    .hotel-Step-by-Step-container {
        padding: 0 10px;
    }

    .card-hotel .img-hotel .badge {
        font-size: 12px;
    }

    .hotel-Step-by-Step-title {
        font-size: 23px;
    }

    .hotel-partner-title {
        font-size: 27px;
    }

    .hotel-Step-by-Step-info-card {
        padding: 18px;
    }

    .hotel-Step-by-Step-check-icon {
        font-size: 18px;
        min-width: 28px;
        height: 28px;
    }

    .card-hotel-wrapper {
        padding: 0px 2px;
    }

    .card-hotel .card-body-hotel {
        padding: 15px 10px 5px 10px;
    }

    .card-hotel .card-body-hotel .card-price p {
        font-size: 9px;
    }

    .card-hotel .card-body-hotel .card-price h4 {
        font-size: 13px;
    }

    .card-hotel .card-body-hotel .hotel-title h5 {
        font-size: 13px;
    }

    .card-hotel .card-hotel-content {
        height: 205px;
    }

    .card-hotel .img-hotel img,
    .card-hotel .img-hotel:hover img {
        height: 150px;
    }
}

/* Mobile: 0 - 767px */
@media (max-width: 767px) {
    .hotel-result-header-bar {
        padding: 9px 20px 17px 20px;
    }

    .hotel-search-container {
        flex-direction: column;
    }

    .hotel-details {
        margin-top: 5px;
        line-height: 12px;
    }

    .hotel-icon-main {
        font-size: 50px;
        margin-right: 16px;
    }

    .hotel-detail-item {
        font-size: 14px;
    }

    .hotel-search-action {
        margin-top: 15px;
        width: 100%;
    }

    .hotel-result-header-btn {
        width: 100%;
    }
}

/* Tablet: 768px - 1024px */
@media (max-width: 768px) {
    .main-banner .header-banner .flight-box,
    .main-banner .header-banner .hotel-box {
        bottom: -160px;
    }

    .hotel-Step-by-Step-container {
        padding: 0 15px;
    }

    .hotel-Step-by-Step-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .hotel-Step-by-Step-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .hotel-Step-by-Step-check-icon {
        font-size: 20px;
        min-width: 30px;
        height: 30px;
        margin-right: 12px;
    }

    .hotel-Step-by-Step-row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .hotel-detail-item {
        font-size: 12px;
    }
}

/*---------------- END RESPONSIVE HEADER HOTEL MOBILE & TABLET ----------------*/


/*---------------- SECTION 1 ----------------*/
.section-margin-hotel {
    margin-top: 250px;
    margin-bottom: 50px;
}
.badge-section-hotel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: start;
    margin: 15px auto;
}

.badge-section-hotel span {
    background-color: #6c757d;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #6c757d;
    border-radius: 0.25rem;
    width: 60px;
    height: 25px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.badge-section-hotel span:hover {
    background-color: white;
    color: #6c757d;
    transform: scale(1.05);
}

.main-banner-cards {
    margin-top: 30px;
}

.title-section-hotel {
    text-align: center;
    font-size: 30px;
    color: #333333;
    font-weight: 700;
    margin-top: 40px;
}

.container-cards {
    display: flex;
    gap: 10px;
    width: 100%;
}

.card-hover-hotel {
    flex: 1;
    height: 500px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: flex-grow 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.card-hover-hotel img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.card-hover-hotel.active {
    flex-grow: 2.1;
}

.card-hover-hotel:hover {
    flex-grow: 2.1;
    cursor: pointer;
}

.card-hover-hotel.active img,
.card-hover-hotel:hover img {
    transform: none;
}

.card-hover-hotel div {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.card-hover-hotel span {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-hover-hotel-mobile {
    margin-top: 15px;
    padding: 0px 5px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    height: 300px;
    width: 100% !important;
}

.card-hover-hotel-mobile img {
    border-radius: 10px;
    height: 300px;
    width: 100% !important;
}

.card-hover-hotel-mobile div {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.card-hover-hotel-mobile span {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-hover-hotel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

@media (max-width: 1440px) {
    .text-content-header-hotel h1 {
        font-size: 60px;
    }
    .text-content-header-carrental h1 {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .title-section-hotel{
        font-size: 26px;
    }

}
