/* Hero Slider Styles */

.hero-slider {
    position: relative;
    min-height: 85vh;
    background: var(--wcp-gradient-primary);
    overflow: hidden;
    display: block !important;
    width: 100% !important;
    height: 85vh !important;
}

.hero-slides {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: block;
}

.hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
    display: block !important;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 4;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 15;
    color: var(--wcp-white);
    padding: 2rem 0;
}

.hero-slide .container {
    position: relative;
    z-index: 15;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-slide .hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: transparent;
}


/* Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: var(--wcp-gradient-accent);
    width: 0%;
    transition: width 0.3s ease;
}

/* Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    align-items: center;
    justify-content: center;
}

.hero-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.hero-dot:hover {
    border-color: var(--wcp-white);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--wcp-white);
    border-color: var(--wcp-white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Navigation Arrows */
.hero-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 0;
    color: var(--wcp-white);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    width: 50px;
    height: 50px;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--wcp-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    width: 120px;
    padding: 12px 20px;
}

.hero-nav-btn .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-nav-btn .nav-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    width: 0;
    overflow: hidden;
}

.hero-nav-btn:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
    width: auto;
}

.hero-nav-btn:hover .nav-icon {
    transform: scale(0.8);
}

.hero-prev:hover .nav-icon {
    transform: translateX(-5px) scale(0.8);
}

.hero-next:hover .nav-icon {
    transform: translateX(5px) scale(0.8);
}

/* Slide Animations */
.hero-slide.fade-out {
    opacity: 0;
    transform: translateX(-100px);
}

.hero-slide.fade-in {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-navigation {
        padding: 0 1rem;
    }
    
    .hero-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .hero-nav-btn:hover {
        width: 100px;
        padding: 10px 16px;
    }
    
    .hero-dots {
        bottom: 20px;
    }
    
    .hero-dot {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 576px) {
    .hero-navigation {
        display: none;
    }
    
    .hero-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .hero-dot {
        width: 12px;
        height: 12px;
    }
}

/* Auto-play indicator */
.hero-slider.auto-playing .progress-bar {
    animation: progressFill 5s linear infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Pause on hover */
.hero-slider:hover .progress-bar {
    animation-play-state: paused;
}

/* Accessibility */
.hero-nav-btn:focus,
.hero-dot:focus {
    outline: 2px solid var(--wcp-white);
    outline-offset: 2px;
}

.hero-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading state */
.hero-slider.loading .hero-slide {
    opacity: 0.7;
}

.hero-slider.loading .progress-bar {
    background: var(--wcp-gradient-secondary);
}

.hero-slider.loading .hero-image-container::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 15;
    animation: pulse 2s infinite;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
