/* 服务页面专属样式 */

/* 顶部Banner区域 */
.service-banner {
    background-image: url('../images/service-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.service-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* 服务分类卡片区域 */
.service-categories {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1e88e5;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.learn-more:hover {
    background-color: #1565c0;
}

/* 服务优势对比表格 */
.service-advantages {
    padding: 80px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background-color: #1e88e5;
    color: white;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.comparison-table tr:hover {
    background-color: #f0f0f0;
}

.highlight {
    color: #1e88e5;
    font-weight: bold;
}

/* 底部CTA区域 */
.service-cta {
    padding: 60px 0;
    background-color: #1e88e5;
    color: white;
    text-align: center;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta .cta-button {
    background-color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-cta .cta-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-banner {
        height: 400px;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}