/* 服务页面专用样式 */

.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    overflow: hidden;
    margin-top: 70px;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85), rgba(63, 81, 181, 0.7));
}

.header-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.header-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content p {
    font-size: 20px;
    color: var(--secondary-color);
}

.service-intro {
    padding: 80px 0;
    background: var(--bg-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-types {
    padding: 80px 0;
    background: var(--bg-light);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.type-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.type-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.type-card:hover .type-image img {
    transform: scale(1.1);
}

.type-content {
    padding: 30px;
}

.type-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.type-content ul {
    list-style: none;
}

.type-content ul li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--bg-light);
    position: relative;
    padding-left: 25px;
}

.type-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-process {
    padding: 80px 0;
    background: var(--bg-white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.process-item:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-5px);
}

.process-item:hover .process-number {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.process-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.process-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-advantages {
    padding: 80px 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.related-cases {
    padding: 80px 0;
    background: var(--bg-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-item {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 20px 20px 10px;
}

.case-item p {
    color: var(--text-light);
    margin: 0 20px 20px;
    line-height: 1.6;
}

.case-item a {
    display: block;
    padding: 0 20px 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.case-item a:hover {
    color: var(--primary-color);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.cta-section .btn-primary:hover {
    background: #ffed4e;
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }

    .header-content h1 {
        font-size: 28px;
    }

    .header-content p {
        font-size: 16px;
    }

    .intro-content h2 {
        font-size: 24px;
    }

    .intro-content p {
        font-size: 16px;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 28px;
    }
}

