/* 产品服务页面样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* 中间内容区域样式 */
.content-wrapper {
    margin-top: 80px;
    min-height: calc(100vh - 120px - 300px);
}

/* 横幅样式 */
.banner {
    height: 400px;
    background: url(../images/index_banner2.jpg) center/cover no-repeat #f2f2f2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .34);
}
.banner h1 {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2
}

.banner p {
    font-size: 20px;
    position: relative;
    z-index: 2
}

.breadcrumb {
    position: absolute;
    bottom: 20px;
    left: 5%;
    font-size: 15px;
    display: flex;
    align-items: center;
    z-index: 2
}

.breadcrumb a {
    color: #fff;
    margin: 0 4px
}

/* 产品服务网格 */
.service-grid {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px 0 60px;
}

.service-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card-image {
    width: 100%;
    height: 314px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 24px;
}

.service-card-title {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* 飞行效果相关样式 */
.fly-in-element {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fly-in-element.fly-in-left {
    transform: translateX(-100px);
}

.fly-in-element.fly-in-right {
    transform: translateX(100px);
}

.fly-in-element.fly-in-top {
    transform: translateY(-50px);
}

.fly-in-element.fly-in-bottom {
    transform: translateY(50px);
}

.fly-in-element.fly-in-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 延迟效果 */
.fly-in-delay-1 { transition-delay: 0.1s; }
.fly-in-delay-2 { transition-delay: 0.2s; }
.fly-in-delay-3 { transition-delay: 0.3s; }

/* 小屏轮播样式 */
.service-swiper-container {
    display: none;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 0 50px;
}

.service-swiper-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
    display: none;
}

.service-swiper-slide {
    text-align: center;
    padding: 0 10px;
}

.service-swiper-slide img {
    width: 100%;
    height: 238px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-swiper-slide-content {
    padding: 16px 10px 0;
    text-align: left;
}

.service-swiper-slide-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.service-swiper-slide-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 轮播导航按钮 */
.service-swiper-button-next,
.service-swiper-button-prev {
    color: #0a6bb9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-swiper-button-next:after,
.service-swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.service-swiper-button-next:hover,
.service-swiper-button-prev:hover {
    background: #0a6bb9;
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        margin-top: 84px;
    }

    .banner {
        height: 300px;
    }

    .banner h1 {
        font-size: 28px
    }

    .banner p {
        font-size: 16px
    }

    .service-grid {
        display: none;
    }

    .service-swiper-container {
        display: block;
        padding: 20px 15px 40px;
    }

    .service-swiper-title {
        display: block;
    }

    .service-swiper-slide img {
        height: 200px;
    }

    .service-swiper-slide-content {
        padding: 12px 5px 0;
    }

    .service-swiper-slide-title {
        font-size: 16px;
    }

    .service-swiper-slide-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .service-swiper-slide img {
        height: 180px;
    }

    .service-swiper-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
}
