/* 全局样式初始化 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

/* 全屏滚动模块主容器 */
.fullscreen-scroll {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #000; /* 兜底背景色，防止底图加载问题 */
}

/* 固定底图样式，可替换为实际底图 */
.fixed-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/baner01.jpg') no-repeat center center / cover; 
  z-index: 1;
}

/* 产品图滚动容器 */
.product-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
  z-index: 2;
}
.more-dw{
margin-top: 20px;
}
.more-color{
color: #fff;
text-decoration: none;
}


/* 单个产品图容器 */
.slider-item {
  flex: 0 0 100%;
  height: 100%;
  display: none; 
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

/* 激活状态的产品图显示 */
.slider-item.active {
  display: block;
}

/* 左侧产品信息容器 */
.product-info {
  position: absolute;
  top: 30px;
  left: 430px;
  z-index: 3;
  color: #fff;
  /*max-width: 450px;*/
}

/* 单个产品信息项 */
.info-item {
  display: none;
  margin-bottom: 20px;
}

.info-item.active {
  display: block;
}

/* 控制按钮样式 */
.control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
  transition: background-color 0.3s ease;
}

.control-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

/* 底部页码样式 */
.pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.page-item {
  width: 30px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 12px;
  padding-bottom: 14px;
}

.page-item.active {
  background-color: #fff;
}

/* 手机端自适应 */
@media (max-width: 768px) {
  .product-info {
    left: 20px;
   /* max-width: 220px;*/
  }

  .control-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}