/**
 * Hero Section Styles
 * Extracted from inline styles to reduce HTML file size
 */

.hero-section {
    margin-top: 1rem;
}

.hero-section .container {
    max-width: 1200px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Carousel Slides */
.hero-slide-item {
    height: 450px;
}

.hero-carousel .owl-stage-outer,
.hero-carousel .owl-stage,
.hero-carousel .owl-item {
    height: 100%;
}

/* Hero Carousel Navigation (Owl Carousel) */
.hero-carousel .owl-nav button {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    font-size: 20px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none !important;
}

.hero-carousel:hover .owl-nav button {
    opacity: 1;
    visibility: visible;
}

.hero-carousel .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.hero-carousel .owl-nav .owl-prev {
    left: 15px;
}

.hero-carousel .owl-nav .owl-next {
    right: 15px;
}

/* Hero Carousel Pagination */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-carousel .owl-dot {
    background: #fff !important;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-carousel .owl-dot.active {
    opacity: 1;
    width: 30px;
}

/* Banner hover effect */
.hero-banner a {
    transition: transform 0.3s ease;
    display: block;
    height: 100%;
}

.hero-banner a:hover {
    transform: scale(1.02);
}

/* Hero content padding */
.hero-content {
    padding: 1rem;
}

/* Desktop (Large screens) */
@media (min-width: 992px) {
    .hero-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-slider-wrapper {
        height: 450px;
    }
    
    .hero-banner {
        min-height: 218px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.25rem;
    }
    
    .hero-content p.text-uppercase {
        font-size: 0.875rem;
    }
}

/* Tablet (Medium screens) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section .row.g-3 {
        --bs-gutter-y: 0.4rem !important;
        row-gap: 0.4rem !important;
    }
    
    .hero-slider-wrapper {
        height: 350px !important;
    }
    
    .hero-banner {
        min-height: 170px !important;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content .lead {
        font-size: 1.1rem !important;
    }
    
    .hero-content p.text-uppercase {
        font-size: 0.75rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
    
    /* Display banners inline (horizontally) on tablets */
    .hero-banners {
        margin-top: 0;
        flex-direction: row !important;
        gap: 0.75rem !important;
    }
    
    .hero-banner {
        flex: 1 !important;
    }
}

/* Mobile (Small screens) */
@media (max-width: 767.98px) {
    .hero-section {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .hero-section .row.g-3 {
        --bs-gutter-y: 0.4rem !important;
        row-gap: 0.4rem !important;
    }
    
    .hero-slider-wrapper {
        height: 280px !important;
    }
    
    .hero-banner {
        min-height: 130px !important;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-content .lead {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content p.text-uppercase {
        font-size: 0.7rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Hero carousel adjustments on mobile */
    .hero-carousel .owl-nav button {
        display: none;
    }
    
    .hero-carousel .owl-dots {
        bottom: 10px;
    }
    
    .hero-carousel .owl-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-carousel .owl-dot.active {
        width: 20px;
    }
    
    /* Display banners inline (horizontally) on mobile */
    .hero-banners {
        margin-top: 0;
        flex-direction: row !important;
        gap: 0.5rem !important;
    }
    
    .hero-banner {
        flex: 1 !important;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .hero-section .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .hero-slider-wrapper {
        height: 250px !important;
    }
    
    .hero-banner {
        min-height: 120px !important;
    }
    
    .hero-content h1 {
        font-size: 1.25rem !important;
    }
    
    .hero-content .lead {
        font-size: 0.85rem !important;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Reduce gap between inline banners on very small screens */
    .hero-banners {
        gap: 0.5rem !important;
    }
    
    /* Smaller text on banner overlays for small screens */
    .hero-banner h4 {
        font-size: 1rem !important;
    }
    
    .hero-banner h5 {
        font-size: 0.9rem !important;
    }
    
    .hero-banner p.small {
        font-size: 0.75rem !important;
    }
}
