/* Hero Carousel - Cinematic Effects */
.carousel-inner {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    perspective: 1000px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.2); /* Stronger zoom */
    transition: all 0.01s ease;
    background-size: cover;
    background-position: center;
    z-index: 1; /* Base layer - images */
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: transform 15s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.next {
    opacity: 0;
    transform: scale(1.2) rotateY(5deg); /* Slight 3D tilt */
    z-index: 1;
}

.hero-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
    z-index: 2; /* Top layer - clickable content */
}

.hero-content h1 {
    color: white !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 
                 0 4px 12px rgba(0,0,0,0.6);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: white !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8), 
                 0 2px 6px rgba(0,0,0,0.6);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Final brighter overlay */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}
