@import "init.css";


.container {
   width: 90%;
   margin: 0 auto;
}

.indexbanner,
.ad {
   width: 100% !important;
   margin: 50px auto 0;
   height: auto;
   overflow: hidden;
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   transform: translateZ(0);
}

.indexbanner img,
.ad img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

/* 当前活动幻灯片 */
.indexbanner .swiper-slide-active img,
.ad .swiper-slide-active img {
   opacity: 1;
   transform: scale(1);
   z-index: 2;
   animation: smoothZoom 1s ease-out forwards;
   width: 100%;
   object-fit: cover;
}

/* 上一张幻灯片 */
.indexbanner .swiper-slide-prev img,
.ad .swiper-slide-prev img {
   opacity: 1;
   transform: scale(1);
   z-index: 1;
   width: 100%;
   object-fit: cover;
}

/* 下一张幻灯片初始状态 */
.indexbanner .swiper-slide-next img,
.ad .swiper-slide-next img {
   opacity: 0;
   transform: scale(1.4);
   z-index: 2;
}

@keyframes smoothZoom {
   0% {
      transform: scale(1.4);
      opacity: 0.4;
   }

   100% {
      transform: scale(1);
      opacity: 1;
   }
}


.ad {
   position: relative;
   max-height: 650px;
}

.adbanner{
   background-color: black;
}

.ad .slogn {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   z-index: 5;
   width: 80%;
   text-align: center;
}

.ad .text1 {
   font-size: clamp(5rem, 3.3113rem + 3.518vw, 7.5rem);
   color: transparent;
   -webkit-text-stroke: 0.8px var(--text-lightyellow);
   text-stroke: 0.8px var(--text-lightyellow);
   text-align: left;
   transition: color 0.8s ease-out,
      -webkit-text-stroke 0.5s ease;
   padding: 0;
   margin: 0;
   line-height: 0.85;
   text-transform: uppercase;
   text-align: center;
   z-index: 10;
}

.ad:hover .text1 {
   color: #eae5da !important;
   -webkit-text-stroke: 0.8px transparent !important;
   cursor: pointer;
}

.ad .text2 {
   color: var(--text-lightyellow);
   margin-top: 15px;
   letter-spacing: 9px;
}

.ad .ad-btn {
   display: inline-block;
   width: 180px;
   height: 52px;
   line-height: 52px;
   border-radius: 52px;
   background-color: var(--text-lightyellow);
   margin: clamp(50px, 5vw, 100px) auto 0;
   transition: transform 0.3s ease;
}

.ad .iconfont {
   display: inline-block;
   transition: transform 0.3s ease;
   animation: moveRight 1.1s infinite linear;
   font-size: clamp(12px,1vw,14px);
}



/* 定义动画 */
@keyframes moveRight {
   0% {
      transform: translateX(0);
   }

   50% {
      transform: translateX(10px);
      /* 向右偏移 */
   }

   100% {
      transform: translateX(0);
   }
}




section {
   margin-top: 125px;
}

/*大标题*/
.big-title {
   width: 100%;
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   padding: 95px 0 100px;
}

.big-title .box {
   display: flex;
   align-items: flex-end;
}

.big-title .enbannertext {
   font-size: clamp(5rem, 3.3113rem + 3.518vw, 7.5rem);
   color: transparent;
   -webkit-text-stroke: 0.8px var(--text-yellow);
   text-stroke: 0.8px var(--text-yellow);
   text-align: left;
   transition:
      color 0.8s ease-out,
      -webkit-text-stroke 0.5s ease;
   padding: 0;
   margin: 0;
   line-height: 0.85;
   text-transform: uppercase;
}

.big-title .cnbannertext {
   font-size: clamp(1rem, 0.6623rem + 0.7036vw, 1.5rem);
   color: var(--text-yellow);
   display: flex;
   position: relative;
   line-height: 1.2;

}

.big-title .divider {
   width: 1px;
   background-color: var(--text-yellow);
   opacity: 1;
   align-self: stretch;
   margin: 0 26px;
}

