/* =========================================
   ESTILO CYBERPUNK FUTURISTA - ANDREW321
   ========================================= */

/* RESET Y FUENTE FUTURISTA */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Arial Black', sans-serif;
}


body {
    background-color: #05050d; /* Fondo ultra oscuro estilo espacio/cyberpunk */
    color: #ffffff;
    overflow-x: hidden;
}

/* 1. VIDEO DE FONDO GLOBAL */
.video-fondo-global {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -10;
    opacity: 0.35; /* Intensidad de la lluvia Matrix */
}

/* 2. MENÚ SUPERIOR ESTILO CRISTAL NEÓN (Glassmorphism) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(10, 10, 25, 0.75); /* Fondo semitransparente */
    backdrop-filter: blur(12px); /* Efecto borroso de cristal */
    border-bottom: 2px solid #bc13fe; /* Borde inferior morado neón */
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4); /* Resplandor morado */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO + TEXTO CON GLOW MAGENTA */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 132px;
    width: auto;
    filter: drop-shadow(0 0 8px #00f3ff); /* Brillo cian alrededor del águila */
}

.logo-texto {
    font-size: 2rem;
    font-weight: 900;
    color: #d800ff; /* Color magenta neón */
    text-shadow: 0 0 10px #d800ff, 0 0 20000px #bc13fe; /* Resplandor brillante */
    letter-spacing: 2px;
}

/* ENLACES DEL MENÚ CON GLOW CIAN */
.menu-derecha {
    display: flex;
    align-items: center;
    gap: 30px;
}

.saludo {
    color: #00f3ff !important;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
    transition: all 0.3s ease;
}

.saludo:hover {
    color: #ffffff !important;
    text-shadow: 0 0 15px #00f3ff, 0 0 30px #00f3ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #00f3ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff;
}

/* 3. SECCIÓN PRINCIPAL (HERO) */
.hero-section {
    padding: 100px 20px 60px 20px;
    text-align: center;
    background: transparent;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
}

/* TÍTULO PRINCIPAL CON RESPLANDOR CIAN */
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #00f3ff;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.7), 0 0 30px rgba(0, 243, 255, 0.4);
    margin-bottom: 25px;
    line-height: 1.2;
}

.resaltado {
    color: #ffffff;
    text-shadow: 0 0 15px #ffffff, 0 0 25px #d800ff;
}

/* PÁRRAFO CON ALTA LEGIBILIDAD */
.hero-content p {
    font-size: 1.25rem;
    color: #e2f8ff !important; /* Blanco-azulino brillante */
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* 4. BOTONES ESTILO CYBERPUNK (BORDES NEÓN Y MARCOS) */
.botones {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

/* Botón 1: Magenta / Morado Neón */
.btn-principal {
    background: rgba(216, 0, 255, 0.15);
    color: #ffffff;
    border: 2px solid #d800ff;
    box-shadow: 0 0 15px rgba(216, 0, 255, 0.4), inset 0 0 15px rgba(216, 0, 255, 0.2);
}

.btn-principal:hover {
    background: #d800ff;
    color: #ffffff;
    box-shadow: 0 0 25px #d800ff, 0 0 50px #d800ff;
    transform: translateY(-3px);
}

/* Botón 2: Cian Neón */
.btn-secundario {
    background: rgba(0, 243, 255, 0.15);
    color: #ffffff;
    border: 2px solid #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4), inset 0 0 15px rgba(0, 243, 255, 0.2);
}

.btn-secundario:hover {
    background: #00f3ff;
    color: #000000;
    box-shadow: 0 0 25px #00f3ff, 0 0 50px #00f3ff;
    transform: translateY(-3px);
}

/* 5. TARJETAS DE SERVICIOS ESTILO HUD/FUTURISTA */
.seccion {
    padding: 70px 20px;
    text-align: center;
    background: rgba(5, 5, 15, 0.7);
    backdrop-filter: blur(5px);
}

.seccion h2 {
    font-size: 2.5rem;
    color: #00f3ff;
    text-shadow: 0 0 15px #00f3ff;
    margin-bottom: 40px;
}

.tarjetas-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta {
    background: rgba(15, 15, 30, 0.8);
    border: 1px solid #d800ff;
    border-radius: 12px;
    padding: 30px;
    width: 310px;
    text-align: left;
    box-shadow: 0 0 15px rgba(216, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-8px);
    border-color: #00f3ff;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
}

.tarjeta h3 {
    color: #00f3ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tarjeta p {
    color: #d0e0eb;
    line-height: 1.6;
    font-size: 1rem;
}

/* =========================================
   ADAPTACIÓN PARA CELULARES (DISEÑO RESPONSIVO)
   ========================================= */

/* Todo lo que esté aquí adentro SOLO se activará en pantallas pequeñas */
@media (max-width: 768px) {
    
    /* 1. Apilamos el menú hacia abajo para que no se estire a los lados */
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px; /* Espacio entre el logo y los botones */
    }

    /* 2. Achicamos el Logo de la empresa */
    .logo-img {
        height: 40px;
    }

    .logo-texto {
        font-size: 1.5rem;
    }

    /* 3. Centramos y reducimos los botones del menú */
    .menu-derecha {
        flex-direction: column; /* Pone "Cursos" arriba y "Inicio/Servicios" abajo */
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap; /* Si no caben, los manda al renglón de abajo suavemente */
        justify-content: center;
        gap: 15px;
    }

    .nav-links a, .saludo {
        font-size: 0.9rem; /* Letra perfecta para tocar con el dedo */
    }

    /* 4. Extra: Achicamos el título gigante para que no se salga de la pantalla */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* 5. Ajustamos los botones principales para que quepan bien */
    .botones {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%; /* Hace que los botones abarquen el ancho del celular */
        text-align: center;
    }
}