/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #d81e06;
}

.header-right {
    display: flex;
    align-items: center;
}

.language select {
    padding: 5px;
    margin-right: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search i {
    font-size: 18px;
    cursor: pointer;
}

/* 英雄区 */
/* -------------------------- */
/* 以下是全新 正确的 英雄区样式 */
/* -------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
.hero-content h1 {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 28px;
}

/* 公司简介 */
.company-intro {
    padding: 40px 0;
    background: #f9f9f9;
}

.company-intro p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 企业优势 */
.company-advantages {
    padding: 40px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.advantage-item i {
    font-size: 36px;
    color: #d81e06;
    margin-bottom: 10px;
}

/* 企业理念 —— 最终完美版 */
.company-mission {
  background-color: #f9f9f9 !important; /* 核心：浅灰色背景，和官网一致 */
  padding: 60px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mission-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-text h3 {
    color: #777 !important;
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.mission-text p {
    font-size: 16px;
    line-height: 2.8; /* 你要的3倍行距 */
    color: #444;
    margin-bottom: 20px;
}

/* 合作伙伴 —— 终极修复版 */
.partners {
  position: relative;
  background: #f9f9f9;
  padding: 40px 0;
  width: 100%;
  overflow: hidden;
}

.partners-slider {
  display: flex;
  align-items: center;
  transition: transform 0.6s ease;
  padding: 0 50px;
  margin: 0 auto;
  max-width: 1400px;
}

.partner-item {
  flex: 0 0 20% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px !important;
  margin: 0 !important;
}

.partner-item img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

/* 左右按钮 */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 18px;
  cursor: pointer;
  z-index: 999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.prev-btn { left: 15px !important; }
.next-btn { right: 15px !important; }
.prev-btn:hover, .next-btn:hover {
  background: #d81e06;
  color: #fff;
}

/* 研发与创新 */
.rnd-innovation {
    padding: 40px 0;
}

.rnd-innovation h2 {
    text-align: center;
    margin-bottom: 30px;
}

.rnd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rnd-item img {
    width: 100%;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #d81e06;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #b81a05;
}

/* 创新应用 */
/* 创新应用 */
.applications {
    padding: 40px 0;
    background: #f9f9f9;
}

.applications h2 {
    text-align: center;
    margin-bottom: 20px;
}

.applications p {
    text-align: center;
    margin-bottom: 30px;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.application-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.application-card img {
    width: 100%;
    height: 300px; /* 👈 原来 150px → 现在 300px，刚好放大2倍！ */
    object-fit: cover;
}

.application-card p {
    padding: 15px;
    text-align: center;
}

/* 公司历程 */
/* 公司历程 —— 1:1 复刻生产基地左右布局 */
.timeline {
  padding: 40px 0;
  background: #fff;
}

.timeline-header {
  margin-bottom: 30px;
}

/* 头部大图文字（你原来的样式，不动） */
.header-image-wrapper {
  position: relative;
  width: 100%;
}
.header-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.header-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 100%;
}
.header-image-text h2 {
  font-size: 65px;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.header-image-text p {
  font-size: 40px;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* 👇 核心：和生产基地完全一样的左右 flex 布局 */
.timeline-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.timeline-item {
  display: flex;
  align-items: center; /* 文字和图片垂直居中 */
  gap: 30px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}
.timeline-image {
  flex: 0 0 50%; /* 图片占一半 */
}
.timeline-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.timeline-desc {
  flex: 0 0 50%; /* 文字占一半 */
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.timeline-desc ul {
  padding-left: 20px;
  margin: 0;
}
.timeline-desc li {
  margin-bottom: 8px;
}

/* 隐藏原来的年份（不需要） */
.timeline-year {
  display: none;
}

/* 生产基地与团队 */
.production-team {
    padding: 40px 0;
    background: #f9f9f9;
}

.production-team h2 {
    text-align: center;
    margin-bottom: 30px;
}

.production-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.production-item img {
    width: 100%;
    border-radius: 8px;
}

/* 公司荣誉 */
.honors {
    padding: 40px 0;
}

.honors-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.honors-text ul {
    list-style-position: inside;
    margin: 15px 0;
}

.honors-image img {
    width: 100%;
    border-radius: 8px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: #d81e06;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #d81e06;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #445566;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .advantages-grid,
    .rnd-grid,
    .applications-grid,
    .production-grid,
    .honors-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
}