/*关于我们*/
.intro {
   width: 100%;
   padding: 0 5%;
   background-color: #e2dbcd;
   margin-top: 0;
}

.introbox {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-bottom: 130px;
   background: url('../images/aboutbg.png') no-repeat right bottom 230%;

}

.intro .left {
   width: 47%;
   padding-left: 5%;
}

.intro .right {
   width: 45%;
   height: 100%;
   padding-right: 7%;
}

.intro .introtag {
   color: var(--text-subtitle);
   font-size: 12px;
   display: flex;
   justify-content: space-between;
   width: 100%;
   padding: 130px 0;
}

.intro-title {
   color: var(--text-green);
   font-size: clamp(16px, 1vw, 18px);
}

.intro-title p:first-child {
   font-size: clamp(36px, 2.5vw, 40px);
   margin-bottom: 10px;
}

.intro .text {
   font-size: clamp(14px, 1vw, 16px);
   line-height: 2;
   text-align: justify;
}


/*新闻*/
.news {
   width: 100%;
   padding: 0 5%;
   position: relative;
   margin: 0;
}

.news .list-item {
   position: relative;
   overflow: hidden;
   display: block;
}

.news .list-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: all 0.6s;
}

.news .list-item:hover img {
   scale: 1.1;
}

.news .cover {
   aspect-ratio: 500 / 350;
   overflow: hidden;
   position: relative;
}

.news .cover i {
   display: block;
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   z-index: 9;
   background-color: rgba(0, 0, 0, 0.1);
   background-image: url(../images/img38.png);
   background-size: 60px auto;
   background-repeat: no-repeat;
   background-position: center center;
   opacity: 0;
   transition: all 0.6s;
}

.news .list-item:hover i {
   opacity: 1;
}

.news .list-title {
   font-size: clamp(16px, 1vw, 18px);
   line-height: 1.5;
   min-height: calc(2em * 1.5);
   margin: 30px 0;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
}

.view-more {
   display: flex;
   align-items: center;
   cursor: pointer;
   justify-content: space-between;
}

.view-more .view-date {
   font-size: clamp(14px, 1vw, 16px);
   color: #005b57;
}

.view-more .view-text {
   font-size: clamp(12px, 1vw, 14px);
   color: #005b57;
}

.view-line {
   height: 1px;
   width: 50%;
   background-color: #becac2;
   margin: 0 10px 0 auto;
   position: relative;
   overflow: hidden;
}

.more-btn {
   display: block;
   padding: 10px 20px;
   line-height: 1;
   border-radius: 52px;
   background-color: var(--vigreen);
   color: #eeeae1;
   font-size: 16px;
   text-align: center;
   transition: background-color 0.8s;
   position: relative;
   text-decoration: none;
   overflow: hidden;
}



/*产品系列*/
.product {
   width: 90%;
   position: relative;
   margin: 0 auto;
}

.producttext {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   width: 90%;
   margin: 120px auto 90px;
}

.producttext .ltext {
   text-align: center;
   margin: 0 auto;

}

.producttext .ltext .t1 {
   font-size: clamp(20px, 1.5vw, 24px);
   color: var(--text-yellow);
   letter-spacing: 10px;
}

.producttext .ltext .t2 {
   font-size: clamp(16px, 1vw, 19px);
   margin-top: 40px;
   line-height: 1.75;
}

.product .box {
   width: 100%;
}

.product .list-item {
   position: relative;
   display: block;
   overflow: hidden;
   cursor: pointer;
}

.product .list-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: scale 0.6s;
}

.product .list-item .cover {
   width: 100%;
   position: relative;
}

.product .list-item:hover .cover img {
   scale: 1.1;
}

.product .list-title {
   position: relative;
   color: white;
}

.product .list-title .left {
   position: absolute;
   left: 50%;
   bottom: 20px;
   font-size: clamp(14px, 1vw, 16px);
   line-height: 1.3;
   transform: translateX(-50%);
   display: flex;
   align-items: center;
   flex-direction: column;
   width: 90%;
}

