/* 全局样式 */
:root {
  --primary-color: #333; /* 简约主色 */
  --secondary-color: #666; /* 简约次要色 */
  --accent-color: #999; /* 简约强调色 */
  --light-gray: #fafafa; /* 浅灰色背景 */
  --mid-gray: #f0f0f0; /* 中灰色边框 */
  --dark-gray: #666; /* 深灰色文本 */
  --text-color: #333333; /* 主要文本色 */
  --white: #ffffff; /* 白色 */
  --section-padding: 80px 0; /* 区块内边距 */
  --container-width: 1200px; /* 容器最大宽度 */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 标准阴影 */
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); /* 标准过渡 */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.company-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 25px;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  display: inline-block;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff7d00;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ff7d00;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(0);
}

/* 轮播图样式 */
.carousel {
  position: relative;
  margin-top: 70px;
  height: 500px;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px;
  text-align: center;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: white;
}

/* 内容区域通用样式 */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #333;
  margin: 15px auto;
}

/* 公司简介样式 */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-text {
  padding: 20px;
}

.about-video {
  width: 100%;
  height: 300px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 项目展示样式 */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.project-desc {
  color: #7f8c8d;
}

/* 时间轴样式 */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #ecf0f1;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #333;
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::after {
  right: -13px;
}

.right::after {
  left: -13px;
}

.timeline-content {
  padding: 20px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-year {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* 企业文化样式 */
.culture-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.culture-content {
  padding: 20px;
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* 业务领域样式 */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.business-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.business-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.business-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.business-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
}

.business-desc {
  flex: 1;
  color: #7f8c8d;
  margin-bottom: 20px;
}

/* 联系信息样式 */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  padding: 30px;
}

.contact-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-icon {
  margin-right: 15px;
  color: #333;
  font-size: 1.5rem;
}

.qrcode-container {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.qrcode-item {
  text-align: center;
}

.qrcode {
  width: 120px;
  height: 120px;
  background-color: #f5f5f5;
  margin-bottom: 10px;
}
/**********************************************************/
.qrcode-item img {
  display: flex;
  gap: 0;
  margin-top: 0;
  width: 120px;
  height: 120px;
  margin-right: 0;
}
/* 页脚样式 */
.footer {
  background-color: #333;
  color: white;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-contact {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #666;
  bottom: 0;
  left: 0;
}

/* 联系我们页面样式 */
.contact-page {
  padding-top: 100px;
  padding-bottom: 60px;
}

.contact-page-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-page-header {
  background-color: transparent;
  color: #333;
  padding: 30px;
  text-align: center;
}

.contact-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-details {
  padding: 40px;
  background-color: #f9f9f9;
}

.company-overview {
  padding: 40px;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
  .about-container,
  .culture-container,
  .contact-container,
  .contact-page-content {
    grid-template-columns: 1fr;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 18px;
  }

  .right {
    left: 0%;
  }

  .left::after,
  .right::after {
    left: 18px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
  }

  .nav-menu {
    margin-top: 15px;
  }

  .nav-item {
    margin: 0 10px;
  }

  .carousel {
    height: 300px;
  }

  .project-grid,
  .business-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .company-name {
    font-size: 1.2rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .carousel {
    height: 200px;
  }
}

/* 通用按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #555;
}

/* 辅助样式 */
.text-center {
  text-align: center;
}

.mb-40 {
  margin-bottom: 40px;
}

.bg-light {
  background-color: #f5f5f5;
}
