/* IT服务页面特定样式 */

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

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

.it-service-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.it-service-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.it-service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.it-service-features li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.it-service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 解决方案部分 */
.it-solutions-section {
    background-color: #fff;
}

.it-solutions-tabs {
    margin-top: 50px;
}

.it-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.it-tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.it-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.it-tab-content {
    position: relative;
}

.it-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.it-tab-pane.active {
    display: block;
}

.it-solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* 流程部分 */
.it-process-section {
    padding: 80px 0;
    background-color: var(--section-bg-color);
}

.it-process-timeline {
    margin-top: 50px;
    position: relative;
}

.it-process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.it-step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 20px;
}

.it-step-content {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.it-step-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: var(--primary-color);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .it-services-grid {
        grid-template-columns: 1fr;
    }

    .it-solution-content {
        grid-template-columns: 1fr;
    }

    .it-tab-buttons {
        flex-wrap: wrap;
    }

    .it-tab-btn {
        width: calc(50% - 10px);
        text-align: center;
    }
}

/* 成功案例部分 */
.it-cases-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.it-case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.it-case-card:hover {
    transform: translateY(-5px);
}

.it-case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.it-case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.it-case-category {
    color: #fff;
    font-size: 14px;
    padding: 5px 15px;
    background: var(--primary-color);
    border-radius: 20px;
}

.it-case-content {
    padding: 20px;
}

.it-case-content h3 {
    margin: 0 0 15px;
    color: #333;
}

.it-case-results {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.it-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.it-result-item i {
    color: var(--accent-color);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .it-cases-grid {
        grid-template-columns: 1fr;
    }

    .it-case-results {
        flex-direction: column;
        gap: 10px;
    }
}

/* 客户评价部分 */
.it-testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.it-testimonials-slider {
    margin-top: 50px;
    position: relative;
}

.it-testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.it-testimonial-item.active {
    display: block;
}

.it-testimonial-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 800px;
}

.it-testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.it-testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.it-author-info h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.it-author-info span {
    color: #666;
    font-size: 14px;
}

.it-rating {
    color: #ffc107;
}

.it-rating i {
    color: var(--accent-color);
    margin: 0 2px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: #0056b3;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .it-testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* 服务优势部分 */
.advantages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M54 0H6C2.7 0 0 2.7 0 6v48c0 3.3 2.7 6 6 6h48c3.3 0 6-2.7 6-6V6c0-3.3-2.7-6-6-6z" fill="%23ffffff" fill-opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
}

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

.advantage-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #007bff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.advantage-item:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.advantage-content {
    flex: 1;
}

.advantage-content h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 20px;
}

.advantage-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* 联系我们CTA部分 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="%23ffffff" stroke-width="2" fill="none" stroke-opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin: 0 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
    background: #fff;
    color: var(--primary-color);
}

.cta-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
} 