/* 联系我们页面样式 */

/* 页面标题样式 */
.page-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 联系页面布局 */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-main {
    flex: 1 1 65%;
    min-width: 300px;
}

.contact-sidebar {
    flex: 1 1 25%;
    min-width: 250px;
}

/* 联系信息部分 */
.contact-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.contact-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.contact-section h2:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #4a90e2;
}

/* 联系信息网格 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.contact-info-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item h3 {
    color: #4a90e2;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info-item p {
    color: #555;
    margin-bottom: 5px;
}

.contact-info-item p.note {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.contact-info-item a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #2c6cb0;
    text-decoration: underline;
}

/* 二维码样式 */
.qrcode-placeholder {
    margin-top: 10px;
    text-align: center;
}

.qrcode {
    max-width: 120px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
}

/* 联系表单样式 */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

/* 表单焦点效果 */
.form-group.focused::before {
    color: #4a90e2;
}

.form-group.focused label {
    color: #4a90e2;
    font-weight: 600;
}

.submit-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* FAQ样式 */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 侧边栏样式 */
.sidebar-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.sidebar-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 社交链接样式 */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #555;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #f5f5f5;
    color: #4a90e2;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* 快速链接样式 */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.quick-links a:hover {
    color: #4a90e2;
    padding-left: 5px;
}

.quick-links li:last-child a {
    border-bottom: none;
}

/* 工作时间样式 */
.working-hours p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.working-hours strong {
    color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 30px 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-section {
    animation: fadeIn 0.5s ease-out forwards;
}

.contact-section:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-section:nth-child(3) {
    animation-delay: 0.4s;
}

/* 表单提交成功消息 */
.success-message {
    display: none;
    background-color: #e7f4e4;
    color: #2e7d32;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease-out forwards;
}

.success-message.show {
    display: block;
}