/* 导航栏基础样式 - 初始为透明 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  /* 初始透明 */
  z-index: 1000;
  transition: all 0.5s ease;
  /* 平滑过渡效果 */
}

/* 滚动时导航栏样式变化 */
.navbar.scrolled {
  background-color: white !important;
  /* background-color: rgba(255, 255, 255, 0.9) !important; */
  /* 滚动后变为白色 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* 添加阴影 */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 导航栏布局 */
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/* 品牌标识 */
.brand {
  font-size: 18;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brandLogo {
  height: 35px;
}

/* 桌面端导航菜单 */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 50px;
  position: relative;
  line-height: 30px;
  display: flex;
  align-items: center;
}

.nav-link {
  color: #333;
  /* 初始颜色，与透明背景搭配 */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: #117865;
}

.nav-link.active {
  color: #117865;
  font-weight: 700;
}
.submenu-link.active {
  color: #117865;
  font-weight: 700;
}

/* 下拉箭头 */
.nav-link.has-children i {
  font-size: 6px;
  margin-left: 5px;
    margin-top: 3px;
}


.nav-item:hover .nav-link.has-children i {
  transform: rotate(180deg);
}
.Interval {
  margin: 0px 15px;
  color: #B6BACC;
}
.brandName {
  font-family: Microsoft YaHei;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
}
/* .nav-link.has-children::after {
  content: "▾";
  margin-left: 5px;
  transition: transform 0.3s ease;
  font-size: 16px;
}

.nav-item:hover .nav-link.has-children::after {
  transform: rotate(180deg);
} */

/* 二级菜单 - 滑动效果 */
.submenu {
  position: absolute;
  top: 150%;
  left: 0;
  width: 200px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  /* 确保子元素动画正常 */
}

.fuwu-menuBox{
 left: -400px;
  display: flex;
  padding: 40px 60px;
  justify-content: space-between;
  width: 800px;
}
.fuwu-menuBoxWidth{
   max-width: 1200px;
   display: flex;
   justify-content: space-between;
   margin: 0 auto;

}
.fuwu-menuBoxWidth li{
  width:180px ;
  margin-right: 20px;
}
.anli-menuBox{
  left: -200px;
  display: flex;
  padding: 40px 60px;
  justify-content: space-between;
  width: 400px;
}
.submenu-list a{
   color: #333;
   text-decoration: none;
}
.submenu-list a:hover{
  color: #117865;
  text-decoration: none;
}
.Stories-menuBox{
  left: -205px;
  width: 450px;

}
.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 子菜单项 */
.submenu-item {
  list-style: none;
}

.submenu-link {
  display: block;
  padding: 8px 20px;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.submenu-link:hover {
  background-color: #f8f9fa;
  color: #117865;
}

/* 移动端汉堡菜单 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}
.submenu-title{
  display: flex;
    align-items: flex-start;
    height: 20px;
    align-content: center;

}
.submenu-title img{
   width: 25px;
   height: 25px;
   margin-right: 10px;
   float: left;
   margin-top: 5px;
}
.submenu-title span{
  font-weight: 600;

}
.submenu-line{
   width: 100%;
   height: 1px;
   background: #D9D9D9;
   margin: 20px 0;
}

/* 移动端导航菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  transition: left 0.3s ease;
  z-index: 9999;
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.mobile-nav-menu {
  list-style: none;
  margin-top: 40px;
  overflow: auto;
  height: calc(100% - 80px);
}
.mobile-nav-menu::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}
.mobile-nav-item {
  margin-bottom: 5px;
}
.mobile-nav-item a {
  color: #333;
  text-decoration: none;
}
.erjiTitle{
  margin-bottom: 10px;
  font-size: 16px;
  color: #999;
}
.erjilist{
  margin-left: 15px;
}

/* 移动端子菜单 */
.mobile-submenu {
  display: none;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.mobile-submenu.open {
  display: block;
}

.mobile-nav-link {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #117865;
}

.mobile-nav-link.active {
  color: #117865;
  font-weight: 600;
}

/* 移动端子菜单按钮 */
.mobile-submenu-toggle {
  background: none;
  border: none;
  font-size: 18px;
  color: #555;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-submenu-toggle.open {
  transform: rotate(180deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 响应式断点 */
@media (max-width: 965px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
  .navbar-inner {
    justify-content: space-between;
  }
}
/* 响应式断点 */
@media (min-width: 965px) {
  .mobile-nav,
  .mobile-nav-overlay {
    display: none;
  }
}
