/* ===== CONTENEDOR GENERAL ===== */
.top-menu-container {
    width: 100%;
    position: sticky; /**/
    z-index: 9999;
    top: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER ===== */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 60px;
}

/* ===== LOGO ===== */
.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transform: scale(1.05);
}
/* ===== MENÚ DESKTOP ===== */
.menu-items {
    display: flex;
    gap: 45px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-link {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    padding: 8px 16px;
    position: relative;
    border-radius: 6px;
    
    /* Sombra de texto sutil */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Efecto de brillo al pasar el mouse */
.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    z-index: -1;
}

.menu-link:hover::before {
    opacity: 1;
}

/* Línea inferior brillante */
.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.menu-link:hover::after {
    width: 80%;
}

.menu-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 900;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(255, 255, 255, 0.3);
}

.menu-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.isDisabled {
    color: #000000;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
    pointer-events: none;
}

/* ===== BOTÓN HAMBURGUESA PARA MÓVIL ===== */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    margin: 3px 0;
}

/* ===== MENÚ MÓVIL DESPLEGABLE ===== */
.mobile-menu {
    overflow: hidden;
    background: white;
    transition: max-height 0.35s ease-out;
}

.mobile-link {
    display: block;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-link.active {
    color: #c8288c;
}

/* ===== OCULTAR/ MOSTRAR SEGÚN TAMAÑO ===== */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .menu-header {
        padding: 15px 25px 10px 25px;
    }

    .logo {
        height: 65px;
    }
}
