/* ===========================================
   MOBILE RESPONSIVE FIXES 
   Only adjusts sizing/spacing for small screens
   Does NOT change any desktop design or colors.
=========================================== */

/* ====== GLOBAL FIX: Prevent Horizontal Overflow ====== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Hide mobile elements on desktop by default */
.mobile-menu-toggle, .mobile-drawer, .drawer-overlay {
    display: none !important;
}
*, *::before, *::after {
    box-sizing: border-box;
}
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* ====== TABLET: max-width 991px ====== */
@media (max-width: 991px) {

    /* --- Header / Nav --- */
    .header_menu .container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .mobile-menu-toggle {
    display: none;
    background: #020101!important;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}
    .navbar-brand img {
        max-width: 80px !important;
    }
    
    /* --- Header Top Bar Mobile fix --- */
    .header-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #b9ab91 !important;
        position: relative !important;
        z-index: 9999 !important;
    }
    .header-content .container {
        padding: 5px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .header-content .links {
        display: block !important;
        float: none !important;
        margin: 2px 0 !important;
    }
    .header-content li {
        padding: 4px 8px !important;
        font-size: 11px !important;
        border: none !important;
    }
    .header-content li a {
        font-size: 11px !important;
        color: #fff !important;
    }
    .links-right {
        margin-top: 5px !important;
    }

    /* --- Mobile Menu Drawer / Toggle Re-enable --- */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .mobile-drawer {
        display: none !important; /* Will be set to flex by JS */
    }
    
    .mobile-drawer.active {
        display: flex !important;
        left: 0 !important;
    }

    /* --- Mobile Menu Drawer Styles --- */
    .navbar-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    .navbar-brand {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .mobile-menu-toggle {
        display: block !important;
        background: #c5a059 !important;
        border: none !important;
        color: #fff !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 8px !important;
        font-size: 20px !important;
        cursor: pointer !important;
        transition: all 0.3s !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    .mobile-menu-toggle:hover {
        background: #264430 !important;
    }
    
    /* Hide the old slicknav button */
    .slicknav_btn {
        display: none !important;
    }
    
    .mobile-drawer {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 100000 !important;
        transition: all 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0) !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1) !important;
    }
    .mobile-drawer.active {
        left: 0 !important;
    }
    .drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.7) !important;
        z-index: 99999 !important;
        display: none !important;
        backdrop-filter: blur(5px) !important;
    }
    .drawer-overlay.active {
        display: block !important;
    }
    
    .drawer-header {
        padding: 30px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
    .drawer-logo {
        text-align: center !important;
        width: 100% !important;
    }
    .drawer-logo img {
        height: 60px !important;
        width: auto !important;
        border-radius: 0 !important; /* Ensure it's not circular if not intended */
        display: inline-block !important;
    }
    .drawer-close {
        background: transparent !important;
        border: none !important;
        color: #111 !important;
        font-size: 24px !important;
    }
    
    .drawer-content {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 20px 0 !important;
    }
    #slicknav-mobile {
        background: transparent !important;
    }
    .slicknav_nav {
        background: transparent !important;
        position: static !important;
        display: block !important;
        width: 100% !important;
    }
    .slicknav_nav a {
        padding: 15px 30px !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(0,0,0,0.03) !important;
        color: #111 !important;
    }
    .slicknav_nav .slicknav_row:hover, .slicknav_nav a:hover {
        background: rgba(197, 160, 89, 0.1) !important;
        color: #c5a059 !important;
    }
    
    .drawer-footer {
        padding: 30px !important;
        border-top: 1px solid rgba(0,0,0,0.05) !important;
        background: rgba(0,0,0,0.02) !important;
    }
    .drawer-contact p {
        color: #555 !important;
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    .drawer-contact i {
        color: #c5a059 !important;
        margin-right: 10px !important;
        width: 15px !important;
    }
    .drawer-social {
        margin-top: 15px !important;
        display: flex !important;
        gap: 15px !important;
    }
    .drawer-social a {
        color: #fff !important;
        font-size: 18px !important;
        opacity: 0.6 !important;
    }
    .drawer-social a:hover {
        opacity: 1 !important;
        color: #c5a059 !important;
    }
    
    body.no-scroll {
        overflow: hidden !important;
    }

    /* --- Slider --- */
    .banner .swiper-content h1,
    .banner .swiper-content h1 span {
        font-size: 20px !important;
        word-break: break-word;
    }
    .banner .swiper-content h3 {
        font-size: 1.2rem !important;
    }
    .slider-description {
        font-size: 1rem !important;
        padding: 0 15px;
    }
    .slider-highlights-mini span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
    .slider-btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }

    /* --- About Section --- */
    .about-redesign {
        padding: 60px 0 !important;
    }
    .about-swiper-unique {
        height: 400px !important;
    }
    .about-slide-img-unique {
        height: 400px !important;
    }
    .about-redesign h2 {
        font-size: 2.2rem !important;
    }
    .about-redesign h3 {
        font-size: 1.8rem !important;
    }
    .about-redesign p {
        font-size: 1rem !important;
    }

    /* --- Room Section --- */
    .rooms-section {
        padding: 60px 0 !important;
    }
    .rooms-section .container {
        padding: 0 15px;
    }

    /* --- Booking Section --- */
    .luxury-inquiry-section {
        padding: 60px 0 !important;
    }
    .luxury-inquiry-section .container {
        padding: 0 15px;
    }
    .premium-booking-form-wrap {
        padding: 35px !important;
        margin-right: 0 !important;
        border-radius: 25px !important;
    }
    .contact-info-luxe h2 {
        font-size: 2.4rem !important;
    }

    /* --- Location Section --- */
    .location-explore-section {
        padding: 60px 0 !important;
    }
    .map-container {
        min-height: 350px !important;
    }
    .loc-main-title {
        font-size: 2.5rem !important;
    }
    .loc-info-card {
        padding: 30px !important;
    }
    
    /* --- Review Section --- */
    .vertical-chain-container {
        height: 500px !important;
    }
    .ref-card-chain {
        flex-direction: column !important;
        padding: 25px !important;
        text-align: center;
    }

    /* --- Footer --- */
    .footer-col-title {
        font-size: 1.8rem !important;
    }
    .gallery-thumb {
        min-width: 25% !important;
        height: 130px !important;
    }
}


