
/* ==========================================================================
   GSAP PINNED SCROLL SHOWCASE
   ========================================================================== */
.scroll-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
}

/* Background Slider Stacking */
.slides-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05); /* Initial scale for reveal zoom effect */
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.slide-bg.active {
    opacity: 1;
    transform: scale(1.0);
    z-index: 2;
}

/* Dark Gradient Overlay over images for readability */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.7) 0%, 
        rgba(10, 10, 10, 0.4) 50%, 
        rgba(10, 10, 10, 0.8) 100%
    );
}

/* Pinned Overlay UI Layout */
.showcase-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.showcase-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* Left Sidebar - Active Slide Progress indicator */
.showcase-sidebar {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
      display: none ;
}

.slide-counters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.counter-num {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 15px;
}

.counter-num::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: var(--transition-fast);
}

.counter-num.active {
    color: var(--text-primary);
}

.counter-num.active::before {
    width: 10px;
}

.progress-bar-container {
    width: 2px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #fff;
    transition: height 0.3s ease;
}

/* Right Content Slides container */
.showcase-content {
    flex: 1;
    padding-left: 10%;
    position: relative;
    height: 450px;
}

/* Content Slides absolute stacking */
.content-slide {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 650px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.content-slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 300;
}

.slide-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 520px;
}

.slide-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.slide-link .arrow {
    transition: transform 0.3s ease;
}

.slide-link:hover {
    color: #fff;
    border-color: rgba(212, 175, 55, 0.4);
}

.slide-link:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .showcase-content {
        padding-left: 5%;
    }
}

@media (max-width: 768px) {
    /* Pinned Showcase on Mobile */
    .showcase-overlay {
        padding: 0 5%;
    }

    .showcase-container {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 2rem;
    }

    .showcase-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        display: none ;
    }

    .slide-counters {
        flex-direction: row;
        gap: 1.5rem;
    }

    .progress-bar-container {
        width: 100px;
        height: 2px;
    }

    .progress-bar-fill {
        width: 0;
        height: 100%;
        transition: width 0.3s ease;
    }

    .showcase-content {
        padding-left: 0;
        height: 350px;
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}
