/* ==========================================
   GEUMCHANG MONORAIL - main.css v4
   히어로 Swiper 페이드 / 제품 Swiper 가로
   ========================================== */

/* ==========================================
   HERO - Swiper 페이드 전환
   ========================================== */
.gc-hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  max-height: 900px;
  overflow: hidden;
}
/* Swiper 기본 세팅 */
.gc-hero .swiper,
.gc-hero .swiper-wrapper,
.gc-hero .swiper-slide { width: 100%; height: 100%; }

.gc-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.swiper-slide-active .gc-hero__bg { transform: scale(1); }

/* 다크 오버레이 */
.gc-hero .swiper-slide::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(14, 22, 64, 0.80) 0%,
    transparent 55%,
    transparent 100%
  );
}

.gc-hero__content {
  position: absolute;
  bottom: 120px; left: 20px; right: 20px;
  z-index: 2;
}
.gc-hero__sub {
  font-size: 14px; color: rgba(255,255,255,0.78);
  margin-bottom: 14px; word-break: keep-all;
}
.gc-hero__title {
  font-size: clamp(30px, 5.5vw, 60px);
  font-weight: 700; color: #fff;
  line-height: 1.15; margin-bottom: 16px;
  letter-spacing: -0.03em; word-break: keep-all;
}
.gc-hero__desc {
  font-size: clamp(14px, 1.8vw, 22px);
  color: rgba(255,255,255,0.82); word-break: keep-all;
}

