/* =============================================
   1. HERO BANNER
   ============================================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s ease;
  transform: scale(1.05);
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
}

.banner-content {
  position: absolute;
  bottom: 15%;
  left: clamp(40px, 6vw, 100px);
  z-index: 2;
  color: #fff;
}

.banner-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.banner-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.banner-cta {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.banner-cta:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

/* Progress bar */
.banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0;
}

.banner-progress-track {
  height: 2px;
  background: rgba(255,255,255,0.15);
}

.banner-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear;
}

/* Indicators */
.banner-indicators {
  position: absolute;
  bottom: 32px;
  right: clamp(40px, 6vw, 100px);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.banner-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* =============================================
   2. COLLECTION CAROUSEL
   ============================================= */
.collection-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--color-white);
  overflow: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.collection-tabs {
  display: flex;
  gap: 4px;
}

.collection-tab {
  padding: 8px 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  position: relative;
}

.collection-tab::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.collection-tab.active {
  color: var(--color-text);
}

.collection-tab.active::after {
  transform: scaleX(1);
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Product card */
.product-card {
  flex: 0 0 clamp(260px, 22vw, 320px);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--color-surface);
}

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

.product-card:hover .product-image img {
  transform: scale(1.03);
}

/* 추천모델 카드 — 홍보컷 없을 때 실조합 합성 미리보기 */
.product-image .imm-preset-composite { position: relative; width: 100%; height: 100%; background: linear-gradient(180deg, #f6f7f8, #eceef1); }
.product-image .imm-preset-composite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.product-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.product-spec {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.product-price {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
}

.price-from {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-right: 4px;
}

/* Carousel arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all 0.2s ease;
  z-index: 5;
}

.carousel-btn:hover {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.carousel-prev { left: clamp(8px, 2vw, 20px); }
.carousel-next { right: clamp(8px, 2vw, 20px); }

/* =============================================
   3. BRAND STORY
   ============================================= */
.brand-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand-visual {
  position: relative;
  overflow: hidden;
}

.brand-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(255,255,255,0.08) 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 100px);
  background: var(--color-surface);
}

.brand-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.brand-heading {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.brand-desc {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
  max-width: 420px;
}

/* =============================================
   4. EDITORIAL / POSTER
   ============================================= */
.editorial-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--color-white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  min-height: 560px;
}

.editorial-large,
.editorial-small {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.editorial-large img,
.editorial-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.editorial-large:hover img,
.editorial-small:hover img {
  transform: scale(1.03);
}

.editorial-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editorial-small {
  flex: 1;
}

.editorial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  color: #fff;
}

.editorial-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}

.editorial-overlay h3 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  line-height: 1.5;
}

/* =============================================
   5. CUSTOMIZE CTA
   ============================================= */
.cta-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--color-surface);
}

.cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

.cta-images {
  flex: 0 0 320px;
  aspect-ratio: 1;
  position: relative;
  transition: transform 0.6s ease;
}

.cta-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-dial  { z-index: 1; }
.cta-strap { z-index: 2; }
.cta-case  { z-index: 3; }

.cta-images:hover {
  transform: scale(1.04);
}

.cta-text {
  flex: 1;
}

.cta-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.cta-heading {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .brand-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand-visual {
    height: 50vw;
    min-height: 280px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .editorial-large {
    min-height: 300px;
  }

  .editorial-stack {
    flex-direction: row;
  }

  .editorial-small {
    min-height: 220px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-images {
    flex: none;
    width: 260px;
  }

  .section-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .banner-content {
    bottom: 20%;
    left: 24px;
    right: 24px;
  }

  .banner-indicators {
    right: 24px;
  }

  .editorial-stack {
    flex-direction: column;
  }

  .editorial-small {
    min-height: 200px;
  }

  .product-card {
    flex: 0 0 240px;
  }

  .cta-images {
    width: 200px;
  }

  .carousel-btn {
    display: none;
  }
}

/* ===== 갤러리(커뮤니티) 미리보기 섹션 ===== */
.home-gallery { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 40px 40px 20px; }
.home-gallery-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.home-gallery .section-label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-text-secondary, #555); margin: 0; }
.home-gallery .section-heading { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; letter-spacing: 0.01em; margin: 0; }
.home-gallery-more { margin-left: auto; font-size: 0.82rem; color: var(--color-text-secondary, #555); transition: var(--transition, .2s ease); }
.home-gallery-more:hover { color: var(--color-text, #222); }

.home-gal-grid { columns: 4; column-gap: 14px; }
.home-gal-card { display: block; position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: 12px; overflow: hidden; }
.home-gal-card img { width: 100%; height: auto; display: block; border-radius: 12px; transition: transform .5s ease; }
.home-gal-card:hover img { transform: scale(1.05); }
.home-gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 0.8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.6)); opacity: 0; transition: opacity .3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-gal-card:hover .home-gal-cap { opacity: 1; }

@media (max-width: 1024px) { .home-gal-grid { columns: 3; } }
@media (max-width: 768px) { .home-gallery { padding: 30px 20px 10px; } .home-gal-grid { columns: 2; } }
