/* ================================
   3. SLIDERS & CAROUSELS
   ================================ */

/* Slider Container */
.slider-container::-webkit-scrollbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #d79839;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    height: 15px;
}

.slider-container::-webkit-scrollbar-track {
    background: none;
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: rgba(4, 104, 49, 0.97);
    border-radius: 15px 30px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

.slider-container {
    width: 100%;
    overflow-x: auto;
}

.slider {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    margin: auto;
    padding: 15px;
}

.slide {
    width: 310px;
    height: 340px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    position: relative;
    transition: 0.3s ease;
    scroll-behavior: auto;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.slide h4 {
    font-size: 20px;
}

.slide p {
    font-size: 14px;
    margin-top: 0px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.slide .icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 30px;
}

.slide:hover {
    scale: 1.1;
}

/* Carousel Container */
.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-header {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.hotel-card {
    flex: 0 0 33.333%;
    padding: 5px;
    box-sizing: border-box;
}

.card-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(255, 248, 248, 0.445);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: top;
    position: relative;
    transition: 0.3s ease;
    scroll-behavior: auto;
    padding-top: 10px;
    padding-left: 8px;
    padding-right: 8px;
}

.card-content-sk {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(240, 236, 236, 0.904);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: #f3f3ee6c;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: top;
    position: relative;
    transition: 0.3s ease;
    scroll-behavior: auto;
    padding-top: 10px;
    padding-left: 8px;
    padding-right: 8px;
}

.card-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(252, 249, 249, 0.15);
}

.hotel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #238f15;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: #238f15;
    color: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: #ff6b35;
    color: white;
}

.hotel-info {
    padding: 20px;
}

.hotel-name {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 8px;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.hotel-details {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.hotel-location {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-badge {
    background: #228b22;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
}

.rating-text {
    color: #888;
    font-size: 12px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transform: translateY(-50%) scale(1);
}

.indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #ff6b35 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* List Wrapper */
.list-wrapper {
    position: relative;
    width: 67rem;
    align-content: space-between;
}

.button {
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2rem;
    transform: translateY(-50%);
}

.button--previous {
    left: -2rem;
    top: 130px;
    transform: rotate(180deg);
}

.button--next {
    right: -3rem;
    top: 155px;
}

.button:hover {
    background-color: #af7b0b;
    color: white;
}

.list {
    display: flex;
    gap: 20px;
    padding: 20px;
    list-style: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.item {
    flex-shrink: 0;
    width: 35%;
    background-color: #FFF;
    scroll-snap-align: center;
    box-shadow: 0px 6px 8px -5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 2px;
    border-color: red;
}

.itemnk {
    flex-shrink: 0;
    width: 97%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: .9;
    scroll-snap-align: center;
    box-shadow: 0px 6px 8px -5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 2px;
    border-color: red;
}

/* Container Slider */
.container-slider {
    max-width: 1000px;
    margin: 0 auto;
}

/* NKZ Slider */
.container_nkz {
    max-width: 1200px;
    margin: 0 auto;
}

.title_nkz {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.slider-wrapper_nkz {
    position: relative;
    overflow: hidden;
}

.slider_nkz {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hotel-card_nkz {
    min-width: 100%;
    padding: 0 10px;
}

.card-inner_nkz {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-inner_nkz:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.image-container_nkz {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hotel-image_nkz {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn_nkz {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.favorite-btn_nkz:hover {
    transform: scale(1.1);
}

.card-content_nkz {
    padding: 20px;
}

.hotel-name_nkz {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.location_nkz {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.rating-container_nkz {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-badge_nkz {
    background: #00a651;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
}

.rating-text_nkz {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
}

.reviews_nkz {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.price-container_nkz {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price-label_nkz {
    color: #666;
    font-size: 14px;
}

.price_nkz {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: bold;
}

.nav-btn_nkz {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    z-index: 10;
    transition: all 0.3s;
}

.nav-btn_nkz:hover {
    background: #ac3b3bff;
    color: white;
}

.prev-btn_nkz {
    left: 10px;
}

.next-btn_nkz {
    right: 10px;
}

.indicators_nkz {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.indicator_nkz {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator_nkz.active_nkz {
    background: #2f640cff;
    width: 30px;
    border-radius: 5px;
}

.link-container_nkz {
    margin-top: 15px;
}

.hotel-link_nkz {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: #1a1a1a;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}

.hotel-link_nkz:hover {
    background: #027712ff;
    transform: translateY(-2px);
    color: white;
}

/* Scrolling Line */
.scrolling-line-wrapper_nkz {
    width: 100%;
    padding: 25px 0;
    position: relative;
}

.scrolling-image-container_nkz {
    width: 100%;
    height: 50px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.scrolling-image-container_nkz.stopped-container_nkz {
    overflow: visible;
}

.scrolling-image_nkz {
    position: absolute;
    height: 50px;
    width: 300px;
    top: 0;
}

.scrolling-image_nkz.scrolling_nkz {
    left: -400px;
    animation: scroll-image_nkz 5s linear infinite;
}

.scrolling-image_nkz.stopped_nkz {
    animation: none !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: all 1s ease-out;
}
