.project-popup {
    display: none;
    position: fixed;
    top: 118px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: hidden;
    z-index: 10000;
    background: #fff;
    border-radius: 20px 20px 0 0;
}

.project-popup__inner {
    position:relative;
    padding:30px 16px;
}
.project-popup__close {
    position:absolute;
    right:20px;
    top:20px;
    width:38px;
    height:38px;
    border-radius:50%;
    background-color:#0B80F7;
    cursor:pointer;
    line-height:0;
}
.project-popup__shadow {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(3, 38, 74, 0.78);
    z-index: 9999;
}

@media (min-width: 768px) {
    .project-popup {
        width: 1100px;
        max-height: 90vh;
        margin: 0 auto;
        left: 50%;
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        border-radius: 20px;
    }
}
.e-project-popup-open .project-popup__shadow {
    display:block;
}
.project-popup.active {
    display:block;
}
@media (min-width:768px) {
    .project-popup {
        width:100%;
        overflow:visible;
        max-height:90vh;
        margin:0;
        left:50%;
        top:50%;
        bottom:auto;
        transform:translateY(-50%) translateX(-50%);
        border-radius:20px;
        max-width: 1100px;
    }
    .project-popup__inner {
        padding:40px;
    }
    .project-popup__close {
        right:40px;
        top:40px;
    }
    .project-popup_wide {
        width:80vw;
        max-width:1246px;
    }
}
.project-popup__suptitle {
    font-size:16px;
    color:#9AA8B7;
    margin-bottom:10px;
}
.project-popup__subtitle {
    font-size:18px;
}
.project-popup__title {
    font-weight:800;
    font-size:32px;
    line-height:1.2;
    padding-right:200px;
    margin-bottom:14px;
}
.project-popup__description > div:first-child {
    margin-top:14px;
}
.project-popup__description > div {
    margin-bottom:14px;
}
.project-popup__description > div:last-child {
    margin-bottom:0;
}
.project-popup__description-item {
    font-size:16px;
    color:#9AA8B7;
}
.project-popup__description-item span {
    color:#03264A;
}
.project-popup__image-slider {
    margin-bottom:20px;
}
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #edf0f6;
    border-radius: 15px;
}

.slider__container {
    display: flex;
    transition: transform 0.5s ease;
}

.slider__image {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    margin-left: 0;
    background: #EDF0F6;
}
.slider__prev,
.slider__next {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background-color:white;
    border:none;
    width:40px;
    height:40px;
    cursor:pointer;
    font-size:24px;
    color:#0B80F7;
    border-radius:50%;
    z-index:10;
}
.slider__prev {
    left:10px;
}
.slider__next {
    right:10px;
}
.slider__indicators {
    display:flex;
    justify-content:center;
    margin-top:10px;
}
.slider__indicator {
    width:80px;
    height:4px;
    background-color:#edf0f6;
    margin:0 5px;
    border-radius:2px;
    transition:background-color 0.3s ease;
    cursor:pointer;
}
.slider__indicator.active {
    background-color:#0B80F7;
}
.project-popup__image-slider {
    margin-top:20px;
    margin-bottom:20px;
}
/* Стили для кнопки лупы */
.slider__image-container {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
}

.slider__zoom-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.slider__zoom-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider__zoom-button svg {
    width: 60%;
    height: 60%;
}

/* Стили для полноэкранного режима */
.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.fullscreen-image__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 2;
    object-fit: contain;
}

.fullscreen-image__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.fullscreen-image__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fullscreen-image__close svg {
    width: 24px;
    height: 24px;
}

body.fullscreen-open {
    overflow: hidden;
}

/* Дополнительные стили для слайдера */
.slider__slide {
    min-width: 100%;
    height: 100%;
}

.slider__container {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}