/* 이우시장 소개 섹션 */
.yiwu-section {
  padding: 100px 0 0;
  margin-top: 30px;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
}

.yiwu-container {
  width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.yiwu-title,
.yiwu-stats,
.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.yiwu-title[data-aos].aos-animate,
.yiwu-stats[data-aos].aos-animate,
.stat-item.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.yiwu-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -1px;
  text-align: center;
  color: #222;
}

.yiwu-stats {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 800px;
}

.stat-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; /* 흐색 배경으로 변경 */
  color: #0066cc; /* 파란색 글씨 */
  border-radius: 30px;
  padding: 8px 20px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
  font-size: 14px;
  letter-spacing: 1px;
  height: 45px; /* 높이 수정 */
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  cursor: pointer;
}

.stat-item:hover,
.stat-item.active {
  background-color: #0066cc;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.stat-number {
  font-size: 14px;
  font-weight: 600;
}

.yiwu-image-grow-container {
  width: 1100px;
  max-width: 80%;
  margin: 0 auto;
  height: 520px; /* 처음 높이 */
  position: relative;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  transition: all 0.5s ease-out; /* width와 height 모두 트랜지션 */
  z-index: 1;
}
.yiwu-image-grow-container .container {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #000;
  &::before {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/lw-market.gif);
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    transition: all 0.5s ease; */
  }
}
.yiwu-image-grow-container .container .video_area {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.5;
}
.yiwu-image-grow-container .container .video_area video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
}

.yiwu-image-grow-container .text_area {
  position: relative;
  visibility: hidden;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.5s ease;
}
.yiwu-image-grow-container.yiwu-image-grow .text_area {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.yiwu-image-grow-container.yiwu-image-grow .container::before {
  opacity: 0.4;
}
.yiwu-image-grow-container .container .small-title {
  font-size: 22px;
  color: #fff;
}

.yiwu-image-grow-container .container .main-title {
  font-size: 60px;
  color: #fff;
}

.yiwu-image-grow-container .container .sub-title {
  font-size: 60px;
  color: #fff;
  font-weight: 700;
}

.yiwu-image-grow {
  width: 95vw; /* 확대된 너비, main-banner와 동일하게 */
  max-width: 1800px;
  height: 90vh; /* 확대된 높이 */
  border-radius: 20px; /* 확대된 후 모든 모서리에 반지름 적용 */
}

.yiwu-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yiwu-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.service-banner-section .slide-up-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.service-banner-section .slide-up-text.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* 반응형 스타일 */
@media (max-width: 1600px) {
  .yiwu-container {
    width: 90%;
  }

  .yiwu-image-grow {
    width: 90%;
  }
}

@media (max-width: 992px) {
  .yiwu-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stat-item {
    width: 80%;
    max-width: 300px;
  }

  .yiwu-section {
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .yiwu-title {
    font-size: 36px;
  }

  .yiwu-image-grow-container {
    height: 120px; /* 처음 높이 모바일용 */
    max-width: 90%;
  }

  .yiwu-image-grow {
    height: 300px; /* 확대된 높이 모바일용 */
  }

  .yiwu-section {
    margin-bottom: 100px;
  }
}

/* 서비스 배너 섹션 */
.service-banner-section {
  background-color: #000;
  color: #fff;
  padding: 150px 0;
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 95vw;
  display: flex;
  justify-content: center;
  align-items: Center;
  max-width: 1800px;
  height: 85vh;
  margin-left: auto;
  margin-right: auto;
}

.service-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/lw-market.png');
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}

.service-banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.service-banner-section .container {
  width: 95vw;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-banner-title-container {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-banner-title-container.aos-animate {
  opacity: 1;
  transition: opacity 0.8s ease;
}

.service-banner-section .small-title {
  font-size: 18px;
  color: #3498db;
  margin-bottom: 20px;
}

.service-banner-section .main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.service-banner-section .sub-title-container {
  margin-top: 40px;
}

.service-banner-section .sub-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 700;
}

.service-banner-section .slide-up-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.service-banner-section .slide-up-text.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* 반응형 스타일 */
@media (max-width: 1600px) {
  .service-banner-section {
    width: 90%;
  }

  .service-banner-section .container {
    width: 85%;
  }
}

@media (max-width: 768px) {
  .service-banner-section {
    padding: 100px 0;
  }

  .service-banner-section .main-title {
    font-size: 36px;
  }

  .service-banner-section .sub-title {
    font-size: 36px;
  }
}

/* 텍스트 흐름 섹션 */
.marquee-section {
  overflow: hidden;
  background-color: #f9f9f900;
  /* padding: 40px 0; */
  margin-top: 60px;
  position: relative;
}

.marquee-container {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-text {
  display: inline-block;
  font-family: 'Pretendard', sans-serif;
  font-size: 150px;
  font-weight: 800;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: -5px;
  animation: marquee 30s linear infinite;
  padding-right: 50px; /* 텍스트 간격 */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 제품 소개 섹션 */
.products-section {
  padding: 80px 0;
  margin-top: 30px;
}

.products-container {
  width: 1570px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.products-text {
  flex: 0 0 550px;
  padding-top: 50px;
}

.products-subtitle {
  color: #ff6b00;
  font-size: 22px;
  font-weight: 700;
  /* margin-bottom: 20px; */
  letter-spacing: -0.5px;
}

.products-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  /* margin-bottom: 30px; */
  letter-spacing: -1px;
}

.products-description {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  color: #666;
  font-size: 22px;
}

.products-price-container {
  display: flex;
  gap: 80px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.price-box {
  position: relative;
}

.price-label {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}

.price-value {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}

.products-images {
  flex: 0 0 900px;
  display: flex;
  gap: 15px;
  position: relative;
}

.product-card {
  flex: 0 0 280px;
  height: 440px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.product-card.active {
  flex: 0 0 500px;
}

.product-card:not(.active) {
  flex: 0 0 190px;
  filter: grayscale(100%);
}

.product-card:not(.active)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.5s ease;
}

/* 반응형 스타일 */
@media (max-width: 1600px) {
  .products-container {
    width: 90%;
  }

  .products-text {
    flex: 0 0 40%;
  }

  .products-images {
    flex: 0 0 55%;
  }
}

@media (max-width: 1200px) {
  .products-container {
    flex-direction: column;
  }

  .products-text {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 50px;
  }

  .products-images {
    flex: 0 0 auto;
    width: 100%;
  }

  .marquee-text {
    font-size: 100px;
  }
}
