/* 联系我们页面样式 */

/* ==================== 页面横幅 ==================== */
.page-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.page-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.page-banner-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.page-banner-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 联系信息区域 ==================== */
.contact-section {
    background: #fff;
    padding: 80px 50px;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-label {
    display: inline-block;
    font-size: 12px;
    color: #1e5799;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding: 8px 20px;
    border: 1px solid #1e5799;
    border-radius: 30px;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
    letter-spacing: 2px;
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #1e5799;
    box-shadow: 0 20px 40px rgba(30, 87, 153, 0.15);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1e5799, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-card-info {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.contact-card-info a {
    color: #1e5799;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-info a:hover {
    color: #2980b9;
}

/* ==================== 地图区域样式 ==================== */
.contact-map-section {
    margin-top: 60px;
}

.map-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.contact-map-wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#map-container {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

/* ==================== 二维码区域 ==================== */
.qrcode-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 80px 50px;
}

.qrcode-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.qrcode-header {
    margin-bottom: 50px;
}

.qrcode-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.qrcode-subtitle {
    font-size: 16px;
    color: #666;
}

.qrcode-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-image {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.qrcode-image:hover {
    transform: scale(1.05);
}

.qrcode-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .qrcode-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .contact-section,
    .qrcode-section {
        padding: 60px 20px;
    }
    
    .page-banner-title {
        font-size: 36px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map-section {
        margin-top: 40px;
    }
    
    .map-section-title {
        font-size: 24px;
    }
    
    #map-container {
        height: 40vh;
        min-height: 300px;
        border-radius: 12px;
    }
    
    .contact-map-wrapper {
        border-radius: 12px;
    }
    
    .qrcode-grid {
        gap: 30px;
    }
    
    .qrcode-image {
        width: 150px;
        height: 150px;
    }
}