/**
 * Módulo: Banner Promocional - Estilos
 * 
 * Banner hero con imagen de fondo y overlay degradado.
 * 
 * Ubicación: /modulos/portada/banner-promocional/banner-promocional.css
 */

/* ========================================
   BANNER PROMOCIONAL - MÓDULO PORTADA
   ======================================== */

.banner-promocional {
    position: relative;
    width: 100%;
    min-height: 140px;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Imagen de fondo */
.banner-imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay degradado */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Variantes de color del overlay */
.banner-overlay-primary .banner-overlay {
    background: linear-gradient(135deg, rgba(24, 108, 180, 0.85) 0%, rgba(24, 108, 180, 0.6) 100%);
}

.banner-overlay-secondary .banner-overlay {
    background: linear-gradient(135deg, rgba(58, 173, 132, 0.85) 0%, rgba(58, 173, 132, 0.6) 100%);
}

.banner-overlay-success .banner-overlay {
    background: linear-gradient(135deg, rgba(253, 139, 76, 0.85) 0%, rgba(253, 139, 76, 0.6) 100%);
}

/* Contenido del banner */
.banner-contenido {
    position: relative;
    z-index: 3;
    padding: 1.5rem 2rem;
    max-width: 70%;
}

.banner-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-subtitulo {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.4;
    max-width: 500px;
}

/* Botón CTA */
.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #fff;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-primary);
}

.banner-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.banner-btn:hover i {
    transform: translateX(4px);
}

/* Variantes de color del botón según overlay */
.banner-overlay-secondary .banner-btn {
    color: var(--color-secondary);
}

.banner-overlay-secondary .banner-btn:hover {
    color: var(--color-secondary);
}

.banner-overlay-success .banner-btn {
    color: var(--color-success);
}

.banner-overlay-success .banner-btn:hover {
    color: var(--color-success);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .banner-promocional {
        min-height: 120px;
    }
    
    .banner-contenido {
        max-width: 85%;
        padding: 1.25rem 1.5rem;
    }
    
    .banner-titulo {
        font-size: 1.35rem;
    }
    
    .banner-subtitulo {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .banner-promocional {
        min-height: 100px;
    }
    
    .banner-contenido {
        max-width: 100%;
        padding: 1rem 1.25rem;
    }
    
    .banner-titulo {
        font-size: 1.2rem;
    }
    
    .banner-subtitulo {
        font-size: 0.9rem;
    }
    
    .banner-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
