/**
 * Hero Slider Styles
 * Custom Elementor Widget Styles
 */

.hero-slider-widget {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100vh;
    max-height: 900px;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #ffffff;
}

.hero-slide-content-inner {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-slide-title {
    font-size: clamp(2rem, 10vw, 3rem);
    font-weight: 500;
    margin: 0 0 20px 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-description {
    font-size: 1.25rem;
    margin: 0 0 30px 0;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-cta {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Swiper Navigation */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #ffffff;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.4);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 20px;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide-title {
        font-size: 2.5rem;
    }

    .hero-slide-description {
        font-size: 1rem;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {

    .mejs-container {
        clear: both;
        max-width: 100%;
        width: 100% !important;
        height: 100% !important;
    }

    .hero-slide-background video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .mejs-controls {
        display: none !important;
    }

    .hero-slide-title {
        font-size: 2rem;
    }

    .hero-slide-description {
        font-size: 0.9rem;
    }

    .hero-slide-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}
