/* Intro Video Styles */
#schmuckstars-intro-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Show video container immediately on homepage */
body.home #schmuckstars-intro-video-container,
body.front-page #schmuckstars-intro-video-container {
    display: flex;
}

#schmuckstars-intro-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Fills entire screen, cropping if necessary */
    display: block;
}

/* Mobile specific adjustments */
@media screen and (max-width: 768px) {
    #schmuckstars-intro-video-container {
        /* Ensure container covers entire mobile screen */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        /* Prevent scrolling on mobile */
        overflow: hidden;
        /* Ensure it's above everything */
        z-index: 999999;
    }
    
    #schmuckstars-intro-video {
        /* Fill entire mobile screen */
        width: 100vw;
        height: 100vh;
        object-fit: cover;
    }
}

/* Body class when video is playing */
body.intro-video-playing {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Prevent body scrolling on mobile when video is playing */
@media screen and (max-width: 768px) {
    body.intro-video-playing {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

/* Hide any potential video controls */
#schmuckstars-intro-video::-webkit-media-controls {
    display: none !important;
}

#schmuckstars-intro-video::-webkit-media-controls-panel {
    display: none !important;
}

#schmuckstars-intro-video::-webkit-media-controls-play-button {
    display: none !important;
}

#schmuckstars-intro-video::-webkit-media-controls-start-playback-button {
    display: none !important;
} 