﻿ /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }
        
        body {
            color: #333;
            line-height: 1.6;
            background-color: #f9f9f9;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 头部样式 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-top {
            background-color: #003579;
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }
        
        .header-top .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .header-contact span {
            margin-right: 20px;
        }
        
        .header-contact i {
            margin-right: 5px;
        }
        
        .language-switcher a {
            margin-left: 10px;
            display: inline-flex;
            align-items: center;
        }
        
        .language-switcher img {
            width: 20px;
            height: 20px;
            margin-right: 5px;
        }
        
        .main-header {
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
 
        .logo img {
            height: 80px; 
            filter: brightness(0) saturate(100%) invert(25%) sepia(90%) saturate(1500%) hue-rotate(200deg) brightness(90%) contrast(90%);
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .main-nav ul {
            display: flex;
			margin-top:10px;
        }
        
        .main-nav li {
            margin: 0 15px;
            position: relative;
        }
        
        .main-nav a {
            font-weight: 500;
            padding: 10px 0 10px 0;
            position: relative;
            transition: color 0.3s;
        }
        
        .main-nav a:hover {
            color: #003579;
        }
        
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #003579;
            transition: width 0.3s;
        }
		

        .main-nav a:hover::after {
            width: 100%;
        }
        
        .mobile-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* 下拉菜单样式 - 一级菜单 */
        .has-dropdown {
            position: relative; /* 作为下拉菜单的定位容器 */
        }
.has-dropdown ul{
display:block;
}
        .dropdown-menu {

            position: absolute;
            top: 100%; /* 位于父元素下方 */
            right: 0;
            min-width: 150px; /* 最小宽度 */
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 阴影效果 */
            border-radius: 4px; /* 圆角 */
            padding: 10px 0;
            z-index: 1000; /* 确保在最上层显示 */
            opacity: 0; /* 初始透明度为 0 */
            visibility: hidden; /* 初始隐藏 */
            transform: translateY(10px); /* 初始位置向上偏移 10px */
            transition: all 0.3s ease; /* 过渡动画 */
        }

        /* 悬停时显示下拉菜单 */
        .has-dropdown:hover .dropdown-menu {
            opacity: 1; /* 透明度变为 1 */
            visibility: visible; /* 显示 */
            transform: translateY(0); /* 位置恢复正常 */
        
        }


        .dropdown-menu li {
            margin: 0;
            border-bottom: 1px solid #f5f5f5; /* 分隔线 */
        }

        .dropdown-menu li:last-child {
            border-bottom: none; /* 最后一个选项没有分隔线 */
        }

        .dropdown-menu a {
		
            display: block;
            padding: 12px 20px; /* 内边距 */
            color: #333; /* 文字颜色 */
            font-weight: normal; /* 取消加粗 */
            transition: all 0.3s ease; /* 过渡动画 */
        }



        /* 调整产品中心链接的样式，确保下拉箭头正确显示 */
        .main-nav .has-dropdown > a {
            align-items: center;
        }

        .main-nav .has-dropdown >  i {
            margin-left: 5px;
            font-size: 12px;
            transition: transform 0.3s ease; /* 箭头旋转动画 */
        }

        /* 悬停时箭头旋转 180 度 */
        .main-nav .has-dropdown:hover > a i {
            transform: rotate(180deg);
        }
        
        /* Banner轮播图样式  */
        .banner {
            position: relative;
            height: 500px;
            overflow: hidden;
        }
        
        .slides {
            display: flex;
            transition: transform 0.5s ease;
            height: 100%;
        }
        
        .slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }
        
        /* 修复图片变形问题 */
        .slide-img-container {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .slide-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 修正拼写错误 */
            object-position: center;
            transition: transform 0.5s ease;
        }
        
        .slide-content {
            position: absolute;
            top: 50%;
            left: 10%;
            transform: translateY(-50%);
            color: white;
            max-width: 600px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
            z-index: 2;
        }
        
        .slide-content h2 {
            font-size: 42px;
            margin-bottom: 15px;
        }
        
        .slide-content p {
            font-size: 18px;
            margin-bottom: 25px;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #E6101A;
            color: white;
            border-radius: 4px;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .btn:hover {
            background-color: #c00e16;
        }
        
        .btn-secondary {
            background-color: #003579;
        }
        
        .btn-secondary:hover {
            background-color: #002a5e;
        }
        
        .banner-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 3;
        }
        
        .banner-controls span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .banner-controls span.active {
            background-color: white;
        }
        
        /* 关于我们区域 */
        .about-section {
            padding: 40px 0 40px 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-title h2 {
            font-size: 36px;
            color: #003579;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: #E6101A;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: #003579;
        }
        
        .about-text p {
            margin-bottom: 20px;
            line-height: 1.8;
        }
        
        .about-image {
            flex: 1;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .btn-group {
            margin-top: 20px;
        }
        
        .btn-group .btn {
            margin-right: 15px;
        }
        
        /* 产品区域 */
        .products-section {
            padding: 60px 0;
            background-color: #f5f7fa;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .product-img {
            height: 200px;
            overflow: hidden;
        }
        
        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .product-card:hover .product-img img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 20px;
        }
        
        .product-info h3 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #003579;
        }
        
        .product-info p {
            color: #666;
            font-size: 14px;
        }
        
        .view-more {
            text-align: center;
            margin-top: 40px;
        }
        
        /* 底部样式 */
        footer {
            background-color: #003579;
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .footer-column {
            flex: 1;
            min-width: 250px;
            margin-bottom: 20px;
		
        }
        
        .footer-column h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: #ffffff;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
		
		.footer-column p{
		
		padding-right:10px;
		
		}
        
        .footer-column ul li a:hover {
            color: #E6101A;
        }
        
        .footer-contact li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
        }
        
        .footer-contact i {
            margin-right: 10px;
            color: #E6101A;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
        }
        
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #2c3e50;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s;
            z-index: 99;
        }
        

        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .about-image {
                order: -1;
                margin-bottom: 30px;
            }
            
            .slide-content h2 {
                font-size: 32px;
            }
        }
        
        @media (max-width: 768px) {
			.logo img{
				height:70px;
			}
.has-dropdown ul{
display:none;
}
			.main-nav .has-dropdown > i{
				display:none;
			}
            .main-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: white;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            .main-nav.active {
                display: block;
            }
            
            .main-nav ul {
                flex-direction: column;
                padding: 20px;
            }
            
            .main-nav li {
                margin: 0;
                border-bottom: 1px solid #eee;
            }
            
            .main-nav li:last-child {
                border-bottom: none;
            }
            
            .main-nav a {
                display: block;
              
            }
            
            .mobile-toggle {
                display: block;
            }
            
            .header-top .container {
                flex-direction: column;
                gap: 10px;
            }
            
            .banner {
                height: 400px;
            }
            
            .slide-content h2 {
                font-size: 28px;
            }
            
            .slide-content p {
                font-size: 16px;
            }


   
          
        }
        
        @media (max-width: 576px) {
            .banner {
                height: 300px;
            }
            
            .slide-content {
                left: 5%;
            }
            
            .slide-content h2 {
                font-size: 24px;
            }
            
            .slide-content p {
                font-size: 14px;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 14px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .about-text h3 {
                font-size: 24px;
            }
        }





   /* 页面标题区域 */
        .page-header {
            background-color: #003579;
            color: white;
            padding: 80px 0 60px;
            text-align: center;
            margin-bottom: 60px;
        }
        
        .page-title {
            font-size: 42px;
            margin-bottom: 15px;
        }
        
        .breadcrumb {
            font-size: 16px;
            opacity: 0.8;
        }
        
        .breadcrumb a {
            transition: opacity 0.3s;
        }
        
        .breadcrumb a:hover {
            opacity: 1;
        }
        
        .breadcrumb span {
            margin: 0 8px;
        }
        
        /* 联系我们内容区域 */
        .contact-section {
            padding: 0 0 40px 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-title h2 {
            font-size: 36px;
            color: #003579;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: #E6101A;
        }
        
        .contact-container {
            display: flex;
            gap: 40px;
            margin-bottom: 60px;
            justify-content: center;
        }
        
        .contact-info {
            flex: 1;
            max-width: 800px;
            background-color: #f5f7fa;
            padding: 40px;
            border-radius: 8px;
            text-align: center;
        }
        
        .contact-info h3 {
            font-size: 24px;
            margin-bottom: 25px;
            color: #003579;
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            text-align: left;
        }
        
        .contact-icon {
            width: 40px;
            height: 40px;
            background-color: #003579;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .contact-text h4 {
            font-size: 18px;
            margin-bottom: 5px;
            color: #003579;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #E6101A;
            color: white;
            border: none;
            border-radius: 4px;
            font-weight: 500;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .btn:hover {
            background-color: #c00e16;
        }
        
        .btn-secondary {
            background-color: #003579;
        }
        
        .btn-secondary:hover {
            background-color: #002a5e;
        }
		
		
		
		
		/* 产品分类折叠样式 */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-toggle {
    display: none;
    background: none;
    border: none;
    color: #003579;
    cursor: pointer;
}

@media (max-width: 992px) {
    .category-toggle {
        display: block;
    }
    
    .category-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .category-list.active {
        max-height: 500px;
        transition: max-height 0.5s ease-in;
    }
}


/* 产品中心图片完整显示 */
.product-img {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    margin-bottom: 15px;
    border-radius: 4px;
}

.product-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-img img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}





/* 当前选中菜单项的下划线效果 */
.main-nav > ul > li.active > a::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #003579;
    border-radius: 2px;
    transition: all 0.3s ease;
}



/* 移动端适配 */
@media (max-width: 768px) {
    .main-nav > ul > li.active > a::after {
        width: 16.5%; /* 移动端下划线稍短 */
        bottom: -3px;
        height: 2px;
    }
    

}


/* 取消产品中心下拉子菜单的下划线特效 */
.main-nav .dropdown-menu a::after {
    width: 0 !important; /* 强制移除下划线下划线显示 */


}




/* 三级分类容器 */
.has-subdropdown {
  position: relative; /* 作为三级菜单的定位容器 */
}

/* 三级菜单箭头 */
.main-nav .has-subdropdown > i {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* 三级菜单样式 */
.dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%; /* 显示在父菜单右侧 */
  min-width: 150px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  z-index: 1001; /* 层级高于二级菜单 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px); /* 初始偏移 */
  transition: all 0.3s ease;
}

/* 悬停显示三级菜单 */
.has-subdropdown:hover .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 三级菜单选项样式 */
.dropdown-submenu li {
  margin: 0;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown-submenu li:last-child {
  border-bottom: none;
}

.dropdown-submenu a {
  padding: 12px 20px;
  color: #333;
  transition: background-color 0.3s;
}

.dropdown-submenu a:hover {
  background-color: #f5f7fa;
  color: #003579;
}

/* 移动端三级菜单适配 */
@media (max-width: 768px) {
  .dropdown-submenu {
    position: static; /* 移动端改为静态定位 */
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px; /* 缩进显示层级 */
    display: none; /* 默认隐藏 */
  }
  
  /* 移动端点击展开三级菜单 */
  .has-subdropdown.active .dropdown-submenu {
    display: block;
  }
  
  .main-nav .has-subdropdown > i {
    display: inline-block; /* 移动端显示箭头 */
  }
}
