/* ══════════════════════════════════════════
   PROJECT SHOWCASE AREA
══════════════════════════════════════════ */
#project-showcase {
    position: relative;
    width: 100%;
    height: 100vh;
    color: #fff;
    overflow: hidden;
}

.swiper-container-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-image-zoomer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.3);
    transition: transform 3000ms cubic-bezier(0.86, 0, 0.07, 1);
}

.swiper-slide-active .bg-image-zoomer {
    transform: scale(1);
}

#content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(30px, 4vw, 80px) clamp(30px, 6vw, 90px);
    box-sizing: border-box;
    pointer-events: none;
}

#content-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(13, 27, 62, 0.7) 0%,
            rgba(13, 27, 62, 0.2) 50%,
            rgba(13, 27, 62, 0.45) 100%);
    z-index: -1;
}

#text-content {
    flex: 1;
    max-width: 520px;
    pointer-events: auto;
    transition:
        opacity 1s cubic-bezier(0.86, 0, 0.07, 1),
        transform 1s cubic-bezier(0.86, 0, 0.07, 1);
    opacity: 1;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-fading-out {
    opacity: 0;
    transform: translateY(30px);
}

#text-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw + 12px, 52px);
    font-weight: 600;
    font-style: italic;
    text-transform: none;
    line-height: 1.25;
    color: var(--white);
    margin: 0 0 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

#text-content h2::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 5em;
    line-height: 0;
    vertical-align: -0.4em;
    color: var(--gold);
    margin-right: 4px;
    opacity: 0.7;
}

#video-container {
    max-width: 560px;
    max-height: 380px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
    overflow: hidden;
    pointer-events: auto;
    z-index: 6;
    border: 2px solid rgba(201, 150, 42, 0.3);
}

.swiper-container-video {
    width: 100%;
    height: 100%;
}

.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#controls-wrapper {
    position: absolute;
    bottom: 48px;
    left: clamp(30px, 5vw, 80px);
    z-index: 10;
    pointer-events: auto;
}

.custom-navigation {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.nav-button {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    font-size: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.nav-button:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
}

.custom-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    border: none;
    margin: 0;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--gold-lt);
    width: 50px;
}

@media (max-width: 992px) {
    #text-content {
        max-width: 100%;
    }

    #controls-wrapper {
        bottom: 20px;
        left: 20px;
    }

    .video-slide video {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    #content-overlay {
        flex-direction: column;
        padding: 24px 20px;
        align-items: flex-start;
        justify-content: flex-end;
    }

    #text-content {
        max-width: 100%;
        height: auto;
    }

    #video-container {
        display: none;
    }

    #text-content h2 {
        font-size: clamp(22px, 5vw, 34px);
    }
}
