/* ===== 리셋 & 기본 ===== */
* {
  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-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;
  background: transparent;
}

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

.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; top: 0; left: 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; }

/* ===== 히어로 슬라이더 ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-caption {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  width: 100%;
}

.hero-sub {
  font-family: 'NanumSquare';
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 15px;
}

.hero-title {
  font-family: 'NanumSquare';
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 70px;
  border: 2px solid #fff;
  font-weight: 700;
  color: #fff;
  background: transparent;
  transition: 0.3s;
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}

.hero-arrow:hover { opacity: 1; }
.hero-arrow--prev { left: 30px; }
.hero-arrow--next { right: 30px; }

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* ===== 푸터 ===== */
.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; }
  .hero-arrow { display: none; }
}
