/* 联系我们页面样式 */
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #999;
    --light-color: #f5f5f5;
    --dark-color: #222;
    --transition: all 0.3s ease;
    --main-font: 'Noto Serif SC', serif;
}

/* 英雄区域 */
.contact-hero {
    background-image: url('');
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    text-align: center;
    padding: 120px 0;
    /* margin-top: 70px; */
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--main-font);
}

.contact-hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* 联系信息卡片 */
.contact-cards {
    padding: 80px 0;
    background-color: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-card:hover .card-icon {
    background-color: var(--primary-color);
    color: white;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--main-font);
}

.card-content p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* 联系表单和地图区域 */
.contact-main {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--main-font);
}

.form-header p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    color: var(--primary-color);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-action {
    margin-top: 30px;
}

.btn-submit {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

/* 地图区域 */
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    background-color: white;
    padding: 25px;
}

.map-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--main-font);
}

.map-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-info li {
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-info li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.map-info li strong {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 5px;
}

/* 社交媒体区域 */
.contact-social {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.contact-social h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--main-font);
}

.contact-social p {
    font-size: 18px;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link i {
    font-size: 36px;
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: var(--transition);
}

.social-link span {
    font-size: 16px;
    font-weight: 500;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.weixin:hover i {
    background-color: #07C160;
    color: white;
}

.social-link.weibo:hover i {
    background-color: #E6162D;
    color: white;
}

.social-link.linkedin:hover i {
    background-color: #0A66C2;
    color: white;
}

.social-link.douyin:hover i {
    background-color: #00A1D6;
    color: white;
}

/* 常见问题区域 */
.contact-faq {
    padding: 80px 0;
    background-color: var(--dark-color);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--light-color);
    position: relative;
    font-family: var(--main-font);
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: white;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    color: var(--primary-color);
    font-family: var(--main-font);
}

.faq-icon {
    color: var(--primary-color);
    font-size: 16px;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background-color: white;
}

.faq-answer p {
    padding: 0 0 20px;
    color: var(--secondary-color);
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-item.active .faq-question {
    background-color: #d9d9d9;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .contact-hero {
        padding: 88px 0;
    }
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-map-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .contact-hero p {
        font-size: 18px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link i {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
} 