/* static/css/home-style.css */
/* 1. Contenedor Principal (HOME) */
#home {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
    padding: 0px;
}

/* 2. El Banner con la imagen de fondo */
.banner {
    width: 100%;
    height: 100vh;
    background-image: url("../../img/banner_d.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    position: relative;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    max-width: 600px; /* Evita que el texto se estire demasiado en pantallas grandes */
}

/* Oscurecer un poco el fondo para que el texto resalte */
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

/* 3. Contenedor de Texto y Botón (Asegura que todo esté en columna) */
.banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;    
}

/* Título imponente y responsivo */
.one span {
    font-size: clamp(2.8rem, 8vw, 6rem); 
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.4);
}

/* "Pensando en Ti" - Más aire arriba y abajo */
.two span {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-family: 'Pinyon Script', cursive;
    color: white;
    margin-top: 15px; /* Espacio con el título */
    margin-bottom: 10px; /* Espacio con el botón */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* 4. Botón ajustado */
.banner .btn-start {
    margin-top: 35px; /* Bajamos el botón un poco más */
    padding: 16px 40px;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    background-color: #b61e25;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.banner .btn-start:hover {
    background: #7f151a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ------------------- */
/* RESPONSIVE     */
/* ------------------- */
@media (min-width: 1025px) {
    .banner {
        background-attachment: fixed; /* Solo se activa en computadoras */
    }
}

@media (max-width: 768px) {
    #home {
        height: 75vh;
    }
    .banner {
        justify-content: center; /* Centramos el bloque completo */
        padding-left: 0;
    }

    .banner-content {
        align-items: center; /* Centramos los elementos internos */
        text-align: center;
        width: 90%;
    }

    /* Evitamos que el título se encoja demasiado en tablets */
    .one span {
        font-size: clamp(3.2rem, 10vw, 4.5rem); 
        line-height: 1;
    }

    .two span {
        font-size: 2.2rem;
        margin-top: 20px;
    }

    .banner .btn-start {
        margin-top: 40px; /* Espacio extra en móvil para que luzca equilibrado */
        width: 80%; /* Botón más ancho y cómodo para el dedo */
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    #home {
        height: 50vh;
    }
    /* Ajustes finos para celulares pequeños (320px - 425px) */
    .banner {
        background-image: url("../../img/banner_m.png");
        background-attachment: scroll !important;
    }

    .one span {
        font-size: 2.8rem; /* Tamaño sólido para pantallas pequeñas */
    }

    .two span {
        font-size: 1.8rem;
    }

    .banner .btn-start {
        margin-top: 30px;
        padding: 14px 30px;
        font-size: 1rem;
    }
}