/* 슬라이더 컨트롤 */
.gc-hero__controls {
  position: absolute;
  bottom: 0px; left: 20px; right: 20px;
  z-index: 10;
  display: flex; align-items: center; gap: 0px;
  background:#fff;
}
.gc-hero__btn {
  width: 90px; height: 90px;
  border: 1.5px solid rgba(255,255,255,0.55); /*border-radius: 50%;*/
  color: #4c4c4c;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--gc-dur), border-color var(--gc-dur);
}
.gc-hero__btn:hover { background: #08369d; border-color: #08369d; color:#fff;}
.gc-hero__btn svg { width: 50px; height: 50px; }
.gc-hero__progress-wrap {
  flex: 1; height: 3px;
  background: rgba(238,238,238,1);
  border-radius: 1px; overflow: hidden;margin-left:30px;
}
.gc-hero__progress-bar {
  height: 100%; background: #374971;
  width: 0%; transition: width 0.08s linear;
}
.gc-hero__counter {margin-left:30px;
  font-size: 18px; color:#ccc;
  white-space: nowrap; letter-spacing: 0.06em;margin-right:30px;
}
.gc-hero__counter #heroCurrent {font-size: 20px; color:#000;font-weight:bold;}

/* ==========================================
   INTRO - 소방모노레일 (마스크 리빌)
   ========================================== */
.gc-intro { padding-top: 150px; padding-bottom: 0; }
.gc-intro__header {
  display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px;
}
.gc-intro__text { flex: 1; }
.gc-intro__title {
  font-size: clamp(18px, 2.4vw, 35px); font-weight: 700;
  line-height: 1.55; color: var(--gc-text-dark); word-break: keep-all;
}
/* 마스크 리빌: 왼쪽(텍스트 시작점) → 오른쪽 풀블리드 */
.gc-intro__image-outer {
  padding-left: 20px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.gc-intro__image-outer.is-visible { clip-path: inset(0 0% 0 0); }
.gc-intro__image-outer img {
  width: 100%; aspect-ratio: 16/6; object-fit: cover; display: block;
}

/* ==========================================
   BANNER ROW
   ========================================== */
.gc-banner-row { padding: 150px 0px; }
.gc-banner-row__grid {
  display: grid; grid-template-columns: 1fr;
  /*border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;*/
}
.gc-banner-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0; border-bottom: 1px solid #e5e7eb;
  transition: background var(--gc-dur); cursor: pointer;
}
.gc-banner-card:last-child { border-bottom: none; }
.gc-banner-card:hover { background: #f9fafb; }
.gc-banner-card__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.gc-banner-card__desc { font-size: 18px; color: var(--gc-text-gray); line-height: 1.65; word-break: keep-all; }
.gc-banner-card__btn {
  width: 42px; height: 42px;
  border: 1.5px solid var(--gc-text-dark); /*border-radius: 50%;*/
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 16px;
  transition: background var(--gc-dur), color var(--gc-dur), border-color var(--gc-dur);
}
.gc-banner-card__btn svg { width: 16px; height: 16px; }
.gc-banner-card:hover .gc-banner-card__btn { background: var(--gc-navy); border-color: var(--gc-navy); color: #fff; }

/* ==========================================
   PRODUCT FEATURE
   메인이미지(위) + 썸네일 Swiper(아래, 가로)
   ========================================== */
.gc-product-feature { /*background: var(--gc-bg-light);*/ padding:0px;}
.gc-product-feature__grid { display: flex; flex-direction: column; gap: 40px; }

/* 이미지 컬럼 */
.gc-product-feature__image-col {
  flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}

/* 메인 이미지 */
.gc-product-feature__main-wrap { overflow: hidden; background: #e5e7eb; }
.gc-product-feature__main-wrap img {
  width: 100%; aspect-ratio: 3.5/3; object-fit: cover; display: block;
  transition: opacity 0.3s ease;
}

/* 썸네일 Swiper */
.gc-product-thumb-swiper {
  width: 100%;
  overflow: hidden; /* Swiper 필수 */
}
.gc-product-thumb-swiper .swiper-slide {
  width: auto !important; /* 가로 자동 */
}
.gc-product-feature__thumb {
  display: block;
  width: 70px;
  /*aspect-ratio: 1;*/
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  opacity: 1;
  transition: border-color var(--gc-dur), opacity var(--gc-dur);
}
/*.gc-product-feature__thumb.is-active,*/
.gc-product-feature__thumb:hover {
  border-color: var(--gc-blue); opacity: 1;
}
/*.gc-product-thumb-swiper .swiper-slide.swiper-slide-active:after {font-family:"xeicon";content:'\e929';position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);font-size:20px;color:#fff;border:solid 2px #fff;border-radius:100%;width:30px;height:30px;text-align:center;}
.gc-product-thumb-swiper .swiper-slide.swiper-slide-active:before {content:'';position:absolute;left:0px;top:0px;width:100%;height:100%;background:#08369d;opacity:50%;}*/
/* is-active인 img의 부모 swiper-slide에 효과 */
.gc-product-thumb-swiper .swiper-slide:has(img.is-active)::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: #08369d;
  opacity: 0.5;
}
.gc-product-thumb-swiper .swiper-slide:has(img.is-active)::after {
  font-family: "xeicon";
  content: '\e929';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #fff;
  border: solid 2px #fff;
  border-radius: 100%;
  width: 30px; height: 30px;
  text-align: center;
  line-height: 26px;
}
/* swiper-slide에 position 필요 */
.gc-product-thumb-swiper .swiper-slide {
  position: relative;height:100px;overflow:hidden;
}
/* 텍스트 컬럼 */
.gc-product-feature__content { flex: 1; }
.gc-product-feature__title {
  font-size: clamp(22px, 3.5vw, 34px); font-weight: 700;
  line-height: 1.38; color: var(--gc-text-dark);
  margin-bottom: 18px; word-break: keep-all;
}
.gc-product-feature__desc {
  font-size: clamp(14px, 1.3vw, 18px); color: var(--gc-text-gray);
  line-height: 1.5; margin-bottom: 28px; word-break: keep-all;
}

/* ==========================================
   KNOWHOW
   ========================================== */
.gc-knowhow { position: relative; overflow: hidden; padding: 170px 0; margin-top:150px;}
.gc-knowhow__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; filter: brightness(0.28);
}
.gc-knowhow__content { position: relative; z-index: 1; }
.gc-knowhow__title {
  font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: #fff;
  line-height: 1.42; margin-bottom: 32px; word-break: keep-all;
}

/* ==========================================
   반응형
   ========================================== */
@media (min-width: 768px) {
  .gc-hero__content { left: 40px; }
  .gc-hero__controls { left: 40px; right: 40px; bottom: 56px; }
  .gc-intro__header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .gc-banner-row__grid { grid-template-columns: 1fr 1fr; }
  .gc-banner-card { border-bottom: none; border-right: 1px solid #e5e7eb; padding: 40px 100px; }
  .gc-banner-card:last-child { border-right: none; }
  .gc-product-feature__grid { flex-direction: row; align-items: flex-start; gap: 100px;position:relative; }
  .gc-product-feature__image-col { flex: 1.2; }
  .gc-product-feature__content { flex: 1; padding-top: 0px; }
  .gc-product-feature__thumb { width: 80px; }
  .gc-product-thumb-swiper {position:absolute;right:-650px;bottom:60px;width:auto;}
}
@media (min-width: 1024px) {
  .gc-hero__content {
    bottom: 160px;
    left: calc((100vw - var(--gc-wrap)) / 2 + 20px);
    max-width: 700px;
  }
  .gc-hero__controls {
    bottom: 0px;
    left: calc((100vw - var(--gc-wrap)) / 2 + 20px);
    right: auto; width: 500px;
  }
  .gc-intro__image-outer {
    padding-left: calc((100vw - var(--gc-wrap)) / 2 + 20px);
  }
  .gc-intro__image-outer img { aspect-ratio: 16/5; }
  .gc-product-feature__thumb { width: 124px; }
}
@media (max-width: 1024px) {

/*메인*/
.gc-hero {height:70vh}
.gc-hero__controls {left:0px;right:0px}
.gc-hero__progress-wrap, .gc-hero__counter {display:none;}
.gc-hero__controls {background:none;}
.gc-hero__btn {background:#fff;width:70px;height:70px;}
.gc-hero__btn svg {width:30px;}

.gc-intro {padding-top:80px;}
.gc-banner-row {padding:60px 0px;}
.gc-knowhow {margin-top:80px;padding:80px 0px;}



}
































