/* ========================================
   Banner Carousel Styles
   ======================================== */

/* Banner Section Container */
.banners-section {
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
}

.banners-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* Banner Item Styles */
.banner-item {
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.banner-item:hover {
    opacity: 0.9;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    animation: fadeInBanner 0.8s ease-in-out;
}

/* Fade-in Animation for Banner Load */
@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual Banner Animations with Stagger */
.banner-1 img {
    animation-delay: 0.1s;
}

.banner-2 img {
    animation-delay: 0.2s;
}

.banner-3 img {
    animation-delay: 0.3s;
}

.banner-4 img {
    animation-delay: 0.4s;
}

.banner-5 img {
    animation-delay: 0.5s;
}

.banner-6 img {
    animation-delay: 0.6s;
}

.banner-7 img {
    animation-delay: 0.7s;
}

.banner-8 img {
    animation-delay: 0.8s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banners-container {
        gap: 0;
    }

    .banner-item {
        width: 100%;
    }

    .banner-item img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .banner-item img {
        width: 100%;
        height: auto;
    }
}

/* Accessibility */
.banner-item:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.banner-item:active {
    opacity: 0.85;
}

/* Print Styles */
@media print {
    .banners-section {
        display: none;
    }
}
