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

/* ===== 1. 네비게이션 (로고 중앙, 메뉴 양쪽 찢기) ===== */
.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;
}

/* --- 메뉴 공통 (나눔스퀘어 Bold 12px) --- */
.nav-menu a, .nav-call {
  font-family: 'NanumSquare', sans-serif;
  font-size: 12px;
  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; /* 호버 색상 전환 부드럽게 */
}

/* 스크롤 시 기본 글자색 (#333333) */
.nav--scrolled .nav-menu a,
.nav--scrolled .nav-call {
  color: #333333 !important;
  text-shadow: none;
}

/* [핵심] 호버 시 색상 변경 (#e0af4e) */
.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: 45px;
  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; }

/* ===== 2. 히어로 슬라이더 (글자 정중앙 고정) ===== */
.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 { 
  /* 배경만 검은색 20% 불투명도로 변경 */
  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); }

/* ===== 3. 찾아오시는 길 (그리드 정렬) ===== */
.map-section { padding: 100px 20px; background: #fff; }
.map-inner { max-width: 1200px; margin: 0 auto; }

.map-heading { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 60px; }
.map-heading-line { flex: 1; height: 1px; background: #eee; }
.map-heading h2 { font-size: 20px; font-weight: 700; color: #333; letter-spacing: 0.1em; }

.map-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* 지도와 정보박스 비율 */
  gap: 50px;
  align-items: start;
}

.map-wrap iframe { width: 100%; height: 450px; border: none; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.map-info { display: flex; flex-direction: column; gap: 25px; }
.map-info-label { font-size: 13px; font-weight: 800; color: #bbb; text-transform: uppercase; margin-bottom: 4px; }
.map-info-text { font-size: 17px; color: #333; line-height: 1.6; font-weight: 500; }
.map-info-tel { font-size: 24px; font-weight: 800; color: #000; display: block; }

.map-divider { height: 1px; background: #eee; margin: 5px 0; }

.map-btns { display: flex; gap: 10px; }
.btn-copy, .btn-naver {
  flex: 1; padding: 15px; text-align: center; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.btn-copy { background: #333; color: #fff; border: none; }
.btn-naver { background: #fff; color: #333; border: 1px solid #ddd; }
.btn-copy:hover { background: #000; }
.btn-naver:hover { background: #f8f8f8; }

/* ===== 4. 푸터 ===== */
.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; }

/* ===== 5. 반응형 (모바일) ===== */
@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; } /* 모바일은 햄버거 내부로 유도하거나 숨김 */

  /* 찾아오시는 길 세로 정렬 */
  .map-content { grid-template-columns: 1fr; gap: 30px; }
  .map-wrap iframe { height: 320px; }
  
  .hero-arrow { display: none; } /* 모바일 화살표 숨김 */
}