/* ===== 联系/留言页面样式 ===== */
.message-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.message-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.message-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.message-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.message-form-wrapper > p {
    color: #999;
    margin-bottom: 30px;
}

.message-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.message-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #666;
}

.message-form .required {
    color: #e94560;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.message-form input:focus,
.message-form textarea:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

.message-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* ===== 联系我们页面样式 ===== */
.contact-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-info-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-cards .contact-card {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-cards .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #e94560;
    color: #fff;
}

.contact-cards .contact-card:hover i {
    color: #fff;
}

.contact-cards .contact-card i {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.contact-cards .contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-cards .contact-card p {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.3s ease;
}

.contact-cards .contact-card:hover p {
    color: #fff;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-sidebar .sidebar-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-sidebar .sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e94560;
    color: #1a1a2e;
}

.contact-sidebar .sidebar-card h3 i {
    margin-right: 8px;
    color: #e94560;
}

.contact-sidebar .sidebar-card p {
    margin-bottom: 12px;
    color: #666;
}

.contact-sidebar .sidebar-card p i {
    margin-right: 8px;
    color: #999;
    width: 20px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .message-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .message-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .message-form-wrapper,
    .contact-info-wrapper {
        padding: 24px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}
