/**
 * Banner Carousel Styles
 */

/* Base banner block styles */
.banner-block {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #f0f0f0;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Carousel structure */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content styling */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-subheading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.banner-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.banner-btn:hover {
    background-color: #0056b3;
}

/* Navigation controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active,
.carousel-indicator:hover {
    background-color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    .banner-heading {
        font-size: 1.75rem;
    }
    
    .banner-subheading {
        font-size: 1.25rem;
    }
    
    .banner-content {
        padding: 1.5rem;
    }
    
    .banner-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .banner-block {
        height: 300px;
    }
    
    .banner-heading {
        font-size: 1.5rem;
    }
    
    .banner-subheading {
        font-size: 1rem;
    }
}
