*{
    margin: 0;
    padding: 0;
    /* 边际为0，即铺满整个页面 */
}
a {
    text-decoration: none !important;
	/* 所有的超链接a标签不带下划线，使用!important提高优先级 */
}

/* 导航栏 开始 */
.header {
  background: rgb(25, 56, 83);
  height: 60px;
  line-height: 60px;
  box-shadow: 2px 3px 5px #04133d;
}

.box {
  z-index: 1000;
  width: 100%;
  display: flex;
  position: fixed;
  background-color: rgb(25, 56, 83);
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.logo {
  height: 60px;
  line-height: 105px;
  margin-right: 10px;
  position: relative;
  left: -20px;
}

.nav ul, .nav li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav {
  display: flex;
  position: relative;
  left: -15px;
  height: 65px;
  margin: 0;
  flex-grow: 0;
  gap: 10px; /* 修改此处：原20px → 现10px（缩小50%） */
  justify-content: center; /* 新增：确保元素水平居中 */
}

.nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
  font-size: 15px;
  padding: 0 15px; /* 调整：原20px → 现15px（辅助间距控制） */
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 1px; /* 调整：原3px → 现2px（优化文字密度） */
}

.nav > .item {
  height: 100%;
  position: relative;
  transition: .4s;
}

.list {
  position: absolute;
  width: 114px;
  top: 65px;
  display: none;
  transition: .4s;
  background-color: #037dc4;
  left: 50%;
  transform: translateX(-50%);
}

.list a {
  position: relative;
  width: 100%;
  flex-wrap: wrap;
}

.itemTwo {
  height: 40px;
  transition: .4s;
}

.itemTwo a {
  text-decoration: none;
}

.nav > .item:hover {
  background-color: #037dc4;
}

.nav > .item:hover > .list {
  display: block;
  max-height: 500px;
  padding: 8px 10px;
  color: #fff;
}

.itemTwo:hover {
  background-color: rgba(255, 255, 255, .3);
}

.home-language {
  position: relative;
  left: -20px;
  display: flex;
  align-items: center;
  margin-left: 5px;
  margin-top: -15px;
  line-height: 20px;
  color: #69d0ff;
}

.home-language a {
  font-size: 16px;
  color: #fff;
  margin: 0 6px; /* 调整：原8px → 现6px（语言切换间距优化） */
  letter-spacing: 1px; /* 调整：原2px → 现1px（文字密度优化） */
}

.home-language a:hover {
  color: #6bd0ff;
}
/* 导航栏 结束 */


/* banner 开始 */
.about-banner{
    display: flex;
}

.about-banner img{
    display: block;
    margin: auto;
    width: 100%;
    height: 400px;
    /* box-shadow: 0px 0px 2px rgb(13, 41, 65); */
}


/* banner 结束 */


/* 产品标题 开始*/
.product-title{
  display: flex;
  justify-content: center; 
  align-items:center;
  /* 标签居中对齐 */

  /* text-align: center; */
  /* 对内部文本居中 */
}
.product-title a{
  text-decoration: none;
  /* 超链接去掉下划线 */
}

/* 灰色线 */

.section-header {
  position: relative;
  max-width: 600px;
  margin: 0 auto 60px auto;
  padding-bottom: 25px;
}

.section-header h2 {
  color: #666666;
  font-size: 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-align: center;
}

.section-header::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 100px;
  height: 5px;
  background: #cccccc;
  border-radius: 0 0 5px 5px;
  bottom: 0;
  left: calc(50% - 50px);
}

.section-header p {
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  margin: 0;
}
/* 产品标题 结束 */




/* 产品列表图片 开始 */
.product-content {
  margin-top: -35px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-factory-imgs {
  display: flex;
  flex-wrap: wrap; /* 允许自动换行 */
  justify-content: center; /* 内容居中 */
  width: 90%; /* 适当增加宽度百分比 */
  max-width: 1200px; /* 设置最大宽度限制 */
  margin: 0 auto;
  gap: 10px; /* 添加间隙 */
}

.about-factory-img01 {
  margin-top: 8px;
  padding: 12px;
  text-align: center;
  flex-direction: column;
  flex: 1; /* 弹性伸缩 */
  min-width: 180px; /* 设置最小宽度 */
  max-width: 220px; /* 设置最大宽度 */
}

.about-factory-img01 p {
  letter-spacing: 3px;
  font-size: 18px;
  color: #04133d;
  border: 1px solid #04133d;
  padding: 3px;
  box-shadow: 0px 0.5px 0.5px #3164f0;
  margin-top: 8px; /* 添加与图片的间距 */
  white-space: nowrap; /* 防止文字换行 */
  overflow: hidden;
  text-overflow: ellipsis; /* 文字过长显示省略号 */
}

.about-factory-image {
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
  width: 160px; /* 固定图片宽度 */
  height: 160px; /* 固定图片高度 */
  object-fit: contain; /* 保持图片比例 */
}

.about-factory-image:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 5px rgb(13, 41, 65);
}

