/* 联系我们页面样式 */

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #6c757d;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 联系区域 */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 居中的联系信息布局 */
.contact-info-centered {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-centered .contact-info {
    width: 100%;
}

.contact-info-centered .contact-info h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* 联系信息 */
.contact-info h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}




/* 服务承诺 */
.service-promise {
    padding: 80px 0;
    background: white;
}

.service-promise h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.promise-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s;
}

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

.promise-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.promise-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* 错误和成功消息样式 */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.success-message {
    margin-bottom: 20px;
}

.success-message div {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    font-size: 14px;
}

/* 加载状态 */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 表单动画 */
.form-group {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* 微信二维码模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .contact-section,
    .service-promise {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .service-promise h2 {
        font-size: 28px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .promise-item {
        padding: 30px 15px;
    }
}