/* mobile_menu_fix.css - Corrección del menú móvil */

/* Estilos para el menú móvil */
@media (max-width: 600px) {
    .navbar-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 86, 179, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .navbar-links.show {
        left: 0;
    }
    
    .navbar-links a {
        display: block;
        padding: 15px 20px;
        margin: 5px 0;
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        width: 90%;
        text-align: center;
    }
    
    .navbar-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }
    
    .menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
}

/* Estilos para pantallas más grandes */
@media (min-width: 601px) {
    .navbar-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        height: auto;
        padding: 0;
    }
    
    .navbar-links a {
        display: inline-block;
        padding: 10px 15px;
        margin: 0 5px;
        font-size: 16px;
        width: auto;
    }
    
    .menu-toggle {
        display: none !important;
    }
}

/* Animación para el botón del menú */
.menu-toggle {
    transition: transform 0.3s ease;
}

.menu-toggle.active {
    transform: rotate(90deg);
}