/*---------------- VIDEO BANNER STYLES ----------------*/

.video-banner {
    width: 100%;
    height: 50rem;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
    pointer-events: none;
    background: var(--black-color);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container iframe {
    display: block;
    position: relative;
    flex-shrink: 0;
    max-width: none;
    max-height: none;
    pointer-events: none;
    /* Ensure clicks pass through if needed */
    opacity: 0;
    transition: opacity 1.5s ease;
}

.video-container iframe.is-loaded {
    opacity: 1;
}

.homeSectionGroup_1 {
    background-image: url(../images/backgrounds/bg_07.png);
    background-image: url(../images/backgrounds/bg_07.webp);
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    align-items: center;
}

/*---------------- HOMEPAGE ROOMS LIST STYLES ----------------*/

.roomsList_Content {
    padding: 4rem 5rem;
    width: 1%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roomsList_Content .sectionTitle {
    font-size: 3rem;
}

.roomsList_imagePreview {
    width: 44%;
    aspect-ratio: 1;
    background: var(--primary-color);
}

.tabs-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    position: relative;
}

.tabs-scroll {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1 1 auto;
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tabs-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-bottom: 1px solid var(--black-color);
}

.tabs-scroll .nav-tabs {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    margin: 0;
}

.tabs-scroll .nav-tabs .nav-item {
    flex: 0 0 auto;
}

.tabs-scroll .nav-tabs .nav-link {
    white-space: nowrap;
    padding: 0.6rem 1rem;
}

.tabs-nav {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
}

.tabs-nav:disabled {
    opacity: 0.1;
    cursor: default;
}

.tabs-nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Position arrows outside the tabs area so tabs can use full width */
.tabs-nav.prev {
    left: -2.5rem;
    /* adjust as needed to sit outside */
}

.tabs-nav.next {
    right: -2.5rem;
}

@media (max-width: 768px) {
    .tabs-nav.prev {
        left: -2rem;
    }

    .tabs-nav.next {
        right: -2rem;
    }
}

.roomsList_Content .nav-tabs {
    padding: 0;
    border: none;
}

.roomsList_Content .nav-link {
    padding: 0.5rem 2rem 0.5rem 2px !important;
    line-height: 1;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    color: var(--black-color);
    height: 2rem;
}

.roomsList_Content .nav-link:hover {
    border-bottom-color: transparent;
}

.roomsList_Content .nav-link.active {
    border-bottom-color: var(--primary-color);
}

.roomsList_Content .tab-pane>div {
    gap: 2rem;
    padding-top: 2rem;
}

.roomsList_imagePreview .splide,
.roomsList_imagePreview .splide__track,
.roomsList_imagePreview .splide__list,
.roomsList_imagePreview .splide__slide {
    height: 100%;
}

.roomsList_imagePreview .splide__slide {
    aspect-ratio: 1;
    height: auto !important;
}

.roomsList_imagePreview img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Splide arrows: transparent background and positioned bottom-right */
#imageSlider {
    position: relative;
}

#imageSlider .splide__arrows {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    z-index: 50;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 5rem;
    height: 2rem;
}

#imageSlider .splide__arrow {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    width: 2rem;
    height: 2rem;
    position: static;
    transform: none;
}

#imageSlider .splide__arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.tab-content .tab-pane p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.tab-content .tab-pane p {
    line-height: 1.6;
}

/*---------------- STAY TABS STYLES ----------------*/

.stayTab_content_Wrap {
    background-color: var(--primary-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    min-height: 28rem;
    height: 100%;
    padding: 7rem 4rem 4rem;
    gap: 2rem;
    position: relative;
}

.stayTab_content_Wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, #497154 20%, #49715400 70%);
    z-index: 1;
}

.stayTab_content_Wrap .sectionTitle,
.stayTab_content_Wrap .amenitySplide,
.stayTab_content_Wrap .siteBtn {
    position: relative;
    z-index: 2;
}

#tab-Family .stayTab_content_Wrap {
    background-image: image-set(url("../images/home/Blanket_Home_imgs_2_1680w.webp") type("image/webp"),
            url("../images/home/Blanket_Home_imgs_2_1680w.png") type("image/png"))
}

