/* Carousel Block Styles */
.carousel-block {
    margin-bottom: 2rem;
}

.carousel-block .carousel {
    overflow: hidden;
}

/* Slide Background */
.carousel-block .slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark Overlay */
.carousel-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Content Styling */
.carousel-block .carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.carousel-block .carousel-caption.text-left {
    text-align: left;
}

.carousel-block .carousel-caption.text-right {
    text-align: right;
}

.carousel-block .carousel-caption h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-block .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-block .carousel-caption .btn {
    text-shadow: none;
}

/* Navigation Controls */
.carousel-block .carousel-control-prev,
.carousel-block .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-block .carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-block .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-block .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .carousel-block .carousel-caption p {
        font-size: 1rem;
    }
}

/* Touch Support */
.carousel-block .carousel-inner {
    touch-action: pan-y pinch-zoom;
}
