/* Hero Video Slider Styles */
.hero-video-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.hero-slider-nav .slider-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    cursor: pointer;
    pointer-events: auto;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
}

.hero-slider-nav .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hero-slider-nav .slider-arrow:active {
    transform: scale(0.95);
}

.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 1;
}

.hero-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--theme-color, #007bff);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-video-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-slider-nav {
        padding: 0 20px;
    }
    
    .hero-slider-nav .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .hero-pagination {
        bottom: 20px;
        gap: 10px;
    }
    
    .hero-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-text {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-video-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-slider-nav {
        padding: 0 15px;
    }
    
    .hero-slider-nav .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .hero-pagination {
        bottom: 15px;
        gap: 8px;
    }
    
    .hero-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .btn-wrap {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-wrap .th-btn {
        width: 100%;
        text-align: center;
    }
}

/* Video Loading State */
.hero-video:not([src]) {
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
}

/* Smooth Transitions */
.swiper-slide-active .hero-title,
.swiper-slide-active .hero-text,
.swiper-slide-active .btn-wrap {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pause/Play Button (Optional) */
.video-control {
    position: absolute;
    bottom: 80px;
    right: 30px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-control:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
