/* Three.js Hero Model Wrapper */
.hero-3d-model-wrapper {
    width: 100%;
    height: 100vh;
    min-height: 400px;
    position: fixed;
    /* Fixed to follow scroll and overlap sections */
    top: 0;
    left: 0;
    z-index: 99;
    /* Stays on top of sections */
    pointer-events: none;
    /* Allows clicks to sections behind the model */
}

.hero-3d-model-wrapper canvas {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    /* Allows interaction with the model itself */
}

/* Ensure model disappears gracefully on small screens */
@media (max-width: 991px) {
    .hero-3d-model-wrapper {
        position: absolute;
        /* Revert on mobile to save performance */
        height: 350px;
        top: 0;
    }
}

@media (max-width: 767px) {
    .hero-3d-model-wrapper {
        display: none;
    }
}