/* 联系我们页面样式 */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 70px;
    overflow: hidden;
    background: url('../images/contact-banner.jpg') no-repeat center center/cover;
}

.page-banner img {
    display: none; /* 隐藏原有的图片元素 */
}

.page-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-title h1 {
    color: #fff;
    font-size: 42px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    position: relative;
}

.page-title h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.main {
    padding: 60px 0;
}

.contact-container {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* 联系信息 */
.contact-info {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    position: relative;
}

.contact-info h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 40px;
    height: 3px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.info-content p {
    color: #666;
    line-height: 1.5;
}

/* 联系表单 */
.contact-form {
    flex: 1;
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    position: relative;
}

.contact-form h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 40px;
    height: 3px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* 地图容器 */
.map-container {
    margin-top: 40px;
}

.map-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    position: relative;
}

.map-container h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 40px;
    height: 3px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.map {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .main {
        padding: 40px 0;
    }
} 