/* ===================================================== */
/* RESET GENERAL */
/* ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================================== */
/* CONFIGURACIÓN BASE */
/* ===================================================== */

body {

    font-family: 'Roboto', sans-serif;
    background: #0a0f1c;
    color: white;
    overflow-x: hidden;

}

/* ===================================================== */
/* HEADER / NAVBAR */
/* ===================================================== */

.header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    z-index: 1000;

    /* efecto glass */
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}

/* LOGO */

.logo {

    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #4cc9f0;

}

/* ===================================================== */
/* MENU */
/* ===================================================== */

.menu {

    display: flex;
    list-style: none;
    gap: 35px;

}

.menu li a {

    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all .3s ease;

}

/* hover elegante */

.menu li a:hover {

    color: #4cc9f0;

}

/* ===================================================== */
/* BOTON MENU MOBILE */
/* ===================================================== */

.menu-toggle {

    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;

}

/* ===================================================== */
/* HERO SLIDER */
/* ===================================================== */

.hero-slider {

    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;

}

/* ===================================================== */
/* SLIDES */
/* ===================================================== */

.slide {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

/* slide visible */

.slide.active {

    opacity: 1;
    z-index: 2;

}

/* ===================================================== */
/* IMAGEN DE FONDO */
/* ===================================================== */

.slide-bg {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;

    /* efecto parallax */

    transform: scale(1.1);

}

/* overlay oscuro tecnológico */

.slide::after {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4),
            rgba(10, 15, 28, 0.9));

    z-index: 2;

}

/* ===================================================== */
/* CONTENIDO DEL SLIDER */
/* ===================================================== */

.slide-content {

    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 20px;

}

/* TITULO */

.slide-content h1 {

    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;

}

/* TEXTO */

.slide-content p {

    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;

}

/* ===================================================== */
/* BOTON CURSO */
/* ===================================================== */

.btn-curso {

    display: inline-block;
    margin-top: 25px;
    padding: 14px 32px;

    background: #4cc9f0;
    color: #000;

    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;

    transition: all .3s ease;

}

/* hover boton */

.btn-curso:hover {

    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.4);

}

/* ===================================================== */
/* CONTROLES DEL SLIDER */
/* ===================================================== */

.slider-controls {

    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 20px;
    z-index: 5;

}

.slider-controls button {

    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;

    width: 50px;
    height: 50px;
    border-radius: 50%;

    font-size: 22px;
    cursor: pointer;

    transition: all .3s ease;

}

/* hover */

.slider-controls button:hover {

    background: #4cc9f0;
    color: black;

}

/* ===================================================== */
/* EFECTO TECNOLÓGICO GLOBAL */
/* ===================================================== */

.hero-slider::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* grid sutil futurista */

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

    background-size: 60px 60px;

    z-index: 1;

}


/* ===================================================== */
/* SECCIÓN SOBRE MI */
/* ===================================================== */

.sobre-mi {

    padding: 120px 60px;
    background: #0a0f1c;
    position: relative;
    overflow: hidden;

}

/* GRID TECNOLÓGICO DE FONDO */

.sobre-mi::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

    background-size: 60px 60px;
    z-index: 0;

}


/* CONTENEDOR */

.sobre-mi-container {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;

}


/* ===================================================== */
/* IMAGEN PERFIL */
/* ===================================================== */

.sobre-mi-imagen {

    flex: 1;
    display: flex;
    justify-content: center;

}

.sobre-mi-imagen img {

    width: 320px;
    border-radius: 20px;

    /* glow tecnológico */

    box-shadow:
        0 0 20px rgba(76, 201, 240, 0.3),
        0 0 40px rgba(76, 201, 240, 0.2);

    transition: transform .4s ease;

}

.sobre-mi-imagen img:hover {

    transform: scale(1.05);

}


/* ===================================================== */
/* INFORMACIÓN */
/* ===================================================== */

.sobre-mi-info {

    flex: 1;
    max-width: 500px;

}


/* TITULO */

.titulo-seccion {

    font-family: 'Orbitron', sans-serif;
    font-size: 34px;
    color: #4cc9f0;
    margin-bottom: 10px;

}

/* NOMBRE */

.nombre {

    font-size: 26px;
    margin-bottom: 20px;

}

/* DESCRIPCIÓN */

.descripcion {

    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 30px;

}


/* ===================================================== */
/* ESPECIALIDADES */
/* ===================================================== */

.especialidades {

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;

}

.especialidades span {

    background: rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    transition: all .3s ease;

}

/* hover */

.especialidades span:hover {

    background: #4cc9f0;
    color: #000;

}


/* ===================================================== */
/* BOTONES REDES */
/* ===================================================== */

.botones-redes {

    display: flex;
    gap: 15px;
    flex-wrap: wrap;

}

.btn-red {

    padding: 12px 24px;
    border-radius: 30px;

    text-decoration: none;
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.2);

    transition: all .3s ease;

}

/* hover futurista */

.btn-red:hover {

    background: #4cc9f0;
    color: black;
    box-shadow: 0 10px 30px rgba(76, 201, 240, 0.3);

}

/* ===================================================== */
/* SECCIÓN STATS */
/* ===================================================== */

.stats {

    padding: 120px 60px;
    background: #0a0f1c;
    text-align: center;
    position: relative;

}

/* GRID TECNOLÓGICO */

.stats::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

    background-size: 60px 60px;

}

/* CONTENEDOR */

.stats-container {

    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;

}

/* ITEM */

