body {
  margin: 0;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
}

header {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
}

.slider img {
  width: 100%;
  height: auto;
  display: none;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  display: block;
  opacity: 1;
}

.about {
  padding: 20px;
  background-color: #fff;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.about.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
}
/* 产品展示模块样式 */
.product-gallery {
  padding: 20px;
  background-color: #fff;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-gallery h2 {
  text-align: center;
  margin-bottom: 20px;
}

.gallery {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.gallery-main {
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
}

.gallery-main img {
  margin-left: 20%;
  width: 40%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gallery-thumbnails img {
  width: 100px;
  height: auto;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.gallery-thumbnails img:hover {
  transform: scale(1.1);
}

.gallery-thumbnails img.active {
  border: 2px solid #333;
}
