/* Banner Carousel Styles */
.banner-carousel-container {
    margin-bottom: 12px; /* tighter space below banner */
    background: var(--secondary-color);
    width: 100%;
}

.banner-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1; /* consistent 4:1 banner area */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Hide all slides by default - only active slide is visible */
.banner-carousel .banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

/* Show active slide with smooth fade animation */
.banner-carousel .banner-slide.active {
    display: flex;
    z-index: 1;
    opacity: 1;
    animation: bannerFadeIn 0.5s ease-in-out;
}

@keyframes bannerFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill the banner area; same style for all */
    display: block;
    border-radius: 12px;
}

/* Banner container respects page container max-width */
.banner-carousel-container {
    width: 100%;
}

.banner-carousel-container .container {
    width: 100%;
}

/* Pagination dots */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding-bottom: 6px;
}

.banner-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.banner-dot.active {
    background-color: var(--primary-color, #fc8019);
    border-color: rgba(0, 0, 0, 0.15);
    transform: scale(1.2);
}

.banner-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}


