* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #444;
  background-color: #f7f7f7;
  line-height: 1.7;
}
.nav-game {
  display: none;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
.header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
}

.logo img {
  height: 36px;
  margin-right: 10px;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav-item {
  font-size: 0.95rem;
  color: #666;
  transition: color 0.3s;
}

.nav-item:hover {
  color: #2c84d8;
}

/* 英雄区轮播 */
.hero {
  position: relative;
  height: 400px;
  margin-bottom: 50px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 30px;
  z-index: 2;
}

.hero-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero-desc {
  font-size: 1rem;
  max-width: 700px;
}

.slider-nav {
  position: absolute;
  bottom: 110px;
  right: 30px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}

/* 轮播控制按钮 */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.carousel-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.7;
}

.carousel-control:hover {
  background-color: rgba(0,0,0,0.8);
  opacity: 1;
}

/* 主要内容区样式 */
.main-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* 侧边栏样式 */
.sidebar {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.sidebar-title {
  background-color: #2c84d8;
  color: white;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu-item {
  border-bottom: 1px solid #f1f1f1;
}

.sidebar-menu-link {
  display: block;
  padding: 15px 20px;
  transition: background-color 0.3s;
}

.sidebar-menu-link:hover,
.sidebar-menu-link.active {
  background-color: #f8f9fa;
  color: #2c84d8;
}

.sidebar-contact {
  padding: 20px;
  border-top: 1px solid #f1f1f1;
}

.contact-title {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.contact-item i {
  color: #2c84d8;
  margin-right: 10px;
  margin-top: 4px;
  width: 16px;
  text-align: center;
}

/* 内容区样式 */
.content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.section {
  background-color: white;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.section-title {
  font-size: 1.5rem;
  color: #333;
  position: relative;
  padding-left: 15px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background-color: #2c84d8;
}

/* 公司介绍样式 */
.company-intro p {
  margin-bottom: 15px;
  text-align: justify;
}

.company-img {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-radius: 4px;
  overflow: hidden;
}

.company-img img {
  width: 100%;
  display: block;
}

/* 产品介绍样式 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-img {
  height: 160px;
  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.08);
}

.product-info {
  padding: 15px;
}

.product-name {
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.product-desc {
  font-size: 0.9rem;
  color: #666;
}

/* 页脚样式 */
.footer {
  background-color: #222;
  color: #aaa;
  padding: 40px 0;
  font-size: 0.9rem;
  margin-top: 50px;
}

.footer-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info {
  margin-bottom: 15px;
  line-height: 1.8;
}

.footer-info p {
  margin-bottom: 8px;
}

.footer-info p:last-child {
  margin-bottom: 0;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: #999;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .main-content {
      grid-template-columns: 1fr;
  }
  
  .header-content {
      flex-direction: column;
      gap: 15px;
  }
  
  .nav {
      width: 100%;
      justify-content: center;
  }
  
  .hero {
      height: 300px;
  }
  
  .products-grid {
      grid-template-columns: 1fr;
  }
  
  .carousel-control {
      width: 30px;
      height: 30px;
      font-size: 0.8rem;
  }
}