/* Mobile Menu Styles */
@media (max-width: 991px) {
    #menul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #343a40;
        z-index: 1050;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        opacity: 0;
        transform: translateX(-40px);
        pointer-events: none;
        transition: left 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
    }
    
    #menul.show {
        left: 0;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
    
    #menul .card {
        background: transparent;
        border: none;
        color: white;
    }
    
    #menul .card-header {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
        border: none;
    }
    
    #menul a {
        color: white !important;
        text-decoration: none;
    }
    
    #menul a:hover {
        color: #0086A0 !important;
    }
    
    /* Overlay for mobile menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }
    
    .mobile-menu-overlay.show {
        display: block;
    }

    #menul_close {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 2.2rem;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1101;
        opacity: 1;
        transform: scale(1);
    }
    #menul.show #menul_close {
        opacity: 1;
        transform: scale(1);
    }
    .hide-mobile {
        display: none !important;
    }
    #bar-jg823ixc87a0lm {
        display: none !important;
    }
    body {
        margin-top: 0 !important;
    }
}
@media (min-width: 992px) {
    #menul_close {
        display: none !important;
    }
}

/* Improve navbar responsiveness */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-collapse {
        background: #243082;
        margin-top: 10px;
        border-radius: 5px;
    }
}

/* Better touch targets for mobile */
@media (max-width: 576px) {
    .navbar-nav .nav-link {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    #menul_btn {
        width: 44px;
        height: 44px;
        margin: 8px;
    }
    
    #menul {
        width: 100%;
        left: -100%;
    }
} 

@media (max-width: 991px) {
    body .hide-mobile,
    html body .hide-mobile,
    .row-fluid.hide-mobile,
    div.hide-mobile {
        display: none !important; /* DIAGNOZA: wymuszone ukrycie na mobile */
    }
} 