.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease-in-out;
    opacity: 0.7;
}

.carousel-item.active .carousel-image {
    transform: scale(1.15);
}

.carousel-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.display-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-item.active .display-4 {
    opacity: 1;
    transform: translateY(0);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 2rem;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.5s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 600px;
}

.carousel-item.active .lead {
    opacity: 1;
    transform: translateY(0);
}

.btn-custom {
    background: rgba(255,255,255,0.9);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.7s;
}

.carousel-item.active .btn-custom {
    opacity: 1;
    transform: translateY(0);
}

.btn-custom:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 12px;
    height: 12px;
    background-color: #fff;
}

.slide-number {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    z-index: 3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

@media (max-width: 991.98px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .btn-custom {
        padding: 12px 30px;
    }
}