/* ENGINE_TEMPLATE_V1 - Core Styles */
:root {
    --neon-orange: #ff4500;
    --neon-cyan: #06b6d4;
    --bg-dark: #0a0a0a;
}

/* Configuración base del cuerpo */
body {
    background-color: #050505; 
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}
/* ==========================================
   EL FONDO DINÁMICO (EFECTO KEN BURNS)
   ========================================== */
body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    /* Movimiento de respiración lento e infinito */
    animation: respiracion 20s infinite alternate linear;
}

/* Foto específica para la página FPV Action (Motocross) */
.bg-fpv::before {
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url('../foto/videos/fotos/MAX.webp');
}

/* Foto específica para Cinematografía (Paramotor en Isabela) */
.bg-aerea::before {
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url('../foto/videos/fotos/shot_2.webp');
}

/* Foto específica para la Galería de Fotos (Antigua Azucarera) */
.bg-fotos::before {
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url('../foto/videos/fotos/azuca.webp');
}

/* Foto específica para la Galería 360 (Toma de Carolina u otra) */
.bg-360::before {
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url('../foto/videos/fotos/carolina.webp');
}

/* Animación del Zoom lento */
@keyframes respiracion {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.glass-header { 
    background: rgba(10, 10, 10, 0.8); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Menú móvil */
#mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-bottom: 1px solid #333;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
}
#mobile-menu.active { display: flex; }

/* Efectos de Chispa (Glow) */
.fpv-glow:hover { box-shadow: 0 0 30px rgba(255, 69, 0, 0.3); border-color: var(--neon-orange); }
.aerea-glow:hover { box-shadow: 0 0 30px rgba(6, 182, 212, 0.3); border-color: var(--neon-cyan); }

.gradient-text-fpv { 
    background: linear-gradient(to right, #ff4500, #ef4444); 
    -webkit-background-clip: text; 
    background-clip: text; /* <-- Versión estándar añadida */
    -webkit-text-fill-color: transparent; 
    color: transparent; /* <-- Versión estándar añadida */
}

.gradient-text-aerea { 
    background: linear-gradient(to right, #06b6d4, #3b82f6); 
    -webkit-background-clip: text; 
    background-clip: text; /* <-- Versión estándar añadida */
    -webkit-text-fill-color: transparent; 
    color: transparent; /* <-- Versión estándar añadida */
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.video-background {
     /* Mantiene el video fijo aunque hagas scroll */
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 0; 
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    /* Asegura que llene toda la pantalla sin distorsión */
}

.video-background::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); 
}