#tab-Couple .stayTab_content_Wrap {
    background-image: image-set(url("../images/home/Blanket_Home_imgs_3_1680w.webp") type("image/webp"),
            url("../images/home/Blanket_Home_imgs_3_1680w.png") type("image/png"))
}

#tab-International .stayTab_content_Wrap {
    background-image: image-set(url("../images/home/Blanket_Home_imgs_1_1680w.webp") type("image/webp"),
            url("../images/home/Blanket_Home_imgs_1_1680w.png") type("image/png"))
}

.stayTabsWrap * {
    border: none !important;
}

.stayTabsWrap .nav-tabs {
    border-bottom: 1px solid var(--black-color) !important;
}

.stayTabsWrap .nav-item {
    flex-grow: 1;
    width: 30%;
}

.stayTabsWrap .nav-link {
    background: transparent !important;
    color: var(--text-color) !important;
    font-size: 1.6rem;
    line-height: 1.2;
    padding: 0.65em 1em;
    border-bottom: 2px solid transparent !important;
}

.stayTabsWrap .nav-link.active {
    border-bottom-color: var(--black-color) !important;
}

.stayTabsWrap .siteBtn {
    border: 1px solid var(--primary-color);
}

.stayTabsWrap .siteBtn::before {
    background: var(--secondary-color);
}

.amenitySplide {
    max-width: 20rem;
}

.amenitySplide .aminities_list {
    gap: 0;
}

.amenitySplide .aminities_item {
    position: relative;
}

.amenitySplide .aminities_item  picture {
    display: inline-block;
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
}

.amenitySplide .aminities_item  picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    left: 0;
    top: 0;
}

.homeStoryWrap {
    background-color: var(--secondary-color);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.homeStoryWrap p {
    padding-right: 25%;
}

.homeSeasonsWrap {
    position: relative;
}

.homeSeasonsWrap_head {
    position: absolute;
    z-index: 2;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
}

.homeSeasonsWrap_head .sectionTitle {
    font-size: 5rem;
    line-height: 1;
}

.homeSeasonsWrap_item {
    width: 30%;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 1;
    max-height: 50rem;
    min-height: 30rem;
}

.homeSeasonsWrap_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
}

