/* ==============================================================================
   MAURYARTE ARCHITECTURE — Architectural Sketch Journey Strip (Premium Drag)
   ============================================================================== */

.project-sketch-strip-section {
    background: #000; /* Fallback safety background only */
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 !important;
    border: none;
    overflow: hidden;
    box-sizing: border-box;
}

.sketch-strip-container {
    position: relative;
    width: 100%;
    height: 190px; /* Fixed ribbon height on desktop */
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none; /* Prevent accidental browser scrolling/selection during drag */
}

.sketch-strip-container.grabbing {
    cursor: grabbing;
}

.sketch-strip-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: max-content;
    gap: 0; /* Zero gaps, images touch continuously */
    padding: 0;
    margin: 0;
    user-select: none;
    box-sizing: border-box;
    pointer-events: none; /* Images must not capture pointer events individually */
}

.sketch-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    -webkit-user-drag: none;
    user-select: none;
    border: none;
    padding: 0;
    margin: 0;
    
    /* Avoid blurriness during downscaling from high resolutions */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Auto-hide section if no sketches are available */
.project-sketch-strip-section:has(.sketch-strip-track:empty),
.project-sketch-strip-section:empty {
    display: none !important;
}

/* ==============================================================================
   Mobile Responsiveness (Native Touch Interaction with Momentum)
   ============================================================================== */
@media (max-width: 1024px) {
    .sketch-strip-container {
        height: 150px; /* Fixed ribbon height on mobile */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: none;
        touch-action: auto; /* Enable natural mobile touch swiping */
        cursor: default;
    }

    /* Hide native scrollbars cleanly */
    .sketch-strip-container::-webkit-scrollbar {
        display: none;
    }
    .sketch-strip-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sketch-strip-track {
        transform: none !important; /* CSS native scroll takes over completely */
    }
}
