/* Maya Sanur Style Accommodation Section - Top Nav Layout */
.home-accommodation {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Title Styling */
.home-accommodation .section-heading {
    font-family: 'Gilda Display', serif;
    font-size: 52px;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 400;
}
.home-accommodation .section-heading span {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    color: #ab8e66;
    letter-spacing: 4px;
    font-weight: 400;
}

/* Navigation List (Top - Horizontal) */
.accommodation-pagination {
    display: flex;
    flex-direction: row; /* Horizontal */
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 10px;
    border: none;
    flex-wrap: wrap;
}

.accommodation-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background: transparent;
    opacity: 1;
    text-align: center;
    margin: 0 25px !important; /* Horizontal Spacing */
    padding: 10px 0;
    font-family: 'Gilda Display', serif;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-block;
    border-radius: 0;
    position: relative;
}

.accommodation-pagination .swiper-pagination-bullet:hover {
    color: #555;
    transform: none; /* No movement */
}

.accommodation-pagination .swiper-pagination-bullet-active {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 400;
}

/* Active Line Indicator (Bottom Line) */
.accommodation-pagination .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    height: 2px;
    background: #ab8e66;
    transition: all 0.3s ease;
}

/* Slider Area */
.accommodation-slider-container {
    width: 100%;
    height: 750px;
    z-index: 1;
    position: relative;
}

.accommodation-slider-wrapper .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.accommodation-slider-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active img {
    transform: scale(1.1);
}

/* Navigation Arrows (Floating on Sides) */
.nav-arrows-floating {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none; /* Let clicks pass through container */
    z-index: 20;
}

.accommodation-swiper-button-prev,
.accommodation-swiper-button-next {
    width: 60px;
    height: 60px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #1a1a1a;
    pointer-events: auto; /* Enable clicks on buttons */
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.accommodation-swiper-button-prev:hover,
.accommodation-swiper-button-next:hover {
    background: #ab8e66;
    color: #fff;
}

.accommodation-swiper-button-prev::after,
.accommodation-swiper-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}
.accommodation-swiper-button-prev::after { content: '\f177'; }
.accommodation-swiper-button-next::after { content: '\f178'; }


/* Caption/Details (Sidebar Layout) */
.accommodation-caption {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff; /* White background box */
    padding: 60px 80px 60px 40px; /* Added left padding */
    z-index: 10;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Align text to right */
    text-align: right;
    box-shadow: 0 0 40px rgba(0,0,0,0.05); /* Soft shadow */
}

/* Adjust layout for large screens */
@media (min-width: 1200px) {
    .accommodation-caption {
        padding-right: 100px;
    }
}

.caption-wrapper .title {
    font-family: 'Gilda Display', serif;
    font-size: 36px; /* Larger title */
    color: #1a1a1a;
    margin-bottom: 25px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}
