/*
Theme Name: Netconex SPA Custom
Author: Netconex SPA
Description: Plantilla profesional para servicios de redes, telecomunicaciones y seguridad electrónica.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Plus+Jakarta+Sans:wght@300;400;600&family=Rajdhani:wght@700&display=swap');

:root { 
    --net-blue: #002299; 
    --net-cyan: #00f2ff; 
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #020408; 
    color: #ffffff; 
    scroll-behavior: smooth; 
    margin: 0;
    overflow-x: hidden;
}

/* --- ANIMACIONES DE IMPACTO (NUEVO) --- */

/* Efecto Scroll Reveal: Los elementos aparecen al bajar */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Tecnológico de fondo para secciones */
.tech-grid-bg {
    position: relative;
}

.tech-grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 34, 153, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 34, 153, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Efecto de Brillo que sigue al mouse en tarjetas */
.service-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--x) var(--y), rgba(0, 34, 153, 0.2), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

/* --- ESTRUCTURA ORIGINAL --- */

.hero-video-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    overflow: hidden; 
    z-index: -1; 
    background: #000; 
}

.hero-video-container iframe { 
    position: absolute; 
    width: 400%; 
    height: 400%; 
    top: -150%; 
    left: -150%; 
    pointer-events: none; 
    filter: brightness(0.4) contrast(1.2); 
}

.video-curtain { 
    position: absolute; 
    inset: 0; 
    background: #020408; 
    z-index: 2; 
    animation: fadeOut 1.5s forwards 3s; 
}

@keyframes fadeOut { 
    to { opacity: 0; visibility: hidden; } 
}

.logo-top { 
    font-family: 'Michroma', sans-serif; 
    font-size: 24px; 
    color: var(--net-blue); 
    transform: scaleX(1.1); 
    font-weight: bold; 
    position: relative; 
}

.logo-top::before { 
    content: ""; 
    position: absolute; 
    left: -25px; 
    top: 55%; 
    transform: translateY(-50%); 
    width: 38px; 
    height: 38px; 
    border: 6px solid var(--net-blue); 
    border-right-color: transparent; 
    border-radius: 120%; 
}

.logo-bottom-text { 
    font-family: 'Rajdhani', sans-serif; 
    font-size: 8.5px; 
    color: var(--net-blue); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 700; 
    border-top: 1px solid rgba(0, 34, 153, 0.2); 
    padding-top: 2px; 
    width: 100%; 
}

.glass-nav { 
    background: rgba(255, 255, 255, 0.98); 
    border-bottom: 3px solid var(--net-blue); 
}

.btn-filter { 
    padding: 8px 16px; 
    font-size: 9px; 
    font-weight: 800; 
    text-transform: uppercase; 
    border: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s; 
    letter-spacing: 1px; 
}

.btn-filter.active { 
    background: var(--net-blue); 
    border-color: var(--net-blue); 
    color: white; 
}

.card-prod { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-prod:hover {
    transform: translateY(-5px);
    border-color: var(--net-blue);
}	