/*-----------------------------------*\
  #PROJECT DETAILS
\*-----------------------------------*/

.project-details-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 120px;
    padding: 128px 8px 200px 8px;
}

.project-details-gallery-container {
    width: 1280px;
    height: 680px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    background-color: var(--black);
}

.project-details-gallery-container::before,
.project-details-gallery-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(120px, 8vw);
    z-index: 2;
    pointer-events: none;
}


.project-gallery-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-gallery {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 600ms ease;
    will-change: transform;
}

.project-details-galley-image {
    width: 100%;
    height: calc(100vh - 128px);
    min-height: 720px;
    max-height: 980px;
    flex: 0 0 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 64px;
    height: 96px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF26;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.gallery-arrow:is(:hover, :focus-visible) {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.gallery-arrow-previous {
    left: 0;
}

.gallery-arrow-next {
    right: 0;
}

.gallery-arrow-previous .arrow-gallery-icon {
    transform: rotate(90deg);
}

.gallery-arrow-next .arrow-gallery-icon {
    transform: rotate(270deg);
}

.arrow-gallery-icon {
    width: 22px;
    height: 22px;
    filter: var(--filter-white);
}

.project-details-main-container-text {
    width: 1280px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-text-details-image {
    width: 100%;
    height: auto;
}


.project-details-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.detail-results-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.project-details-value {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.project-details-label {
    font-size: 18px;
    font-weight: var(--bold);
    color: var(--text-70);
}

.project-details-value {
    font-size: 20px;
    font-weight: var(--semiBold);
    color: var(--text-50);

}

.project-details-not-found {
    width: min(100%, 800px);
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.project-details-gallery-container .project-details-galley-image {
    height: 100%;
    min-height: 0;
    max-height: none;
}

@media(max-width: 1320px) {
    .project-details-gallery-container,
    .project-details-main-container-text {
        width: 1000px;
    }
}

@media(max-width: 1080px) {
    .project-details-section {
        padding-right: 32px;
        padding-left: 32px;
    }

    .project-details-gallery-container,
    .project-details-main-container-text {
        width: 100%;
    }

    .project-details-gallery-container {
        height: 600px;
    }
}

@media(max-width: 800px) {
    .project-details-section {
        gap: 80px;
    }

    .project-details-gallery-container {
        height: 520px;
    }

    .project-details-main-container-text .news-text-main-container {
        flex-direction: column;
        gap: 40px;
    }

    .project-details-main-container-text .news-text-container {
        width: 100%;
        max-width: none;
    }
}

@media(max-width: 600px) {
    .project-details-section {
        gap: 64px;
        padding: 104px 16px 120px;
    }

    .project-details-gallery-container {
        height: 420px;
    }

    .gallery-arrow {
        width: 48px;
        height: 72px;
    }

    .project-details-main-container-text .news-title {
        font-size: 32px;
    }

    .project-details-main-container-text .news-paragraph-title {
        font-size: 24px;
    }

    .project-details-main-container-text .news-paragraph-description,
    .project-details-label {
        font-size: 16px;
    }

    .project-details-value {
        font-size: 18px;
    }
}
