/* ===== 기본 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', 'NanumSquare', sans-serif;
  background: #fff;
  color: #444;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 네비게이션 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.nav-left .nav-menu {
  display: flex;
  gap: 5px;
}

.nav-menu a,
.nav-call {
  font-family: 'NanumSquare', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav--scrolled .nav-menu a,
.nav--scrolled .nav-call {
  color: #333333 !important;
  text-shadow: none;
}

.nav-menu a:hover,
.nav-call:hover {
  color: #e0af4e !important;
}

.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 30px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 10;
}

.nav--scrolled .nav-logo {
  opacity: 1;
  visibility: visible;
}

.nav-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-hover {
  opacity: 0;
}

.nav-logo:hover .logo-default {
  opacity: 0;
}

.nav-logo:hover .logo-hover {
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 25px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.nav--scrolled .hamburger span {
  background: #333;
}

/* ===== 메인 ===== */
.location-page {
  background: #fff;
}

.location-hero {
  width: 100%;
}

.location-visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.location-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.location-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 60px 80px;
}

.location-split {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.location-left {
  color: #fff;
  padding-right: 20px;
}

.location-right {
  padding-left: 0;
}

.location-title {
  font-family: 'NanumSquare', sans-serif;
  font-weight: 800;
  font-size: 53pt;
  line-height: 1.1;
  margin-bottom: 56px;
  color: #fff;
}

.location-info-group {
  margin-bottom: 42px;
}

.location-label {
  font-family: 'NanumSquare', sans-serif;
  font-weight: 700;
  font-size: 20pt;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.location-text {
  font-family: 'Chosunilbo_myungjo', 'Nanum Myeongjo', serif;
  font-size: 18pt;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.96);
  word-break: keep-all;
}

/* ===== OFFICE ===== */
.office-inline {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.inline-label {
  flex-shrink: 0;
}

.inline-text {
  display: inline;
}

/* ===== CONTACT ===== */
.contact-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 18px;
  align-items: start;
  margin-bottom: 0;
}

.contact-label {
  font-family: 'NanumSquare', sans-serif;
  font-weight: 700;
  font-size: 20pt;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.6;
}

.contact-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-phone {
  font-family: 'Chosunilbo_myungjo', 'Nanum Myeongjo', serif;
  font-size: 18pt;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.96);
  margin: 0;
}

.contact-email {
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-size: 17.5pt;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 2px 0 0 0;
}

/* ===== 지도 ===== */
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 480px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== 푸터 ===== */
.footer {
  background: #1a1a1a;
  color: #777;
  padding: 60px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-copy {
  margin-top: 30px;
  border-top: 1px solid #2a2a2a;
  padding-top: 30px;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
    z-index: 2100;
  }

  .nav-logo {
    left: 20px;
    transform: translateY(-50%);
    opacity: 1 !important;
    visibility: visible !important;
    width: 110px;
  }

  .nav-left {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 30px;
    transition: 0.4s;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-left.open {
    right: 0;
  }

  .nav-left .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

  .nav-left .nav-menu a {
    color: #333 !important;
    font-size: 18px;
    text-shadow: none;
    padding: 10px 0;
  }

  .nav-right .nav-call {
    display: none;
  }

  .location-overlay {
    padding: 120px 24px 60px;
  }

  .location-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-left {
    padding-right: 0;
  }

  .location-right {
    padding-left: 0;
  }

  .location-title {
    font-size: clamp(34px, 8vw, 48px);
    margin-bottom: 34px;
  }

  .location-label,
  .contact-label {
    font-size: clamp(16px, 4vw, 22px);
  }

  .location-text,
  .contact-phone {
    font-size: clamp(15px, 3.8vw, 20px);
    line-height: 1.7;
  }

  .contact-email {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .office-inline {
    display: block;
    white-space: normal;
  }

  .inline-label {
    display: block;
    margin-bottom: 10px;
  }

  .contact-row {
    grid-template-columns: 110px 1fr;
    column-gap: 12px;
  }

  .map-frame {
    min-height: 360px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  }
}
/* 1. 브라우저 전체 스크롤 완전 차단 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; 
  background-color: #000;
}

.company-page {
  width: 100%;
  height: 100vh;
  position: relative;
}

/* 2. 전체를 움직이는 래퍼 (정확히 100vh씩 이동) */
.slide-wrapper {
  width: 100%;
  height: 100vh;
  /* cubic-bezier를 사용해 빠르고 확실하게 끊어지는 속도감 부여 */
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

/* 3. 공통 섹션 규격 (무조건 화면 꽉 차게) */
.section {
  width: 100%;
  height: 100vh;
  position: relative;
}

/* 4. 1번 페이지: 이 안에서만 스크롤 됨 */
.long-section {
  overflow-y: auto; /* 내부 스크롤 허용 */
  overflow-x: hidden;
  scrollbar-width: none; /* 파이어폭스 스크롤바 숨김 */
}
.long-section::-webkit-scrollbar { 
  display: none; /* 크롬/사파리 스크롤바 숨김 (깔끔한 디자인을 위해) */
}

.long-section img {
  width: 100%;
  height: auto; /* 이미지 본연의 길이 유지 */
  display: block;
}

/* 5. 2, 3, 4번 페이지: 스크롤 절대 불가 */
.full-section {
  overflow: hidden;
}

.full-section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 깨짐/겹침 방지 */
}