/* Hero Slider Custom Styles */
.hero-slider-section {
    margin-bottom: 2rem;
}

.carousel-item img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item img {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        max-height: 250px;
    }
}

/* Auto-play functionality */
.carousel.slide[data-bs-ride="carousel"] {
    transition: transform 0.6s ease-in-out;
}

/* Loading state */
.slider-loading {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

/* Image optimization */
.optimized-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Accessibility improvements */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* High contrast indicators */
.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: white;
    opacity: 1;
}

/* Center alignment for images */
.carousel-inner {
    text-align: center;
}