/* ==========================================
   GEUMCHANG MONORAIL - common.css v4
   Pretendard / GNB 항목별 언더라인
   ========================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --gc-black:     #000000;
  --gc-white:     #ffffff;
  --gc-navy:      #08369d;
  --gc-blue:      #08369d;
  --gc-blue-lt:   #4a7fd4;
  --gc-text-dark: #111827;
  --gc-text-mid:  #374151;
  --gc-text-gray: #6b7280;
  --gc-text-gray2: #cccccc;
  --gc-bg-white:  #ffffff;
  --gc-bg-light:  #f9fafb;
  --gc-bg-dark:   #111827;
  --gc-bg-footer: #0f172a;
  --gc-wrap:      1320px;
  --gc-header-h:  118px;
  --gc-font:      'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --gc-ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --gc-dur:       0.3s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--gc-font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gc-text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; }

.gc-wrap {
  width: 100%;
  max-width: var(--gc-wrap);
  margin: 0 auto;
  padding: 0px 20px;
}
.gc-section { padding: 80px 0; }

.gc-label {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--gc-blue);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.gc-label--light { color: rgba(255,255,255,0.75); }

.gc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--gc-font);
  border-radius: 2px;
  transition: background var(--gc-dur) var(--gc-ease),
              color var(--gc-dur) var(--gc-ease),
              border-color var(--gc-dur) var(--gc-ease);
  white-space: nowrap;
}
.gc-btn--dark    { background: var(--gc-text-dark); color: #fff; }
.gc-btn--dark:hover { background: var(--gc-navy); }
.gc-btn--outline { border: 1.5px solid var(--gc-navy); color: var(--gc-navy); }
.gc-btn--outline:hover { background: var(--gc-navy); color: #fff; }
.gc-btn--ghost   { border: 1.5px solid rgba(255,255,255,0.65); color: #fff; }
.gc-btn--ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ==========================================
   HEADER
   기본: 파란 그라데이션 (메인·서브 모두 이미지 위에 겹침)
   스크롤: 흰 배경
   ========================================== */
.gc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--gc-header-h);border-bottom:solid 1px rgba(255,255,255,0.4)
}
.gc-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.gc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--gc-wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.gc-header__logo img { height: 46px; width: auto; }

/* 로고 전환: 기본=흰색, 스크롤 후=컬러 */
.gc-logo--light { display: block; }
.gc-logo--dark  { display: none;  }

.gc-header.is-scrolled .gc-logo--light { display: none;  }
.gc-header.is-scrolled .gc-logo--dark  { display: block; }
/* GNB - PC */
.gc-gnb { display: none; }
.gc-gnb__list { display: flex; }
.gc-gnb__item {
  position: relative;
}
.gc-gnb__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,54,157,0.58) 0%,
    rgba(8,54,157,0.00) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0; /* 배경은 가장 아래 */
}
.gc-gnb__item:hover::before {
  opacity: 1;
}
.gc-gnb__link {
  display: block;
  padding: 0 22px;
  height: var(--gc-header-h);
  line-height: var(--gc-header-h);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  position: relative;
  z-index: 1; /* 글씨는 배경 위 */
  background: transparent;
  transition: color var(--gc-dur) var(--gc-ease);
}
/* 언더라인 - 위쪽 */
.gc-gnb__link::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; right: 50%;
  height: 3px;
  background: #08369d;
  transition: left var(--gc-dur) var(--gc-ease),
              right var(--gc-dur) var(--gc-ease);
}
/* ✅ 라인 넓이 = 배경(item) 넓이와 동일하게 0으로 맞춤 */
.gc-gnb__link:hover::after,
.gc-gnb__link--active::after { left: 0; right: 0; }
.gc-gnb__link--active {background: linear-gradient(
    180deg,
    rgba(8,54,157,0.58) 0%,
    rgba(8,54,157,0.00) 100%
  );
  }
/* 스크롤 후 링크 색 전환 */
.gc-header.is-scrolled .gc-gnb__link { color: var(--gc-text-dark); }
.gc-header.is-scrolled .gc-gnb__link::after { background: var(--gc-blue); }
.gc-header.is-scrolled .gc-gnb__link:hover,
.gc-header.is-scrolled .gc-gnb__link--active { color: var(--gc-black); }_link:hover,
.gc-header.is-scrolled .gc-gnb__link--active { color: var(--gc-black); }

/* ==========================================
   HAMBURGER
   ========================================== */
.gc-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 5px;
  z-index: 1001;
  position: relative;
}
.gc-header__hamburger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
  transition: transform var(--gc-dur) var(--gc-ease),
              opacity var(--gc-dur) var(--gc-ease),
              background var(--gc-dur);
}
.gc-header.is-scrolled .gc-header__hamburger span { background: var(--gc-text-dark); }
.gc-header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gc-header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.gc-header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   DRAWER
   ========================================== */
