/*Animacion Menu*/


/* Estilos generales del menú */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem clamp(1rem, 3vw, 2rem);
    background-color: #000000;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 42px;
    width: auto;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(0.65rem, 1.8vw, 1.4rem);
    flex: 1;
    margin: 0 0 0 1rem;
    min-width: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding: 0.2rem 0.35rem;
}

.nav-menu a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
}

.nav-menu a:hover {
    color: #e30613;
}

/* Estilos del botón de menú (ícono de hamburguesa) */
.menu-btn {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Media queries para responsividad */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.86rem;
        padding: 0.15rem 0.25rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #000000;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .logo img {
        height: 36px;
    }
}