/**
 * 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;
}

/* Slider Navigation */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

/* Pagination */
.heroSwiper .swiper-pagination {
    bottom: 20px;
}

.heroSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

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

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

/* Hero banner image styling */
.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 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: 217px;
        height: calc((450px - 1rem) / 2); /* Exact calculation: (450px - 16px gap) / 2 banners = 217px */
    }
    
    .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;
    }
    
    /* Hide navigation arrows on mobile */
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        display: none;
    }
    
    /* Adjust pagination on mobile */
    .heroSwiper .swiper-pagination {
        bottom: 10px;
    }
    
    .heroSwiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .heroSwiper .swiper-pagination-bullet-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;
    }
}
