/* Slider Styles */
.carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 2px solid #dc3545;
}

.carousel-item {
    height: 450px; /* Fixed height for all carousel items */
}

.carousel-item img, .carousel-item video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.02);
}

.carousel-caption {
    background-color: rgba(220, 53, 69, 0.8); /* Restaurant red theme */
    border-radius: 10px;
    padding: 15px;
    bottom: 20px;
    left: 10%;
    right: 10%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-caption p {
    font-size: 1rem;
    font-weight: 400;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dc3545;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Make carousel responsive */
@media (max-width: 992px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 12px;
        bottom: 15px;
    }
    
    .carousel-caption h5 {
        font-size: 1.3rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        display: block !important; /* Override Bootstrap's d-none */
        padding: 10px;
        bottom: 10px;
    }
    
    .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel {
        margin-bottom: 20px;
        border-width: 1px;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 12%;
    }
    
    .carousel-indicators {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        display: block !important; /* Override Bootstrap's d-none */
        padding: 8px;
        bottom: 5px;
        left: 5%;
        right: 5%;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
    
    .carousel {
        margin-bottom: 15px;
        border-width: 1px;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 15%;
    }
}

@media (max-width: 400px) {
    .carousel-item {
        height: 200px;
    }
    
    .carousel-caption {
        padding: 5px;
        bottom: 3px;
    }
    
    .carousel-caption h5 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .carousel-caption p {
        font-size: 0.7rem;
    }
}