/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: #f5f5f5;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

/* 导航栏样式 */
header{
    width: 100%;
    height: 50px;
    background-color:#2056AE;
    position: fixed;
    z-index: 1000;
}
.zyou{display: flex;flex-direction: row;justify-content: space-between;width: 80%;margin: auto;}
.logo{width: 130px;height: 50px;}
.lo{width: 130px;height: 50px;}
.box{
    width: 40%;
    height: 50px;
    margin: auto;
}
ul,li{padding: 0;margin: 0;list-style: none;}
a{text-decoration: none;}
.nav{ 
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}  
.nav a{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    height: 100%; 
    text-align: center;
    color: #F0F0E6;
    font-size: 18px;
    
}
.nav .item{
    width: 20%;
    height: 100%;
    position: relative;
}
.list{
    position: absolute;
    width: 100%;
    overflow: hidden;
    max-height: 0px;
    transition: .4s;
    border-radius: 0 0 8px 8px;
    background-color:  #3E7ADA;
}
.ej{height: 50px;}
.ej a{color:#F0F0E6 ;}
.ej a:hover{color: #D4AF37;}
.nav>.item:hover{
    background-color: #3E7ADA;
}
.nav>.item:hover>.list{
    max-height: 100px;
}
.ej:hover{
    background-color: #3E7ADA;
}

/* 轮播图样式 */
.datu {
  width: 100%;
  max-height: 780px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  width: 500%;
  animation: slide 15s infinite;
}

.slides img {
  width: 20%;
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-20%);
  }

  45% {
    transform: translateX(-20%);
  }

  50% {
    transform: translateX(-40%);
  }

  70% {
    transform: translateX(-40%);
  }

  75% {
    transform: translateX(-60%);
  }

  95% {
    transform: translateX(-60%);
  }

  100% {
    transform: translateX(-80%);
  }
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
  display: flex;
}

.carousel-indicators div {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin: 0 5px;
  transition: background-color 0.5s;
}

.carousel-indicators div:nth-child(1) {
  animation: indicator 15s infinite;
}

.carousel-indicators div:nth-child(2) {
  animation: indicator 15s infinite 3s;
}

.carousel-indicators div:nth-child(3) {
  animation: indicator 15s infinite 7s;
}

.carousel-indicators div:nth-child(4) {
  animation: indicator 15s infinite 11s;
}

@keyframes indicator {
  0%,
  20% {
    background-color: #2056ae;
  }

  25%,
  100% {
    background-color: #fff;
  }
}

/* 制作工艺和作品展示模块样式 */
.process-section,
.works-section {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
  color: #2056ae; /* 大标题颜色与主题色一致 */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #bfa181;
}

.process-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.process-item {
  width: 30%;
  text-align: center;
  margin-bottom: 30px;
}

.process-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  border: 2px solid #bfa181;
}

.process-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-number {
  font-size: 24px;
  font-weight: bold;
  color: #bfa181;
  margin-bottom: 5px;
}

.process-name {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-desc {
  color: #666; /* 灰色字体 */
}

/* 作品展示模块样式 */
.works-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.work-item {
  width: 28%;
  background-color: #fff;
  border: 1px solid #e6d9c8;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.work-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #2056ae; /* 标题颜色与主题色一致 */
}

.work-desc {
  margin-bottom: 15px;
  color: #666; /* 灰色字体 */
}

.work-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 版尾样式 */
.banwei {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: #fff;
  font-size: 15px;
  width: 100%;
  height: 100px;
  background-color: #2056ae;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .box {
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 14px;
    padding: 0 10px;
  }

  .process-item {
    width: 100%;
  }

  .work-item {
    width: 100%;
  }
}