/* ===================== FIXED 3D PARALLAX SCROLL EFFECTS ===================== */

body {
    height: 100vh;
    overflow: hidden;
}

/* The scroll container */
.parallax-container {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    position: relative;
    z-index: 10;
}

/* Hide scrollbar for a cleaner Web 3.0 look */
.parallax-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.parallax-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Fixed background - no 3D hacks to prevent layout breaking */
.parallax-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -10;
    pointer-events: none; /* CRITICAL: prevents background from blocking clicks */
}

/* Sections */
.parallax-section {
    position: relative;
    margin-bottom: 5vh;
    padding-top: 12vh; /* Clears the fixed navbar */
    min-height: 85vh;
    scroll-snap-align: start;
    z-index: 20;
}

.parallax-header {
    text-align: center;
    padding-top: 12vh; /* Clears navbar */
    padding-bottom: 5vh;
    z-index: 20;
    position: relative;
}

/* 3D Tilt Card effect (applied via JS in videos.html) */
.tilt-card {
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
}

/* Elevate embedded video on top of the card */
.video-embed-wrapper iframe {
    position: relative;
    z-index: 30;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 10vh;
}

@media (min-width: 992px) {
    .video-section {
        flex-direction: row;
        align-items: center;
        max-width: 1200px;
    }
    
    .video-embed-wrapper {
        flex: 1.2;
    }
    
    .article-full {
        flex: 1;
        margin-bottom: 0;
    }
}
