/**
 * GPS & Map Effects for Hero Section
 * Crea efectos de mapa digital con animaciones
 */

.hero-gps-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

/* Puntos de ubicación animados */
.hero-gps-effect::before,
.hero-gps-effect::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.8),
                0 0 40px rgba(52, 152, 219, 0.6),
                0 0 60px rgba(52, 152, 219, 0.4);
    animation: pulse-gps 2s ease-in-out infinite;
}

.hero-gps-effect::before {
    top: 30%;
    left: 60%;
    animation-delay: 0s;
}

.hero-gps-effect::after {
    top: 60%;
    left: 75%;
    animation-delay: 1s;
}

/* Líneas de conexión */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(52, 152, 219, 0.1) 49%, rgba(52, 152, 219, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(52, 152, 219, 0.1) 49%, rgba(52, 152, 219, 0.1) 51%, transparent 52%);
    background-size: 100px 100px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.3;
    animation: grid-move 20s linear infinite;
}

/* Círculos de radar */
.hero-content::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: radar-pulse 3s ease-out infinite;
    pointer-events: none;
}

/* Animaciones */
@keyframes pulse-gps {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@keyframes grid-move {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, -100px -100px;
    }
}

@keyframes radar-pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Partículas flotantes */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Brillo suave azul */
.hero-content h1 {
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content::before {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }
}
