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

/* 页面横幅 */
.page-banner {
    position: relative;
    height: 300px;
    background-image: url('../images/slide-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.banner-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.banner-subtitle {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
}

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

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #2989d8;
    font-size: 32px;
    transition: all 0.3s;
}

.info-card:hover .info-icon {
    background-color: #2989d8;
    color: #fff;
    transform: scale(1.1);
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.info-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

.info-text:last-child {
    margin-bottom: 0;
}

/* 地图区域 */
.map-section {
    padding: 0 0 80px 0;
    background-color: #fff;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .map-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .banner-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .contact-info-section {
        padding: 50px 15px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .info-title {
        font-size: 18px;
    }
    
    .map-section {
        padding: 0 15px 50px 15px;
    }
    
    .map-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 160px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 13px;
    }
    
    .contact-info-section {
        padding: 40px 15px;
    }
    
    .info-card {
        padding: 25px 15px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .info-title {
        font-size: 16px;
    }
    
    .info-text {
        font-size: 13px;
    }
    
    .map-wrapper {
        height: 250px;
    }
}