.homeSeasonsWrap_item::after {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    content: '';
    background: linear-gradient(to top, #497154, #49715400);
    mix-blend-mode: multiply;
    transform: translateY(50%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.homeSeasonsWrap_item .siteBtn {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    transform: translateX(-50%);
    z-index: 4;
    color: var(--secondary-color);
    border: 1px solid #FFFCEE55;
    backdrop-filter: blur(10px);
}

.homeSeasonsWrap_item:hover .siteBtn {
    color: var(--black-color);
}

.homeSeasonsWrap_item:hover .siteBtn:hover {
    color: var(--secondary-color);
}

.homeSeasonsWrap_item .siteBtn::before {
    background: var(--secondary-color);
}

.homeSeasonsWrap_item:hover::after {
    transform: translateY(0%);
    opacity: 1;
}

.homeSeasonsWrap_item .siteBtn::before {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.homeSeasonsWrap_item:hover .siteBtn::before {
    opacity: 1;
}

.momentsSlider {
    width: 1%;
    flex-grow: 1;
}

.momentsSlider .splide__slide {
    aspect-ratio: 900/665;
}

.momentsSlider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.momentsContent {
    width: 44%;
}

.momentsContent .sectionTitle {
    padding-right: 10%;
}

#momentsSlider .splide__arrows {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    z-index: 50;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 5rem;
    height: 2rem;
}

#momentsSlider .splide__arrow {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    width: 2rem;
    height: 2rem;
    position: static;
    transform: none;
}

#momentsSlider .splide__arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.homeSectionGroup_2 {
    background-color: var(--primary-color);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: image-set(url("../images/backgrounds/bg_03.webp") type("image/webp"),
            url("../images/backgrounds/bg_03.png") type("image/png"));
    padding-block: 4rem 2rem;
    position: relative;
}

.homeSectionGroup_2 .spaOverlay {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
}

.homeSectionGroup_2 .spaOverlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.homeSectionGroup_2 .spaSlider .splide__slide {
    min-height: 10rem;
}

.homeSectionGroup_2 .spaSlider .splide__slide p {
    padding-bottom: 6rem;
}

.homeSectionGroup_2 .spaSlider .splide__pagination {
    gap: 0.5rem;
    padding: 0;
}

.homeSectionGroup_2 .spaSlider .splide__pagination li {
    flex-grow: 1;
}

.homeSectionGroup_2 .spaSlider .splide__pagination li .splide__pagination__page {
    border-radius: 0;
    width: 100%;
    transform: none;
    line-height: 0;
    padding: 0;
    margin: 0;
    height: 0.15rem;
    background: var(--secondary-color);
    opacity: 0.35;
    outline: none !important;
    box-shadow: none !important;
}

.homeSectionGroup_2 .spaSlider .splide__pagination li .splide__pagination__page.is-active {
    opacity: 1;
}

.spaSlider_nav {
    color: var(--secondary-color);
    display: flex;
    gap: 0.5rem;
    position: absolute;
    z-index: 3;
    left: 0rem;
    bottom: 2.5rem;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0;
}

.spaContent {
    position: relative;
    max-width: 21rem;
}

.spaContent p {
    max-width: 100%;
}

.spaSlider_nav img {
    width: 1.75rem;
    height: 1.75rem;
}

.homeSectionGroup_3 {
    background-image: url(../images/backgrounds/bg_06.png);
    background-image: url(../images/backgrounds/bg_06.webp);
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    gap: 8rem;
    align-items: center;
}

.diningWrap {
    max-width: 72rem;
    gap: 6rem;
}

.diningWrapContent {
    width: 15rem;
}

.diningWrapImage {
    width: 10%;
    flex-grow: 1;
}

.diningWrapImage img {
    width: 100%;
    aspect-ratio: 835/665;
    object-fit: cover;
    object-position: center;
}

.sneakPeakContent {
    width: 20rem;
}

.sneakPeakImage {
    width: 1%;
    flex-grow: 1;
    aspect-ratio: 1200/700;
    min-height: 100%;
}

.sneakPeak {
    gap: 6rem
}

.sneakPeakImage img {
    width: 10%;
    flex-grow: 1;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ExploreSlide {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4rem;
    min-height: 100%;
}

.ExploreSlideImage {
    width: 1%;
    flex-grow: 1;
}

.ExploreSlideImage img {
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.ExploreSlideContent {
    width: 30rem;
    padding-block: 4rem;
}

.ExploreSlideContent h3 {
    font-size: 1.6rem;
}

.ExploreSlideContent h4 {
    font-size: 1.3rem;
    padding-bottom: 1rem;
}

#ExploreSlider .splide__arrows {
    position: absolute;
    right: 30rem;
    bottom: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    z-index: 50;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 6rem;
    height: 2.5rem;
    transform: translateX(100%);
}

#ExploreSlider .splide__arrow {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    position: static;
    transform: none;
}

#ExploreSlider .splide__arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.ExploreSliderWrap {
    position: relative;
}

.splide-pagination-fraction {
    bottom: 0;
    z-index: 19;
    right: 0;
    position: absolute;
    font-size: 2rem;
}

/*---------------- RESPONSIVE STYLES ----------------*/

@media(max-width: 1399px) {
    .roomsList_Content {
        padding: 4rem 4rem;
    }
}

@media(max-width: 1199px) {
    .roomsList_Content .nav-link {
        padding: 0.5rem 1rem 0.5rem 2px !important;
    }

    .ExploreSlideContent {
        padding-block: 0rem 4rem;
    }
}

@media(max-width: 991px) {
    .ExploreSlide {
        gap: 2rem;
    }
}