/* ====== MOBILE: max-width 767px ====== */
@media (max-width: 767px) {

    /* --- Slider --- */
    .banner .swiper-content h1,
    .banner .swiper-content h1 span {
        font-size: 21px !important;
        line-height: 1.3 !important;
    }
    .banner .swiper-content h3 {
        font-size: 20px !important;
    }
    .slider-description {
        font-size:16px !important;
        line-height: 1.5 !important;
    }
    .slider-highlights-mini {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    .slider-highlights-mini span {
        font-size: 0.7rem !important;
        padding: 5px 10px !important;
    }
    .slider-btn {
        padding: 10px 18px !important;
        font-size: 0.8rem !important;
        display: inline-block !important;
        margin-bottom: 10px !important;
    }
    .banner .swiper-slide {
        background-position: center center !important;
    }

    /* --- Booking Form in Banner --- */
    .banner-form {
        padding: 0 10px !important;
    }
    .banner-form .form-content {
        padding: 20px 0 !important;
    }
    .banner-form .table-item {
        display: block !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* --- About Section --- */
    .about-redesign {
        padding: 40px 0 !important;
    }
    .about-swiper-unique {
        height: 300px !important;
    }
    .about-slide-img-unique {
        height: 300px !important;
    }
    .about-redesign h2 {
        font-size: 1.8rem !important;
    }
    .about-redesign h3 {
        font-size: 1.5rem !important;
    }
    .about-redesign p {
               font-size: 16px !important;
    }
    .about-redesign .stat-item h4 {
        font-size: 2rem !important;
    }

    /* --- Room Cards --- */
    .rooms-section {
        padding: 40px 0 !important;
    }
    .rooms-section h2 {
        font-size: 2rem !important;
    }
    .room-card-premium {
        margin: 0 0 30px 0 !important;
    }
    .room-card-premium .room-img-wrap {
        height: 250px !important;
    }
    .room-details-frame {
        padding: 20px !important;
    }
    .room-details-frame h3 {
        font-size: 1.3rem !important;
    }
    .room-card-premium .framed-outline {
        display: none !important;
    }

    /* --- Rooms.php Luxe Rows --- */
    .luxe-room-row .room-btns-wrap {
        flex-wrap: nowrap !important;
        gap: 10px !important;
        display: flex !important;
    }
    .luxe-room-row .btn-book-now,
    .luxe-room-row .btn-view-room {
        padding: 12px 10px !important;
        font-size: 12px !important;
        flex: 1;
        text-align: center;
        margin: 0 !important;
        letter-spacing: 0px !important;
    }
    .luxe-room-row .room-img-frame img {
        height: 250px !important;
        object-position: top center !important;
    }
    .luxe-room-row .room-content-card {
        padding: 25px 20px !important;
    }


    /* --- Experience Section --- */
    .exp-section-full {
        padding: 40px 0 !important;
    }
    .exp-section-full h2 {
        font-size: 2rem !important;
    }

    /* --- Gallery Section --- */
    .gallery-mosaic-item {
        height: 200px !important;
    }

    /* --- Review Section --- */
    .vertical-chain-container {
        height: 400px !important;
    }
    .ref-card-chain {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 15px !important;
        text-align: center;
    }
    .ref-card-chain .chain-photo {
        width: 80px !important;
        height: 80px !important;
    }
    .ref-card-chain h4 {
        font-size: 1.1rem !important;
    }
    .ref-card-chain p {
        font-size: 0.9rem !important;
    }
    .chain-scroller-track {
        gap: 30px !important;
    }

    /* --- Booking Section --- */
    .luxury-inquiry-section {
        padding: 40px 0 !important;
    }
    .luxury-inquiry-section h2 {
        font-size: 2rem !important;
    }
    .premium-booking-form-wrap {
        padding: 25px !important;
        margin-right: 0 !important;
        border-radius: 20px !important;
    }
    .form-header-luxe h3 {
        font-size: 1.5rem !important;
    }
    .form-header-luxe {
        margin-bottom: 30px !important;
    }
    .luxe-form input,
    .luxe-form select,
    .luxe-form textarea {
        padding: 14px 18px !important;
        font-size: 1rem !important;
    }
    .luxe-form label {
        font-size: 0.75rem !important;
    }
    .btn-submit-luxe {
        padding: 16px !important;
        font-size: 0.85rem !important;
    }
    .contact-item-link {
        padding: 10px 15px !important;
    }
    .c-label {
        font-size: 0.8rem !important;
    }
    .c-value {
        font-size: 0.95rem !important;
    }

    /* --- Location Section --- */
    .location-explore-section {
        padding: 50px 0 !important;
    }
    .loc-main-title {
        font-size: 2rem !important;
    }
    .loc-subtitle {
        font-size: 1rem !important;
    }
    .map-container {
        min-height: 280px !important;
        margin-bottom: 25px;
    }
    .loc-info-card {
        padding: 25px !important;
    }
    .distance-from-shimla {
        padding: 18px !important;
    }
    .distance-from-shimla h4 {
        font-size: 1.2rem !important;
    }
    .attraction-item {
        margin-bottom: 20px !important;
    }
    .attraction-detail h5 {
        font-size: 1.05rem !important;
    }
    .attraction-detail p {
        font-size: 0.85rem !important;
    }
    .attractions-title {
        font-size: 1.3rem !important;
    }

    /* --- Footer --- */
    .footer-col-title {
        font-size: 1.5rem !important;
    }
    .footer-col-text {
        font-size: 1rem !important;
    }
    .footer-links-list a {
        font-size: 1rem !important;
    }
    .fc-value {
        font-size: 1rem !important;
    }
    .gallery-thumb {
        min-width: 50% !important;
        height: 100px !important;
    }
    .footer-copyright-bar {
        text-align: center !important;
    }
    .footer-copyright-bar .text-md-right {
        text-align: center !important;
    }
    .orbital-ring {
        display: none !important;
    }

    /* --- About Redesign Responsive --- */
    .about-redesign {
        padding: 50px 0 !important;
    }
    .about-content-premium {
        text-align: center !important;
        margin-top: 40px;
    }
    .about-content-premium h2 {
        font-size: 2rem !important;
    }
    .about-features-mini {
        text-align: left !important;
    }
    .about-swiper-unique {
        height: 350px !important;
    }

    /* --- Stats --- */
    .stat-item h4 {
        font-size: 2.5rem !important;
    }
    .stat-item span {
        font-size: 1.1rem !important;
    }

    /* --- Why Us --- */
    .luxury-card {
        padding: 30px 20px !important;
    }
    .luxury-card i {
        font-size: 2.5rem !important;
    }

    /* --- About Banners Responsive --- */
    .breadcrumb-outer {
        padding: 100px 0 60px !important;
        min-height: 300px !important;
        margin-top: 28% !important; /* Reset overlap from desktop */
    }
    .breadcrumb-outer h2 {
        font-size: 2rem !important;
        letter-spacing: 2px !important;
    }
    .breadcrumb-outer .global-subheading {
        font-size: 1.5rem !important;
    }
    
    /* Ensure header area is static on mobile */
    .header_menu {
        position: relative !important;
        top: 0 !important;
    }

    /* --- Video Background Phone Fix --- */
    .video-box-container {
        padding: 60px 0 !important;
        min-height: 400px;
    }
    .bg-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* --- Our Legacy Responsive --- */
    .our-legacy-section {
        padding: 60px 0 !important;
    }
    .legacy-content {
        text-align: center !important;
        margin-bottom: 40px;
    }
    .legacy-content h2 {
        font-size: 2.2rem !important;
    }
    .story-wrapper {
        padding-left: 0 !important;
        border-left: none !important;
        border-top: 2px solid var(--accent-gold);
        padding-top: 20px;
    }
    .legacy-image {
        margin-top: 50px;
    }
    .exp-badge {
        bottom: -20px !important;
        left: 20px !important;
        right: 20px !important;
        padding: 15px !important;
    }
}


/* ====== SMALL MOBILE: max-width 480px ====== */
@media (max-width: 480px) {
    


    /* --- About --- */
    .about-swiper-unique {
        height: 250px !important;
    }
    .about-slide-img-unique {
        height: 250px !important;
    }
    .about-redesign h2 {
        font-size: 1.5rem !important;
    }

    /* --- Rooms --- */
    .rooms-section h2 {
        font-size: 1.6rem !important;
    }
    .room-card-premium .room-img-wrap {
        height: 200px !important;
    }

    /* --- Booking --- */
    .luxury-inquiry-section h2 {
        font-size: 1.6rem !important;
    }
    .premium-booking-form-wrap {
        padding: 20px !important;
    }
    .form-header-luxe h3 {
        font-size: 1.3rem !important;
    }
    .contact-blocks-wrap {
        gap: 10px !important;
    }

    /* --- Location --- */
    .loc-main-title {
        font-size: 1.6rem !important;
    }
    .loc-subtitle {
        font-size: 0.9rem !important;
    }
    .map-container {
        min-height: 220px !important;
    }
    .attraction-item {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    /* --- Footer --- */
    .footer-col-title {
        font-size: 1.3rem !important;
        text-align: center !important;
    }
    .footer-col-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-social-icons {
        justify-content: center !important;
    }
    .footer-brand p {
        font-size: 0.85rem !important;
    }
    .gallery-thumb {
        height: 80px !important;
    }
}
