
ul,li {list-style:none;padding:0;margin:0;}
 

 .nav-container {
   
    top: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;           
           
           
           
         
            height: 100px;
             z-index: 999;
 position: sticky;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;

        } 
        
        
        .nav-container:hover{background: #ffffff; color: #333333 !important;}





/*.logo-hover {
  position: absolute;  
  opacity: 0;
  transition: opacity 0.2s ease;
}*/
/* 默认菜单文字颜色（白色） */
.nav-item > a,
.nav-item .ltp .ltop span {
    color: #ffffff !important;  /* 强制覆盖原有颜色 */
}

.nav-logo {
    position: relative;
    width: 200px;
    height: 60px;
    margin-left: 3%;
    z-index: 1000;
}

.logo-default,
.logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
    max-width: 100%;
    height: auto;
}

.logo-default { opacity: 1; }
.logo-hover { opacity: 0; }

/* 悬停时切换 Logo */
.nav-container:hover .logo-default { opacity: 0; }
.nav-container:hover .logo-hover { opacity: 1; }

/* 悬停时背景与文字颜色 */
.nav-container:hover {
    background: #ffffff !important;
}
.nav-container:hover .nav-item > a,
.nav-container:hover .nav-item .ltp .ltop span {
    color: #333333 !important;
}
.nav-container:hover .hamburger span {
    background-color: #333333 !important;
}

