/* ==========================================================================
   HEADER MODERNO - EFECTO GLASS TRANSPARENTE
   Solo se aplica al header, no afecta nada más del sitio
   ========================================================================== */

/* Header con efecto glass (transparencia + blur) */
.header {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

/* Cuando se hace scroll - fondo más visible */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* OCULTAR el texto "AS HOLDING" - Solo mostrar logo */
.logo-text {
    display: none !important;
}

/* Logo MÁS GRANDE y centrado mejor */
.logo-img {
    height: 65px !important;
    width: auto !important;
    transition: transform 0.3s ease !important;
}

.logo-img:hover {
    transform: scale(1.05) !important;
}

/* Contenedor del logo */
.logo {
    display: flex !important;
    align-items: center !important;
    padding: 5px 0 !important;
}

/* Links del menú - BLANCO por defecto, OSCURO cuando scroll */
.nav-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 10px 18px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Links OSCUROS cuando el header tiene scroll */
.header.scrolled .nav-link {
    color: #2c3e50 !important;
}

/* Efecto hover en links */
.nav-link:hover {
    color: #FF6B35 !important;
    transform: translateY(-2px) !important;
}

/* Línea animada debajo del link activo */
.nav-link.active::after,
.nav-link:hover::after {
    content: '' !important;
    position: absolute !important;
    bottom: 5px !important;
    left: 18px !important;
    right: 18px !important;
    height: 3px !important;
    background: #FF6B35 !important;
    border-radius: 2px !important;
    animation: slideIn 0.3s ease !important;
}

@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: calc(100% - 36px);
        left: 18px;
    }
}

/* Botón de contacto - moderno y COMPLETO */
.btn-contact {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%) !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    white-space: nowrap !important;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #D44A1B 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* Navbar MÁS ESPACIOSA para que no se corte nada */
.navbar {
    padding: 15px 0 !important;
    min-height: 85px !important;
}

/* Nav wrapper con mejor alineación */
.nav-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Responsive - Móvil */
@media (max-width: 768px) {
    .header {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    /* Logo MÁS GRANDE en móvil también */
    .logo-img {
        height: 55px !important;
    }
    
    /* Menú móvil con fondo sólido */
    .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 10px !important;
        margin-top: 10px !important;
        padding: 15px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Links en móvil - SIEMPRE OSCUROS */
    .nav-link {
        color: #2c3e50 !important;
        padding: 12px 20px !important;
    }
    
    .nav-link:hover {
        background: rgba(255, 107, 53, 0.1) !important;
        border-radius: 8px !important;
        color: #FF6B35 !important;
    }
    
    /* Navbar más compacto en móvil */
    .navbar {
        padding: 12px 0 !important;
        min-height: 75px !important;
    }
}

/* Hamburger menu - más moderno */
.hamburger span {
    background: white !important;
    transition: all 0.3s ease !important;
}

.header.scrolled .hamburger span {
    background: #2c3e50 !important;
}

/* Animación del hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px) !important;
}

.hamburger.active span:nth-child(2) {
    opacity: 0 !important;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px) !important;
}
