* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* We make the body allow scrolling but hide horizontal overflow */
    overflow-x: hidden;
}

/* This container gives us the height to scroll through. */
#scroll-container {
    height: 600vh; /* 6 times the viewport height */
    position: relative;
}

/* The sticky container stays fixed on the screen while we scroll through the 600vh */
.sticky-video-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The video covers the entire viewport */
#scroll-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Overlay content on top of the video */
.overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.beo-logo {
    max-width: 700px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hide overlay when scrolling starts (handled by JS) */
.is-scrolling .overlay-content {
    opacity: 0;
}
