/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

/* Extra Large Screens */
@media (max-width: 1400px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important; /* Hide custom cursor on non-desktop hover layouts if desired */
    }
}

/* Notebooks & Desktops */
@media (max-width: 1200px) {
    :root {
        font-size: 15px;
    }
    .grid-cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablets Landscape */
@media (max-width: 992px) {
    :root {
        font-size: 14px;
    }
    
    .grid-cols-3, .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    /* Navigation Adjustments for Tablet/Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: var(--transition-smooth);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding: 0.5rem 0 0.5rem 1rem;
        display: none;
        min-width: auto;
    }
    
    .nav-item.active-mobile .dropdown-menu {
        display: block;
    }
    
    .has-mega-menu {
        position: relative;
    }
    
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding: 0.5rem 0 0.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: none;
    }
    
    .nav-item.active-mobile .mega-menu {
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .mega-menu-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        border-bottom: none;
        padding-bottom: 0;
    }

    .mega-menu-list li {
        margin-bottom: 0.4rem;
    }
    
    /* Hero sections */
    .hero-slider-content h1 {
        font-size: 4rem !important;
    }
    
    /* Floating items */
    .floating-sidebar {
        right: 1rem;
    }
    #whatsapp-btn {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

/* Tablets Portrait & Large Mobile */
@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3, .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
    
    .py-20 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
    .py-32 { padding-top: 5rem; padding-bottom: 5rem; }
    
    /* Footer bottom layout */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Reservations / Contact page structure splits */
    .split-layout {
        flex-direction: column;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }
    .hero-slider-content h1 {
        font-size: 3rem !important;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}
