/* Hero Banner Styles */
.hero-banner-image {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    object-position: center;
}

.hero-banner-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.6) 100%);
}

.hero-banner-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #ffc107;
    border-color: #ffc107;
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-banner-image {
        aspect-ratio: 4/3;
        min-height: 280px;
    }
    
    .hero-banner-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-banner-content .lead {
        font-size: 1rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
        background-size: 15px 15px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
}

/* Bottom gradient overlay */
.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Hero fallback images */
.hero-fallback-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .hero-gradient-overlay {
        height: 100px;
    }
    
    .hero-fallback-image {
        max-height: 150px;
        object-fit: contain;
        background: #f8f9fa;
        padding: 10px;
    }
    
    .hero-floating .col-6:nth-child(2) .hero-fallback-image {
        margin-top: 0 !important;
    }
}