/* ==========================================================================
   Gyeongju 2N3D Travel Website - Main Stylesheet
   Design Concept: Modern Korean Heritage (Warm Hanok, Stone & Gold, Deep Night Indigo)
   ========================================================================== */

:root {
  --primary-color: #9c3d28; /* 단청 홍색 / 신라의 붉은 열정 */
  --primary-dark: #7a2b1a;
  --primary-light: #fbeee8;
  --secondary-color: #2b3a4a; /* 한옥 기와 남색 / 신라의 밤하늘 */
  --secondary-light: #44566c;
  --gold-accent: #d4a359; /* 신라 금관 골드 */
  --gold-hover: #b8863b;
  --gold-light: #fbf5ea;
  
  --bg-sand: #fbf9f5; /* 한지/흙돌담 미색 */
  --bg-card: #ffffff;
  --bg-muted: #f4efe6;
  
  --text-main: #242424;
  --text-muted: #666666;
  --text-light: #999999;
  --text-inverse: #ffffff;
  
  --border-color: #ebdcd0;
  --border-light: #f0e9e1;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(43, 58, 74, 0.08);
  --shadow-lg: 0 16px 40px rgba(43, 58, 74, 0.12);
  --shadow-hover: 0 14px 30px rgba(156, 61, 40, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --font-serif: 'Gowun Batang', 'Batang', serif;
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-fast);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Typography Helpers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .sub-title {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-header .main-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 14px;
  line-height: 1.35;
}

.section-header .desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(156, 61, 40, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(156, 61, 40, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #d4a359 0%, #b8863b 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184, 134, 59, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 134, 59, 0.45);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--secondary-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  background: var(--primary-color);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(156, 61, 40, 0.3);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary-color);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--secondary-color);
  padding: 6px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.drawer-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.btn-close {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.drawer-link {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  border-left: 4px solid transparent;
}

.drawer-link:hover, .drawer-link:active {
  background: var(--primary-light);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-inverse);
  padding: 120px 24px 80px;
  background-image: url('https://images.unsplash.com/photo-1548115184-bc6544d06a58?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 27, 36, 0.6) 0%, rgba(20, 27, 36, 0.82) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(212, 163, 89, 0.2);
  border: 1px solid var(--gold-accent);
  color: #f7dfa7;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.highlight-gold {
  color: var(--gold-accent);
  position: relative;
  display: inline-block;
}

.highlight-gold::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(212, 163, 89, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f0f0;
}

.meta-item i {
  color: var(--gold-accent);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ==========================================================================
   Trip Highlights Section
   ========================================================================== */
.overview-section {
  background-color: var(--bg-card);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.highlight-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-color);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.highlight-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.day-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 27, 36, 0.8);
  color: var(--gold-accent);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.highlight-card:nth-child(2) .card-icon {
  background: #fbf5ea;
  color: var(--gold-accent);
}

.highlight-card:nth-child(3) .card-icon {
  background: #eef4f9;
  color: #3b7ca5;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--secondary-light);
  background: var(--bg-sand);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Quick Stats Bar */
.quick-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-sand);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 45px;
  background-color: var(--border-color);
}

/* ==========================================================================
   Itinerary Section & Day Tabs
   ========================================================================== */
.itinerary-section {
  background-color: var(--bg-sand);
}

.day-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.day-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-color);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.day-tab .tab-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.day-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.day-tab.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(43, 58, 74, 0.25);
}

.day-tab.active .tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Day Block Banner */
.day-block {
  margin-bottom: 60px;
}

.day-header-banner {
  background: linear-gradient(135deg, #2b3a4a 0%, #1c2732 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.day-header-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212, 163, 89, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.banner-day2 {
  background: linear-gradient(135deg, #7a2b1a 0%, #581d11 100%);
}

.banner-day3 {
  background: linear-gradient(135deg, #264e68 0%, #153246 100%);
}

.banner-badge {
  display: inline-block;
  background: var(--gold-accent);
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.day-header-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.banner-route {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.banner-route i {
  color: var(--gold-accent);
}

/* Timeline Components */
.timeline-list {
  position: relative;
  padding-left: 20px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 95px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 28px;
}

.item-time {
  width: 70px;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--secondary-color);
  padding-top: 18px;
  text-align: right;
  margin-right: 15px;
}

.item-marker {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-right: 24px;
  margin-top: 10px;
}

.timeline-item[data-category="food"] .item-marker {
  border-color: #d4a359;
  color: #b8863b;
}

.timeline-item[data-category="night"] .item-marker {
  border-color: #2b3a4a;
  background: #2b3a4a;
  color: #f7dfa7;
}

.timeline-item[data-category="hotel"] .item-marker {
  border-color: #6366f1;
  color: #6366f1;
}

.item-content {
  flex: 1;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.item-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.category-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.category-pill.transit { background: #e5e7eb; color: #4b5563; }
.category-pill.food { background: #fef3c7; color: #92400e; }
.category-pill.spot { background: #fee2e2; color: #991b1b; }
.category-pill.night { background: #e0e7ff; color: #3730a3; }
.category-pill.hotel { background: #ede9fe; color: #5b21b6; }
.category-pill.shopping { background: #fce7f3; color: #9d174d; }

.item-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-serif);
}

.est-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.item-desc {
  font-size: 0.95rem;
  color: #444444;
  line-height: 1.65;
  margin-bottom: 14px;
}

.item-tips {
  background: #faf6f0;
  border-left: 3px solid var(--gold-accent);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: #555555;
  margin-top: 10px;
}

.item-tips i {
  color: var(--gold-hover);
  margin-right: 4px;
}

.item-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.feat-tag {
  font-size: 0.85rem;
  color: var(--secondary-color);
  background: var(--bg-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.spot-photo-preview {
  margin-top: 12px;
  padding: 10px 14px;
  background: #f0f7ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #1e40af;
}

.preview-badge {
  background: #3b82f6;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* ==========================================================================
   Route Map Section
   ========================================================================== */
.route-section {
  background-color: var(--bg-card);
}

.route-dashboard {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}

.route-visual-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.card-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-color);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.visual-canvas {
  position: relative;
  min-height: 380px;
  background: radial-gradient(#ebe3d8 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  background-color: #faf7f2;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.route-node {
  position: absolute;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
  transition: var(--transition-fast);
  z-index: 10;
}

.route-node:hover, .route-node.active-node {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.route-node .node-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.route-node[data-zone="bomun"] .node-icon {
  background: #fbf5ea;
  color: var(--gold-accent);
}

.route-node[data-zone="gampo"] .node-icon {
  background: #eef4f9;
  color: #3b7ca5;
}

.node-label {
  display: flex;
  flex-direction: column;
}

.node-label strong {
  font-size: 0.88rem;
  color: var(--secondary-color);
}

.node-label span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.station-node {
  border-style: dashed;
  background: #f3f4f6;
}

.station-node .node-icon {
  background: #e5e7eb;
  color: #4b5563;
}

/* Connectors */
.route-connector-line {
  position: absolute;
  z-index: 5;
}

.line-1-2 {
  top: 32%;
  left: 36%;
}

.line-2-3 {
  top: 48%;
  left: 65%;
}

.travel-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(43, 58, 74, 0.85);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.zone-instruction {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Zone Info Right Side */
.zone-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zone-tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.zone-btn {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-sand);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.zone-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.zone-detail-content {
  display: none;
  background: var(--bg-sand);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.zone-detail-content.active {
  display: block;
}

.zone-detail-content h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zone-detail-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

.zone-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-stat {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.z-stat i {
  color: var(--primary-color);
  margin-right: 6px;
}

/* ==========================================================================
   Gourmet Guide Section
   ========================================================================== */
.gourmet-section {
  background-color: var(--bg-sand);
}

.gourmet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gourmet-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gourmet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-color);
}

.g-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.g-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gourmet-card:hover .g-img-wrap img {
  transform: scale(1.08);
}

.g-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(156, 61, 40, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.g-info {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.g-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.g-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.g-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
}

.g-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.g-location {
  font-size: 0.82rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.g-location i {
  color: var(--gold-accent);
}

/* ==========================================================================
   Planner Tools: Budget Estimator & Checklist
   ========================================================================== */
.tools-section {
  background-color: var(--bg-card);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.tool-card {
  background: var(--bg-sand);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.tool-card-header i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.tool-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--secondary-color);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.segmented-control {
  display: flex;
  background: #ffffff;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  gap: 4px;
}

.seg-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-muted);
}

.seg-btn.active {
  background: var(--primary-color);
  color: #ffffff;
}

.form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(156, 61, 40, 0.1);
}

.calculator-result-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 2px solid var(--gold-accent);
  margin-top: 10px;
}

.res-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.res-row span:first-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.total-amount {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.res-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge-accent {
  background: var(--gold-light);
  color: var(--gold-hover);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Checklist Styles */
.checklist-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex: 1;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.check-item:hover {
  border-color: var(--border-color);
}

.check-item input[type="checkbox"] {
  display: none;
}

.custom-chk {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border-color);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.check-item input[type="checkbox"]:checked + .custom-chk {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.check-item input[type="checkbox"]:checked + .custom-chk::after {
  content: '✓';
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.chk-text {
  font-size: 0.92rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.check-item input[type="checkbox"]:checked ~ .chk-text {
  text-decoration: line-through;
  color: var(--text-light);
}

/* Checklist Progress */
.checklist-progress-wrap {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.progress-bar-bg {
  height: 8px;
  background: #e5e7eb;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary-color));
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* ==========================================================================
   Tips Section
   ========================================================================== */
.tips-section {
  background-color: var(--bg-sand);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tip-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.tip-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
  margin-bottom: 14px;
}

.tip-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  color: #333333;
  z-index: 10;
}

.modal-header {
  padding: 24px 28px 14px;
}

.modal-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.modal-body {
  padding: 0 28px 24px;
}

.modal-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.modal-description {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 20px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--bg-sand);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.meta-cell strong {
  color: var(--secondary-color);
  margin-right: 4px;
}

.modal-footer {
  padding: 16px 28px;
  background: var(--bg-sand);
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 40px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.f-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-brand .copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .highlight-grid,
  .gourmet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .route-dashboard,
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions #btn-print, .nav-actions #btn-share {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-header .main-title {
    font-size: 1.8rem;
  }
  
  .highlight-grid,
  .gourmet-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .timeline-list {
    padding-left: 0;
  }
  
  .timeline-list::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
    padding-left: 50px;
  }
  
  .item-time {
    text-align: left;
    width: auto;
    margin-right: 0;
    padding-top: 0;
    margin-bottom: 6px;
  }
  
  .item-marker {
    position: absolute;
    left: 0;
    top: 0;
    margin-right: 0;
    margin-top: 0;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Print Stylesheet (일정표 인쇄 / PDF 출력 최적화)
   ========================================================================== */
@media print {
  .navbar,
  .mobile-drawer,
  .hero-buttons,
  .scroll-down-indicator,
  .day-tabs-container,
  .route-section,
  .tools-section,
  .footer,
  .back-to-top {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .hero-section {
    min-height: auto !important;
    padding: 30px 0 !important;
    color: #000000 !important;
    background: none !important;
  }

  .hero-bg-overlay {
    display: none !important;
  }

  .hero-title {
    color: #000000 !important;
    font-size: 2rem !important;
  }

  .highlight-gold {
    color: #000000 !important;
    text-decoration: underline;
  }

  .day-block {
    display: block !important;
    page-break-after: always;
  }

  .day-header-banner {
    background: #f0f0f0 !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }

  .timeline-item {
    page-break-inside: avoid;
  }

  .item-content {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}
