/* Estilos para o menu mobile */
#navbar-sticky {
    position: absolute;
    width: 100%;
    background-color: #27272A;
    top: 100%;
    left: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* A visibilidade agora é controlada pela classe `.hidden` definida em styles.css */

/* Força exibir quando explicitamente aberto pelo JS */
#navbar-sticky.open {
    display: flex !important;
}

#navbar-sticky ul {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    gap: 0.5rem;
    background-color: #27272A;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    #navbar-sticky {
        position: fixed;
        top: 4rem; /* Ajusta para a altura da navbar */
        left: 0;
        width: 100%;
        padding: 0.5rem;
    }
    
    #navbar-sticky ul {
        margin: 0;
        border-radius: 0.5rem;
    }

    /* Ajuste nos links do menu mobile */
    #navbar-sticky ul a {
        color: #D1D5DB;
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        transition: all 0.2s;
    }

    #navbar-sticky ul a:hover {
        background-color: #374151;
        color: white;
    }
}

/* Ajustes para desktop */
@media (min-width: 769px) {
    #navbar-sticky {
        position: relative;
        top: 0;
        background: none;
        box-shadow: none;
    }

    #navbar-sticky ul {
        flex-direction: row;
        background: none;
        border: none;
        padding: 0;
    }
}