/* ==========================================================================
   ARQUITECTURA LIMPIA - NAVBAR BLANCO (RODRIGUEZ & PEÑA)
   ========================================================================== */

/* Bloqueamos el fondo de cualquier header o nav que intente ser salmón */
#header, 
#header .navbar,
header {
    background-color: #ffffff !important; /* Blanco puro */
    background: rgba(255, 255, 255, 0.98) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Forzar que el interior de la navegación también sea transparente/blanco */
.navbar {
    background: transparent !important;
}

/* 2. Logotipo */
.navbar-brand img {
    height: 60px;
    transition: height 0.3s ease;
}

/* 3. Enlaces (Gris -> Azul al pasar el mouse) */
.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    color: #666666 !important; 
    font-size: 0.95rem;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    min-width: 95px;
    padding: 8px 0;
    margin: 0 5px;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #121b25 !important; /* Azul Corporativo */
    font-weight: 600 !important;
}

/* 4. Margen para que el contenido no se pegue arriba */
body {
    padding-top: 85px !important; 
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-collapse {
        background-color: #ffffff !important;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}

/* Previene el parpadeo de carga reservando el espacio del header fijo */
#header {
    display: block;
    min-height: 86px;
    background-color: #ffffff;
}