@charset "UTF-8";

/* ── 테마 색상 변수 ── */
:root {
  --primary: #f8fafc;
  --secondary: #ffffff;
  --accent: #2563eb;
  --accent2: #059669;
  --text: #1e293b;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --border: rgba(0, 0, 0, 0.08);

  /* 다크 테마 (헤더/푸터용) */
  --nav-bg: rgba(10,22,40,0.95);
  --nav-bg-scrolled: rgba(10,22,40,0.98);
  --dark-bg: #0a1628;
  --dark-accent: #00c8ff;
  --dark-accent2: #00ff9d;
  --dark-text-muted: #8a9bb5;
  --dark-border: rgba(0,200,255,0.15);
}

/* ── 기본 리셋 ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
}

/* ── 스크롤바 ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--dark-accent); border-radius: 3px; }

/* ── 네비게이션 (헤더) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px; height: 90px; 
  display: flex; align-items: center; justify-content: space-between;
  background: var(--nav-bg); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border); transition: all 0.3s;
}
nav.scrolled {
  height: 80px; background: var(--nav-bg-scrolled);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); border-color: transparent;
}

/* ── 로고 스타일 ── */
.nav-logo, .footer-logo {
  display: inline-flex; align-items: baseline; 
  font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: 1px;
  color: var(--dark-accent); text-decoration: none; text-transform: lowercase;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative;
}
.footer-logo { font-size: 1.6rem; }
.en-edu { color: var(--dark-accent2); margin-left: 2px; transition: text-shadow 0.3s ease; }
.ko-text {
  font-family: 'Noto Sans KR', sans-serif; font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.5px; margin-left: 10px;
  background: linear-gradient(135deg, #ffffff 0%, var(--dark-text-muted) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.85; transition: all 0.3s ease; text-transform: none; 
}
.footer-logo .ko-text { font-size: 0.85rem; }

.nav-logo:hover, .footer-logo:hover { transform: translateY(-2px); text-shadow: 0 4px 20px rgba(0, 200, 255, 0.4); }
.nav-logo:hover .en-edu, .footer-logo:hover .en-edu { text-shadow: 0 4px 20px rgba(0, 255, 157, 0.4); }
.nav-logo:hover .ko-text, .footer-logo:hover .ko-text {
  opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)); transform: scale(1.05) translateX(2px);
}

/* ── GNB 메뉴 ── */
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links > li { position: relative; padding: 30px 0; }
.nav-links a {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--dark-text-muted); text-decoration: none;
  transition: color 0.2s; padding: 4px 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark-accent); }

/* 서브메뉴 */
.sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--nav-bg-scrolled); min-width: 150px; text-align: center;
  list-style: none; padding: 10px 0; border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3); border: 1px solid var(--dark-border);
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.nav-links > li:hover .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-10px);
}
.sub-menu li { padding: 0; }
.sub-menu a {
  display: block; padding: 12px 20px; font-size: 0.95rem; font-weight: 500;
  color: var(--dark-text-muted); transition: all 0.2s;
}
.sub-menu a:hover { color: var(--dark-accent); background: rgba(0,200,255,0.05); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark-accent); display: block; transition: 0.3s; }
.user-menu { display: flex; gap: 12px; align-items: center; }
.btn-login {
  padding: 8px 18px; border: 1px solid var(--dark-accent); background: transparent;
  color: var(--dark-accent); border-radius: 24px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: 0.3s;
}
.btn-login:hover { background: rgba(0,200,255,0.1); }

/* ── 서브페이지 공통 상단 헤더 ── */
.page-header {
  padding: 160px 40px 80px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0f2442 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,200,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,200,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px; z-index: 1; opacity: 0.5;
}
.page-header-content { position: relative; z-index: 2; animation: fadeInUp 0.8s ease both; }
.page-title { font-size: 2.8rem; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: -1px; }
.page-subtitle { font-size: 1.15rem; color: var(--dark-text-muted); font-weight: 300; }

/* ── 오시는 길 전용 섹션 ── */
.location-section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }

/* 지도 영역 */
.map-container {
  width: 100%; height: 450px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin-bottom: 60px;
  border: 1px solid var(--border); animation: fadeInUp 0.8s 0.2s ease both;
}

/* 요약 정보 그리드 */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
  margin-bottom: 60px; animation: fadeInUp 0.8s 0.3s ease both;
}
.info-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 30px; text-align: center; transition: all 0.3s;
}
.info-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); border-color: rgba(37,99,235,0.3); }
.info-icon {
  width: 70px; height: 70px; margin: 0 auto 20px; background: rgba(37,99,235,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--accent);
}
.info-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; color: var(--text); }
.info-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; word-break: keep-all; }
.info-card p strong { color: var(--text); font-weight: 600; }
.info-card a { text-decoration: none; transition: color 0.2s; }
.info-card a:hover { color: var(--accent); }
.info-zip { font-size: 0.82rem; color: #94a3b8; margin-bottom: 4px; }
.btn-copy-addr {
  margin-top: 14px; padding: 7px 18px;
  background: rgba(37,99,235,0.08); color: var(--accent);
  border: 1px solid rgba(37,99,235,0.2); border-radius: 20px;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: 0.2s; font-family: inherit;
}
.btn-copy-addr:hover { background: var(--accent); color: #fff; }

/* 대중교통 안내 영역 */
.transport-section { background: #ffffff; padding: 80px 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.transport-container { max-width: 1200px; margin: 0 auto; }
.transport-title { font-size: 2rem; font-weight: 700; margin-bottom: 50px; text-align: center; }
.transport-title .hl { color: var(--accent); }

.transport-list { display: flex; flex-direction: column; gap: 30px; }
.transport-item { display: flex; align-items: flex-start; gap: 24px; padding-bottom: 30px; border-bottom: 1px dashed var(--border); }
.transport-item:last-child { border-bottom: none; padding-bottom: 0; }
.t-icon {
  width: 60px; height: 60px; flex-shrink: 0; background: var(--primary);
  border: 1px solid var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.t-content h4 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.t-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.badge-subway { padding: 4px 10px; background: #22c55e; color: #fff; font-size: 0.8rem; border-radius: 20px; font-weight: 700; }
.badge-bus-blue { padding: 4px 10px; background: #3b82f6; color: #fff; font-size: 0.8rem; border-radius: 20px; font-weight: 700; }
.badge-bus-green { padding: 4px 10px; background: #10b981; color: #fff; font-size: 0.8rem; border-radius: 20px; font-weight: 700; }

@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

/* ── 푸터 ── */
footer { 
  border-top: 1px solid var(--dark-border); padding: 40px; display: flex; 
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; 
  background: var(--dark-bg); 
}
.footer-copy { font-size: 0.85rem; color: var(--dark-text-muted); }

/* ── 플로팅 메뉴 ── */
.floating-menu { position: fixed; right: 30px; bottom: 40px; z-index: 999; animation: fadeInUp 0.8s 0.5s ease both; }
.btn-floating {
  display: flex; align-items: center; gap: 8px; background: var(--dark-bg); color: var(--dark-accent);
  padding: 16px 24px; border-radius: 40px; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 10px 25px rgba(10,22,40,0.3); border: 1px solid var(--dark-border); transition: all 0.3s;
}
.btn-floating:hover { transform: translateY(-5px); background: #11284d; box-shadow: 0 15px 30px rgba(10,22,40,0.4); }

/* ── 반응형 미디어 쿼리 ── */
@media(max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--nav-bg-scrolled); padding: 20px; border-bottom: 1px solid var(--dark-border); }
  .nav-links.open { display: flex; }
  .nav-links > li { padding: 10px 0; }
  .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: rgba(0,0,0,0.2); display: none; margin-top: 10px; }
  .nav-toggle { display: flex; }
  
  .page-header { padding: 120px 20px 60px; }
  .location-section { padding: 60px 20px; }
  .map-container { height: 300px; }
  .transport-section { padding: 60px 20px; }
  .transport-item { flex-direction: column; gap: 16px; }
  .floating-menu { right: 20px; bottom: 20px; }
}