/* ====== services.css - 独享CSS部分 - 服务详情页面 ====== */
/* 服务类别导航 */
.service-categories {
    background: white;
    position: sticky;
    top: 120px;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.05);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.categories-container {
    display: flex;
    overflow-x: auto;
    padding: 15px 0;
    gap: 10px;
    scrollbar-width: thin;
}

.category-item {
    flex: 0 0 auto;
    padding: 12px 25px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
    white-space: nowrap;
}

.category-item:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.category-item.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

/* 服务详情板块 */
.service-detail-section {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.service-detail-section:hover {
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-header {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    position: relative;
}

.service-header h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 4rem;
    opacity: 0.2;
}

.service-content {
    padding: 50px;
}

/* 子服务项目 */
.sub-service {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.sub-service:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sub-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.sub-service-header h4 {
    margin-bottom: 0;
}

.price-tag {
    background: var(--gradient-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

/* 信息表格样式 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.info-card h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h5 i {
    color: var(--secondary-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.info-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-step {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* 浮动形状背景 */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.05;
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -200px;
    animation: float-1 25s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -150px;
    animation: float-2 30s infinite ease-in-out;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: float-3 20s infinite ease-in-out;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, 50px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, 30px) rotate(120deg); }
    66% { transform: translate(20px, -20px) rotate(240deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 20px) rotate(240deg); }
}

/* 服务对比表格 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 700;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.comparison-table tr:nth-child(even) {
    background: var(--light-bg);
}

.comparison-table tr:hover {
    background: rgba(0, 102, 204, 0.05);
}

/* 英雄区域服务页面特殊样式 */
.hero-services {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(230, 240, 255, 0.9) 100%), url('/template/giaxi/images/13.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-services h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-services p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 响应式调整 - 服务页面独享部分 */
@media (max-width: 992px) {
    .service-categories {
        top: 100px;
    }
    
    .service-header {
        padding: 30px;
    }
    
    .service-header h3 {
        font-size: 2rem;
    }
    
    .service-icon {
        font-size: 3rem;
        top: 30px;
        right: 30px;
    }
    
    .service-content {
        padding: 30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .hero-services {
        padding-top: 180px;
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .hero-services h1 {
        font-size: 3rem;
    }
    
    .hero-services p {
        font-size: 1.3rem;
    }
    
    .sub-service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-tag {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-services h1 {
        font-size: 2.5rem;
    }
    
    .hero-services p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}