.gc-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s var(--gc-ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.gc-drawer.is-open { transform: translateX(0); }
.gc-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  height: var(--gc-header-h);
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.gc-drawer__logo img { height: 42px; }
.gc-drawer__close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--gc-text-dark); line-height: 1;
}
.gc-drawer__nav { flex: 1; }
.gc-drawer__list { padding: 8px 0; }
.gc-drawer__item { border-bottom: 1px solid #f0f0f0; }
.gc-drawer__item--active .gc-drawer__link,
.gc-drawer__link--active { background: var(--gc-navy); color: #fff; }
.gc-drawer__link {
  display: block;
  padding: 18px 24px;
  font-size: 17px; font-weight: 600;
  color: var(--gc-text-dark);
  text-align: center;
  transition: color var(--gc-dur), background var(--gc-dur);
}
.gc-drawer__link:hover { color: var(--gc-blue); }
.gc-drawer__tel {
  margin: 20px 24px;
  border: 1.5px solid #d1d5db;
  border-radius: 2px;
  padding: 14px;
  text-align: center;
  font-size: 15px; font-weight: 600;
  color: var(--gc-text-dark);
}
.gc-drawer__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s var(--gc-ease), visibility 0.35s var(--gc-ease);
}
.gc-drawer__overlay.is-show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* ==========================================
   FOOTER
   ========================================== */
.gc-footer__top { background: var(--gc-bg-dark); padding: 0px 0; }
.gc-footer__top-inner { display: flex; flex-direction: column; gap: 20px;padding:80px 0px 45px;border-bottom:solid 1px rgba(255,255,255,0.1); }
.gc-footer__cta-label { font-size: 20px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.gc-footer__cta-tel { font-size: 35px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.gc-footer__logo img { height: 44px; }
.gc-footer__bottom { background: var(--gc-bg-footer); padding: 22px 0; }
.gc-footer__bottom-inner { display: flex; flex-direction: column; gap: 12px; padding:45px 0px 65px; }
.gc-footer__info { font-size: 18px; color: rgba(255,255,255,0.45); line-height: 1.9; }
.gc-footer__links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.gc-footer__links a { font-size: 18px; color: rgba(255,255,255,0.6); transition: color var(--gc-dur); }
.gc-footer__links a:hover { color: #fff; }
.gc-footer__copy { font-size: 18px; color: rgba(255,255,255,0.35); text-align:right;}

/* ==========================================
   TOP 버튼
   ========================================== */
.gc-totop {
  position: fixed;
  bottom: 40px; right: 20px;
  width: 70px; height: 70px;
  border-radius: 0px;
  background: var(--gc-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.3s ease;
}
.gc-totop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.gc-totop svg { width: 30px; height: 30px; }
.gc-totop:hover { background: var(--gc-navy); }

/* ==========================================
   서브 히어로 - 헤더 겹침
   ========================================== */
.gc-sub-hero {
  position: relative;
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gc-sub-hero__bg {
  position: absolute; inset: 0;
  


  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,54,157,0.7) 0%,
    rgba(8,54,157,0.0) 100%
  );

  pointer-events: none;
  z-index: 0;
  background-size: cover; background-position: center;

}
.gc-sub-hero__title {
  position: relative; z-index: 1;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700; color: #fff;
  letter-spacing: 0.02em;
}
.gc-sub-content {
  background: #fff; position: relative; z-index: 2;
  max-width: 1320px;
  margin: -40px auto 80px;
  padding: 50px 40px;
  /*box-shadow: 0 4px 40px rgba(0,0,0,0.08);*/
}

/* ==========================================
   반응형
   ========================================== */
@media (min-width: 768px) {
  .gc-section { padding: 100px 0; }
  .gc-footer__top-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .gc-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .gc-footer__info {flex:2;}
  .gc-footer__links { justify-content: flex-end; flex:1;}
  .gc-sub-hero { height: 320px; }
}
@media (min-width: 1024px) {
  .gc-gnb { display: block; }
  .gc-header__hamburger { display: none; }
  .gc-totop { right: 40px; }
  .gc-sub-hero { height: 620px; }
}



@media (max-width: 1024px) {

.gc-header {height:75px;}
.gc-header__logo img {height:35px;}
.gc-footer__cta-tel {font-size:20px;}
.gc-footer__info {font-size:15px;}
.gc-footer__copy {font-size:15px;}
.gc-footer__links a {font-size:15px;}

.gc-sub-hero {height:400px;}


.gc-totop {
  
  bottom: 40px; right: 20px;
  width: 50px; height: 50px;

}
/**/

}






