/* assets/css/navbarfront.css - Premium Light Frosted Glass (Compact Edition) */
:root {
    /* Tonos pastel premium refinados */
    --ww-nav-pastel-blue: #e0f2fe;
    --ww-nav-pastel-blue-text: #0284c7;
    --ww-nav-pastel-orange: #ffedd5;
    --ww-nav-pastel-orange-text: #ea580c;
    
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --text-dark: #0f172a;
    --text-gray: #64748b;
}

/* Opcional: Elimina o comenta este body si ya tienes uno general en tu proyecto */
body.ww-body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.ww-body a { text-decoration: none; transition: 0.3s; }

/* HEADER Y NAVBAR - ESTADO INICIAL (BLANCO SÓLIDO) */
.ww-header {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 14px 0; 
    z-index: 1030;
    position: fixed; 
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6); 
}

.ww-navbar-container {
    max-width: 1350px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 30px;
}

/* ESTADO AL HACER SCROLL (SE DIFUMINA / EFECTO CRISTAL PREMIUM) */
.ww-header.scrolled {
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08); 
    padding: 10px 0; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.ww-brand { 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

/* Logo Animado Circular */
.ww-logo-mark {
    background: #ffffff; /* Fondo blanco para el logo circular */
    width: 55px; /* Aumentado de 45px a 55px */
    height: 55px; /* Aumentado de 45px a 55px */
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 50%; /* Lo hacemos circular */
    overflow: hidden; /* Corta cualquier excedente de la imagen */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    border: 2px solid #ffffff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0; /* Evita que el contenedor flex lo aplaste o deforme */
}

.ww-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Asegura que el logo no se deforme */
    display: block;
}

.ww-brand:hover .ww-logo-mark { 
    transform: scale(1.1) rotate(5deg); 
}

.ww-logo-text strong { 
    color: var(--text-dark); 
    font-family: var(--font-heading); 
    display: block; 
    line-height: 1.1; 
    letter-spacing: -0.3px;
}

.ww-logo-text span { 
    color: var(--text-gray); 
    font-size: 0.75rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    font-weight: 700;
}

/* Enlaces de Navegación */
.navbar-nav { display: flex; list-style: none; gap: 6px; margin: 0; padding: 0; }

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-family: var(--font-body);
    font-weight: 600; 
    font-size: 0.9rem; 
    padding: 8px 20px; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
    border-radius: 50px; 
    text-decoration: none;
}

/* Efecto Hover Premium Pastel Blue */
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--ww-nav-pastel-blue-text) !important; 
    background: var(--ww-nav-pastel-blue);
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.15); 
}

/* Responsive básico */
@media (max-width: 991px) {
    .ww-navbar-container { padding: 0 20px; }
    .navbar-nav { display: none; } 
}