/* 服务项目页面专用样式 */

/* 确保主要内容可见 */
main {
    min-height: 100vh;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #1469c4 0%, #0f5aa0 100%);
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    opacity: 0.6;
}

.breadcrumb .current {
    opacity: 0.6;
    font-weight: 500;
}

/* 服务详情 */
.service-detail {
    padding: 100px 0;
}

.service-detail:nth-child(even) {
    background-color: #f8f9fa;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-content.reverse .service-image {
    order: -1;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.service-description {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature i {
    color: #1469c4;
    font-size: 1.125rem;
}

.feature span {
    color: #333;
    font-weight: 500;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1469c4;
}

.price-label {
    color: #6c757d;
    font-weight: 500;
}

.price {
    color: #1469c4;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* 服务优势 */
.advantages-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1469c4 0%, #0f5aa0 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.advantage-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* 联系部分 */
.contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1469c4 0%, #0f5aa0 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.contact-item p {
    color: #6c757d;
    margin: 0;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1469c4;
}

/* 联系表单增强 */
.contact-form .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: #fff;
    cursor: pointer;
}

.contact-form .form-group select:focus {
    outline: none;
    border-color: #1469c4;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 2.25rem;
    }
    
    .service-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .service-content.reverse {
        direction: ltr;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: center;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .service-title {
        font-size: 1.75rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        justify-content: center;
    }
    
    .service-price {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .price {
        font-size: 1.25rem;
    }
}

/* 动画效果 */
.service-detail {
    opacity: 1; /* 默认显示 */
    transform: translateY(0); /* 默认位置 */
    transition: all 0.6s ease-out;
}

.service-detail.animate {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card {
    opacity: 1; /* 默认显示 */
    transform: translateY(0); /* 默认位置 */
    transition: all 0.6s ease-out;
}

.advantage-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 触摸设备优化 */
@media (hover: none) {
    .service-image:hover img {
        transform: none;
    }
    
    .advantage-card:hover {
        transform: none;
    }
}

/* 打印样式 */
@media print {
    .page-header {
        background: none;
        color: #000;
        border-bottom: 2px solid #000;
    }
    
    .service-image {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .advantage-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}
