/**
 * Estilos Hero Slider Principal - Sibaté
 * Diseño full-width con bordes orgánicos (ondas), sin cajas blancas, botones verdes.
 */

.hero-section {
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #042411;
}

/* Hojas decorativas a los lados */
.hero-side-leaf {
    position: absolute;
    top: 0;
    z-index: 5; /* Detrás del menú pero sobre el fondo */
    pointer-events: none;
}
.hero-side-leaf-left {
    left: -15px;
    top: -10px;
    width: 15vw;
    max-width: 160px;
    height: auto;
}
.hero-side-leaf-right {
    right: 0;
    bottom: 0;
    top: auto;
    width: 15vw;
    max-width: 200px;
    height: 60%;
}

/* ONDA SUPERIOR (Top Wave Mask) - Simula el corte ondulado bajo el header */
.hero-top-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
}
.hero-top-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ONDA INFERIOR (Bottom Wave Mask) - Conecta con la sección de abajo */
.hero-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
}
.hero-bottom-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: clamp(550px, 45vw, 700px);
}

/* Pista de Diapositivas */
.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: clamp(550px, 45vw, 700px);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: clamp(550px, 45vw, 700px);
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Fondo Visual Full Width */
.hero-bg-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 15%; /* Baja la imagen para que no la tape el menú */
    z-index: 1;
}

/* Gradiente Oscuro a la izquierda para leer el texto */
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(4, 30, 56, 0.85) 0%, 
        rgba(4, 30, 56, 0.6) 40%, 
        rgba(4, 30, 56, 0) 100%
    );
}

.hero-overlay-alt {
    background: linear-gradient(90deg, 
        rgba(7, 65, 33, 0.85) 0%, 
        rgba(7, 65, 33, 0.6) 40%, 
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* Contenedor del contenido (Sin fondo blanco) */
.hero-outer-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content-box {
    position: relative;
    padding: clamp(60px, 8vw, 120px) 0;
    max-width: clamp(550px, 50vw, 750px);
}

/* Doodles (Dibujitos blancos flotantes) */
.hero-doodle {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    opacity: 0.85;
}
.doodle-arrow { top: 15%; left: -50px; width: 60px; transform: rotate(-15deg); }
.doodle-crown { top: 10%; right: 10%; width: 50px; transform: rotate(15deg); }
.doodle-plane { top: 5%; right: -15%; width: 70px; }

/* Tag Manuscrito (Tu futuro...) */
.hero-script-tag {
    margin-bottom: 15px;
}

.hero-script-tag span {
    font-family: var(--font-script, 'Brush Script MT', cursive);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    display: inline-block;
    transform: rotate(-3deg);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Título Principal */
.hero-main-heading {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Fondo verde estilo brocha para "Educación Superior" */
.hero-main-heading .text-highlight {
    color: #043621;
    background-color: #61d77a; /* Verde claro vibrante */
    padding: 0 15px;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(-2deg);
    box-shadow: -4px 4px 0 rgba(255,255,255,0.2);
    margin-top: 5px;
}

/* Subtítulo */
.hero-subtext {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Botones */
.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-pill-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #61d77a; /* Verde brillante */
    color: #043621; /* Texto oscuro */
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(97, 215, 122, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-pill-primary:hover {
    background: #4ade68;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(97, 215, 122, 0.6);
}

.btn-hero-pill-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(4, 36, 60, 0.6); /* Azul oscuro transparente */
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-hero-pill-secondary:hover {
    background: #ffffff;
    color: #04243c;
    transform: translateY(-3px);
}

/* Sello lateral derecho decorativo (Texto flotante amarillo) */
.hero-right-accent {
    position: absolute;
    bottom: 25%;
    right: 5%;
    z-index: 15;
}

.accent-script-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: var(--font-script, 'Brush Script MT', cursive);
    color: #fce277; /* Amarillo suave */
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
    transform: rotate(-12deg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Flechas de Navegación Lateral (Sutiles) */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.hero-nav-prev { left: 30px; }
.hero-nav-next { right: 30px; }

.hero-nav-arrow:hover {
    background: #ffffff;
    color: #04243c;
    transform: translateY(-50%) scale(1.1);
}

/* Puntos de Navegación Inferiores */
.hero-dots-container {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #61d77a;
    width: 30px;
    border-radius: 10px;
}

/* Responsividad */
@media (max-width: 992px) {
    .hero-main-heading { font-size: 3rem; }
    .hero-script-tag span { font-size: 1.8rem; }
    .hero-doodle { display: none; }
    .hero-right-accent { bottom: 15%; right: 5%; }
    .accent-script-badge { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .hero-slider-wrapper, .hero-slider-track, .hero-slide {
        min-height: 500px;
    }
    .hero-content-box {
        padding: 40px 15px;
        text-align: center;
        margin: 0 auto;
    }
    .hero-overlay-gradient, .hero-overlay-alt {
        background: rgba(4, 30, 56, 0.7);
    }
    .hero-main-heading { font-size: 2.2rem; }
    .hero-actions-row { justify-content: center; }
    .hero-nav-arrow { display: none; }
    .hero-right-accent { display: none; }
}
