body {

    /* background-color: #F3F4F4; */

    overflow-x: hidden;
}


.detail-section {
    padding: 200px 0 100px 0;
    position: relative;
    background-image: url(../pics/work-detail-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.detail-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.title-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo-img {
    width: 400px;
}

.logo-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.go-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 22px;
    color: #1D2D5E;
    line-height: 30px;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    padding: 10px 30px;
    cursor: pointer;
}

.go-link img {
    max-width: 100%;
    width: 28px;
    height: auto;
    transition: all 0.3s ease;
}

.go-link:hover img {
    animation: move 1s ease-in-out infinite;
}

@keyframes move {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}


.design-wrapper {
    margin-top: 80px;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    z-index: 1;
}

.left-computer {
    width: 70%;
    flex: 2;
}

.right-phone {
    width: 30%;
    flex: 1;
}

.design-name {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 300;
    font-size: 30px;
    color: #525252;
    line-height: 30px;
    text-align: justified;
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
    margin-left: 100px;
}

.design-year {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 300;
    font-size: 30px;
    color: #525252;
    line-height: 30px;
    text-align: right;
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
    margin-right: 100px;
}

.computer {
    width: 100%;
    background-image: url(../pics/computer-modal.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 60%;
    position: relative;
}

.phone {
    width: 100%;
    background-image: url(../pics/phone-modal.png);
    background-size: contain;
    /* background-position: right center; */
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 118%;
    position: relative;
}

.computer img {
    width: 79%;
    /* 可根据实际情况调整图片在背景内的显示比例 */
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 使图片在背景中水平垂直居中 */
    border-radius: 10px 10px 0 0;
}

.phone>img {
    width: 52%;
    /* 可根据实际情况调整图片在背景内的显示比例 */
    position: absolute;
    top: 49.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* right: 12px;
    transform: translate(0, -50%); */
    border-radius: 32px;
}

.phone-island {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    /* right: 10%;
    transform: translate(-50%); */
    width: 100%;
    max-width: 18%;
    height: auto;
}

.phone-island img{
    width: 100%;
    max-width: 100%;
    height: auto;
}



/* 功能展示 */
.web-section {
    padding: 50px 0;
    position: relative;
    /* background-color: #1D2D5E; */
}

.bg-1{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0%;
    width: 40%;
    height: 130px;
    
    background-image: url(../pics/works-bg-1.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    transform: rotate(180deg);

    z-index: -1;
    
}

.bg-2{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 500px;
    background-image: url(../pics/works-bg-2.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.bg-3{
    content: '';
    position: absolute;
    top: 9%;
    left: 0;
    width: 23%;
    height: 600px;
    background-image: url(../pics/works-bg-3.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

.web-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.web-title {
    width: 26%;
    background-image: url(../pics/web-title-bg.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    backdrop-filter: blur(5px);
    padding: 10px 25px;

}

.web-title h3 {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    font-size: 32px;
    color: #1D2D5E;
    text-align: left;
    /* position: relative; */
}



.web-title img {
    width: 15px;
    height: auto;
    position: absolute;
    top: 25%;
    left: 46%;
    transform: translate(-50%, -50%);
    animation: moveDown 1s ease-in-out infinite;
}

@keyframes moveDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

.web-title p {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 300;
    font-size: 28px;
    color: #000000;
    letter-spacing: 4px;
    text-align: center;
    margin-top: 15px;
}


.swiper-container {
    width: 100%;
    padding: 30px 0;
}

.swiper-slide {
    
    background-image: url(../pics/web-modal.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 100%;
    position: relative;

    padding-bottom: 45.25%;
    transition: all 300ms ease;
    transform: scale(0.8);

    width: 55%;


    transition: 300ms;
    transform: scale(0.8) !important;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;

    cursor: pointer;
}


.swiper-slide img {
    position: absolute;
    top: 53.3%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* 圖片在框內的大小 */
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.swiper-slide:hover img{
    transform: translate(-50%, -51%);
}

.content{
    position: absolute;
    top: 3.5%;
    left: 9%;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    font-size: 32px;
    color: #FFFFFF;
    line-height: 30px;
    letter-spacing: 7px;
    text-align: center;
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
    transform: scale(1) !important;
}

.swiper-pagination{
    position: relative;
    margin-top: 50px;
}
.swiper-pagination-bullet{
    width: 15px;
    height: 15px;
    margin: 0 10px !important;
}
.swiper-pagination-bullet-active{
    background: #000296;
}

.swiper-button-prev::after,.swiper-button-next::after{
    display: none;
}

.btn-wrapper{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.btn-wrapper .left-btn{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.backWeb{
    display: block;
    border-radius: 15px;
    padding: 13px 35px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    background: #1D2D5E;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    font-size: 23px;
    color: #FFFFFF;
    text-align: center;
    border: 2px solid #1D2D5E;
}

.backWeb:hover{
    color: #1D2D5E;
    border: 2px solid #1D2D5E;
    background: #FFFFFF;
}

.prev-btn{
    background: rgba(255,255,255,0.5);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    border-radius: 15px;
    backdrop-filter: blur(3px);
    position: relative;
    width: auto;
    padding: 20px 20px;
    height: 100%;
    margin-top: 0;
}

.next-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 25px;
    color: #1D2D5E;
    text-align: justified;
    background: rgba(255,255,255,0.5);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    border-radius: 15px;
    backdrop-filter: blur(3px);
    position: relative;
    width: auto;
    padding: 12px 35px;
    margin-top: 0;
    height: 100%;
}

.prev-btn img,.next-btn img {
    max-width: 100%;
    width: 35px;
    height: auto;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


.zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.zoom-container img {
    width: 90%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

  

@media screen and (max-width: 768px) {


    
    .detail-section{
        padding: 100px 0;
    }

    .logo-img{
        width: 200px;
    }

    .go-link{
        gap: 10px;
        padding: 5px 20px;
        font-size: 15px;
    }

    .go-link img{
        width: 17px;
    }

    .design-name{
        font-size: 18px;
        margin-left: 20px;
        margin-bottom: 10px;

        display: none;
    }

    .design-year{
        font-size: 18px;
        margin-right: 30px;
        margin-bottom: 10px;

        display: none;
    }

    .design-wrapper{
        margin-top: 30px;
    }

    .computer img{
        border-radius: 5px 5px 0 0;
    }

    .phone>img{
        border-radius: 10px;
    }

    .phone-island{
        max-width: 15%;
        top: -2%;
    }

    .web-title{
        width: 56%;
        padding: 5px 20px;
    }

    .web-title h3{
        font-size: 16px;
    }

    .web-title p{
        font-size: 18px;
        letter-spacing: 3px;
        margin-top: 10px;
    }

    .web-title img{
        width: 11px;
    }
    
    .swiper-slide{
        width: 100%;
        padding-bottom: 80%;
        background-image: url(../pics/web-modal-mobile.png);
    }

    .swiper-slide img{
        width: 87%;
        border-radius: 10px;
    }

    .content{
        top: 1%;
        left: 8%;
        font-size: 15px;
        letter-spacing: 0;
    }

    .btn-wrapper .left-btn{
        gap: 0;
    }

    .backWeb{
        border-radius: 10px;
        padding: 10px 10px;
        font-size: 15px;
    }

    .prev-btn{
        padding: 14px 15px;
        border-radius: 10px;
    }

    .prev-btn img,.next-btn img{
        width: 25px;
    }

    .next-btn{
        border-radius: 10px;
        font-size: 16px;
        gap: 10px;
        padding: 10px 20px;
    }

    .btn-wrapper{
        padding: 0 15px;
    }

    .swiper-pagination{
        margin: 20px 0 10px 0;

    }

    .swiper-pagination-bullet{
        width: 10px;
        height: 10px;
        margin: 0 5px !important;
    }

    .bg-3{
        top: 30%;
        width: 50%;
        height: 300px;
    }

    .bg-2{
        width: 40%;
        height: 150px;
    }

    .bg-1{
        display: none;
    }
}

@media screen and (max-width: 478px) {
    .detail-section{
        padding:60px 0px; 
    }
}


.viewer-open{
    padding-right: 0 !important;
}