/* 联系页专用样式 */

/* 联系页头部 */
.contact-header {
    background: var(--white);
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--border-light);
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 联系内容 */
.contact-content {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 联系表单 */
.contact-form-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-form h3 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-weight: 700;
}

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

.form-label {
    display: block;
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    color: var(--dark-text);
    background: var(--white);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 联系信息 */
.contact-info-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-info h3 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* 地图区域 */
.map-section {
    padding: 60px 0;
    background: var(--white);
}

.map-container {
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    border: 2px dashed var(--border-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-header {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 2.8rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }

    .contact-content {
        padding: 50px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 30px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 30px 0;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 20px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 1.6rem;
    }

    .form-input,
    .form-textarea {
        padding: 12px 16px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .contact-method {
        padding: 15px;
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .map-placeholder {
        height: 300px;
        font-size: 1rem;
    }
}
