/* css/banner.css */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.banner-content {
    max-width: 60%;
    /* Limita el ancho al 50% del banner */
    padding: 0 50px;
    z-index: 2;
    box-sizing: border-box;
}

.banner h1 {
    font-weight: bold;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: l;
}


.banner-content .banner-divider {
    width: 200px;
    height: 4px;
    background-color: #F3B040;
    margin: 20px 0;
}

.banner p {
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    /* Asegura que el texto se rompa correctamente */
}

/* movil.css - Estilos responsivos para banner */

/* Tablets y pantallas medianas */
@media screen and (max-width: 768px) {
    .banner {
        height: 400px;
    }

    .banner-content {
        max-width: 70%;
        padding: 0 40px;
    }

    .banner h1 {
        letter-spacing: 1.5px;
    }

    .banner-content .banner-divider {
        width: 150px;
        margin: 15px 0;
    }

}

/* Móviles grandes */
@media screen and (max-width: 480px) {
    .banner {
        height: 350px;
        align-items: flex-start;
        padding-top: 60px;
    }

    .banner-content {
        max-width: 95%;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .banner h1 {
        letter-spacing: 1px;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .banner-content .banner-divider {
        width: 120px;
        height: 3px;
        margin: 15px 0;
    }

    .banner p {
        line-height: 1.5;
        font-weight: 600;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 360px) {
    .banner {
        height: 300px;
        padding-top: 40px;
    }

    .banner-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .banner h1 {
        letter-spacing: 0.5px;
        margin: 0 0 12px 0;
    }

    .banner-content .banner-divider {
        width: 100px;
        height: 3px;
        margin: 12px 0;
    }

    .banner p {
        line-height: 1.4;
        font-weight: 600;
    }
}

/* Orientación horizontal en móviles */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .banner {
        height: 280px;
        padding-top: 20px;
    }
 
    .banner-content {
        max-width: 80%;
        padding: 0 30px;
    }

    .banner h2 {
        margin: 0 0 10px 0;
    }

    .banner-content .banner-divider {
        width: 100px;
        margin: 10px 0;
    }

    .banner p {
        line-height: 1.3;
    }
}