.amenities-container {
    max-width: 1200px;
    width: 100%;
    /* background: var(--white); */
    border-radius: 20px;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    position: relative;
}
/* Slider Instance */
.amenitiesSlider-wrapper {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 450px;
    background-color: #000000;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

.amenitiesSlider {
    position: relative;
    width: 100%;
    height: 100%;
    font-family: "Oswald", sans-serif;
    margin: 0 auto;
}

.amenitiesSlider-heading {
    position: absolute;
    z-index: 4;
    top: 5%;
    left: 5%;
    display: flex;
    max-width: 250px;
    margin: 0;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* Slider Background */
.amenitiesSlider-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.amenitiesSlider-background-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease;
    filter: blur(5px);
}

.amenitiesSlider-background-item.active {
    opacity: 1;
    z-index: 1;
}

.amenitiesSlider-background-item.fade-in {
    opacity: 1;
}

.amenitiesSlider-background-item.fade-out {
    opacity: 0;
}

/* Slider amenitiesSlider_Cards */
.amenitiesSlider-container {
    position: relative;
    z-index: 3;
    overflow: hidden;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform: none !important;
}

.amenitiesSlider_Card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    max-width: 80%;
    height: 70%;
    margin-top: 75px;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    transition: transform 1s ease, opacity 1s ease;
    transform: translateX(100%) scale(1);
}

.amenitiesSlider_Card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.amenitiesSlider_Card.swiper-slide-active {
    z-index: 3;
    opacity: 1;
    transform: translateX(0) scale(1);
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s ease, transform 1s ease, opacity 1s ease;
}

.amenitiesSlider_Card.swiper-slide.enter {
    z-index: 3;
    opacity: 1;
    clip-path: inset(0 0 0 100%);
    transform: translateX(0) scale(1);
}

.amenitiesSlider_Card.swiper-slide.enter-active {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.5s ease;
}

.amenitiesSlider_Card.swiper-slide.exit {
    z-index: 2;
    opacity: 1;
    transform: translateX(0) scale(1);
}

.amenitiesSlider_Card.swiper-slide.exit-active {
    opacity: 0;
    transform: translateX(60px) scale(0.7);
    transition: transform 1s ease, opacity 1s ease;
}

/* Slider Controls */
.amenitiesSlider_controls {
    position: absolute;
    bottom: 20px;
    right: 5%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.125rem;
    background-color: #0000002b;
    padding: 5px;
    border-radius:3px;
}

.amenitiesSlider_controls button {
    padding: 0;
    font-family: "Oswald", sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.1;
    border: none;
    outline: none;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.35s ease;
}

.amenitiesSlider_controls button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.amenitiesSlider_controls button:hover {
    color: rgba(255, 255, 255, 1);
}

/* Slider Pagination */
.amenitiesSlider-pagination {
    position: absolute;
    top: 5%;
    right: 5%;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 1.25rem;
    font-family: "Oswald", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.amenitiesSlider-pagination-item {
    display: inline-block;
    transition: opacity 0.4s ease;
}

.amenitiesSlider-pagination-item.fade-out {
    opacity: 0;
}

/* Slider Data */
.amenitiesSlider_data {
    position: absolute;
    bottom: 35px;
    left: 21%;
    z-index: 5;
    overflow: hidden;
    width: 100%;
    height: 70px;
    color: #fff;
}

.amenitiesSlider_data-item {
    position: absolute;
    width: 100%;
    height: 40px;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.amenitiesSlider_data-item.active {
    opacity: 1;
    transform: translateY(0);
}

.amenitiesSlider_data-title {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}

.amenitiesSlider_data-text {
    margin: 8px 0 0;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
}

/* Thumbnail Slider */
.amenitiesSlider-thumbnail-wrapper {
    max-width: 780px;
    margin: 30px auto 0;
    padding: 0 10px;
}

.amenitiesSlider-thumbnail-slider {
    width: 100%;
    height: 100px;
    padding: 10px 0;
}

.amenitiesSlider-thumbnail-slider .swiper-slide {
    width: 150px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    position: relative;
}

.amenitiesSlider-thumbnail-slider .swiper-slide:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.amenitiesSlider-thumbnail-slider .swiper-slide:hover {
    opacity: 0.8;
    transform: translateY(-5px);
}

.amenitiesSlider-thumbnail-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid var(--coral);
    transform: translateY(-5px);
}

.amenitiesSlider-thumbnail-slider .swiper-slide-thumb-active:after {
    background: rgba(0, 0, 0, 0.1);
}

.amenitiesSlider-thumbnail-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media screen and (max-width: 960px) {
    .amenitiesSlider_Card {
        max-width: 300px;
        height: 350px;
    }

    .amenitiesSlider-pagination {
        top: 5%;
        right: 120px;
    }

    .amenitiesSlider-heading {
        top: 5%;
        left: 17%;
        max-width: 100%;
    }

    .amenitiesSlider_data {
        left: 17%;
        bottom: 11%;
        max-width: 200px;
    }

    .amenitiesSlider_controls {
        right: 120px;
        bottom: 20%;
    }

    .amenitiesSlider_controls button {
        font-size: 1rem;
    }
}

@media screen and (max-width: 575px) {
    .amenities-container {
        padding: 25px 15px;
    }

    .amenitiesSlider-wrapper {
        height: 530px;
    }

    .amenitiesSlider-pagination {
        right: 20px;
    }

    .amenitiesSlider-heading {
        left: 20px;
    }

    .amenitiesSlider_data {
        left: 20px;
        bottom: 2%;
    }

    .amenitiesSlider_controls {
        right: 20px;
        bottom: 12%;
    }

    .amenitiesSlider-thumbnail-slider .swiper-slide {
        width: 120px;
        height: 70px;
    }
}
