/* ========================================================
   하루트립 (HARU TRIP) - 목포 당일치기 & 전국 여행 플랫폼 스타일
   ======================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --primary: #0284c7;        /* 신선한 해양 블루 */
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #f59e0b;      /* 따뜻한 노을 앰버 */
  --secondary-dark: #d97706;
  --accent: #ef4444;         /* 좋아요 레드 */
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 35px -5px rgba(0,0,0,0.14), 0 8px 10px -6px rgba(0,0,0,0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --course-a: #2563eb;
  --course-b: #0891b2;
  --course-c: #d97706;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ========================================================
   상단 글로벌 내비게이션 바 (GNB)
   ======================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.brand-badge {
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #bfdbfe;
}

/* 지역 셀렉터 (전국 확장형) */
.region-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
}

.region-chip {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.region-chip.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.region-chip.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.region-tag {
  font-size: 0.65rem;
  background: #e2e8f0;
  color: #64748b;
  padding: 1px 5px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.btn-header-cta {
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* 모바일 햄버거 토글 버튼 (데스크톱에서는 숨김) */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition: all var(--transition-fast);
}

.nav-toggle-btn:hover {
  background: #e2e8f0;
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

/* 햄버거 버튼 활성화 (X자 변환) */
.nav-toggle-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 1150px 이하 해상도: 오픈예정 칩 숨김으로 공간 확보 */
@media (max-width: 1150px) {
  .region-chip-future {
    display: none !important;
  }
}

/* ========================================================
   히어로 섹션 (Hero Section)
   ======================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 2rem 80px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%),
              url('img/hero_bg.jpg') center/cover no-repeat;
  color: white;
  overflow: hidden;
}

.hero-content {
  max-width: 960px;
  z-index: 10;
  animation: fadeInDown 0.8s ease-out;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

/* 히어로 빠른 검색 바 */
.hero-search-box {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition-normal);
}

.hero-search-box:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.3);
  border-color: var(--primary);
}

.search-icon {
  font-size: 1.3rem;
  margin: 0 12px;
  color: var(--text-muted);
}

.hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text-primary);
  outline: none;
  font-weight: 500;
}

.hero-search-input::placeholder {
  color: var(--text-muted);
}

.hero-search-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.hero-search-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

/* 히어로 코스 요약 뱃지 */
.hero-course-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.hero-course-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-course-pill:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ========================================================
   코스 인트로 섹션 (3가지 코스 카드)
   ======================================================== */
.section {
  padding: 80px 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

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

.course-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.course-card.course-A::before { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.course-card.course-B::before { background: linear-gradient(90deg, #0891b2, #38bdf8); }
.course-card.course-C::before { background: linear-gradient(90deg, #d97706, #fbbf24); }

.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.course-badge {
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.course-card.course-A .course-badge { background: #dbeafe; color: #1d4ed8; }
.course-card.course-B .course-badge { background: #cffafe; color: #0e7490; }
.course-card.course-C .course-badge { background: #fef3c7; color: #b45309; }

.course-icon {
  font-size: 2rem;
}

.course-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.course-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  margin-bottom: 1.5rem;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-btn-select {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.course-btn-select:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ========================================================
   여행지 탐색 & 검색 섹션
   ======================================================== */
.explore-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 70px;
}

.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.search-input-inline-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input-inline {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  outline: none;
  background: white;
  transition: border var(--transition-fast);
}

.search-input-inline:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-inline-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
}

.search-clear-btn.visible {
  display: block;
}

.results-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.results-count {
  font-weight: 700;
  color: var(--primary);
}

/* ========================================================
   여행지 카드 그리드 & 슬라이더 (Carousel)
   ======================================================== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.dest-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* 이미지 슬라이더 영역 */
.card-slider-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #0f172a;
}

.card-slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-slide {
  width: 33.3333%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
  color: #f1f5f9;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* 슬라이더 컨트롤 버튼 */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  opacity: 0;
  transition: all var(--transition-fast);
  z-index: 5;
}

.card-slider-wrapper:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* 슬라이더 인디케이터 */
.slider-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slider-dot.active {
  background: white;
  width: 18px;
  border-radius: 4px;
}

/* 코스 뱃지 & 사진 카운트 오버레이 */
.card-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.card-course-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.badge-A { background: rgba(37, 99, 235, 0.9); }
.badge-B { background: rgba(8, 145, 178, 0.9); }
.badge-C { background: rgba(217, 119, 6, 0.9); }

.card-photo-counter {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* 카드 본문 */
.dest-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dest-theme-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.dest-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.dest-eng-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.dest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1rem;
}

.dest-tag-item {
  font-size: 0.75rem;
  background: #f1f5f9;
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 4px;
}

.dest-short-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.dest-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* 카드 하단 액션 바 (좋아요 & 댓글 & 상세) */
.dest-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: #f8fafc;
  transition: all var(--transition-fast);
}

.like-btn .heart-icon {
  font-size: 1.15rem;
  color: #cbd5e1;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.like-btn.liked {
  color: var(--accent);
  background: #fef2f2;
}

.like-btn.liked .heart-icon {
  color: var(--accent);
  transform: scale(1.15);
  animation: heartBeat 0.4s ease-in-out;
}

.comment-count-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: #f8fafc;
  transition: all var(--transition-fast);
}

.comment-count-btn:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.btn-detail-view {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-detail-view:hover {
  background: var(--primary);
  color: white;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1.15); }
}

/* ========================================================
   전국 확장 안내 배너 섹션
   ======================================================== */
.nationwide-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  box-shadow: var(--shadow-xl);
}

.nationwide-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.nationwide-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.nationwide-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.nationwide-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.nationwide-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.region-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.region-box.active {
  background: rgba(2, 132, 199, 0.25);
  border-color: #38bdf8;
}

.region-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.region-box-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.region-box-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.region-box.active .region-box-status {
  background: #0284c7;
  color: white;
}

.region-box:not(.active) .region-box-status {
  background: rgba(255, 255, 255, 0.15);
  color: #94a3b8;
}

.region-box-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ========================================================
   상세 모달 (Modal) & 댓글 시스템
   ======================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: white;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
  position: relative;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 20;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: scale(1.1);
}

/* 모달 대형 슬라이더 */
.modal-slider-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  background: #0f172a;
}

.modal-slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.2, 1, 0.4, 1);
}