.about-factory-img01 {
  transition: transform 0.3s ease;
}

.about-factory-img01:hover, .about-factory-img01:active {
  transform: translateY(-10px);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .about-factory-imgs {
      width: 95%; /* 增大宽度百分比 */
  }
  
  .about-factory-img01 {
      min-width: 160px; /* 调整最小宽度 */
      max-width: 180px; /* 调整最大宽度 */
  }
  
  .about-factory-image {
      width: 140px;
      height: 140px;
  }
}

@media (max-width: 768px) {
  .about-factory-img01 {
      min-width: 140px;
      max-width: 160px;
      padding: 8px;
  }
  
  .about-factory-image {
      width: 120px;
      height: 120px;
  }
  
  .about-factory-img01 p {
      font-size: 16px;
      letter-spacing: 2px;
  }
}

@media (max-width: 576px) {
  .about-factory-imgs {
      width: 100%;
      padding: 0 10px;
  }
  
  .about-factory-img01 {
      min-width: 120px;
      max-width: 140px;
  }
  
  .about-factory-image {
      width: 100px;
      height: 100px;
  }
  
  .about-factory-img01 p {
      font-size: 14px;
      white-space: normal; /* 小屏幕允许文字换行 */
  }
}

/* 产品列表图片 结束*/


/* 产品显示区域 开始 */
.product-content{
  width: 100%;

}


/* 产品详情 开始 */
.product-text001{
  display: none;
  width: 100%;
  /* 以下是几种常用的隐藏标签方法：
使用display: none;样式属性。
使用visibility: hidden;样式属性。
使用opacity: 0;样式属性。 */
}

/* 指示箭头 开始 */
.prodect-arrow{
  width: 60%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* justify-content: center; */
}

.prodect-arrow-back{
  margin-left: -150%;
  height: 50px;
  transition: transform 0.3s ease;
}
.prodect-arrow-back:hover{
  transform: scale(1.05);/* 鼠标悬停时放大10% */
}

.prodect-arrow-last{
  margin-left: 200%;
  /* 距离上个元素的距离 */
  height: 60px;
  transition: transform 0.3s ease;
}

.prodect-arrow-last:hover{
  transform: translateX(-10px); /* 在激活状态下左（X，-10）移动，Y为上下移动 */
}


.prodect-arrow-next{
  transition: transform 0.3s ease;
  margin-left: 250%;
  height: 60px;
}

.prodect-arrow-next:hover{
  transform: translateX(10px); /* 在激活状态下向右（X,10）移动，Y为上下移动 */
}

.prodect-arrow-next01{
  transition: transform 0.3s ease;
  margin-left: 280%;
  height: 60px;
}

.prodect-arrow-next01:hover{
  transform: translateX(10px); /* 在激活状态下向右（X,10）移动，Y为上下移动 */
}
.prodect-arrow-last15{
  margin-left: 70%;
  /* 距离上个元素的距离 */
  height: 60px;
  transition: transform 0.3s ease;
}

.prodect-arrow-last15:hover{
  transform: translateX(-10px); /* 在激活状态下左（X，-10）移动，Y为上下移动 */
}

/* 指示箭头 结束 */




.product-text001-title{
  display: flex;
  justify-content: center; 
  align-items:center;
  /* 标签居中对齐 */
}

.product-text001-oring{
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items:center;
  /* 标签居中对齐 */
}
.product-text001-oring>p{
  width: 60%;
  line-height: 30px;
}


.product-text002,.product-text003,.product-text004,.product-text005,.product-text006,.product-text007
,.product-text008,.product-text009,.product-text010,.product-text011,.product-text012,.product-text013
,.product-text014,.product-text015{
  display: none;
  width: 100%;
  /* 以下是几种常用的隐藏标签方法：
使用display: none;样式属性。
使用visibility: hidden;样式属性。
使用opacity: 0;样式属性。 */
}

