/* =========================================
   MOBILE STYLES (max-width: 991px)
   ========================================= */

@media screen and (max-width: 991px) {
    /* --- General Layout --- */
    .bg-fixed {
        background-attachment: scroll !important;
    }
    
    /* --- Header & Slider --- */
    .header {
        background-attachment: scroll !important;
        background-position: 50% 0% !important;
    }
    
    .header .caption h1 {
        font-size: 40px;
    }
    
    .video-fullscreen-wrap .booking-box,
    .kenburns-inner .booking-box,
    .banner-header .booking-box {
        display: none;
    }
    
    /* --- Navbar Mobile --- */
    .navbar {
        padding-left: 0px;
        padding-right: 0px;
        background: transparent;
        padding-top: 0px;
        padding-bottom: 0px;
        height: auto;
        min-height: 90px;
    }
    
    .nav-scroll {
        background: #fff;
        min-height: 90px;
    }
    
    .navbar-top {
        min-height: 70px;
        padding: 15px 15px;
        position: relative;
    }
    
    .nav-scroll .navbar-top {
        min-height: 50px;
        padding: 8px 15px;
    }
    
    .logo-wrapper {
        float: none;
        padding: 0;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        flex: 1;
    }
    
    .nav-scroll .logo-wrapper {
        padding: 0;
        background-color: transparent;
        height: auto;
    }
    
    .nav-scroll .logo-img {
        height: 50px !important;
        width: auto !important;
        max-width: 150px !important;
        transform: translateX(-25px) !important;
    }
    
    .logo-img {
        margin-bottom: 0px !important;
        height: 60px !important;
        width: auto !important;
        max-width: 180px !important;
        padding: 0 !important;
        object-fit: contain !important;
        transform: translateX(-25px) !important;
    }
    
    .navbar .navbar-nav {
        padding-top: 5px;
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-top: -15px !important; /* Adjust this value to move up/down */
        padding: 8px 12px;
        outline: none !important;
        background: transparent;
        border: none;
        z-index: 1000;
        display: block;
        color: #222;
    }
    
    .nav-scroll .navbar-toggler {
        top: 30px;
        transform: translateY(0);
    }
    
    .navbar-toggler-icon {
        display: block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 24px;
        color: #222;
    }
    
    .navbar .navbar-collapse {
        max-height: 450px;
        overflow: auto;
        background: #fff;
        text-align: left;
        padding: 20px;
        margin-top: 0;
        border-top: 1px solid #ececec;
        width: 100%;
    }
    
    .navbar .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
    }
    
    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        text-align: left;
        color: #222;
        padding-right: 0px;
        padding-left: 0px;
    }
    
    .nav-scroll .navbar-collapse .nav-link {
        color: #222 !important;
    }
    
    .nav-scroll .navbar-collapse .active {
        color: #aa8453 !important;
    }
    
    /* Mobile Dropdown */
    .navbar .dropdown-menu {
        border: none;
        padding: 0;
        border-radius: 0;
        margin: 0;
        background: #fff;
        box-shadow: none;
    }
    
    .navbar .dropdown-submenu .dropdown-menu {
        margin: 0;
        padding: 0 0 0 20px;
        position: static;
        width: auto;
        background: transparent;
        display: none;
    }
    
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }
    
    .navbar .dropdown-menu .dropdown-item {
        padding: 0 15px;
        font-size: 15px;
        line-height: 40px;
        color: #222; /* Ensure dark text on mobile */
    }
    
    .navbar .dropdown-menu .dropdown-item:hover {
        background: transparent;
        color: #aa8453;
    }
    
    .navbar .dropdown-submenu .dropdown-toggle::after {
        right: 15px;
        font-size: 13px;
        float: right;
        margin-top: 7px;
    }
    
    /* --- Footer Mobile --- */
    .footer-top {
        padding: 60px 0 40px 0;
    }
    
    .footer-column {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column:hover .footer-title::after {
        width: 100px;
    }
    
    .footer-about-social-list {
        justify-content: center;
        margin-top: 20px;
    }
    
    /* Footer Row 12 (Mobile stack) */
    .footer-row-12 {
        display: block;
        margin: 0;
    }
    
    .footer-row-12 > [class*="col-"] {
        width: 100%;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    /* --- Booking Mobile --- */
    .booking2-wrapper {
        margin-bottom: 40px;
    }
    
    .form1 .col1 {
        width: 50%;
        border-bottom: 1px solid #ececec;
    }
    
    .form1 .c2 {
        border-right: none;
    }
    
    .form1 .col2, .form1 .col3 {
        width: 25%;
    }
    
    .booking-wrapper {
        position: relative;
        bottom: auto;
        padding: 30px 0;
        background: #f8f5f0;
    }
    
    .booking-box {
        margin-bottom: 90px;
        padding: 35px 20px;
    }
    
    /* --- Components --- */
    .testimonials-box {
        margin-bottom: 90px;
        padding: 35px 20px;
    }
    
    .position {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .position-title, 
    .position-location, 
    .position-time {
        flex-basis: 100%;
        margin-top: 15px;
    }
    
    .position-icon {
        display: none;
    }
    
    /* Services Responsive */
    .services .img {
        height: 350px;
    }
    
    .services .content {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .deluxe-rooms-section {
        padding-bottom: 10px;
    }
    
    .deluxe-details-section {
        padding-top: 20px;
    }
}

/* Tablet Specific (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-row-12 {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 25px;
        margin: 0;
    }
    
    .footer-row-12 > .col-md-4 {
        grid-column: span 4;
    }
    
    .footer-row-12 > .col-md-12 {
        grid-column: span 12;
    }
    
    .section-padding {
        padding: 80px 0;
    }
}

/* Mobile Portrait (max-width: 767px) */
@media screen and (max-width: 767px) {
    .header {
        min-height: 50vh !important;
    }
    
    .header .caption h1 {
        font-size: 30px;
        margin-bottom: 15px;
        letter-spacing: 10px;
        line-height: 1.35em;
    }
    
    .header .caption h3 {
        font-size: 30px;
        margin-bottom: 15px;
        letter-spacing: 10px;
        line-height: 1.35em;
    }
    
    .header .caption h4 {
        font-size: 12px;
    }
    
    .header .caption p {
        font-size: 15px;
        margin-right: 10px;
    }
    
    .testimonials-box {
        padding: 0px;
    }
    
    .form1 .col1, .form1 .col2, .form1 .col3 {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #ececec;
    }
    
    .comming {
        min-height: 120vh;
    }
    
    .footer-top {
        padding: 50px 0 30px 0;
    }
    
    .footer-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .footer-logo-img {
        max-width: 150px;
        margin: 0 auto;
    }
    
    .footer-contact-text {
        font-size: 14px;
    }
    
    .footer-about-social-list a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .slider-fade .owl-nav,
    .slider-grid-bg .owl-theme .owl-nav, 
    .rooms1 .owl-theme .owl-nav {
        display: none;
    }
    
    .services .img {
        height: 300px;
    }
    
    .g-review-card {
        margin-bottom: 20px;
    }
}

/* Extra Small Mobile (max-width: 575px) */
@media screen and (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-collapse {
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 14px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-toggler {
        padding: 5px 10px;
        font-size: 20px;
    }
    
    .logo-img {
        max-width: 150px;
        height: 50px;
    }
    
    /* Booking Mobile Button */
    .booking-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #aa8453;
        padding: 15px;
        text-align: center;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .booking-mobile a {
        display: block;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .services .img {
        height: 250px;
    }
    
    /* Footer Alt */
    .footer-alt .footer-links {
        gap: 6px 12px;
    }
    .footer-alt .footer-social-title {
        text-align: left;
    }
}
