﻿/* 页面标题区域 - 修改以包含视频 */
.page-banner {
    height: 500px; /* 增加高度以容纳视频 */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

    .page-banner-content h1 {
        font-size: 42px;
        margin-bottom: 20px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .page-banner-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

.video-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.video-control-btn {
    background: #34A853;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    .video-control-btn:hover {
        background: #2c8845;
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

/* 服务详情部分 */
.service-detail {
    padding: 80px 0;
    background: white;
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.service-tab {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

    .service-tab.active {
        color: #34A853;
        border-bottom: 3px solid #34A853;
    }

    .service-tab:hover {
        color: #34A853;
    }

.service-content {
    display: none;
}

    .service-content.active {
        display: block;
    }

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #262626;
}

.service-info p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.service-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

    .feature-item i {
        color: #34A853;
        font-size: 20px;
        margin-right: 15px;
        margin-top: 3px;
    }

.service-image {
    text-align: center;
    overflow: hidden; /* 确保放大效果不会溢出 */
    border-radius: 8px;
}

    .service-image img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease; /* 添加过渡效果 */
    }

    /* 服务图片悬停效果 - 与logo效果一致 */
    .service-image:hover img {
        transform: scale(1.3);
    }

/* 技术栈部分 */
.tech-stack {
    padding: 80px 0;
    background: #f9f9f9;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tech-item {
    background: white;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

    .tech-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .tech-item i {
        font-size: 40px;
        color: #34A853;
        margin-bottom: 15px;
    }

    .tech-item h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

/* 开发流程部分 */
.development-process {
    padding: 80px 0;
    background: white;
}

.process-container {
    position: relative;
    margin-top: 50px;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: #34A853;
    z-index: 1;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    width: 20%;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid #34A853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #34A853;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

    /* 步骤图标悬停效果 - 高亮显示 */
    .step-icon:hover {
        background: #34A853;
        color: white;
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
    }

.step-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}


.more-btn-container {
    text-align: center;
    margin-top: 50px;
}

.more-btn {
    background: white;
    color: #34A853;
    border: 1px solid #34A853;
    padding: 12px 30px;
    font-size: 16px;
}

    .more-btn:hover {
        background: #34A853;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
    }


/* 响应式设计 */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .page-banner {
        height: 400px;
    }

    .page-banner-content h1 {
        font-size: 36px;
    }

    .service-tabs {
        flex-direction: column;
        align-items: center;
    }

    .service-tab {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-step {
        width: 100%;
        margin-bottom: 30px;
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        height: 350px;
    }

    .page-banner-content h1 {
        font-size: 32px;
    }

    .service-info h3 {
        font-size: 24px;
    }

    .video-control-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
