/* ======== BANNER DE ANCHO COMPLETO ======== */
.banner-section {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.banner-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Contenido superpuesto (opcional) */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.banner-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.banner-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.banner-cta {
    display: inline-block;
    background: linear-gradient(135deg, #f7efd4, #f7efd4);
    color: #000000;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ======== VERSIÓN MÓVIL OPTIMIZADA ======== */
@media (max-width: 768px) {
    .banner-container {
        height: 60vh;
        /* Altura fija para móvil */
        min-height: 400px;
        max-height: 600px;
    }

    .banner-image {
        height: 100%;
        object-fit: cover;
    }

    .banner-content {
        width: 95%;
        padding: 0 1rem;
    }

    .banner-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .banner-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .banner-cta {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* ======== VERSIÓN ESCRITORIO ======== */
@media (min-width: 769px) {
    .banner-container {
        height: 70vh;
        /* Altura mayor para desktop */
        min-height: 500px;
        max-height: 800px;
    }

    .banner-image {
        height: 100%;
    }
}

/* ======== PARA PANTALLAS MUY GRANDES ======== */
@media (min-width: 1200px) {
    .banner-container {
        height: 80vh;
        max-height: 900px;
    }
}

/* ======== OVERLAY PARA MEJOR LEGIBILIDAD ======== */
.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}