/* Modern Full-Screen Hero Slider */
.modern-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 100vh !important;
    background: #000;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 0;
    /* Ensure slider is behind header */
}

/* Force Header on top */
header {
    position: absolute;
    /* or fixed, depending on original */
    width: 100%;
    z-index: 9999 !important;
    background: transparent;
    /* Keep transparency for hero effect */
}

.modern-hero-slider .swiper,
.modern-hero-slider .swiper-wrapper {
    width: 100%;
    height: 100% !important;
    position: relative;
    z-index: 1;
}

.modern-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100% !important;
    background: #000;
    padding: 0 !important;
    margin: 0 !important;
}

/* Background Image Animation Wrapper */
.modern-hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    z-index: 1;
}

.modern-hero-slider .slide-bg img {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    /* Initial state for zoom effect */
    transform: scale(1);
    transition: transform 6s ease;
}

/* Active slide zoom effect */
.modern-hero-slider .swiper-slide-active .slide-bg img {
    transform: scale(1.1);
}

/* Overlay - Reduced darkness for better video visibility */
.modern-hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 2;
}

/* Content Styles */
.modern-hero-slider .slide-content {
    position: absolute;
    /* Absolute position for centering */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* True centering */
    z-index: 3;
    text-align: center;
    color: #fff;
    width: 100%;
    /* Full width container */
    max-width: 800px;
    padding: 0 20px;
}

.modern-hero-slider .slide-content h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
    /* Delay for entrance */
}

.modern-hero-slider .slide-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.7s;
    color: rgba(255, 255, 255, 0.9);
}

.modern-hero-slider .slide-btn {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    /* Entrance animation defined separately via JS class or delayed transition applied here */
    animation: fadeInUp 1s ease 0.9s forwards;
    /* We'll use opacity transition mostly */
    opacity: 0;
    transition: opacity 1s ease 0.9s, transform 1s ease 0.9s, background 0.3s, color 0.3s;
}

.modern-hero-slider .slide-btn:hover {
    background: transparent;
    color: #fff;
}

/* Content Entrance Animations (Controlled by Swiper Active Class) */
.modern-hero-slider .swiper-slide-active .slide-content h2,
.modern-hero-slider .swiper-slide-active .slide-content p,
.modern-hero-slider .swiper-slide-active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.modern-hero-slider .swiper-button-prev,
.modern-hero-slider .swiper-button-next {
    color: #fff;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modern-hero-slider .swiper-button-prev:hover,
.modern-hero-slider .swiper-button-next:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.modern-hero-slider .swiper-button-prev::after,
.modern-hero-slider .swiper-button-next::after {
    font-size: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modern-hero-slider .slide-content h2 {
        font-size: 2.5rem;
    }

    .modern-hero-slider .slide-content p {
        font-size: 1rem;
    }

    .modern-hero-slider .slide-btn {
        padding: 15px 35px;
    }

    .modern-hero-slider .swiper-button-prev,
    .modern-hero-slider .swiper-button-next {
        width: 40px;
        height: 40px;
        display: none;
        /* Hide nav arrows on mobile for cleaner look */
    }
}