/* Hero Slider Styles - Modern & Stylish */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #000000 0%, #1a1a1a 100%);
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
}

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

.hero-slide.slide-out {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(2px);
}

/* Background with Parallax & Modern Effects */
.hero-slide .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide .hero-fallback {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    transition: transform 20s ease-out;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    50% {
        transform: scale(1.1) translateX(-2%) translateY(-1%);
    }
    100% {
        transform: scale(1.05) translateX(2%) translateY(1%);
    }
}

/* Dynamic Gradient Overlay */
.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 30%, 
        rgba(0, 0, 0, 0.6) 70%, 
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

/* Add animated particles overlay */
.hero-slide .hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    animation: floatingParticles 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatingParticles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* Container - Original Styling */
.hero-slide .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Hero Content - Animated & Modern */
.hero-slide .hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--light-bg);
    padding: 0;
    max-width: 800px;
    margin-left: calc(2rem + 100px);
    margin-top: 2.5rem;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* Hero Title - Stylish & Animated */
.hero-slide .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--light-bg);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    position: relative;
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.hero-slide.active .hero-title {
    transform: translateX(0);
    opacity: 1;
}

/* Animated underline effect */
.hero-slide .hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

.hero-slide.active .hero-title::after {
    width: 200px;
}

/* Hero Subtitle - Enhanced Typography */
.hero-slide .hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
}

.hero-slide.active .hero-subtitle {
    transform: translateX(0);
    opacity: 1;
}

/* Hero CTA - Modern Button Animations */
.hero-slide .hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s;
}

.hero-slide.active .hero-cta {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced Button Styling */
.hero-slide .btn {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-slide .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-slide .btn:hover::before {
    left: 100%;
}

.hero-slide .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-slide .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #000;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-slide .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Hero Slider Navigation - Futuristic & Elegant */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(2rem + 100px);
    right: calc(2rem + 100px);
    display: flex;
    justify-content: space-between;
    z-index: 4;
    pointer-events: none;
}

.hero-nav-button {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    color: white;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.hero-nav-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.hero-nav-button:hover::before {
    width: 100px;
    height: 100px;
}

.hero-nav-button:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px) scale(1.05);
    opacity: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.1);
}

.hero-nav-button svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
    position: relative;
    z-index: 1;
}

/* Hero Slider Indicators - Modern Line Design */
.hero-slider-indicators {
    position: absolute;
    bottom: 3rem;
    left: calc(2rem + 100px);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.hero-indicator {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.hero-indicator.active::before {
    width: 100%;
}

.hero-indicator:hover {
    background: rgba(255,255,255,0.5);
    transform: scaleY(1.5);
}

/* Auto-play progress animation for active indicator */
.hero-indicator.active {
    background: rgba(255,255,255,0.4);
}

.hero-indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2px;
    animation: hero-progress-line 5s linear infinite;
}

@keyframes hero-progress-line {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
    }
    
    /* Mobile Content Adjustments */
    .hero-slide .hero-content {
        margin-left: 2rem;
        margin-top: 1rem;
        max-width: calc(100% - 4rem);
    }
    
    .hero-slide .hero-title {
        font-size: 3.2rem;
        margin-bottom: 1rem;
        line-height: 0.95;
        letter-spacing: 1px;
    }
    
    .hero-slide .hero-title::after {
        width: 120px;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 1.8rem;
        max-width: 100%;
        line-height: 1.6;
    }
    
    .hero-slide .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-slide .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Mobile Navigation */
    .hero-slider-nav {
        left: 1rem;
        right: 1rem;
    }
    
    .hero-nav-button {
        width: 50px;
        height: 50px;
    }
    
    .hero-nav-button svg {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile Indicators */
    .hero-slider-indicators {
        bottom: 2rem;
        left: 2rem;
    }
    
    .hero-indicator {
        width: 35px;
        height: 3px;
    }
    
    /* Reduce Ken Burns effect on mobile */
    .hero-slide .hero-fallback {
        animation: kenBurnsMobile 15s infinite alternate;
    }
    
    @keyframes kenBurnsMobile {
        0% {
            transform: scale(1) translateX(0) translateY(0);
        }
        100% {
            transform: scale(1.03) translateX(1%) translateY(0.5%);
        }
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 450px;
    }
    
    .hero-slide .hero-content {
        margin-left: 1.5rem;
        max-width: calc(100% - 3rem);
    }
    
    .hero-slide .hero-title {
        font-size: 2.4rem;
        letter-spacing: 0.5px;
        line-height: 1;
    }
    
    .hero-slide .hero-title::after {
        width: 80px;
        height: 3px;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide .hero-cta {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
    
    .hero-slide .btn {
        max-width: 260px;
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-nav-button {
        width: 45px;
        height: 45px;
    }
    
    .hero-nav-button svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-slider-indicators {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .hero-indicator {
        width: 30px;
        height: 2px;
    }
}
