/* 服务页面专用样式 */
:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --dark-color: #1d3557;
    --light-color: #f1faee;
    --accent-color: #a8dadc;
    --background-dark: rgba(10, 10, 20, 0.95);
    --background-light: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --text-secondary: #a8dadc;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-top: 80px;
}

/* 导航栏下方的间距 */
.content-wrapper {
    padding-bottom: 60px;
}

/* 英雄区域 */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 20, 0.7), rgba(29, 53, 87, 0.9)), url('../images/fuwu/service-bg.jpg') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

/* 服务部分 */
.services-section {
    background: var(--background-light);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

/* 服务卡片样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.12);
}

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

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

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 20px;
    text-align: center;
    font-weight: 600;
}

.service-card p {
    flex-grow: 1;
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* 服务详情部分 */
.service-details {
    padding: 80px 0;
    background: linear-gradient(var(--background-dark), rgba(10, 10, 20, 0.98));
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.service-detail-card.reverse {
    flex-direction: column-reverse;
}

.detail-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 300px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-content h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.detail-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.detail-content h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.detail-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 云服务特性样式 */
.cloud-service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-item span {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-top: 10px;
    font-size: 0.95rem;
}

/* 云服务优势标签样式 */
.cloud-service-benefits {
    margin-top: 30px;
}

.benefit-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #f1faee);
    color: #1a1a2e;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 服务优势部分 */
.service-advantages {
    padding: 80px 0;
    background: var(--background-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.12);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 联系我们区域 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(rgba(10, 10, 20, 0.98), var(--background-dark));
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact-container p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.contact-button:hover {
    background: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .detail-content h3 {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {
    .service-detail-card,
    .service-detail-card.reverse {
        flex-direction: row;
    }
    
    .service-detail-card .detail-content {
        padding-right: 40px;
    }
    
    .service-detail-card.reverse .detail-content {
        padding-right: 0;
        padding-left: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .detail-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}