/* ========================================
   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.home-page .container {
    max-width: 100% !important;
}

@media (min-width: 1400px) {
    body.home-page .container, body.home-page .container-lg, body.home-page .container-md, body.home-page .container-sm, body.home-page .container-xl, body.home-page .container-xxl {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    body.home-page .container, body.home-page .container-lg, body.home-page .container-md, body.home-page .container-sm, body.home-page .container-xl {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    body.home-page .container, body.home-page .container-lg, body.home-page .container-md, body.home-page .container-sm {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    body.home-page .container, body.home-page .container-md, body.home-page .container-sm {
        max-width: 100% !important;
    }
}

@media (min-width: 576px) {
    body.home-page .container, body.home-page .container-sm {
        max-width: 100% !important;
    }
}

/* Remover padding del main en home */
body.home-page main {
    padding: 0 !important;
    margin: 0 !important;
}

/* Main con clase home-main expande a 100vw */
body.home-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.home-page main.home-main .hero-section-home {
    width: 100%;
}

/* ===== SECCIÓN HERO - IMAGEN Y CONTENIDO ===== */

.hero-section-home {
    background-image: url('../img/peli2.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: 30%;
    /* margin-top: 20vh; */
}

/* Título principal del hero */
.hero-content h1 {
      font-size: 3.8rem;
    /* font-weight: 700; */
    margin-bottom: 20px;
    /* 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; */
    background-color: rgb(101, 150, 194);
    font-weight: 300;
    width: 800px;
}


/* 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;
}

/* ===== BOTÓN HERO ===== */

.hero-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: #d8816e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(83, 111, 236, 0.4);
    animation: fadeInUp 0.8s ease-in 0.2s both;
    font-size: 24px;
}

/* Efecto hover del botón */
.hero-button:hover {
    background-color: #da5a3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 29, 29, 0.6);
    color: white;
}

/* ===== 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;
}