/* Custom Hero Slider & Static Banner Styles */

/* Common Base */
.custom-hero-slider, .custom-hero-static {
    width: 100%;
    height: 75vh;
    position: relative;
    overflow: hidden;
}

/* Swiper specific wrapper */
.custom-hero-slider .swiper-wrapper {
    height: 100%;
}

.custom-hero-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Static banner specific */
.custom-hero-static {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Overlay for better text readability */
.custom-hero-slide::before,
.custom-hero-static::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Text Containers */
.custom-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* Text Formatting */
.custom-hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.1px;
}

.custom-hero-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 60px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    letter-spacing: -1px;
    max-width: 100%;
    word-wrap: break-word;
}

/* Dark variant for slide 1 */
.custom-hero-slide.dark-text .custom-hero-subtitle,
.custom-hero-slide.dark-text .custom-hero-title {
    color: #333333;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.7);
}

/* Swiper Pagination/Navigation customization */
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 778px) {
    .custom-hero-slider, .custom-hero-static {
        height: 85vh;
    }
    
    .custom-hero-title {
        font-size: 40px;
    }
    
    .custom-hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .custom-hero-title {
        font-size: 32px;
    }
}