.stat-item {

    text-align: center;

}

/* NUMERO */

.stat-item h2 {

    font-size: 48px;
    font-family: 'Orbitron', sans-serif;
    color: #4cc9f0;
    margin-bottom: 10px;

}

/* TEXTO */

.stat-item p {

    opacity: 0.8;

}


/* ===================================================== */
/* SECCIÓN CURSOS */
/* ===================================================== */

.cursos {

    padding: 120px 60px;
    background: #0a0f1c;
    text-align: center;

}

.cursos-grid {

    margin-top: 60px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;

    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

}

/* CARD */

.curso-card {

    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.05);

    transition: all .4s ease;

}

/* HOVER */

.curso-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);

}

/* IMAGEN */

.curso-card img {

    width: 100%;
    height: 180px;
    object-fit: cover;

}

/* INFO */

.curso-info {

    padding: 20px;

}

.curso-info h3 {

    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;

}

.curso-info p {

    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;

}

/* BOTON */

.btn-curso-card {

    display: inline-block;

    padding: 10px 20px;

    background: #4cc9f0;
    color: #000;

    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;

    transition: .3s;

}

.btn-curso-card:hover {

    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.4);

}

/* ===================================================== */
/* CURSO CARD FLIP */
/* ===================================================== */

.curso-card {

    height: 260px;
    perspective: 1000px;

}

.curso-inner {

    position: relative;
    width: 100%;
    height: 100%;

    transition: transform .8s;
    transform-style: preserve-3d;

}

.curso-card:hover .curso-inner {

    transform: rotateY(180deg);

}

/* FRONT / BACK */

.curso-front,
.curso-back {

    position: absolute;
    width: 100%;
    height: 100%;

    backface-visibility: hidden;

    border-radius: 12px;
    overflow: hidden;

}

/* FRONT */

.curso-front img {

    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* BACK */

.curso-back {

    background: rgba(10, 15, 28, 0.95);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 20px;
    text-align: center;

    transform: rotateY(180deg);

    border: 1px solid rgba(255, 255, 255, 0.05);

}

.curso-back h3 {

    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;

}

.curso-back p {

    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;

}


/* ===================================================== */
/* FOOTER */
/* ===================================================== */

.footer {

    padding: 40px 20px;
    text-align: center;
    background: #0a0f1c;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    position: relative;

}

/* GRID TECNOLÓGICO */

.footer::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

    background-size: 60px 60px;

}

.footer-container {

    position: relative;
    z-index: 1;

}

.footer p {

    margin: 5px 0;
    font-size: 14px;
    opacity: 0.8;

}

.footer-text {

    color: #4cc9f0;

}



/* ===================================================== */
/* SECCIÓN VIDEOS */
/* ===================================================== */

.videos {

    padding: 120px 60px;
    text-align: center;
    background: #0a0f1c;
    position: relative;

}

.videos-descripcion {

    max-width: 700px;
    margin: 20px auto 60px auto;
    opacity: 0.8;

}

/* GRID */

.videos-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;

    max-width: 1000px;
    margin: auto;

}

/* VIDEO */

.video-item iframe {

    width: 100%;
    height: 250px;

    border-radius: 10px;

    box-shadow:
        0 0 20px rgba(76, 201, 240, 0.2);

}

/* BOTON YOUTUBE */

.youtube-btn {

    margin-top: 40px;

}

.youtube-btn a {

    padding: 12px 28px;

    background: #ff0000;
    color: white;

    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;

    transition: .3s;

}

.youtube-btn a:hover {

    transform: translateY(-3px);

}


























/*Reponsive*/
/* ===================================================== */
/* RESPONSIVE - TABLETS */
/* ===================================================== */

@media (max-width: 1024px) {

    .header {
        padding: 20px 30px;
    }

    .hero-slider {
        height: 80vh;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .sobre-mi-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .sobre-mi-imagen img {
        width: 240px;
    }

    .stats-container {
        gap: 40px;
    }

    .stat-item h2 {
        font-size: 38px;
    }

}


/* ===================================================== */
/* RESPONSIVE - TABLETS PEQUEÑAS */
/* ===================================================== */

@media (max-width: 768px) {

    /* NAVBAR */

    .menu {
        position: absolute;
        top: 80px;
        right: 0;
        background: #0a0f1c;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* HERO */

    .hero-slider {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 15px;
    }

    .btn-curso {
        padding: 12px 24px;
    }

    /* SOBRE MI */

    .sobre-mi {
        padding: 80px 20px;
    }

    .sobre-mi-container {
        flex-direction: column;
        gap: 40px;
    }

    .sobre-mi-info {
        max-width: 100%;
    }

    .sobre-mi-imagen img {
        width: 200px;
    }

    /* STATS */

    .stats {
        padding: 80px 20px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .stat-item h2 {
        font-size: 32px;
    }

}


/* ===================================================== */
/* RESPONSIVE - MOVILES */
/* ===================================================== */

@media (max-width: 480px) {

    .logo {
        font-size: 14px;
    }

    /* HERO */

    .slide-content h1 {
        font-size: 22px;
    }

    .slide-content p {
        font-size: 14px;
    }

    /* BOTON */

    .btn-curso {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* SOBRE MI */

    .nombre {
        font-size: 20px;
    }

    .descripcion {
        font-size: 14px;
    }

    /* STATS */

    .stat-item h2 {
        font-size: 28px;
    }

    .stat-item p {
        font-size: 14px;
    }

}
/*Reponsive*/


