
/* Modern Carousel Styles */
.modern-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    min-height: 600px;
    overflow: hidden;
}

.modern-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.modern-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.modern-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.modern-slide.active {
    opacity: 1;
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
}

.slide-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    z-index: 2;
    padding: 2rem;
}

.slide-content-inner {
    max-width: 1000px;
    text-align: center;
}

.slide-content-inner .subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.2s;
}

.slide-content-inner .title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.4s;
}

.slide-content-inner .description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.6s;
}

.slide-content-inner .buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.8s;
}

.modern-slide.active .subtitle,
.modern-slide.active .title,
.modern-slide.active .description,
.modern-slide.active .buttons {
    opacity: 1;
    transform: translateY(0);
}

.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.video-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.mute-btn, .pause-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.mute-btn:hover, .pause-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Media Queries */
@media (max-width: 992px) {
    .slide-content-inner .title {
        font-size: 2.5rem;
    }
    
    .slide-content-inner .subtitle,
    .slide-content-inner .description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        height: 80vh;
    }
    
    .slide-content-inner .title {
        font-size: 2rem;
    }
    
    .video-controls {
        bottom: 100px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .slide-content-inner .title {
        font-size: 1.8rem;
    }
    
    .slide-content-inner .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-controls {
        bottom: 20px;
    }
}
