/* 联系页面 - 简洁专业风格 */

:root {
    --primary-color: #000;
    --accent-color: #0066ff;
    --text-gray: #666;
    --text-light: #999;
    --border-color: #e5e5e5;
    --bg-light: #fafafa;
    --transition: all 0.3s ease;
}

/* 主容器 */
.contact-main {
    padding-top: 120px;
    padding-bottom: 80px;
    background: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 页面标题 */
.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.contact-header p {
    font-size: 18px;
    color: var(--text-gray);
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.contact-section {
    border-top: 2px solid var(--primary-color);
    padding-top: 25px;
}

.contact-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.section-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.item-value {
    font-size: 15px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.6;
}

a.item-value:hover {
    color: var(--accent-color);
}

/* 二维码容器 */
.qr-code-container {
    margin: 25px 0;
}

.qr-code-placeholder {
    text-align: center;
}

.qr-code-placeholder svg {
    margin-bottom: 10px;
}

.qr-code-placeholder p {
    font-size: 13px;
    color: var(--text-gray);
}

/* 公司地址 */
.address-section {
    margin-bottom: 100px;
}

.address-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.address-card {
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    transition: var(--transition);
}

.address-card:hover {
    border-color: var(--primary-color);
}

.address-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.address-info {
    margin-bottom: 20px;
}

.address-info:last-child {
    margin-bottom: 0;
}

.address-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.address-text {
    font-size: 15px;
    color: var(--primary-color);
    line-height: 1.8;
}

/* 在线留言 */
.message-section {
    margin-bottom: 60px;
}

.message-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* 表单样式 */
.contact-form {
    max-width: 800px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
    color: var(--primary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 14px 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #333;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-header h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding-top: 100px;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-header {
        margin-bottom: 60px;
    }

    .contact-header h1 {
        font-size: 32px;
    }

    .contact-header p {
        font-size: 16px;
    }

    .contact-grid {
        margin-bottom: 60px;
    }

    .address-section,
    .message-section {
        margin-bottom: 60px;
    }

    .address-section h2,
    .message-section h2 {
        font-size: 24px;
    }

    .address-card {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 28px;
    }

    .contact-section h2 {
        font-size: 18px;
    }
}
