/**
 * Hero Section
 *
 * Full-viewport hero with background slider, overlay, stats.
 *
 * @package IBCES
 */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* ----------------------------------------
   Hero Background Slider
---------------------------------------- */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* ----------------------------------------
   Slider Navigation Dots
---------------------------------------- */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.hero-slider-dot:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.3);
}

.hero-slider-dot.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.2);
}

/* ----------------------------------------
   Hero Overlay & Content
---------------------------------------- */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0.3) 65%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 900px;
    padding: var(--spacing-xl) 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--color-gold);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ----------------------------------------
   Hero Stats
---------------------------------------- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
}

/* ----------------------------------------
   Responsive — Tablet
---------------------------------------- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ----------------------------------------
   Responsive — Mobile
---------------------------------------- */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-content {
        padding: var(--spacing-md);
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}
