/***************************************************
 * HOME PAGE — FULL FILE (UPDATED home.css)
 ***************************************************/

/* ---------------------------------------------
   HERO (배경 슬라이더 + 오버레이 텍스트)
---------------------------------------------- */
.hero {
  position: relative;
  background: #0b1220;
  color: #fff;
}

/* 슬라이더 */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #020617;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.7s ease-in-out,
    transform 5s ease-out;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 배경 위 그라디언트 */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.35),
    rgba(15, 23, 42, 0)
  );
  pointer-events: none;
}

/* 텍스트 오버레이 컨테이너 */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.hero-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center; /* 기본: 가운데 */
}

/* 텍스트 블럭 */
.hero-text {
  max-width: 720px;
  text-align: center;
  pointer-events: auto;
}

/* 공통: 3줄 간격 줄이기 */
.hero-subtitle {
  font-size: 1rem; /* 0.85 → 1.0 (약 +18%) */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0;
  animation: hero-fade-up 2s ease-in-out 0s forwards;
}

.hero-heading {
  font-size: 3rem; /* 2.6 → 3.0 (약 +15%) */
  line-height: 1.2;
  margin: 0 0 4px;
  font-weight: 700;
  opacity: 0;
  animation: hero-fade-up 0.65s ease-in-out 0.56s forwards;
}

.hero-tagline {
  font-size: 1.25rem; /* 1.05 → 1.25 (약 +19%) */
  margin: 0 0 8px;
  opacity: 0;
  animation: hero-fade-up 0.67s ease-in-out 0.89s forwards;
}

/* ABOUT US 버튼 (텍스트 바로 아래, 기본은 숨김) */
.hero-about-btn {
  display: none;
  padding: 10px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: #e11d48;
  color: #ffffff;
  border-radius: 0; /* 라운드 완전 제거 */
  border: 1px solid #e11d48;
  opacity: 0;
}

/* 슬라이드 2에서만 버튼 노출 + 애니메이션 */
.hero.show-about .hero-about-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  animation: hero-fade-up 0.86s ease-in-out 2.01s forwards;
}

/* 슬라이드 2일 때 텍스트 오른쪽 정렬 (화면 중앙 기준 우측으로 약간) */
.hero.slide-2 .hero-content-inner {
  justify-content: center;
}

.hero.slide-2 .hero-text {
  text-align: right;
  max-width: 720px;
  margin-left: auto;
  margin-right: 60px;
  transform: translateX(18%); /* 중앙 기준 오른쪽으로 ~20% 정도 이동 */
}

/* 필요하면 슬라이드 1은 확실히 가운데 */
.hero.slide-1 .hero-text {
  text-align: center;
  margin: 0 auto;
}

/* Prev / Next 버튼 */
.hero-nav-btn {
  display: none;
}

/* dots */
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.is-active {
  width: 18px;
  background: #f97316;
}

/* HERO 텍스트/버튼 애니메이션 */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------
   ADVANTAGEOUS LOCATION (3 COLUMN)
---------------------------------------------- */
.section-location {
  background: #202020;
  padding: 0;
}

.location-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  height: 260px;
}

.location-col {
  display: block;
}

.location-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.location-image-left,
.location-image-right {
  height: 100%;
  overflow: hidden;
}

.location-image-left img {
  object-position: top center;
}

.location-image-right img {
  object-position: center;
}

.location-heading {
  font-size: 26px;
  margin-bottom: 8px;
  color: #ffffff;
}

.location-sub {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.location-list {
  list-style: none;
  padding-left: 0;
  font-size: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: #a5ba2e;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.location-list li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 0;
  text-align: left;
}

.location-list li::before {
  content: '✓';
  position: static;
  color: #f7b71e;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  margin-top: 2px;
  flex-shrink: 0;
}

.location-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  align-items: center;
  text-align: center;
}

/* Let the 3-column layout breathe on small landscape widths */
@media (min-width: 700px) and (max-width: 960px) {
  .location-inner {
    height: auto;
  }

  .location-text {
    padding: 28px 16px;
  }
}

@media (max-width: 768px) {
  .section-location {
    background: transparent; /* let images sit on a clean background */
    padding: 0;
  }

  .location-inner {
    grid-template-columns: 1fr;
    height: auto;
    width: 100vw; /* force full-bleed on small screens */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    gap: 0;
  }

  .location-col {
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
  }

  .location-image-left,
  .location-image-right {
    height: auto;
  }

  .location-col img {
    width: 100vw; /* stretch image to screen edges */
    max-width: none;
    height: 220px; /* cap height so it doesn't grow too tall on mobile */
    margin-left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center;
  }

  .location-text {
    width: 100vw; /* text block also spans edge-to-edge */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #202020;
    padding: 24px 16px 32px;
  }
}

/* ---------------------------------------------
   MEET OUR TEAM (가로 슬라이더)
---------------------------------------------- */
.section-team {
  background: #f2f2f2;
  padding: 60px 20px;
}

.section-team .section-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #777;
  display: block;
  line-height: 1.25;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  transform: scaleX(0.8);
  transform-origin: left center;
}

.team-heading a {
  color: inherit;
  text-decoration: none;
}

.team-heading a:hover {
  color: #1c4b8f;
}

.team-heading {
  font-size: 26px;
  letter-spacing: 0.01em;
  display: block;
  padding: 2px 0 6px 24px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  line-height: 1.08;
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 800;
  transform: scaleX(0.8);
  transform-origin: left center;
  max-width: none;
  white-space: nowrap;
}

.team-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.team-viewport {
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
  scrollbar-width: none;
}

