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

/* 透明导航栏样式 */
.transparent-header {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 当导航栏在大背景上时，LOGO显示为白色 */
.transparent-header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.transparent-header .nav-list a {
    color: var(--white);
}

.transparent-header.scrolled {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.transparent-header.scrolled .nav-list a {
    color: var(--text-color);
}

.transparent-header .nav-toggle {
    color: var(--white);
}

.transparent-header.scrolled .nav-toggle {
    color: var(--text-color);
}

/* 页面标题区域 */
.page-header {
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-size: 58px;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: none;
    color: #333;
}

.page-header p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: none;
    color: #666;
}

/* 英雄区域样式 - 统一为 page-header */
.hero-banner {
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 0;
    margin-top: 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner h1 {
    font-size: 58px;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-banner p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

.contact-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.contact-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 15px auto 0;
    border: 1px solid var(--border-color);
    padding: 5px;
    background-color: var(--white);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 关于我们介绍模块 */
.about-us-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-us-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-us-image {
    flex: 1;
    max-width: 45%;
}

.about-us-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-us-content {
    flex: 1;
}

.about-us-title {
    margin-bottom: 30px;
}

.about-us-title .en-title {
    font-size: 72px;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.05);
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.about-us-title .cn-title {
    font-size: 36px;
    font-weight: normal;
    color: var(--primary-color);
    margin: 0;
    position: relative;
    margin-top: -25px;
}

.about-us-text {
    margin-top: 30px;
}

.about-us-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .about-us-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-us-image {
        max-width: 100%;
    }
    
    .about-us-title .en-title {
        font-size: 56px;
    }
    
    .about-us-title .cn-title {
        font-size: 28px;
        margin-top: -20px;
    }
}

@media (max-width: 576px) {
    .about-us-title .en-title {
        font-size: 42px;
    }
    
    .about-us-title .cn-title {
        font-size: 24px;
        margin-top: -15px;
    }
}

/* 联系表单 */
.contact-form {
    padding: 40px 0;
    background-color: var(--secondary-color);
}

.form-wrapper {
    max-width: 1440px;
    margin: 0px auto 0;
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    width: 100%;
}

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

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 地图区域 */
.contact-map {
    padding: 80px 0 0;
}

.map-container {
    margin-top: 50px;
    width: 100%;
    height: 450px;
}

/* FAQ区域 */
.contact-faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 1440px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* 成功弹窗样式 */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-modal.show {
    opacity: 1;
    visibility: visible;
}

.success-modal-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.success-modal.show .success-modal-content {
    transform: translateY(0);
}

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

.success-modal h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.success-modal p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-close {
    min-width: 120px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .form-wrapper {
        padding: 30px;
    }
    
    .contact-cards-container {
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-card {
        flex: 1 0 100%;
    }
    
    .form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .page-header h1,
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .page-header p,
    .hero-banner p {
        font-size: 1.2rem;
    }
} 