.carousel {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
}

.carousel-item {
    max-height: 70vh;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 70vh;
    display: block !important; /* Ensure image is always displayed */
}

/* Ensure carousel images container is properly positioned */
.carousel-img-container {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    position: absolute;
    z-index: 10;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color:#fff
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #FFC43F;
}

.carousel-caption .btn {
    margin: 0 5px;
}

.btn-book {
    background-color: #FFC43F;
    color: #000;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background-color: #00AEEF;
    color: #fff;
}

/* Force visibility for carousel images */
.carousel-img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-image {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .carousel-item {
        max-height: 50vh;
    }
    
    .carousel-item img {
        height: 50vh;
    }
    
    .carousel-caption {
        position: absolute;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 15px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
    }
    
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .carousel-caption .btn {
        padding: 5px 15px;
        font-size: 0.8rem;
    }
    
    .btn-book, .btn-primary {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}
