/* 主样式文件 */

/* 全局样式 */
:root {
    --primary-color: #0052ff;
    --secondary-color: #f5f8ff;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --border-color: #eee;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #f5222d;
}

body {
    background-color: #f5f7fa;
    min-width: 1200px; /* 设置网站最低宽度 */
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0!important;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.primary-btn:hover {
    opacity: 0.9;
}


/* 头部导航 - 防止与Bootstrap冲突 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e9ff;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 15px;
}

.logo img {
    height: 44px;
}

/* 重写导航样式，防止被Bootstrap覆盖 */
.header .nav {
    margin: 0;
    padding: 0;
}

.header .nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: transparent;
    flex-direction: row;
}

.header .nav li {
    margin: 0 15px;
    padding: 0;
    background-color: transparent;
    border: none;
    display: inline-block;
}

.header .nav a {
    color: var(--text-color);
    font-size: 16px;
    position: relative;
    padding: 0 5px;
    text-decoration: none;
    background-color: transparent;
}

.header .nav li.active a {
    color: var(--primary-color);
}

.header .nav li.active a:after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: none;
}

.user-actions {
    display: flex;
    align-items: center;
}

.login {
    color: var(--primary-color);
    font-size: 14px;
}


/* Banner区域 - Bootstrap轮播 */
.banner-section {
    position: relative;
    margin-top: 60px; /* 与header高度一致 */
    padding-top: 0;
}

#bannerCarousel {
    width: 100%;
    min-width: 1200px; /* 轮播也保持最小宽度 */
    overflow: hidden;
}

#bannerCarousel .carousel-item {
    width: 100%;
    overflow: hidden;
}

#bannerCarousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

#bannerCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#bannerCarousel .carousel-indicators [data-bs-target] {
    background-color: #0052ff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    width: 10%;
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon {
    background-color: rgba(0, 82, 255, 0.5);
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
}
#bannerCarousel {
    height: 480px;
}
#bannerCarousel .carousel-item img {
    height: 480px !important;
}

.btns{
    cursor: pointer;
}
#bannerCarousel .carousel-item {
    width: 100%;
    overflow: hidden;
}
.banner-opt{
    padding-top: 140px;
    margin-left: 60px;
}
.banner-opt .tit{
    font-size: 44px;
    color: #2E3133;
    line-height: 62px;
    text-align: left;
    font-style: normal;
    margin-bottom: 16px;
}
.banner-opt .txt{
    font-weight: 400;
    font-size: 24px;
    color: #5C6166;
    line-height: 33px;
    text-align: left;
    font-style: normal;
    margin-bottom: 20px;
}
.banner-opt .btns{
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 48px;
    text-align: center;
    font-style: normal;

    width: 120px;
    height: 48px;
    background: #135ED9;
    border-radius: 4px;
}

#bannerCarousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* 联系我们部分 */
.contact-section {
    padding: 60px 0;
    background-color: #F7F9FC;
}

/* 联系地图容器 */
.contact-map-container {
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

/* 左侧联系信息 */
.contact-left {
    flex: 0 0 40%;
    padding: 40px;
    background-color: #fff;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.contact-method, .contact-address {
    margin-bottom: 30px;
}

.method-title, .address-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.method-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/icon1.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.address-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/icon5.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-phone {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.address-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* 右侧地图 */
.contact-right {
    flex: 0 0 60%;
}

.map-container {
    height: 452px;
    width: 100%;
    overflow: hidden;
}

#tencentMap {
    width: 100%;
    height: 100%;
    border: none;
}
.photo .title{
    font-weight: 400;
    font-size: 40px;
    color: #151835;
    line-height: 56px;
    text-align: left;
    font-style: normal;
    padding: 64px 0 40px;
}
.photo{
    height: 596px;
    background: url("../images/contact/bg3.png") center no-repeat;
    background-size: cover;
}
.photo .photo-box{
    display: flex;
    justify-content: space-between;
}
.photo .photo-img{
    width: 416px;
    height: 312px;
    object-fit: cover;
    border: 6px solid #fff;
}

.message{
    height: 463px;
    background: url("../images/contact/bg1.png") center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-form-container {
    width: 50%;
    max-width: 800px;
}

.message-title {
    font-size: 32px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: left;
}

.message-form {
    width: 100%;
}

.form-row {
    margin-bottom: 20px;
    display: flex;
}

.form-input {
    height: 50px;
    background: #FFFFFF;
    border-radius: 4px;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.name-input {
    margin-right: 20px;
}

.form-textarea {
    width: 100%;
    height: 120px;
    background: #FFFFFF;
    border-radius: 4px;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: #333;
    resize: none;
}

.submit-button {
    height: 44px;
    background: #FFFFFF;
    border-radius: 4px;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    color: #1977FB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* 二维码部分 */
.qrcode-section {
    background: #fff;
}

.qrcode-container {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 30px;
}

.qrcode-item {
    flex: 0 0 30%;
    text-align: center;
}

.qrcode-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.qrcode-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.qrcode-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 底部区域 */
.footer {
    width: 100%;
    color: #fff;
}

/* 顶部浅蓝色区域 */
.footer-banner {
    background: url("../images/footer-bg.png");
    background-size: cover;
    padding: 20px 0;
}

.footer-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-slogan {
    display: flex;
    align-items: center;
}

.footer-banner-logo {
    height: 42px;
    margin-right: 15px;
}

.footer-slogan {
    font-weight: bold;
    font-size: 38px;
    color: #0C3272;
    line-height: 53px;
    font-style: normal;
}

.footer-search-container {
    display: flex;
    gap: 10px;
    background: #CAD7FC;
    border-radius: 4px;
    padding: 12px;
}

.footer-search-box {
    position: relative;
}

.footer-search-input {
    width: 180px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 14px;
    background-color: #fff;
}

.footer-search-btn {
    height: 40px;
    background-color: #1977FB;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 底部深色区域 */
.footer-main {
    background-color: #0d1b42;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* 左侧Logo和联系信息 */
.footer-left {
    width: 25%;
}

.footer-main-logo {
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 140px;

}

.footer-phone {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

/* 中间联系方式 */
.footer-center {
    width: 40%;
}
.footer-contact{
    display: flex;
    align-items: center;
}
.footer-contact img{
    width: 21px;
    height: 21px;
}
.footer-phone{
    font-size: 20px;
    line-height: 28px;
    text-align: left;
    font-style: normal;
}
.footer-contact-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
}
.footer-contact-item img{
    width: 14px;
    height: 14px;
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* 右侧二维码 */
.footer-right {
    width: 30%;
}

.footer-qrcode-container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-qrcode-item {
    text-align: center;
}

.footer-qrcode-img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
}

.footer-qrcode-text {
    font-size: 12px;
    color: #fff;
}

/* 底部导航链接 */
.footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-bottom: 15px;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-nav-link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.footer-nav-link:hover {
    color: #0052ff;
}

/* 版权信息 */
.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* 底部导航 */
.bottom-nav {
    display: none; /* 在PC端默认隐藏，移动端显示 */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.bottom-nav .container {
    display: flex;
    height: 50px;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--light-text);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary-color);
}

/* 响应式设计 */
/* 当屏幕宽度小于1200px时，显示滚动条而不是压缩布局 */
@media (max-width: 1199px) {
    body {
        overflow-x: auto; /* 允许水平滚动 */
    }
    
    .container {
        min-width: 1200px; /* 保持最小宽度 */
        width: 1200px;
    }
}