.product .list-title .left .enname {
   font-size: clamp(20px, 1.2vw, 24px);
}


.prodswiper-prevbutton {
   font-family: "iconfont" !important;
   font-size: 36px;
   left: 10px !important;
   top: 47% !important;
   color: white !important;
   position: absolute;
   margin-top: 0 !important;
   z-index: 20;
   cursor: pointer;
   transition: all 0.6s;
}

.prodswiper-nextbutton {
   font-family: "iconfont" !important;
   font-size: 36px;
   right: 10px !important;
   top: 47% !important;
   color: white !important;
   position: absolute;
   margin-top: 0 !important;
   z-index: 20;
   cursor: pointer;
   transition: all 0.6s;
}

.prodswiper-prevbutton::before {
   content: "\e850";
}

.prodswiper-nextbutton::before {
   content: "\e84f";
}

.idxtxt {
   width: 100%;
   text-align: center;
   padding: 210px 0;
   display: inline-block;
}

.idxtxt img {
   width: 134px;
   height: 200px;
}

.viewall-btn {
   margin: 86px auto;
}


/* 响应式布局 */
@media (max-width: 1280px) {

   .list-container {
      grid-template-columns: repeat(2, 1fr);
      margin-top: 70px;
      grid-row-gap: 80px;
   }
}

@media (max-width: 767px) {

   .indexbanner,
   .adbanner {
      height: 6rem;
   }

   .indexbanner img {
      height: 6rem;
   }

   .ad .text1 {
      font-size: 1rem;
   }

   .ad .text2 {
      font-size: 0.26rem;
      letter-spacing: 0px;
   }

   .ad .ad-btn {
      display: inline-block;
      width: 150px;
      height: 45px;
      line-height: 45px;
      border-radius: 52px;
      background-color: var(--text-lightyellow);
      margin: 0.8rem auto 0;
      font-size: 16px;
   }




   section {
      margin-top: 1.8rem;
   }

   .big-title {
      padding: 1rem 0 1rem;
   }

   .big-title .enbannertext {
      font-size: 1.3rem;
   }

   .big-title .cnbannertext {
      font-size: 0.28rem;
   }

   .big-title .divider {
      margin: 0 13px;
   }

   .introbox {
      flex-direction: column;
   }

   .intro .left,
   .intro .right {
      width: 100%;
      padding: 0;
   }

   .intro .text {
      margin-top: 1rem;
   }

   .intro .introtag {
      padding: 1rem 0;
   }

   .introbox {
      padding-bottom: 130px;
      background: url(../images/aboutbg.png) no-repeat right bottom 0%;
   }

	.product .list-item:hover .cover img {
	   scale: 1;
	}
	
   .producttext {
      flex-direction: column;
      width: 100%;
      margin: 1.5rem auto 1.5rem;
   }

   .producttext .ltext,
   .producttext .rtext {
      width: 100%;
   }

   .producttext .ltext .t1 {
      letter-spacing: 0px;
   }

   .producttext .ltext .t2 {
      font-size: 0.26rem;
   }


   .producttext p {
      text-align: center;

   }

   .big-title .enbannertext {
      font-size: 1rem;
   }

   .news .list-title {
      font-size: 0.29rem;
      margin: 22px 0;
   }


   .product-swiper .swiper-slide {
      transition: transform 0.5s;
      transform: scale(0.8)!important;
   }


   .product .list-title .left .enname {
      font-size: 0.35rem;
   }

   .product-swiper .swiper-slide-active{
      transform: scale(1)!important;
      transition: transform 0.5s;
   }

   .more-btn {
      display: block;
      padding: 7px 10px;
      line-height: 1;
      border-radius: 52px;
      background-color: var(--vigreen);
      color: #eeeae1;
      font-size: 0.28rem;
      text-align: center;
      transition: background-color 0.8s;
      position: relative;
      text-decoration: none;
      overflow: hidden;
   }

   .viewall-btn {
      margin: 1.6rem auto;
   }

   .prodswiper-prevbutton,
   .prodswiper-nextbutton {
      font-size: 0.5rem;
   }
}