/* service-detail.css - 服务详情页面通用样式 */

/* 页面标题样式 */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 服务详情样式 */
.service-detail {
    padding: 60px 0;
    margin-bottom: 60px;
}

.detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.detail-text {
    flex: 1;
    min-width: 300px;
}

.detail-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.detail-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.detail-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.detail-image img:hover {
    transform: scale(1.02);
}

/* 服务特点样式 */
.service-features {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 60px;
}

.service-features h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.service-features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

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

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 技术优势样式 */
.tech-advantages {
    padding: 80px 0;
    margin-bottom: 60px;
}

.tech-advantages h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.tech-advantages h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

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

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 技术栈样式 */
.tech-stack {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 60px;
}

.tech-stack h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.tech-stack h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.stack-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stack-category h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-item {
    padding: 8px 15px;
    background-color: white;
    color: #007bff;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 网站建设流程样式 */
.website-process {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 60px;
}

.website-process h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.website-process h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

/* 案例展示样式 */
.case-showcase {
    padding: 80px 0;
    margin-bottom: 60px;
}

.case-showcase h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.case-showcase h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

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

.case-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

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

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 20px 20px 10px;
}

.case-item p {
    color: #666;
    margin: 0 20px 20px;
    font-size: 0.95rem;
}

/* 作品展示样式 */
.portfolio-showcase {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 60px;
}

.portfolio-showcase h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.portfolio-showcase h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* 联系咨询样式 */
.contact-consult {
    background-color: #007bff;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-consult h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-consult p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-consult .btn {
    background-color: white;
    color: #007bff;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-consult .btn:hover {
    background-color: #f8f9fa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .detail-content {
        flex-direction: column;
    }
    
    .service-features h2,
    .tech-advantages h2,
    .tech-stack h2,
    .website-process h2,
    .case-showcase h2,
    .portfolio-showcase h2,
    .contact-consult h2 {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .advantages-content,
    .stack-content,
    .cases-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .service-detail,
    .service-features,
    .tech-advantages,
    .tech-stack,
    .website-process,
    .case-showcase,
    .portfolio-showcase,
    .contact-consult {
        padding: 60px 0;
    }
    
    .feature-item,
    .advantage-item {
        padding: 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}