.changed {
	display: block;
}
  
.changed2 {
	display: none;
}  




/* 四张图片 开始*/
.about-factory-imgs{
  display: flex;
  width: 76%;
  margin: auto;

}
.about-factory-img01{
  margin-top: 8px;
  padding: 12px;
  text-align: center;
  flex-direction: column;
}

.about-factory-img01 p{
  letter-spacing: 3px;
  /* 字间距 */
  font-size: 18px;
  color: #04133d;
  border: 1px solid #04133d;
  /* 给文本加边框 */
  padding: 3px;
  /* 边框内边距设置 */
  box-shadow: 0px 0.5px 0.5px #3164f0;
}
.about-factory-image {
  transition: transform 0.3s ease; /* 放大动画效果 */
  max-width: 100%;
  height: auto;
}

.about-factory-image:hover {
  transform: scale(1.05); /* 鼠标悬停时放大10% */
  box-shadow: 2px 2px 5px rgb(13, 41, 65);
}

/* 4张图片 结束 */




/* 底部导航栏开始 */
.footer {
  width: 100%;
  padding: 30px 0;
  background-color: rgb(25, 56, 83);
  position: relative;
  z-index: 0;
}

.footer-info {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

.addr {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: left;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(15px);
}

.addr img {
  width: 180px;
  margin-bottom: 10px;
  margin-left: 0;
  transform: translateX(30px);
}

.addr h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 5px 0;
  white-space: nowrap;
}

.addr span, .addr p {
  font-size: 14px;
  color: #ffffff;
  margin: 8px 0;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-links {
  flex: 2;
  min-width: 450px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 0;
  padding: 0 10px;
}

.footer-links dl {
  text-align: center;
  margin: 0;
  flex: 1;
  min-width: 0;
  position: relative;
}

.footer-links dl:nth-child(3){
  transform: translateY(10px);
} 

.footer-links dt {
  margin-bottom: 12px;
  font-size: 18px;
  color: #ffffff;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
}

.footer-links dt a {
  color: #ffffff;
  display: inline-block;
  padding: 0 10px;
}

.footer-links dt a:hover {
  color: #4db8ff;
}

.footer-links dd {
  padding: 6px 0;
}

.footer-links dd a {
  font-size: 15px;
  color: #ffffff;
  display: block;
  transition: color 0.3s;
  padding: 2px 0;
}

.footer-links dd a:hover {
  color: #4db8ff;
}

.footer-weixin {
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  text-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* 添加居中对齐 */
  justify-content: center; /* 垂直居中 */
  transform: translateY(40px);
}

.footer-weixin img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.footer-weixin p {
  color: #fff;
  font-size: 14px;
  margin-top: 8px;
  width: 100px;
  flex-shrink: 0;
  text-align: center; /* 文字居中 */

}

.home-copyright {
  display: flex;
  height: 45px;
  background-color: rgb(13, 41, 65);
  position: relative;
  z-index: 0;
}

.home-copyright p {
  margin: auto;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.home-copyright p a img {
  margin: 5px 0px -10px 10px;
  width: 28px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .footer-info {
      gap: 15px;
  }
  
  .footer-links {
      gap: 10px;
      min-width: 400px;
  }
}

@media (max-width: 768px) {
  .footer-info {
      flex-direction: column;
      align-items: center;
      gap: 25px;
  }
  
  .addr, .footer-links, .footer-weixin {
      width: 100%;
      max-width: 500px;
      text-align: center;
      padding: 0;
  }
  
  .addr {
      white-space: normal;
      text-align: center;
  }
  
  .addr img {
      margin: 0 auto 15px;
  }
  
  .footer-links {
      flex-direction: column;
      min-width: unset;
      gap: 20px;
  }
  
  .footer-links dl {
      margin-bottom: 15px;
  }
  
  .footer-weixin {
      margin-top: 10px;
      height: auto;
      transform: none;
  }
}

@media (max-width: 480px) {
  .addr h3, .addr span, .addr p {
      white-space: normal;
  }
  
  .footer-links {
      gap: 15px;
  }
  
  .footer-links dt a {
      padding: 0 5px;
  }
}

/* 底部导航栏结束 */











