/* 业绩展示页面样式 */

/* 页面标题 */
.page-banner {
    height: 324px;
    background-image: url('../images/about_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 40px;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-banner p {
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 业绩展示导航 */
.projects-nav {
    padding: 60px 0 30px;
    background-color: #fff;
}

.projects-tabs {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 25px;
    margin: 0 10px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3366FF;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #3366FF;
}

.tab-btn.active:after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: #3366FF;
}

/* 项目部分 */
.project-section {
    padding: 50px 0;
}

.project-section.active {
    display: block;
}

.project-intro,
.project-advantages {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 8px;
}

.project-intro h3,
.project-advantages h3,
.project-cases h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    text-align: center;
}


.project-intro p,
.project-advantages p {
    color: #555;
    line-height: 1.8;
    text-align: justify;
    text-indent: 2em;
}

.project-intro h4,
.project-advantages h4,
.project-cases h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    
    margin-top: 20px;
}

/* 案例展示 */
.case-gallery1 {
    width: 1100px;
    height: 170px;
    overflow: hidden;
    margin: 0 auto;
}

.case-gallery2 {
    width: 1100px;
    height: 170px;
    overflow: hidden;
    margin: 0 auto;
}

.case-gallery3 {
    width: 1100px;
    height: 170px;
    overflow: hidden;
    margin: 0 auto;
}

.case-gallery1 .swiper-wrapper .swiper-slide .silde-item {
    position: relative;
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
}

.case-gallery2 .swiper-wrapper .swiper-slide .silde-item {
    position: relative;
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
}

.case-gallery3 .swiper-wrapper .swiper-slide .silde-item {
    position: relative;
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
}

.silde-item img {
    display: block;
    width: 100% !important;
    height: 170px !important;
}

.case-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-item img {
  display: block;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.case-item:hover img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    color: #fff;
}

.case-overlay h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.case-overlay p {
    font-size: 14px;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .case-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projects-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        margin-bottom: 10px;
    }
    
    .case-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 380px;
    }
    
    .page-banner h1 {
        font-size: 30px;
    }
    
    .project-intro h3,
    .project-advantages h3,
    .project-cases h3 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .case-gallery {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        font-size: 16px;
        padding: 8px 15px;
    }
    
    .page-banner h1 {
        font-size: 26px;
    }
    
    .project-intro,
    .project-advantages {
        padding: 20px;
    }
} 