.team-track {
  display: flex;
  gap: 32px;
  padding: 8px 0 12px;
  transition: transform 0.6s ease;
}

.team-card {
  min-width: 230px;
  max-width: 240px;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.08);
}

.team-image {
  height: 340px;
  overflow: hidden;
}

.team-image img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 28%;
}

.team-body {
  padding: 18px 18px 20px;
  text-align: center;
}

.team-name {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.team-title {
  font-size: 13px;
  color: #7a7a7a;
}

.team-nav {
  border-radius: 999px;
  width: 30px;
  height: 30px;
  border: 1px solid #d2d8e6;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.team-viewport::-webkit-scrollbar {
  display: none;
}

@media (max-width: 720px) {
  .team-track {
    gap: 12px;
    padding: 4px 0 8px;
  }

  .team-card {
    min-width: 100%;
    max-width: 100%;
  }
}

/* 공통 타이틀 유틸리티 */
.kicker-bar {
  display: block;
  line-height: 1.25;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
}

.heading-bar {
  display: block;
  line-height: 1.08;
  padding: 2px 0 8px 24px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  max-width: none;
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  transform: scaleX(0.8);
  transform-origin: left center;
}

/* ---------------------------------------------
   WELCOME 섹션 (좌 이미지 / 우 텍스트 50:50)
---------------------------------------------- */
.section-welcome {
  background: #f2f2f2;
  padding: 60px 20px;
}

.welcome-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.welcome-text {
  font-size: 14px;
}

.welcome-kicker {
  font-size: 15px;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #7a7a7a;
  line-height: 1.25;
  display: block;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  transform: scaleX(0.8);
  transform-origin: left center;
}

.welcome-heading {
  font-size: 30px;
  letter-spacing: 0.01em;
  line-height: 1.08;
  font-weight: 800;
  display: block;
  padding: 2px 0 8px 24px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  transform: scaleX(0.8);
  transform-origin: left center;
  max-width: 100%;
  white-space: normal;
}

.welcome-tagline {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.welcome-body {
  font-size: 14px;
  line-height: 1.45;
}

.welcome-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #1c4b8f;
  text-decoration: none;
}

.welcome-readmore:hover {
  color: #153b6e;
}

/* 모바일에서는 위아래로 쌓이게 */
/* ?? ??? ???? */
.kicker-bar {
  display: block;
  line-height: 1.25;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
}

.heading-bar {
  display: block;
  line-height: 1.08;
  padding: 2px 0 8px 24px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  max-width: none;
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  transform: scaleX(0.8);
  transform-origin: left center;
  transform: scaleX(0.8);
  transform-origin: left center;
}

/* ---------------------------------------------
   RESPONSIVE
---------------------------------------------- */
@media (max-width: 900px) {
  .hero-slider {
    height: 360px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  /* 슬라이드 2의 오른쪽 이동 제거 (모바일 정렬 보정) */
  .hero.slide-2 .hero-text {
    transform: none;
    margin-right: 0;
    text-align: center;
  }
}

@media (min-width: 700px) and (max-width: 1100px) {
  /* Slightly smaller image column on tablets / landscape phones */
  .welcome-inner {
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr); /* ~35/65 split */
  }
}

/* 모바일에서는 위아래로 쌓이게 */
@media (max-width: 700px) {
  .welcome-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Tighter heading on small screens to avoid early wrapping */
  .welcome-heading {
    font-size: 24px;
    line-height: 1.15;
    padding: 2px 0 6px 16px;
    margin-bottom: 6px;
    letter-spacing: 0.005em;
    white-space: normal;
    word-break: keep-all;
  }

  .welcome-kicker {
    padding-left: 16px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hero-slider {
    height: 280px;
  }

  .hero-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }

  .hero-heading {
    font-size: 1.9rem;
  }

  .hero-tagline {
    font-size: 0.98rem;
  }

  .hero-content-inner {
    padding: 0 16px;
  }

  .section-location,
  .section-team {
    padding: 40px 16px;
  }

  .welcome-heading {
    font-size: 26px;
    line-height: 1.15;
    white-space: normal;
    word-break: keep-all;
  }
}

/* MOBILE FULL-BLEED FIX FOR LOCATION */
@media (max-width: 700px) {
  .section-location {
    padding: 0;
    background: #ffffff;
  }

  .location-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .location-col {
    padding: 0;
    background: transparent;
  }

  .location-col img {
    width: 100%;
    max-width: none;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .location-text {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #202020;
    padding: 24px 16px 28px;
  }
}

/* ?? ??? ???? */
.kicker-bar {
  display: block;
  line-height: 1.25;
  font-size: 16px;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  letter-spacing: 0.01em;
  transform: scaleX(0.8);
  transform-origin: left center;
}

.heading-bar {
  display: block;
  line-height: 1.08;
  font-size: 30px;
  padding: 2px 0 8px 24px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  max-width: none;
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  transform: scaleX(0.8);
  transform-origin: left center;
  white-space: nowrap;
}
/* Title style overrides */
.welcome-kicker,
.section-team .section-kicker,
.kicker-bar {
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0.01em;
  font-style: italic;
  line-height: 1.25;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  transform: scaleX(0.8);
  transform-origin: left center;
}

.section-team .section-kicker {
  text-transform: uppercase;
}

.welcome-heading,
.team-heading,
.heading-bar {
  font-size: 34px;
  letter-spacing: 0.01em;
  line-height: 1.08;
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 800;
  padding: 2px 0 8px 24px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  transform: scaleX(0.8);
  transform-origin: left center;
  max-width: 100%;
  white-space: normal;
}
