/* 页面Banner样式 */


/* 联系信息区域 */
.contact-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc 0%, #005fa3 100%);
    border-radius: 50%;
    color: #fff;
}

.contact-icon svg {
    stroke: #fff;
}

.contact-info-content h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 表单区域 */
.contact-form-section {
    background: #fff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.contact-form-section .section-header {
    margin-bottom: 40px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
}

.contact-form .form-group.full-width {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0088cc;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    display: inline-block;
    padding: 15px 60px;
    background: linear-gradient(135deg, #0088cc 0%, #005fa3 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #006699 0%, #004080 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* 地图区域 */
.contact-map-section {
    background: #fff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-map-section .section-header {
    margin-bottom: 30px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-image {
    width: 100%;
    height: 100%;
    position: relative;
    background: #e8e8e8;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
}

.map-marker svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: markerBounce 2s ease-in-out infinite;
}

@keyframes markerBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.map-marker-label {
    background: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    margin-top: 5px;
    position: relative;
}

.map-marker-label::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

/* 响应式 */
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 250px;
    }
    
    .page-banner-title {
        font-size: 32px;
    }
    
    .page-banner-subtitle {
        font-size: 14px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .contact-map-section {
        padding: 30px 20px;
    }
    
    .contact-form .form-row {
        flex-direction: column;
    }
    
    .map-container {
        height: 300px;
    }
}
