/* contact.css - 联系区域独立样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 联系区域主样式 */
.contact-banner {
    width: 100%;
    min-height: 200px; /* 可根据需求调整高度 */
    background: url('../images/联系我们区域.png') no-repeat center center; /* 注意路径：../ 回到上级目录找images */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 文字和按钮容器 */
.contact-content {
    text-align: left;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 30px 20px 30px 0;
}

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #1a73e8;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-content .btn:hover {
    background: #e8f0fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 移动端响应式适配 */
@media (max-width: 768px) {
    .contact-banner {
        padding-left: 20px; /* 移动端减少左内边距 */
        min-height: 180px; /* 适当降低高度 */
    }

    .contact-content h2 {
        font-size: 1.6rem; /* 缩小标题字体 */
        margin-bottom: 15px;
    }

    .contact-content .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}