/* 联系我们页面专用样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #e31837);
    color: var(--white);
    padding: 2rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* 联系页面主要内容 */
.contact-page-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* 左侧联系信息面板 */
.contact-info-panel {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-info-panel h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.contact-info-list {
    margin-bottom: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #e31837);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-content h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: #e31837;
    text-decoration: underline;
}

/* 快速留言表单 */
.quick-contact-form {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 12px;
    border: 2px dashed var(--primary-color);
}

.quick-contact-form h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-contact-form .form-group {
    margin-bottom: 1rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 21, 48, 0.1);
}

.quick-contact-form textarea {
    resize: vertical;
    font-family: inherit;
}

.quick-contact-form .submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #e31837);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quick-contact-form .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 右侧地图容器 */
.map-container {
    position: relative;
    height: 700px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.baidu-map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 90%;
}

.map-overlay i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.map-overlay p {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

/* 导航激活状态 */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 500px;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-info-panel {
        padding: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }

    .page-header {
        padding: 5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .map-container {
        height: 400px;
    }

    .map-overlay {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
    }

    .map-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .contact-page-section {
        padding: 2rem 0;
    }

    .contact-info-panel h2 {
        font-size: 1.5rem;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .info-content h3 {
        font-size: 1rem;
    }

    .quick-contact-form {
        padding: 1.5rem;
    }
}

