/* 1. Hide mobile elements by default (Desktop/Large Screens) */
.mobile-menu-overlay, 
.mobile-header {
    display: none !important;
}
@media (max-width: 992px) {
    /* 1. Force the main background to white so gaps aren't black */
    html, body {
        background-color: #ffffff !important;
    }

    /* 2. Remove the black gaps between divs by ensuring they have a solid white background */
    .about-section, 
    .modern-pool-section, 
    .bago-v3-intro, 
    .bago-v3-footer {
        background-color: #ffffff !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        border: none !important;
    }

    /* 3. If you used negative margins to move things, reset them to avoid "peeking" */
    .about-section {
        margin-top: 0 !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 Optimization for Water Activities Section */
@media (max-width: 992px) {
    /* 1. Added more top padding to clear the header/logo */
    .canoe-section {
        flex-direction: column-reverse !important;
        padding: 100px 20px 40px 20px !important; 
        gap: 30px !important;
        text-align: center;
    }

    .canoe-visual {
        width: 100%;
    }

    .canoe-img {
        height: 200px !important;
        box-shadow: 15px 15px 0px -5px #f4f7f6 !important; /* Smaller decorative shadow */
    }

    .canoe-content {
        text-align: center;
    }

    /* Remove side border on mobile for better centering */
    .canoe-rhythm {
        border-left: none !important;
        border-top: 1px solid #c5a059;
        padding-left: 0 !important;
        padding-top: 15px;
        margin: 0 auto 30px auto;
        display: inline-block;
        margin-top: -30px !important;
         margin-bottom: 25px !important;
    }
    .rhythm-item {
       
        /* line-height: 1.5 !important; */

       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;  */
        -webkit-font-smoothing: antialiased;
       
 
        
    }
    /* 2. Fix the Quiet Luxury Section overlap */
    .quiet-luxury-section {
        margin-top: 0 !important; /* Removes the negative margin causing the overlap */
        padding: 40px 5% !important;
    }

    .quiet-wrapper {
        flex-direction: column !important;
        border: none !important;
    }

    .quiet-card {
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 20px;
    }

    /* Reduce image padding so they don't look too small on phones */
    .quiet-img-box {
        height: 300px !important;
        padding: 20px 30px !important; 
    }

    .quiet-text-box {
        padding: 20px 15px 50px 15px !important;
    }

    .quiet-text-box h2 {
        font-size: 26px !important;
    }
}
@media (max-width: 768px) {
    /* Main Content Container */
    .canoe-content {
        text-align: center !important;
        padding: 0 5px;
    }

    /* Small "Water Activities" Label */
    .canoe-content .subtitle {
          font-family: 'Inter', sans-serif !important;
        font-size: 13px !important;
        letter-spacing: 2px !important;
        text-transform: uppercase;
        color: #b38e44 !important;
        margin-bottom: 5px !important;
        display: block;

    }

    /* Main "Canoeing Through..." Heading */
    .canoe-content h2 {
        font-size: 21px !important;
        line-height: 1.2 !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
        padding: 0 10px;
    }

    /* The Description Paragraph */
    .canoe-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;
    }
}


/* next */

@media (max-width: 900px) {
    /* 1. The Main Container - Removed all negative margins for consistent flow */
    .quiet-luxury-section {
        margin-top: 0 !important; 
        padding: 10px 0px !important; /* Standardized vertical breath */
        background-color: #ffffff;
        margin-top: -50px !important;
    }

    /* 2. The Wrapper - Controls the gap between the two cards */
    .quiet-wrapper {
        flex-direction: column !important;
        border: none !important;
        gap: 60px !important; /* Equal gap between Kayaking and Shikkara */
    }

    /* 3. The Cards - Standardized spacing */
    .quiet-card {
        border-right: none !important;
        border-bottom: none !important; /* Removed border to keep gap clean */
        margin-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        gap: 20px !important; /* Gap between image and text inside card */
    }

    /* 4. Image Boxes - Uniform sizing */
    .quiet-img-box {
        height: 300px !important;
        padding: 0 10px !important; /* Minimal side padding to maximize image width */
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 5. Text Boxes - Centered and padded */
    .quiet-text-box {
        padding: 0 10% !important;
        text-align: center !important;
    }

    .quiet-text-box h2 {
        font-size: 24px !important;
        margin: 15px 0 10px 0 !important;
    }

    .quiet-text-box p {
       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;
    }

    .quiet-text-box .icon {
        font-size: 1.8rem !important;
        margin-bottom: 5px !important;
        margin-top: -10px !important;
    }
}
@media (max-width: 900px) {
    /* Targets ONLY the second card (Shikkara) */
    .quiet-wrapper .quiet-card:last-child {
        margin-top: -30px !important; /* Adjust this value to move it higher or lower */
        position: relative;
        z-index: 1;
    }

    /* Optional: Ensure the text box inside this card stays tight to its image */
    .quiet-wrapper .quiet-card:last-child .quiet-text-box {
        padding-top: -10px !important;
        margin-bottom: 20px !important;
    }
}
/* 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: 0 !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 */
    }

   

    
}