/* --- ESTILOS DEL HEADER Y NAVEGACIÓN --- */
.nav-links a {
    transition: color 0.3s ease;
    font-size: 20px;
}

.nav-links a:hover {
    color: var(--primary-blue) !important;
}

.sociales a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
    color: var(--primary-blue);
}

.sociales a:hover {
    color: var(--text-dark);
}

/* Menú Desplegable (Hover) */
.nav-dropdown {
    margin-top: 14px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: -50px;
    background-color: #ffffff;
    min-width: 250px;
    border-radius: 20px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu-custom {
    display: flex;
    flex-direction: column;
}

.dropdown-menu-custom a {
    color: #000000 !important;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 15px;
    transition: padding-left 0.2s ease;
    border-bottom: 1px solid #eee;
}

.dropdown-menu-custom a:last-child {
    border-bottom: none;
}

.dropdown-menu-custom a:hover {
    padding-left: 20px;
    text-decoration: underline;
}

.logo-header {
    max-height: 150px;
    width: auto;
    transition: max-height 0.3s ease;
}

/* Responsivo Header (Celulares y Tablets) */
@media (max-width: 1199px) {
    .logo-header {
        max-height: 115px; /* Logo más pequeño en móviles */
        width: auto;
    }
    .sociales a {
        font-size: 1.25rem; /* Iconos más pequeños */
    }
    .nav-dropdown {
        width: auto;
    }

    .dropdown-menu-custom {
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        width: max-content;
        min-width: 200px;
        margin-top: -5px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
        border: 1px solid #eee;
        border-radius: 15px;
        background-color: #ffffff;
        z-index: 1050;
    }
}