.modal-slide {
  width: 33.3333%;
  height: 100%;
  position: relative;
}

.modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: white;
  font-size: 0.9rem;
}

/* 모달 본문 */
.modal-body {
  padding: 2rem 2.5rem 3rem;
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.modal-eng-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.modal-desc-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-detail-card {
  background: #f1f5f9;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.modal-detail-card strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

/* 모달 댓글 섹션 */
.modal-comments-section {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.comments-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-input-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.comment-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author-input {
  flex: 1;
  max-width: 200px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  outline: none;
}

.comment-rating-select {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  outline: none;
  background: white;
  cursor: pointer;
}

.comment-textarea {
  width: 100%;
  height: 80px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  outline: none;
  resize: vertical;
  margin-bottom: 10px;
}

.comment-submit-btn {
  background: var(--primary);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  float: right;
  transition: background var(--transition-fast);
}

.comment-submit-btn:hover {
  background: var(--primary-dark);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease;
}

.comment-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.comment-item-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-item-rating {
  color: #f59e0b;
  font-size: 0.85rem;
}

.comment-item-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comment-item-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================================
   푸터 (Footer)
   ======================================================== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 2rem 40px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* 애니메이션 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 반응형 스타일 */
@media (max-width: 900px) {
  .navbar {
    padding: 0 1.25rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding: 0 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar.scrolled {
    height: 60px;
  }

  .nav-brand {
    gap: 6px;
    flex-shrink: 0;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 3px;
    white-space: nowrap;
  }

  .brand-badge {
    font-size: 0.68rem;
    padding: 1px 5px;
    white-space: nowrap;
  }

  /* 모바일에서도 목포/부산 탭이 예쁘게 유지되도록 설정 */
  .region-selector-wrap {
    display: flex !important;
    gap: 3px;
    padding: 2px;
    background: #e2e8f0;
    margin: 0 6px;
    flex-shrink: 0;
  }

  .region-chip {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
  }

  .region-chip .region-tag {
    display: none; /* 모바일에서 텍스트 밀림 방지 */
  }

  .region-chip-future {
    display: none !important;
  }

  /* 모바일 햄버거 토글 버튼 노출 */
  .nav-toggle-btn {
    display: flex;
    flex-shrink: 0;
  }

  /* 데스크톱 메뉴 링크들을 모바일 드롭다운 메뉴로 전환 */
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    z-index: 999;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .nav-link {
    padding: 10px 4px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links .btn-header-cta {
    text-align: center;
    margin-top: 0.4rem;
    padding: 10px;
    font-size: 0.95rem;
    width: 100%;
  }

  .section {
    padding: 50px 1.25rem;
  }
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  .modal-details-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-slider-wrap {
    height: 280px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 390px 이하 소형 스마트폰 화면 최적화 */
@media (max-width: 390px) {
  .navbar {
    padding: 0 0.5rem;
  }
  .brand-logo {
    font-size: 1.05rem;
  }
  .region-chip {
    padding: 3px 6px;
    font-size: 0.72rem;
  }
  .region-chip span:first-child {
    font-size: 0.7rem;
  }
}
