/* 联系我们页面专属样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* 联系信息区域 */
.contact-info {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 28px;
    color: #0066cc;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.contact-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* 联系表单与地图区域 */
.contact-form-section {
    padding: 80px 0;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #0066cc;
}

/* 联系表单 */
.contact-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 地图区域 */
.map-container {
    position: sticky;
    top: 100px;
}

.map-placeholder {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.map-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.map-info p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 表单消息 */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-size: 15px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 销售网络 */
.sales-network {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.network-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.network-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.network-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0066cc;
}

.network-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.network-item strong {
    color: #333;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 576px) {
    .contact-grid,
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}