/* ========================================
   HERO SLIDER
   ======================================== */
.hero {
    position: relative;
    height: 75vh;
    min-height: 480px;
    max-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(27, 42, 74, 0.92) 0%,
        rgba(27, 42, 74, 0.7) 50%,
        rgba(27, 42, 74, 0.5) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(232, 130, 42, 0.2);
    border: 1px solid rgba(232, 130, 42, 0.4);
    color: var(--color-accent);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.2s ease forwards;
}

.hero-slide.active .hero-title {
    opacity: 0;
    animation: heroFadeUp 0.8s 0.2s ease forwards;
}

.hero-title span {
    color: var(--color-accent);
    position: relative;
}

.hero-desc {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 580px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.4s ease forwards;
}

.hero-slide.active .hero-desc {
    opacity: 0;
    animation: heroFadeUp 0.8s 0.4s ease forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.6s ease forwards;
}

.hero-slide.active .hero-buttons {
    opacity: 0;
    animation: heroFadeUp 0.8s 0.6s ease forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Slider Controls --- */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    pointer-events: none;
}

.hero-prev,
.hero-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: all;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

/* --- Slider Pagination --- */
.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    width: 36px;
    border-radius: var(--radius-full);
}

/* --- Scroll Indicator --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.hero-scroll-indicator a {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    position: relative;
}

.hero-scroll-indicator a span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: var(--color-white);
    border-radius: var(--radius-circle);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(24px); }
}
