/* 全局基础样式（和首页统一规范） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}



/* 页面顶部Banner */
.factory-banner {
  width: 100%;
  height: 350px;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url(../images/zongbu1.png) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 90px; /* 向下避开fixed导航，不再用relative top产生空白 */
}
.banner-text h1 {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.banner-text p {
  font-size: 16px;
  opacity: 0.85;
  letter-spacing: 2px;
}

/* 通用标题模块 */
.section-title-wrap {
  text-align: center;
  margin: 80px 0 60px;
}
.section-en {
  font-size: 14px;
  color: #9B182F;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-zh {
  font-size: 32px;
  font-weight: 500;
  color: #222;
}

/* 三大基地容器 */
.factory-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  padding-bottom: 100px;
}
.factory-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.factory-item {
  display: flex;
  align-items: center;
  gap: 50px;
}
.factory-item.reverse {
  flex-direction: row-reverse;
}
.factory-img {
  width: 50%;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.factory-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.factory-img:hover img {
  transform: scale(1.04);
}
.factory-info {
  width: 50%;
}
.factory-name {
  font-size: 26px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 500;
}
.factory-address {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid #9B182F;
}
.factory-desc p {
  font-size: 15px;
  color: #444;
  margin-bottom: 14px;
  text-indent: 2em;
}
.factory-advantage {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.factory-advantage span {
  padding: 6px 16px;
  border: 1px solid #9B182F;
  color: #9B182F;
  font-size: 13px;
  border-radius: 30px;
  transition: 0.3s;
}
.factory-advantage span:hover {
  background: #9B182F;
  color: #fff;
}

/* ========== 新增工厂设备网格展示样式 ========== */
.factory-machine-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px 100px;
}
.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.machine-card {
  background: #fff;
  /* box-shadow: 0 3px 15px rgba(0,0,0,0.08); */
  overflow: hidden;
}

.machine-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.machine-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.5s ease;
}
.machine-card:hover .machine-img img {
  /* 仅图片内部放大，卡片本体不动 */
  transform: scale(1.08);
}
.machine-name {
  background: #7f7f7f;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 15px;
  letter-spacing: 1px;
}

/* 设备板块响应式适配 */
@media (max-width: 1200px) {
  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .machine-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .machine-img {
    height: 200px;
  }
}




/* ========== 新增五大实力图文板块样式（和上方工厂item完全统一） ========== */
.factory-equipment-wrap {
  background: #f8f8f8;
  padding: 20px 0 100px;
}
.strength-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.strength-item {
  display: flex;
  align-items: center;
  gap: 50px;
  background: #fff;
  padding: 40px;
  
  box-shadow: 0 3px 18px rgba(0,0,0,0.07);
}
.strength-item.reverse {
  flex-direction: row-reverse;
}
.strength-img {
  width: 50%;
  
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.strength-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.strength-img:hover img {
  transform: scale(1.04);
}
.strength-info {
  width: 50%;
}
.strength-name {
  font-size: 26px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 500;
}
.strength-desc p {
  font-size: 15px;
  color: #444;
  margin-bottom: 14px;
  text-indent: 2em;
}
.strength-tag {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.strength-tag span {
  padding: 6px 16px;
  border: 1px solid #9B182F;
  color: #9B182F;
  font-size: 13px;
  border-radius: 30px;
  transition: 0.3s;
}
.strength-tag span:hover {
  background: #9B182F;
  color: #fff;
}




/* 响应式适配 */
@media (max-width: 992px) {
  .factory-item,
  .factory-item.reverse,
  .strength-item,
  .strength-item.reverse {
    flex-direction: column;
  }
  .factory-img,
  .factory-info,
  .strength-img,
  .strength-info {
    width: 100%;
  }
  .factory-img img,
  .strength-img img {
    height: 300px;
  }
  .banner-text h1 {
    font-size: 32px;
  }
  .footer-container {
    flex-direction: column;
  }
  .footer-qrcodes {
    flex-wrap: wrap;
    justify-content: center;
  }
  .strength-item {
    padding: 30px;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
    height: auto;
    flex-direction: column;
    padding: 15px 0;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
  }
  .factory-wrap {
    padding: 0 15px;
  }
  .factory-name,
  .strength-name {
    font-size: 22px;
  }
  .right-sidebar {
    right: 10px;
  }
  .sidebar-item {
    width: 40px;
    height: 40px;
  }
  .section-zh {
    font-size: 26px;
  }
}