.caption-wrapper .title:hover { color: #ab8e66; }

.caption-wrapper .highlights {
    padding: 0;
    margin: 0 0 40px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align bullets to right */
}

.caption-wrapper .highlights li {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    padding-right: 25px; /* Space for bullet on right */
    padding-left: 0;
    position: relative;
}

/* Bullet on the right side */
.caption-wrapper .highlights li::before {
    content: '';
    position: absolute;
    right: 0;
    left: auto;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #ab8e66;
    border-radius: 50%;
}

/* CTA Button */
.cta-container .hlink {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #ab8e66;
    padding-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-container .hlink:hover {
    color: #ab8e66;
    letter-spacing: 3px;
}


/* Mobile Adjustments */
@media (max-width: 991px) {
    .home-accommodation {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .home-accommodation .section-heading {
        font-size: 36px;
        text-align: center;
        margin-bottom: 5px; /* Reduced from 20px to 5px to close gap */
    }
    
    .accommodation-slider-container {
        height: 400px;
        margin-bottom: 0px; /* Reduced from 30px to 0px to close gap */
    }
    
    .accommodation-caption {
        padding: 0px 15px 30px !important;
        align-items: center;
        text-align: center;
        background: transparent !important;
        margin-bottom: 30px;
        margin-top: -200px !important;
        transform: translateY(-20px) !important;
        position: relative !important;
        z-index: 20 !important;
        border-radius: 0 0 15px 15px;
    }
    
    .caption-wrapper .highlights {
        align-items: center;
    }
    
    .caption-wrapper .highlights li {
        padding-right: 0;
        padding-left: 0;
    }
    
    .caption-wrapper .highlights li::before {
        display: none; /* Hide bullets on mobile centered layout */
    }

    /* Hide desktop nav elements */
    .accommodation-pagination,
    .nav-arrows-floating {
        display: none !important;
    }
    
    /* Mobile Pagination Dots */
    .accommodation-pagination-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }
    
    .accommodation-pagination-mobile-bullet {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
    }
    
    .accommodation-pagination-mobile-bullet.active {
        background: #ab8e66;
        transform: scale(1.2);
    }
}

/* Override standard header/slider styles */
header.header.slider-fade {
    height: 100vh !important;
    position: relative !important;
    background: transparent !important;
}

header.header.slider-fade .swiper.hero-slider {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

header.header.slider-fade .swiper-wrapper {
    height: 100% !important;
}

header.header.slider-fade .swiper-slide {
    height: 100% !important;
}

/* =========================================
   MAYA RESORTS HERO SLIDER STYLE
   ========================================= */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: transparent !important; /* Fallback */
}

.hero-slider .swiper-slide {
    overflow: hidden;
    position: relative;
}

.hero-slider .slide-inner {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transform-origin: center;
    transition: transform 10s ease; /* Smooth transition for Ken Burns */
}

/* Ken Burns Effect - Active Slide Only */
.hero-slider .swiper-slide-active .slide-inner {
    animation: kenBurns 20s linear infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.hero-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 10%; /* Move to left */
    transform: translateY(-50%); /* Only vertical center */
    text-align: left; /* Left align text */
    color: #000 !important; /* Force Black globally here */
    z-index: 5;
    width: 100%;
    max-width: 800px; /* Limit width */
    padding: 0 20px;
}

.hero-slider .slide-subtitle {
    font-family: 'Barlow', sans-serif; /* Cleaner sans-serif */
    font-size: 18px;
    text-transform: none; /* Normal case or specific to design */
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
    text-shadow: none !important; /* No shadow */
    font-weight: 400;
    color: #000 !important; /* Force Black */
}

.hero-slider .slide-title {
    font-family: 'Gilda Display', serif;
    font-size: 80px; /* Larger title */
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.7s;
    text-shadow: none !important; /* No shadow */
    color: #000 !important; /* Force Black */
}

.hero-slider .btn-slider {
    display: none; /* Hide default button if using side button or different style */
}

/* Side Book Now Button (Yellow Vertical) */
.side-book-now {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffe100; /* Yellow color from screenshot */
    color: #000;
    padding: 30px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.side-book-now:hover {
    background-color: #e6c800;
    color: #000;
    padding-right: 20px;
}

.hero-slider-overlay {
    display: none !important;
}

/* Custom Navigation Controls */
.hero-nav-ctrl {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
}

.hero-nav-ctrl:hover {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

.hero-nav-ctrl.prev-ctrl { left: 40px; }
.hero-nav-ctrl.next-ctrl { right: 40px; }

.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
    border-color: #fff;
}

/* Wave/Curve Effect Position Override */
header.header.slider-fade .curve-bottom {
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero-slider .slide-title { font-size: 48px; }
}

@media (max-width: 768px) {
    .hero-slider .slide-title { font-size: 36px; margin-bottom: 20px; }
    .hero-slider .slide-subtitle { font-size: 14px; letter-spacing: 4px; margin-bottom: 15px; }
    .hero-nav-ctrl { display: none; } /* Hide arrows on mobile */
    .hero-slider .btn-slider { padding: 12px 30px; letter-spacing: 2px; }
}

/* FINAL AGGRESSIVE OVERRIDE TO REMOVE BLACK BACKGROUND COLOR ONLY */
/* MODIFIED: Removed .slide-inner and .bg-img from this list to preserve background images */
header, 
.header, 
.hero-slider, 
.swiper-container, 
.swiper-wrapper, 
.swiper-slide {
    background-color: transparent !important;
    /* Do NOT use 'background: transparent' as it resets background-image too */
}

/* GLOBAL BLACK SCREEN KILLER */
body, html {
    background-color: #E6D7BE !important;
    background: #E6D7BE !important;
}

/* Kill all possible black overlays */
[data-overlay-dark]:before,
.overlay,
.overlay-dark,
.hero-slider-overlay,
.slider-overlay,
.vegas-overlay,
.kenburns-section::after {
    background: transparent !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Ensure Video Wrapper is Beige if video fails */
.video-wrapper-custom, video {
    background-color: #E6D7BE !important;
}

/* For elements that DEFINITELY don't have images but might have black bg */
.hero-slider-overlay {
    display: none !important;
}

/* Remove any pseudo-element overlays that might be black */
.hero-slider::before, .hero-slider::after,
.slide-inner::before, .slide-inner::after,
.swiper-slide::before, .swiper-slide::after,
.header::before, .header::after,
.hero::before, .hero::after {
    background: transparent !important;
    display: none !important;
    height: 0 !important;
    content: none !important;
}

/* Minimal Overlay for Logo Readability */
.header::before, .hero::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 25px !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%) !important;
    z-index: 9999 !important;
}

/* Specifically target the overlay class again to be sure */
.hero-slider-overlay {
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
