@charset "utf-8";

/* 联系我们页面样式 */
.container {
    padding-top: 80px;
}

/* ===== Banner区域 ===== */
.banner {
    width: 100%;
    height: 350px; /* 稍微增加高度 */
    overflow: hidden;
    position: relative;
}

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

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

/* 在banner上添加遮罩和文字 */
.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,155,150,0.3);
    z-index: 1;
}

/* ===== 导航面包屑 ===== */
.nav {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.nav-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    margin: 0 auto;
}

.nav-center h3 {
    font-size: 24px;
    color: #009B96;
    font-weight: 600;
    margin: 0;
}

.nav-div {
    font-size: 14px;
    color: #666;
}

.nav-div a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.nav-div a:hover {
    color: #009B96;
}

.nav-div i {
    font-style: normal;
    color: #999;
    margin: 0 5px;
}

.nav-div span {
    color: #009B96;
    margin-left: 5px;
}

/* ===== 联系我们区域 ===== */
.we {
    background: #f9f9f9;
    padding: 60px 0;
}

/* 标题样式 */
.title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.title h4 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.title h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #009B96;
}

.title p {
    font-size: 16px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 15px;
}

/* ===== 地图 ===== */
#map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border: 1px solid #e5e5e5;
}

/* ===== 联系我们内容 ===== */
.we-content {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

/* 左侧公司信息 */
.we-content-le {
    flex: 1.2; /* 稍微增加权重 */
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.we-content-le:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,155,150,0.1);
}

.we-content-le h5 {
    font-size: 24px;
    color: #009B96;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #009B96;
    font-weight: 600;
}

/* 信息列表 */
.we-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.we-ul li {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #f0f0f0;
}

.we-ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.we-ul li h6 {
    width: 70px;
    font-size: 16px;
    color: #666;
    font-weight: 600;
    margin: 0;
}

.we-ul li p {
    flex: 1;
    color: #333;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

/* 右侧联系方式卡片 */
.we-ul1 {
    width: 380px;
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    list-style: none;
    margin: 0;
    transition: transform 0.3s ease;
}

.we-ul1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,155,150,0.1);
}

.we-ul1 li {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}

.we-ul1 li:last-child {
    margin-bottom: 0;
}

/* 图标容器 */
.we-icon {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.we-icon1 {
    background: #e6f3f2;
}

.we-icon2 {
    background: #e6f3f2;
}

.we-icon:hover {
    background: #009B96;
}

.we-icon:hover::before {
    color: #fff;
}

/* 图标使用伪元素（如果没有图片） */
.we-icon1::before {
    content: '📞';
    font-size: 24px;
}

.we-icon2::before {
    content: '📱';
    font-size: 24px;
}

/* 如果有图片，隐藏伪元素 */
.we-icon img {
    display: none;
}

.we-ul1 li .le {
    flex: 1;
}

.we-ul1 li .le h6 {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.we-ul1 li .le p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* 二维码区域 */
.we-code {
    width: 120px;
    height: 120px;
    border: 2px solid #009B96;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0,155,150,0.2);
}

.we-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 留言反馈区域 ===== */
.we-us {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    margin: 40px auto 60px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.we-lx {
    max-width: 800px;
    margin: 0 auto;
}

.we-lx-ul {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    list-style: none;
    padding: 0;
}

.we-lx-ul li {
    flex: 1;
}

.we-lx-ul input {
    width: 100%;
    height: 55px;
    padding: 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafafa;
}

.we-lx-ul input:focus {
    outline: none;
    border-color: #009B96;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,155,150,0.1);
}

.we-lx-ul input::placeholder {
    color: #aaa;
}

.we-lx textarea {
    width: 100%;
    height: 160px;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
    margin-bottom: 25px;
    transition: all 0.3s;
    background: #fafafa;
    font-family: inherit;
}

.we-lx textarea:focus {
    outline: none;
    border-color: #009B96;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,155,150,0.1);
}

.we-lx textarea::placeholder {
    color: #aaa;
}

/* 提交按钮 */
.lx-btn {
    display: block;
    width: 220px;
    height: 55px;
    margin: 0 auto;
    background: #009B96;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,155,150,0.3);
}

.lx-btn:hover {
    background: #007B76;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,155,150,0.4);
}

.lx-btn:active {
    transform: translateY(0);
}

/* 错误提示 */
.uname-p,
.phone-p,
.liuyan-p {
    color: #ff4444;
    font-size: 13px;
    margin-top: 5px;
    min-height: 20px;
    padding-left: 5px;
}

/* 留言成功提示 */
.we-prompt {
    text-align: center;
    margin-top: 20px;
}

.we-prompt-text {
    display: inline-block;
    padding: 10px 30px;
    background: #e8f5e8;
    color: #009B96;
    border-radius: 30px;
    font-size: 14px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .nav-center {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .banner {
        height: 300px;
    }
    
    .nav-center h3 {
        font-size: 20px;
    }
    
    .we-content {
        gap: 20px;
    }
    
    .we-content-le {
        padding: 25px;
    }
    
    .we-ul1 {
        width: 340px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 250px;
    }
    
    .nav-center {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .nav-center h3 {
        font-size: 18px;
    }
    
    .we-content {
        flex-direction: column;
    }
    
    .we-content-le {
        width: 100%;
    }
    
    .we-ul1 {
        width: 100%;
    }
    
    .we-lx-ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .title h4 {
        font-size: 30px;
    }
    
    .we-us {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 200px;
    }
    
    .we-ul li {
        flex-direction: column;
    }
    
    .we-ul li h6 {
        width: auto;
        margin-bottom: 5px;
    }
    
    .we-ul1 li {
        flex-direction: column;
        text-align: center;
    }
    
    .we-icon {
        margin: 0 0 15px 0;
    }
    
    .lx-btn {
        width: 100%;
    }
}