@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    body .locked {
        display: block !important;
        position: fixed;
        width: 100%;
        z-index: 99999999999999999999;
        height: 100%;
        top: 0;
        left: 0;
    }
}


/* 📱 Teléfonos (ej. iPhone 6, 7, 8) */
@media (max-width: 480px) and (min-width: 320px) {
    
    body h4 {
        font-size: 13px;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    body h1 {
        font-size: 24px;
        letter-spacing: 0px;
        font-weight: 500;
    }
    body h6 {
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        opacity: 0.7;
    }
    body h2 {
        font-size: 24px;
    }
    .tobtn a{
        display: block;
        margin-left: 0px !important;
        margin-bottom: 20px;
    }
    .text-xs-left{
        text-align: left !important;
    }
    .mb-xs-0 {
        margin-bottom: 0px !important;
    }
    .mb-xs-10 {
        margin-bottom: 10px !important;
    }
    .mb-xs-20 {
        margin-bottom: 20px !important;
    }
    .mb-xs-40 {
        margin-bottom: 40px !important;
    }
    .mb-xs-80 {
        margin-bottom: 80px !important;
    }
    .latestProjects .col-md-4:first-child,
    .latestProjects .col-md-4:last-child{
        top: 0 !important;
    }
    .height-xs-60{
        max-height: 60vh;
    }
    body .project-card li{
        opacity: 1;
    }
    body .project-card aside {
        bottom: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .lead-xs-special{
        font-size: 26px !important;
    }
    .col-xs-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    body .gallery-story { 
        gap: 5px; 
    }
    body .filter-btn { 
        letter-spacing: -1px;
    }
    .sticky-mod{position: inherit !important}



body .main-navigation.scrolled {
    background: rgba(0, 0, 0, 0.15);
}
        /* Mobile Menu Styles */
        .navbar-toggler {
            display: block !important;
            border: none;
            padding: 0;
            width: 30px;
            height: 30px;
            position: relative;
            background: transparent;
            cursor: pointer;
            display: none;
        }
    
        .navbar-toggler:focus {
            box-shadow: none;
        }
    
        /* Hamburger Lines */
        .hamburger-line {
            display: block;
            width: 25px;
            height: 3px;
            background: white;
            margin: 5px 0;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform-origin: center;
        }
    
        .main-navigation.scrolled .hamburger-line {
            background: var(--bs-primary);
        }
    
        /* Animation to X when menu is open */
        .navbar-toggler.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
    
        .navbar-toggler.active .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }
    
        .navbar-toggler.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
    
        /* Mobile Navigation Styles */
        .navbar-collapse {
            background: rgba(13, 17, 23, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 0 0 5px 5px;
            margin-top: 20px;
            padding: 30px 0;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }
    
        .main-navigation.scrolled .navbar-collapse {
            background: rgba(255, 255, 255, 0.98);
        }
    
        .navbar-nav {
            flex-direction: column;
            gap: 0;
            text-align: center;
        }
    
        .navbar-nav .nav-link {
            padding: 15px 20px !important;
            font-size: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin: 0;
            transition: all 0.4s ease;
        }
    
        .main-navigation.scrolled .navbar-nav .nav-link {
            color: #333 !important;
            border-bottom-color: rgba(0, 0, 0, 0.1);
        }
    
        .navbar-nav .nav-link:last-child {
            border-bottom: none;
        }
    
        .navbar-nav .nav-link:hover {
            background: rgba(0, 186, 165, 0.1);
            transform: translateX(10px);
        }
    
         
        @keyframes slideInNav {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden;
        }
}