/* 滚动后样式（保持不变） */
.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.scrolled .nav-item > a,
.scrolled .nav-item .ltp .ltop span {
    color: #333333 !important;
}
.scrolled .logo-default { opacity: 0; }
.scrolled .logo-hover { opacity: 1; }

   .nav-container:hover .logo-hover {
  opacity: 1;
}

        /* 左侧Logo区域 - 自适应缩放 */
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1000;
            margin-left:3%;
        }
        .logo-icon {
            width: 60px;
            height: 60px;
            background-color: #e62e2e;
            clip-path: polygon(
                0 0, 100% 0, 100% 20%, 60% 20%,
                60% 80%, 100% 80%, 100% 100%, 0 100%,
                0 80%, 40% 80%, 40% 20%, 0 20%
            );
        }
        .logo-text .cn {
            font-size: 20px;
            font-weight: bold;
            color: #666666;
        }
        .logo-text .en {
            font-size: 12px;
            color: #666666;
            text-transform: uppercase;
        }

        /* 汉堡菜单按钮 - 移动端显示 */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 24px;
            cursor: pointer;
            z-index: 1000;
        }

        
        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: #ffffff;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
 .scrolled .hamburger span {
    background-color: #0140b4 !important;
}
        
        .hamburger.active span:nth-child(1) {
            transform: translateY(10.5px) rotate(45deg);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: translateY(-10.5px) rotate(-45deg);
        }






        /* PC端导航菜单 */
        .nav-menu {
            display: flex;
            gap: 50px;
            margin-right: 10%;
            display: flex;
            align-items: center;
           
        }
        .nav-item {
            position: relative;
            padding: 10px 0;
            cursor: pointer;
         height: 100px;
            display: flex;
            align-items: center;
        }
 .nav-menu .nav-item:hover{border-bottom: 4px solid #d81518;}



.alltime,
.alltime * {
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
  li {
  /*  padding-top: 42px;*/
}
li .ltp {
    height: 22px;
    position: relative;
    overflow: hidden;
    font-size: 22px;
}

li .ltp .ltop {
    position: relative;
    display: flex;
    justify-content: center;
}

.ltp .ltop span {
    display: block;
    float: left;
    color: #333333;
    position: relative;
    top: 0;
    line-height: 22px;
}
 li .ltp .ltop span {
    color: #000;
}
 li .ltp .ltop span {
    color: #333333;
}

 li:hover .ltp .ltop span {
    top: -22px;
 
}

        
        
.dropdown-right .dropdown-list li{line-height:48px; 
 font-family: "微软雅黑", "SimHei", "Microsoft YaHei", sans-serif;
 
  font-size:18px;  /* 可按需求调整 */
  color: #333333;
 
/*  margin-bottom: 20px;*/
 }
        
        .nav-item  li{
           
                line-height: 100px;
        }

.nav-item > a {
    text-decoration: none;
    font-size: 22px;
    color: #ffffff;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
transition: color 0.3s ease;
list-style:none;                
        }
        
        
        .nav-item:hover > a {
            color: #ffffff;
            transition: color 0.3s ease;
    transform: translateY(0);
        }
  

/*.nav-item > a span::after {
  content: "";
  width: 0.0225rem;
  height: 0.18rem;
  background-color: #e84127;
  position: absolute;
  top: 0.1725rem;
  left: 0.6225rem;
}
.nav-item:hover a span {
  color: white;
}
.nav-item:hover a .out {
  margin-top: -0.21rem;
} */
        
        
        
        
        .dropdown-list li img{margin-left:30%; width: 17px; height: 30px;}
        

        /* PC端宽屏下拉菜单 */
        .dropdown-full {
            position: absolute;
            top: 100%;
         left: -56px;
    width: 180px;
           background-color: rgba(255, 255, 255, 0.85);
          
            box-shadow: 0 6px 16px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(15px);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            z-index: 998;
            min-height: 50px;
                margin-top: 4px;
                    border-radius: 0 0 3px 3px;
        }
        .nav-item:hover .dropdown-full {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .dropdown-content {
            display: flex;
            width: 100%;
            height: 100%;
        }
        .dropdown-left {
            width: 46%;
            position: relative;
            overflow: hidden;
            display: none;
        }
        .dropdown-left img {
            width: 100%;
            height: 455px;
            object-fit: cover;
            filter: brightness(0.9);
            transition: transform 0.8s ease;
        }
        .nav-item:hover .dropdown-left img {
            transform: scale(1.2);
        }
        

        
        
        .dropdown-text {
            position: absolute;
            top: 40%;
            left: 30%;
            transform: translateY(-50%);
            color: #ffffff;
            z-index: 1;
            line-height: 60px;
        }
        .dropdown-text h1 {
            font-size: 48px;
            font-weight: bold;
          
        }
        .dropdown-text p {
            font-size: 18px;
            margin-bottom: 20px;
           line-height: 45px;
    
        }
        .dropdown-text .detail-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #ffffff;
            font-size: 18px;
           
            transition: border-color 0.3s ease;
           
        }
        .dropdown-text .detail-link:hover {
            border-color: #ffffff;
        }
        .dropdown-right {
            width:100%;
            display: flex;
            flex-direction: column;
           
        }
        .dropdown-header {
            background-color: #e62e2e;
            color: #ffffff;
            padding: 12px 20px;
            font-size: 16px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .dropdown-header::after {
            content: ">";
            font-size: 14px;
        }
        .dropdown-list {
            padding:  0;
            flex: 1;
           /* padding-top: 10px;*/
        }
        /*.dropdown-list li {
            padding: 10px 20px;
             display: block;
    font-size: 0.18rem;
   
    color: #000000;
    padding-left: 0.9225rem;
  
    transition: 0.5s;
            transition: background-color 0.2s ease;
            
        }
        .dropdown-list li::before {
            content: "|";
            color: #e62e2e;
            margin-right: 10px;
            font-weight: bold;
        }
        .dropdown-list li:hover {
            background-color: #e84127;
            color: #ffffff;
        }*/
       
 .dropdown-list li {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s ease;
  /* 核心：让所有子元素横向排列 + 垂直居中 */
  display: flex;
  align-items: center;
  gap: 8px; /* 文字和图标之间的间距 */
  padding-left: 20px; /* 给竖线留出位置，避免文字被遮挡 */
}

/* 竖线符号伪元素（不参与背景动画） */
.dropdown-list li::before {
  content: "|";
  color: #e84127;
  margin-right: 2px;
  font-weight: bold;
  /* 移除绝对定位，让它和内容一起 flex 排列 */
  position: static;
  z-index: 1;
  width: auto;
  height: auto;
  background: none;
  transition: none;
}

/* 背景动画伪元素（单独负责滑入效果） */
.dropdown-list li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #e84127;
  transition: height 0.3s ease;
  z-index: -1;
}

/* hover 时背景从上往下滑出 */
.dropdown-list li:hover::after {
  height: 100%;
}

/* hover 时文字变白 */
.dropdown-list li:hover {
  color: #ffffff;
}
       
       
       

        /* 移动端侧边导航 - 默认隐藏 */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 280px;
            height: 100vh;
            background-color: #ffffff;
            z-index: 999;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            padding-top: 80px;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            overflow-y: auto;
        }
        .mobile-nav.active {
            transform: translateX(0);
        }
        /* 移动端导航项 */
        .mobile-nav-item {
            border-bottom: 1px solid #f0f0f0;
        }
        .mobile-nav-item > a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            font-size: 16px;
            color: #666;
        }
        .mobile-nav-item > a::after {
            content: "+";
            color: #e62e2e;
            font-size: 18px;
            transition: transform 0.3s ease;
        }
        .mobile-nav-item.active > a::after {
            transform: rotate(45deg);
        }
        .mobile-nav-item.active > a {
            color: #e62e2e;
        }
        /* 移动端下拉菜单 */
        .mobile-dropdown {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background-color: #f9f9f9;
        }
        .mobile-dropdown.active {
            max-height: 500px;
        }
        .mobile-dropdown li {
            padding: 12px 30px;
        }
        .mobile-dropdown li a {
            color: #333;
            font-size: 14px;
        }
        .mobile-dropdown li a:hover {
            color: #e62e2e;
        }

        /* 遮罩层 */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* 响应式断点 */
        @media (max-width: 1200px) {
            .nav-menu {
                gap: 20px;
            }
            .nav-item > a {
                font-size: 14px;
            }
            .dropdown-text h1 {
                font-size: 28px;
            }
            .dropdown-text p {
                font-size: 12px;
            }
        }

        @media (max-width: 1056px) {
            /* 隐藏PC端菜单，显示汉堡按钮 */
            .nav-menu {
                display: none;
            }
            .hamburger {
                display: flex;
            }
            /* 优化Logo尺寸 */
            .logo-icon {
                width: 50px;
                height: 50px;
            }
            .logo-text .cn {
                font-size: 18px;
            }
            .logo-text .en {
                font-size: 10px;
            }
            
            .nav-logo {
       z-index: 900;
            margin-left: 0%;
                margin-top: 8px;
        }
            
           .nav-container {
   
            height:70px;
            background: #0140b4;
         

        }  
            
        }
   
   
        
 @media (max-width: 1540px) {           
.nav-logo {margin-left: 0% !important;}
.nav-menu {
  
    gap: 20px;
    margin-right: 0%;
 
}
}
        
