/**
 * BizQuick X 1688 — Hero Carousel Styles
 * 슬라이드 배너 캐러셀 스타일
 */

/* ============================================
   Carousel (슬라이드 배너)
   ============================================ */
.bq-carousel { position: relative; }
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 40px 48px;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.carousel-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.carousel-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244,124,32,.82) 0%, rgba(255,154,74,.65) 50%, rgba(255,179,102,.45) 100%);
}
.carousel-slide .banner-content {
  position: relative;
  z-index: 2;
}

/* CTA 버튼 */
.banner-cta {
  display: inline-block;
  margin-top: 18px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.35);
  transition: all .25s;
  text-decoration: none;
}
.banner-cta:hover {
  background: #fff;
  color: var(--bq-primary);
  transform: translateY(-1px);
}

/* Navigation arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  font-size: .9rem;
  opacity: 0;
}
.bq-carousel:hover .carousel-nav { opacity: 1; }
.carousel-nav:hover {
  background: rgba(255,255,255,.35);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
  z-index: 4;
  border-radius: 0 0 var(--bq-radius) var(--bq-radius);
  overflow: hidden;
}
.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width .1s linear;
}
.carousel-progress-bar.animating {
  animation: progressFill 3s linear forwards;
}
@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* 캐러셀 모드에서는 flex 해제 */
.bq-hero-banner.bq-carousel {
  display: block;
  padding: 0;
}
