/* --- 360° INFINITE ORBIT ENGINE --- */

.orbit-section {
    background-color: #020202 !important;
    height: 100vh !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    font-family: 'Outfit', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    perspective: 2500px !important;
    cursor: grab !important;

    /* PROBLEM 1 FIX: Selection band karne ke liye */
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    
    /* Mobile par page scroll na ho jab hum ise ghumaayein */
    touch-action: none !important; 
}

.orbit-section:active { cursor: grabbing !important; }

.orbit-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important; /* Isse image select nahi hogi */
    -webkit-user-drag: none !important; /* Browser image drag rokhne ke liye */
    filter: brightness(0.6) grayscale(100%) !important;
    transition: 0.5s ease !important;
}

/* The 3D Carousel Stage */
.orbit-stage {
    position: relative !important;
    width: 300px !important;
    height: 400px !important;
    transform-style: preserve-3d !important;
    transition: transform 0.1s ease-out !important;
    will-change: transform !important;
}

/* Individual Project Card */
.orbit-card {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    background: #111 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8) !important;
    backface-visibility: hidden !important; /* Taaki piche ka hissa na dikhe */
    transition: box-shadow 0.3s, border-color 0.3s !important;
}

.orbit-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important;
    filter: brightness(0.6) grayscale(100%) !important;
    transition: 0.5s ease !important;
}

/* Content on Card */
.orbit-info {
    position: absolute !important;
    bottom: 0 !important; left: 0 !important;
    width: 100% !important;
    padding: 30px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent) !important;
    z-index: 5 !important;
}

.orbit-info h4 {
    color: white !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
}

.orbit-info span {
    color: #00C2FF !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
}

/* Highlight Active Card (Facing User) */
.orbit-card.is-active img {
    filter: brightness(1) grayscale(0%) !important;
}

.orbit-card.is-active {
    border-color: #00C2FF !important;
    box-shadow: 0 0 50px rgba(0, 194, 255, 0.3) !important;
}

/* Background Atmosphere */
.orbit-bg-text {
    position: absolute !important;
    font-size: 20vw !important;
    font-weight: 950 !important;
    color: rgba(255, 255, 255, 0.01) !important;
    text-transform: uppercase !important;
    pointer-events: none !important;
    z-index: 0 !important;
    user-select: none !important;
}

.orbit-glow {
    position: absolute !important;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.05) 0%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

@media (max-width: 768px) {
    .orbit-stage { width: 220px !important; height: 320px !important; }
    .orbit-info h4 { font-size: 20px !important; }
}