/* Hero Slider Styles */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

/* Remove blue background from hero section when containing slider */
.hero:has(.hero-slider-container) {
    background: none;
    padding: 0;
    min-height: auto;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.1);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}

.slide-cta {
    display: inline-flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.slide-btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 160px;
    text-align: center;
    cursor: pointer;
}

.slide-btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.slide-btn-primary:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.slide-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slide-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    backdrop-filter: blur(10px);
    font-size: var(--font-size-xl);
    font-weight: bold;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
    left: var(--space-lg);
}

.slider-arrow-next {
    right: var(--space-lg);
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: var(--radius-full);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider-container {
        height: 100vh;
        min-height: 500px;
        max-height: 700px;
    }

    .slide-content {
        padding: var(--space-md);
    }

    .slide-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .slide-description {
        font-size: var(--font-size-base);
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }

    .slider-arrow-prev {
        left: var(--space-sm);
    }

    .slider-arrow-next {
        right: var(--space-sm);
    }

    .slider-dots {
        bottom: var(--space-md);
    }

    .slide-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .slide-btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        height: 55vh;
        min-height: 350px;
        max-height: 500px;
    }

    .slide-category {
        font-size: var(--font-size-xs);
        padding: var(--space-2xs) var(--space-md);
    }
}

/* Accessibility */
.slider-arrow:focus,
.slider-dot:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Animation Performance */
.hero-slide {
    will-change: opacity, transform;
}

.slide-content {
    will-change: transform, opacity;
}