/* ========================================
   ESTILOS ESPECÍFICOS DEL HOME
   Página de inicio con imagen hero
   ======================================== */

/* ===== PÁGINA HOME - CONTENEDOR PRINCIPAL ===== */

/* Remover max-width del container en home */
body.formacion-page .container {
    max-width: 100% !important;
    margin-top: 40px !important;
}

@media (min-width: 1400px) {
    body.formacion-page .container, body.formacion-page .container-lg, body.formacion-page .container-md, body.formacion-page .container-sm, body.formacion-page .container-xl, body.formacion-page .container-xxl {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    body.formacion-page .container, body.formacion-page .container-lg, body.formacion-page .container-md, body.formacion-page .container-sm, body.formacion-page .container-xl {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    body.formacion-page .container, body.formacion-page .container-lg, body.formacion-page .container-md, body.formacion-page .container-sm {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    body.formacion-page .container, body.formacion-page .container-md, body.formacion-page .container-sm {
        max-width: 100% !important;
    }
}

@media (min-width: 576px) {
    body.formacion-page .container, body.formacion-page .container-sm {
        max-width: 100% !important;
    }
}

/* Remover padding del main en home */
body.formacion-page main {
    padding: 0 !important;
    margin: 0 !important;
}

/* Main con clase home-main expande a 100vw */
body.formacion-page main.home-main {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Hero section dentro del home-main ocupa 100% */
body.formacion-page main.home-main .hero-section-home {
    width: 100%;
}

/* ===== SECCIÓN HERO - IMAGEN Y CONTENIDO ===== */

.hero-section-home {
    background-image: url('../img/asiatica.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Overlay oscuro (actualmente transparente) */
.hero-section-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

/* ===== CONTENIDO DEL HERO ===== */

/* Contenedor del texto hero */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 900px;
    padding: 60px 20px;
    margin-right: 40%;
    /* margin-top: 20vh; */
}

/* Título principal del hero */
.hero-content h6 {
      font-size: 3.8rem;
    /* font-weight: 700; */
    margin-bottom: 20px;
    color: black;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
    line-height: 1.2;
    animation: fadeInDown 0.8s 
    
ease-in;
    padding: 15px;
    /* border: 1px solid blue; */
        font-weight: 300;
    width: 1100px;
}


/* Párrafos en hero */
.hero-content p {
    font-size: 1.4rem;
    /* text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); */
    margin: 10px 0;
    /* font-weight: 500; */
    color: black;
    animation: fadeInUp 0.8s ease-in;
}




}

/* ===== ANIMACIONES HOME ===== */

/* Animación de entrada desde arriba */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de entrada desde abajo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE - MÓVIL Y TABLET ===== */

@media (max-width: 768px) {
    /* Título más pequeño en móvil */
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Párrafo más pequeño en móvil */
    .hero-content p {
        font-size: 1rem;
    }

    /* Hero section responsive */
    .hero-section-home {
        min-height: 70vh;
        height: auto;
        padding-top: 70px;
    }
}
   /* Hover para 3 enlaces de la home debajo de la foto*/
.enlaces{
   color: black; /* El color cambia a rojo al hacer hover */
  text-decoration: none; /* Añade subrayado al hacer hover */
}
.enlaces:hover{
    color:#d8816e;
    text-decoration: underline;
}

#formacion-info div.centrar-imagen{
    text-align: center;
}

#formacion-info div.centrar-imagen img{
    width:50%;
}