/* ==================== 联系我们 Hero 区域 ==================== */
.contact-hero {
    position: relative;
    padding: 140px 0 80px;
    background: url(../images/contact/contact_m1_bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 75%;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin: 70px 0 0 0;
}

/* Hero 背景图 + 渐变遮罩 */
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=2032&auto=format&fit=crop'); */
    background-size: cover;
    background-position: center;
    /* background: linear-gradient(180deg, rgba(240, 242, 245, 0.4) 20%, rgb(255 255 255 / 90%) 76%, rgb(255 255 255) 100%); */
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 150px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero 左侧文本 */
.contact-text h2 {
    font-size: 3rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-text h1 {
    font-size: 3.5rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 450px;
}

/* Hero 右侧联系卡片 */
.contact-card {
    background: white;
    padding: 40px 50px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-detail span {
    font-size: 0.95rem;
    color: #555;
    text-align: right;
    word-break: break-all;
}

.contact-detail a {
    color: #555;
}

.contact-detail a:hover {
    color: var(--primary-color);
}

/* ==================== 地图区域 ==================== */
.contact-map-section {
    width: 100%;
    padding: 60px 0;
    background: #fff;
}

.map-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

#mapContainer {
    width: 100%;
    height: 100%;
}

/* 地图信息窗样式 */
.myinfowindow {
    width: 240px;
    min-height: 50px;
    padding: 10px;
}

.myinfowindow h5 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.myinfowindow div {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ==================== 大楼展示区域 ==================== */
.contact-building-section {
    width: 100%;
    padding: 0;
    background: #fff;
}

.building-image {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
    object-fit: cover;
}



/* ==================== 响应式适配 ==================== */
@media (max-width: 900px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-text h1,
    .contact-text h2 {
        text-align: left;
    }

    .contact-text p {
        margin: 0 auto 20px;
        text-align: left;
    }

    .contact-card {
        margin: 0 auto;
    }

    .contact-detail span {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-nav-links {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .map-container {
        height: 400px;
    }
}