@media(max-width: 767px) {
    .stayTab_content_Wrap {
        padding: 7rem 4rem 4rem;
    }

    .stayTab_content_Wrap {
        background-position: center;
        padding: 3rem 2rem;
        min-height: 30rem;
    }

    .stayTabsWrap .nav-item {
        flex-grow: 0;
        width: auto;
    }

    .stayTabsWrap .nav-link {
        padding: 0.45em 1.2em 0.45em 0;
        font-size: 1.3rem;
    }

    .homeStoryWrap p {
        padding-right: 5%;
    }

    .homeSeasonsWrap_item {
        width: 100%;
        aspect-ratio: unset;
        max-height: 10rem;
        min-height: 10rem;
    }

    .homeSeasonsWrap_item::after {
        transform: translateY(0);
        opacity: 0.5;
    }

    .homeSeasonsWrap_head {
        position: static;
        transform: none;
        padding-block: 2rem 2rem;
    }

    .homeSeasonsWrap_head .sectionTitle {
        color: var(--black-color) !important;
        font-size: 4rem;
        line-height: 1.1;
    }

    .momentsSlider,
    .momentsContent {
        width: 100%;
        max-width: 35rem;
    }

    .tabs-scroll-wrap {
        margin-inline: 1rem;
        padding-inline: 0.5rem;
    }

    .homeSectionGroup_2 .spaOverlay {
        width: 40%;
    }

    .diningWrap,
    .sneakPeak {
        gap: 2rem;
    }

    .sneakPeakImage {
        width: 100%;
    }

    .sneakPeakContent {
        width: 40rem;
        max-width: 100%;
    }

    .ExploreSlideContent {
        width: 20rem;
    }

    #ExploreSlider .splide__arrows {
        right: 20rem;
    }

    .roomsList_Content {
        padding: 3rem;
    }
}

@media(max-width: 699px) {
    .roomsList_Content {
        width: 100%;
        padding: 4rem 1.5rem;
    }

    .roomsList_imagePreview {
        display: none;
    }

    .roomsList_Content .splide__slide {
        height: 15rem !important;
    }

    .roomsList_Content .splide__slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #imageSlider .splide__arrows {
        bottom: 1rem;
        right: 1rem;
    }
}

@media(max-width: 576px) {
    .homeSectionGroup_2 {
        padding-block: 18rem 2rem;
    }

    .homeSectionGroup_2 .spaOverlay {
        bottom: auto;
        width: 100%;
        height: 15rem;
    }

    .diningWrapImage {
        width: 100%;
    }

    .diningWrapContent {
        width: 15rem;
    }

    .ExploreSlide {
        flex-direction: column;
    }

    .ExploreSlideImage,
    .ExploreSlideContent {
        width: 100%;
    }

    #ExploreSlider .splide__arrows {
        right: 100%;
    }

    .ExploreSlideImage {
        flex-grow: 0;
    }

    .ExploreSlideImage img {
        aspect-ratio: 1000/565;
    }
}

@media (min-width: 1680px) {
    #tab-Family .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_2_1680w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_2_1680w.png") type("image/png"))
    }

    #tab-Couple .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_3_1680w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_3_1680w.png") type("image/png"))
    }

    #tab-International .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_1_1680w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_1_1680w.png") type("image/png"))
    }

    .homeStoryWrap {
        background-image: image-set(url("../images/home/Blanket_Home_Story_BG-1920w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_Story_BG-1920w.jpg") type("image/jpg"))
    }
}

@media (min-width: 1200px) and (max-width: 1679px) {
    #tab-Family .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_2_1200w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_2_1200w.png") type("image/png"))
    }

    #tab-Couple .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_3_1200w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_3_1200w.png") type("image/png"))
    }

    #tab-International .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_1_1200w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_1_1200w.png") type("image/png"))
    }

    .homeStoryWrap {
        background-image: image-set(url("../images/home/Blanket_Home_Story_BG-1920w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_Story_BG-1920w.jpg") type("image/jpg"))
    }
}

@media (min-width: 1000px) and (max-width: 1199px) {
    #tab-Family .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_2_1000w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_2_1000w.png") type("image/png"))
    }

    #tab-Couple .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_3_1000w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_3_1000w.png") type("image/png"))
    }

    #tab-International .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_1_1000w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_1_1000w.png") type("image/png"))
    }

    .homeStoryWrap {
        background-image: image-set(url("../images/home/Blanket_Home_Story_BG-1200w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_Story_BG-1200w.jpg") type("image/jpg"))
    }
}

@media (max-width: 999px) {
    #tab-Family .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_2_700w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_2_700w.png") type("image/png"))
    }

    #tab-Couple .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_3_700w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_3_700w.png") type("image/png"))
    }

    #tab-International .stayTab_content_Wrap {
        background-image: image-set(url("../images/home/Blanket_Home_imgs_1_700w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_imgs_1_700w.png") type("image/png"))
    }

    .homeStoryWrap {
        background-image: image-set(url("../images/home/Blanket_Home_Story_BG-800w.webp") type("image/webp"),
                url("../images/home/Blanket_Home_Story_BG-800w.jpg") type("image/jpg"))
    }
}