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

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

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

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

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

.info-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.info-card:hover {
    background-color: white;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* 联系表单和地图 */
.contact-main {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.contact-form-section h2,
.contact-map-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 30px;
}

/* 表单样式 */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #e74c3c;
    border-color: #e74c3c;
    font-size: 18px;
    font-weight: 600;
}

.btn-submit:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* 地图区域 */
.map-placeholder {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.location-details {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.location-details h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.location-details ul {
    list-style: none;
}

.location-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.location-details i {
    color: #e74c3c;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 18px;
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #e74c3c;
    transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .contact-form-section h2,
    .contact-map-section h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}