/* 1. Hide mobile elements by default (Desktop/Large Screens) */
.mobile-menu-overlay, 
.mobile-header {
    display: none !important;
}

/* 2. Show ONLY on Mobile/Tablets */
@media (max-width: 992px) {
    .mobile-header {
        display: flex !important; /* Shows the bar with logo and hamburger */
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #fff;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* The overlay should only exist when the toggle function triggers it */
    .mobile-menu-overlay {
        /* Keep this as none or flex depending on your JavaScript toggleMenu() logic */
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 2000;
    }
    
    /* This class is likely what your toggleMenu() function adds/removes */
    .mobile-menu-overlay.active {
        display: block !important;
    }
}

@media (max-width: 992px) {
    /* 1. Reset & Global Fixes */
    header:not(.mobile-header), 
    nav, 
    .about-sub-nav, 
    .social-icons, 
    .reserve-wrapper {
        display: none !important;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* 2. Fixed Header Alignment */
    .mobile-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 80px;
        background: #197b7e;
        padding: 0 20px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    }

    .logo-left img {
        width: 150px;
        height: auto;
        display: block;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        cursor: pointer;
    }

    .bar {
        width: 28px;
        height: 2px;
        background-color: #c5a059;
    }

    /* 3. Menu Overlay & Content */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100%;
        background: #197b7e;
        z-index: 9999;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        padding: 90px 30px 40px 30px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .mobile-menu-overlay.active {
        right: 0;
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 40px;
        color: #c5a059;
        cursor: pointer;
    }

    .menu-section {
        margin-bottom: 35px;
        width: 100%;
    }

    .menu-label {
        color: #c5a059;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
        padding-bottom: 5px;
        display: block;
    }

    /* 4. Shared List Styling for Both Menus */
    .mob-list, .about-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .mob-list li, .about-menu-list li {
        width: 100%;
    }

    .mob-list li a, 
    .about-menu-list li a, 
    .mob-drop-btn {
        color: #ffffff;
        text-decoration: none;
        font-size: 20px;
        font-family: 'Cormorant Garamond', serif;
        display: block;
        padding: 12px 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* 5. Destination Dropdown with Icon Gap */
    .mob-drop-btn {
        display: flex !important;
        justify-content: space-between; /* Pushes + to the right */
        align-items: center;
    }

    .mob-drop-btn i {
        font-size: 14px;
        color: #c5a059;
        margin-right: 5px;
    }

    .mob-sub {
        display: none;
        list-style: none;
        padding-left: 20px;
        background: rgba(255, 255, 255, 0.03);
    }

    .mob-sub li a {
        font-size: 18px;
        color: rgba(255,255,255,0.7);
        border-bottom: none;
    }

    /* 6. Book Now Button */
    .mobile-book-container {
        margin-top: 15px;
        width: 100%;
    }

    .mob-book-btn {
        display: block;
        width: 100%;
        background: #c5a059;
        color: #fff;
        text-align: center;
        padding: 16px;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
}

/* Helper to hide mobile header on desktop */
@media (min-width: 993px) {
    .mobile-header { display: none !important; }
}
/* --- UPDATED LOGO SIZE SECTION --- */
@media (max-width: 992px) {
    .logo-left {
        /* Increased from 150px to 220px to allow for a larger logo */
        max-width: 220px; 
    }

    .logo-left img {
        /* This ensures the image fills the 220px container */
        width: 100%; 
        height: auto;
        display: block;
        /* Optional: adjust vertical alignment if the logo feels too close to the top */
        padding: 5px 0; 
    }

    .mobile-header {
        /* Increased height slightly to 90px to accommodate the larger logo comfortably */
        height: 90px; 
    }
}
.logo-left img {
    width: 180px;
    height: auto;
    /* This boosts the brightness and contrast slightly to make it pop */
    filter: brightness(1.1) contrast(1.1); 
}
@media (max-width: 992px) {
    /* --- LOGO CLEARNESS FIX --- */
    .logo-left img {
        width: 120px; 
        height: auto;
        display: block;

        /* 1. Remove the 'Glass' filters that cause blur on white */
        filter: none !important; 

        /* 2. Sharpen the image rendering for mobile screens */
        image-rendering: -webkit-optimize-contrast; 
        image-rendering: crisp-edges;

        /* 3. Add a very faint shadow to give it a "3D" clear look */
        filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.1)) !important;
        
        /* 4. Ensure no opacity is hiding the details */
        opacity: 1 !important;
    }

    /* --- HEADER BACKGROUND (STAYS WHITE) --- */
    .mobile-header {
        background: #ffffff !important;
        border-bottom: 1px solid #f0f0f0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
        height: 80px;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    /* --- ICON TOGGLE (REDUCED GAP) --- */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px !important; 
        padding: 10px;
    }

    .bar {
        background-color: #197b7e !important;
        height: 2px;
        width: 28px;
        margin: 0 !important;
    }
}

@media (max-width: 992px) {
    /* 1. Reset the Container to ensure no desktop "leak" affects it */
    .book-now-container, 
    .mobile-book-container {
        display: flex !important;
        justify-content: flex-start !important; /* Align left to match menu items */
        width: 100% !important;
        margin-top: 30px !important; /* Space between the last menu item and button */
        padding: 0 !important;
    }

    /* 2. The Unique Button Styling */
    .book-now-standalone, 
    .mob-book-btn {
        /* Keep your OK width/height, but refine the scale */
        width: 280px !important;  /* Slightly narrower looks more "boutique" */
        height: 18px !important;  
        
        /* Font Fix: Small & Spaced Out = Premium */
        font-family: 'Montserrat', sans-serif !important;
        font-size: 11px !important;      /* Reduced size makes the button feel smaller */
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 2.5px !important; /* Extra space makes it look high-end */
        font-style: normal !important;   /* No italics here either */

        /* Design Fix */
        background-color: #c5a059 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 0 !important;      /* Sharp edges like the screenshot */
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
    }
}
@media (max-width: 992px) {
    /* 1. Add the gap to the second button container */
    .quick-pay-margin {
        margin-top: 12px !important; /* Adjust this number for more or less gap */
        pointer-events: none; /* Makes the 12px gap non-clickable */
    }

    /* 2. Ensure the link inside remains clickable */
    .quick-pay-margin .mob-book-btn {
        pointer-events: auto;
        display: block;
        /* Inherits all gold styling from your existing .mob-book-btn */
    }

    /* 3. Global fix: ensure the container itself doesn't trigger clicks in the gaps */
    .mobile-book-container {
        width: 100%;
        display: block;
    }
}
/* next */

/* --- Mobile & Tablet Responsive Styles --- */
@media (max-width: 991px) {
    .sb-rooms { 
        /* Reduce massive desktop padding for mobile screens */
        padding: 10px 20px 80px 20px; 
        margin-top: -60px !important;
    }

    .sb-row, 
    .sb-row.reverse { 
        flex-direction: column; /* Stack image on top of text */
        gap: 30px; 
        margin-bottom: 70px; /* Space between room sections */
    }

    .sb-image-area, 
    .sb-content-area {
        width: 100%;
        flex: none;
    }

    .sb-main-display { 
        height: 280px; /* Smaller main image for phone screens */
    }

    .sb-thumb {
        height: 60px; /* Smaller thumbnails to fit the width */
    }

    .sb-title {
        font-size: 22px !important; /* Slightly smaller title */
        margin-top: -10px;
        margin-bottom: 10px !important;
    }

    .sb-specs-row {
        flex-wrap: wrap; /* Allow icons to wrap to a second line if needed */
        gap: 10px;
        padding-bottom: 15px;
        margin-bottom: 5px;
    }

    .sb-spec {
        font-size: 0.8rem;
    }

    .sb-description {
        font-family: 'DM Sans', sans-serif !important;
        font-weight: 400 !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        color: #363535 !important;
        text-align: justify !important; /* Kept your requested alignment */
        -webkit-font-smoothing: antialiased;
        margin-top: -30px !important;
        margin-bottom: -30px !important;

    }
    
    .sb-price-badge {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.65rem;
    }
}

/* Extra small screens (Phones) */
@media (max-width: 480px) {
    .sb-main-display { 
        height: 220px; 
    }
    .sb-thumbnail-grid {
        gap: 5px; /* Tighter gap for small screens */
    }
    .sb-thumb {
        height: 50px;
    }
}
@media (max-width: 991px) {
    /* 1. Set the specific gap between every room row */
    .sb-row {
        margin-bottom: 80px !important; /* Adjust this number to your preferred gap size */
    }

    /* 2. Remove the extra bottom padding from the main section so the last room doesn't have a double gap */
    .sb-rooms { 
        padding-bottom: 50px !important; 
    }

    /* 3. Ensure the last room doesn't add extra margin */
    .sb-row:last-child {
        margin-bottom: 0 !important;
    }
}
/* next */

/* next */
/* --- PREMIUM FOOTER MOBILE OPTIMIZATION --- */
/* --- THE ULTIMATE BAGO MOBILE FOOTER (CONSOLIDATED) --- */
@media screen and (max-width: 768px) {
    
    /* 1. SECTION RESET: Center & Kill Top Gaps */
    footer.premium-footer {
        padding: 20px 0 30px !important; /* Tight top space */
        text-align: center !important;
        margin-top: -5px !important;
    }

    /* 2. CONTAINER: Force Stack & Zero Gap */
    footer.premium-footer .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important; /* Kills all mechanical gaps between blocks */
        padding: 0 25px !important;
    }

    /* 3. LOGO: Perfect Center & Overlap */
    footer.premium-footer .footer-hotel-info {
        margin-top: -55px !important; /* Overlap control */
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    footer.premium-footer .footer-hotel-info img {
        width: 220px !important; /* Boutique logo size */
        margin-left: 0 !important;
        margin-bottom: -15px !important; /* Sucks pillars up to logo */
    }

    /* 4. BRAND PILLARS: Zero Gap Sentences */
    footer.premium-footer .brand-pillars {
        margin: 0 0 15px 0 !important; /* 15px is the ONLY gap before Explore */
        padding: 0 !important;
        width: 100% !important;
    }

    footer.premium-footer .brand-pillars p {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 17px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* 5. EXPLORE SECTION: Tight Center */
    footer.premium-footer .footer-explore,
    footer.premium-footer .footer-about {
        margin-top: 10px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    footer.premium-footer .footer-heading {
        font-size: 16px !important;
        margin-bottom: 15px !important;
        letter-spacing: 2px !important;
    }

    footer.premium-footer .footer-heading::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* 6. CONTACT & SOCIALS: Alignment Fix */
    footer.premium-footer .social-icons {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }

    footer.premium-footer .contact-details {
        align-items: center !important;
        gap: 10px !important;
    }

    footer.premium-footer .contact-details p {
        justify-content: center !important;
        font-size: 13px !important;
        margin: 0 !important;
    }
}
@media screen and (max-width: 768px) {
    /* 1. Neutralize the container */
    footer.premium-footer .footer-hotel-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Force children to center */
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 2. Force the Image to center */
    footer.premium-footer .footer-hotel-info img {
        display: block !important;
        margin-left: auto !important;  /* The "Magic" centering trick */
        margin-right: auto !important; /* The "Magic" centering trick */
        float: none !important;        /* Kills any left-float */
        width: 200px !important;       /* Adjust size as needed */
    }

    /* 3. Ensure Brand Pillars follow the center */
    footer.premium-footer .brand-pillars {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }
}
@media screen and (max-width: 768px) {

    /* 1. Pull the text UP to the logo */
    footer.premium-footer .footer-hotel-info img {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 200px !important;
        
        /* AGGRESSIVE GAP KILLER */
        margin-bottom: -25px !important; /* Pulls the brand pillars up into the logo's space */
        padding-bottom: 0 !important;
    }

    /* 2. Zero out the Brand Pillars spacing */
    footer.premium-footer .brand-pillars {
        margin-top: 0 !important; 
        padding-top: 0 !important;
        margin-bottom: 20px !important; /* This is the ONLY gap before 'Explore' */
    }

    /* 3. Tighten the individual lines of text */
    footer.premium-footer .brand-pillars p {
        margin-bottom: 2px !important; 
        line-height: 1.2 !important;
    }
}
/* --- FOLLOW US MOBILE SPACING FIX --- */
@media screen and (max-width: 768px) {

    /* 1. Gap between 'Follow Us' heading and the icons */
    .premium-footer .footer-about .footer-heading {
        margin-bottom: 15px !important; /* Increase this to move underline further from text */
    }

   

    
}