/* ==== Fullscreen Hero Wrapper ==== */
.hero,
.carousel-item,
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

/* ==== Force Bootstrap carousel item to fill screen ==== */
.carousel-item {
    min-height: 100vh;
}

/* ==== Video Wrapper (Full Screen) ==== */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* IMPORTANT: video must stay behind overlay + text */
}

/* ==== Full Screen Video ==== */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
    background: #000; /* fallback for slow loading */
}

/* ==== Overlay Layer ==== */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 2;
}

/* ==== Caption Layer (Always Visible) ==== */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Above overlay */
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}
