/**
 * NOVALTIA COMUNICA - CSS HERO HEADER
 * Solo overlay del hero con gradiente corporativo
 */


/* ============================================
   HERO SECTION - OVERLAY GRADIENTE
   ============================================ */

/* Contenedor del hero */
.page-header .title-section {
    position: relative;
    background-position: center center;
    background-size: cover;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* OVERLAY GRADIENTE CORPORATIVO */
.page-header .title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, color-mix(in srgb, var(--color-primary) 85%, transparent) 0%, color-mix(in srgb, var(--color-primary) 75%, transparent) 50%, color-mix(in srgb, var(--color-secondary) 65%, transparent) 100% );
    z-index: 1;
}

/* TEXTURA SUTIL (opcional) */
.page-header .title-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    z-index: 2;
}

/* TÍTULO */
.page-header .title-section h1 {
    position: relative;
    z-index: 3;
    color: #a6bc09;  /* Verde corporativo */
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.6),      /* Sombra oscura para contraste */
        0 0 25px rgba(166, 188, 9, 0.4),      /* Glow verde sutil */
        0 0 40px rgba(166, 188, 9, 0.2);      /* Glow verde más amplio */
    margin: 0;
    padding: 3rem 5%;
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop XL */
@media (min-width: 1921px) {
    .page-header .title-section {
        min-height: 400px;
    }
    .page-header .title-section h1 {
        font-size: 3.5rem;
        padding: 4rem 5%;
    }
}

/* Desktop */
@media (max-width: 1920px) and (min-width: 992px) {
    .page-header .title-section {
        min-height: 350px;
    }
    .page-header .title-section h1 {
        font-size: 2.75rem;
        padding: 3.5rem 5%;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .page-header .title-section {
        min-height: 250px;
    }
    .page-header .title-section h1 {
        font-size: 2rem;
        padding: 2.5rem 5%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .page-header .title-section h1 {
        font-size: 1.625rem;
        padding: 2rem 1.5rem;
    }
}


/* ============================================
   OPTIMIZACIÓN
   ============================================ */

.page-header .title-section::before,
.page-header .title-section::after {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
