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

/* 横幅图 */
.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 61, 122, 0.8) 0%, rgba(0, 61, 122, 0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.banner-title {
    font-size: 48px;
    color: #ffffff;
    font-weight: 300;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 28px;
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

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

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

.contact-info-item {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
    transition: all 0.3s;
}

.contact-info-item:hover {
    background-color: #4a6fa5;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-item:hover .contact-icon {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-info-item:hover .contact-info-title,
.contact-info-item:hover .contact-info-text {
    color: #ffffff;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #4a6fa5;
    background-color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s;
}

.contact-info-title {
    font-size: 20px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.contact-info-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 5px;
    transition: color 0.3s;
}

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

/* 地图区域 */
.map-section {
    padding: 0;
    background-color: transparent;
}

.map-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 40px;
    }

    .banner-subtitle {
        font-size: 24px;
    }

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

    .contact-info-section {
        padding: 60px 0;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .contact-info-section {
        padding: 40px 0;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-info-item {
        padding: 30px 20px;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .contact-info-title {
        font-size: 18px;
    }

    .contact-info-text {
        font-size: 13px;
    }

    .map-section {
        padding: 0 20px 40px;
    }

    .map-container {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .contact-info-item {
        padding: 20px 12px;
    }

    .map-section {
        padding: 0 15px 30px;
    }

    .map-container {
        height: 220px;
    }
}
