/* 联系我们页面样式 */

/* 页面标题样式 */
.page-header.contact-header {
    margin-top: 70px;
    height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 10% 50px;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.4) 100%
    );
    z-index: 1;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.9);
}

.contact-header h1 {
    color: white;
    font-size: 3.2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    position: relative;
    z-index: 2;
    font-weight: 600;
    margin: 0;
}

/* 联系信息卡片样式 */
.contact-section {
    padding: 6rem 5%;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #1a5f7a, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card .icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: #1a5f7a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* 二维码样式 */
.qrcode {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.contact-card:hover .qrcode img {
    transform: scale(1.05);
}

/* 地图样式 */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式适配 */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .page-header.contact-header {
        height: 450px;
        padding: 0 5% 40px;
    }

    .contact-header h1 {
        font-size: 2.4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container {
        height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .page-header.contact-header {
        height: 350px;
        padding: 0 5% 30px;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .map-container {
        height: 300px;
    }
} 