/* ========================================
   Modern Hero Slider Styles
   ======================================== */

/* Hero Container */
.modern-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Swiper Container */
.hero-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensure no overflow */
}

/* Slide Styles */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for better text readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay - 50% opacity */
    z-index: 1;
}

/* Additional blend mode effect */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 131, 69, 0.2) 0%, rgba(22, 23, 26, 0.3) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

/* Remove old overlay div (not needed anymore) */
.hero-overlay {
    display: none;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Card - No Box, Just Content */
.hero-content-card {
    background: transparent; /* Remove background */
    backdrop-filter: none; /* Remove blur */
    -webkit-backdrop-filter: none;
    border-radius: 0; /* Remove border radius */
    padding: 60px 0; /* Remove side padding, keep vertical spacing */
    border: none; /* Remove border */
    box-shadow: none; /* Remove shadow */
    max-width: 700px;
    animation: slideInUp 1s ease-out;
}

/* Subtitle */
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-subtitle::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-color), var(--white-color));
}

/* Main Title */
.hero-title {
    color: var(--white-color);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--title-font);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-title .text-highlight {
    color: var(--theme-color);
}

/* Description */
.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-family: var(--body-font);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

/* CTA Button */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--white-color);
    color: var(--title-color);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.hero-btn:hover {
    background: var(--title-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(4px);
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white-color);
    transition: all 0.3s ease;
}

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

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Pagination Dots */
.swiper-pagination {
    bottom: 40px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 6px;
    background: var(--white-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Tablet */
@media (max-width: 992px) {
    .modern-hero-slider {
        min-height: 500px;
        overflow-x: hidden;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content-card {
        padding: 40px 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .modern-hero-slider {
        height: auto;
        min-height: 290px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .hero-swiper {
        overflow-x: hidden;
    }

    .hero-content {
        padding: 0 15px; /* Reduce padding on smaller screens */
        max-width: 100%; /* Full width on mobile */
    }

    .hero-content-card {
        padding: 30px 0;
        max-width: 100%; /* Full width */
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-subtitle::before {
        width: 30px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
        word-wrap: break-word; /* Prevent text overflow */
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .hero-btn,
    .vs-btn {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box; /* Include padding in width */
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none; /* Hide on mobile for cleaner look */
    }

    .swiper-pagination {
        bottom: 20px !important;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination-bullet-active {
        width: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 10px; /* Even less padding on very small screens */
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-content-card {
        padding: 24px 0;
    }
}
