/* 服务内容页面专用样式 */
.services-banner {
    background: linear-gradient(135deg, #F8E0E0 0%, #FFEBEE 100%);
    color: #333;
    text-align: center;
    min-height: 500px;
    padding: 40px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #B71C1C;
}

.services-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    font-weight: 700;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: #555;
}

.services-overview {
    display: flex;
    justify-content: space-between;
    margin: 40px auto 0;
    max-width: 800px;
    padding: 0 20px;
}

.overview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 160px;
}

.overview-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(183, 28, 28, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.overview-icon i {
    font-size: 2rem;
    color: #B71C1C;
}

.overview-text {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.4;
}

.services-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px auto 40px;
    max-width: 800px;
    padding: 0 20px;
}

.service-tab-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 6px;
}

.service-tab-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
    font-size: 18px;
}

.service-tab-btn.active {
    background-color: rgba(183, 28, 28, 0.05);
}

.service-tab-btn.active i {
    background-color: #B71C1C;
    color: white;
}

.service-tab-btn:hover {
    background-color: rgba(183, 28, 28, 0.1);
}

.service-tab-btn:hover i {
    background-color: #e0e0e0;
}

.service-tab-btn.active:hover i {
    background-color: #9a0000;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.services-section {
    display: none;
    animation: fadeEffect 0.5s ease-in-out;
}

.services-section.fade-in {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 250px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-inner-wrapper:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #B71C1C;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.service-icon i {
    font-size: 24px;
}

.service-info {
    padding: 0 15px;
}

.service-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-title-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #B71C1C;
    font-size: 18px;
}

.service-title {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.red-line {
    width: 50px;
    height: 3px;
    background-color: #B71C1C;
    margin-bottom: 20px;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.service-description ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-description li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.service-description li strong {
    color: #333;
    font-weight: 600;
}

.tech-desc {
    color: #666;
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.5;
}

.tech-section {
    flex-direction: column;
    margin-top: 40px;
}

.service-info.full-width {
    width: 100%;
    padding: 0;
}

.tech-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.tech-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background-color: #e0e0e0;
    transform: translateY(-5px);
}

.tech-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.tech-icon i {
    font-size: 28px;
    color: #B71C1C;
    transition: all 0.3s ease;
}

.tech-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.tech-item:hover .tech-icon i,
.tech-item:hover .tech-name {
    color: #B71C1C;
}

@media (min-width: 768px) {
    .services-section {
        margin-top: 20px;
    }
    
    .service-inner-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .service-image-container {
        flex: 0 0 40%;
    }
    
    .tech-section {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .services-nav-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .service-tab-btn {
        padding: 8px 15px;
    }
    
    .service-tab-btn i {
        font-size: 18px;
    }
    
    .service-inner-wrapper {
        gap: 20px;
    }
    
    .service-image-container {
        height: 220px;
    }
    
    .service-info {
        padding: 0;
    }
    
    .tech-items-container {
        grid-template-columns: 1fr;
    }
    
    .service-title-container {
        flex-direction: row;
        gap: 10px;
    }
    
    .service-title-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
}

.overview-item.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
} 