/**
 * Estilos para o menu mobile
 * Controla as transições e animações do menu mobile
 */

/* Estilos base para as telas do menu */
.menu-screen {
    position: absolute;
    width: 100%;
    height: calc(100% - 120px); /* Reservar espacio para las redes sociales */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
    transform: translateX(0);
    overflow-y: auto;
    top: 0;
}

/* Tela ativa (atual) */
.menu-screen.active {
    z-index: 3;
    opacity: 1;
    transform: translateX(0);
}

/* Tela anterior (à esquerda) */
.menu-screen.previous {
    z-index: 2;
    opacity: 0.5;
    transform: translateX(-30%);
}

/* Próxima tela (à direita) */
.menu-screen.next {
    z-index: 1;
    opacity: 0;
    transform: translateX(100%);
}

/* Ajustes para o menu mobile */
#mobile-menu {
    overflow: hidden;
    position: fixed;
    display: flex;
    flex-direction: column;
}

/* Estilo para o botão de voltar */
.menu-back {
    transition: color 0.2s ease;
}

.menu-back:hover {
    color: var(--color-vermelho);
}

/* Estilo para os itens do menu */
.mobile-navigation li {
    transition: background-color 0.2s ease;
}

.mobile-navigation li:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Animação para os ícones de seta */
.menu-screen-toggle i, 
.menu-back i {
    transition: transform 0.2s ease;
}

.menu-screen-toggle:hover i {
    transform: translateX(3px);
}

.menu-back:hover i {
    transform: translateX(-3px);
}
