﻿/* =========================================================
   HOTEL PARTNERS
   RESPONSIVE INFINITE CARD SLIDER
========================================================= */

.hotel-partners {
    width: 100%;
    padding: 50px 0;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.hotel-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}


    .hotel-heading span {
        display: block;
        width: 55px;
        height: 2px;
        background: #a87522;
        flex-shrink: 0;
    }


    .hotel-heading h2 {
        margin: 0;
        padding: 0;
        color: #222222;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }


/* =========================================================
   SLIDER WRAPPER
========================================================= */

.hotel-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   SLIDER VIEWPORT
========================================================= */

.hotel-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TRACK
========================================================= */

.hotel-track {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    width: max-content;
    gap: 20px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    user-select: none;
    -webkit-user-select: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* =========================================================
   HOTEL CARD
========================================================= */

.hotel-card {
    width: 220px;
    min-width: 220px;
    height: 190px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(168, 117, 34, 0.20);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}


    /* =========================================================
   HOVER
========================================================= */

    .hotel-card:hover {
        transform: translateY(-6px);
        border-color: #a87522;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }


/* =========================================================
   HOTEL LOGO
========================================================= */

.hotel-logo {
    width: 125px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}


    /* =========================================================
   HOTEL IMAGE
========================================================= */

    .hotel-logo img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
    }


/* =========================================================
   HOTEL NAME
========================================================= */

.hotel-card h6 {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #222222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}


/* =========================================================
   LEFT / RIGHT FADE
========================================================= */

.hotel-slider-wrapper::before,
.hotel-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 5;
    pointer-events: none;
}


.hotel-slider-wrapper::before {
    left: 0;
    background: linear-gradient( to right, #ffffff 0%, rgba(255, 255, 255, 0) 100% );
}


.hotel-slider-wrapper::after {
    right: 0;
    background: linear-gradient( to left, #ffffff 0%, rgba(255, 255, 255, 0) 100% );
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .hotel-card {
        width: 235px;
        min-width: 235px;
        height: 195px;
    }

    .hotel-track {
        gap: 22px;
    }

    .hotel-logo {
        width: 130px;
        height: 110px;
    }
}


/* =========================================================
   DESKTOP / LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .hotel-partners {
        padding: 45px 0;
    }

    .hotel-card {
        width: 210px;
        min-width: 210px;
        height: 185px;
    }

    .hotel-track {
        gap: 18px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .hotel-partners {
        padding: 40px 0;
    }

    .hotel-heading {
        gap: 12px;
        margin-bottom: 25px;
    }

        .hotel-heading h2 {
            font-size: 22px;
        }

        .hotel-heading span {
            width: 45px;
        }

    .hotel-card {
        width: 190px;
        min-width: 190px;
        height: 175px;
        padding: 16px 12px;
    }

    .hotel-logo {
        width: 105px;
        height: 90px;
        margin-bottom: 10px;
    }

    .hotel-card h6 {
        font-size: 13px;
    }

    .hotel-track {
        gap: 16px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hotel-partners {
        padding: 35px 0;
    }

    .hotel-heading {
        gap: 8px;
        margin-bottom: 22px;
    }

        .hotel-heading h2 {
            font-size: 18px;
            letter-spacing: 0.3px;
        }

        .hotel-heading span {
            width: 30px;
            height: 2px;
        }

    .hotel-card {
        width: 165px;
        min-width: 165px;
        height: 165px;
        padding: 14px 10px;
        border-radius: 10px;
    }

    .hotel-logo {
        width: 90px;
        height: 80px;
        margin-bottom: 8px;
    }

    .hotel-card h6 {
        font-size: 12px;
        line-height: 1.3;
    }

    .hotel-track {
        gap: 12px;
    }

    .hotel-slider-wrapper::before,
    .hotel-slider-wrapper::after {
        width: 35px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hotel-partners {
        padding: 30px 0;
    }

    .hotel-heading {
        margin-bottom: 20px;
    }

        .hotel-heading h2 {
            font-size: 16px;
        }

        .hotel-heading span {
            width: 22px;
        }

    .hotel-card {
        width: 145px;
        min-width: 145px;
        height: 150px;
        padding: 12px 8px;
    }

    .hotel-logo {
        width: 78px;
        height: 70px;
    }

    .hotel-card h6 {
        font-size: 11px;
    }

    .hotel-track {
        gap: 10px;
    }

    .hotel-slider-wrapper::before,
    .hotel-slider-wrapper::after {
        width: 25px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .hotel-card {
        width: 135px;
        min-width: 135px;
        height: 145px;
    }

    .hotel-logo {
        width: 70px;
        height: 65px;
    }

    .hotel-card h6 {
        font-size: 10px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hotel-card {
        transition: none;
    }

    .hotel-track {
        transform: none !important;
    }
}
