/* Travel Hero */
.travel-hero {
  background: url('../images/travel/earth-banner.png') center/cover no-repeat;
  position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center;
}
.hero-overlay {
  text-align: center; padding: 60px 24px; width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
}
.travel-hero h1 { font-family: var(--heading-font); font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.travel-hero p { color: #ffffffcc; font-size: 16px; }
.travel-hero strong { color: #fff; }
.hero-search {
  max-width: 480px; margin: 24px auto 0; display: flex;
  border-radius: 28px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.hero-search input {
  flex: 1; border: none; outline: none; padding: 14px 20px; font-size: 15px;
  font-family: var(--body-font); color: #333;
}
.hero-search button {
  background: #2563eb; color: #fff; border: none; padding: 14px 28px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.hero-search button:hover { background: #1d4ed8; }

/* Map Section */
.map-section { max-width: 900px; margin: 0 auto; padding: 30px 24px; }
.map-section h2 { font-family: var(--heading-font); font-size: 22px; font-weight: 400; text-align: center; margin-bottom: 20px; color: var(--text); }
.world-map-container { position: relative; display: inline-block; width: 100%; }
.world-map { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--border); }
.map-regions { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.region-btn {
  position: absolute; background: rgba(37,99,235,0.85); color: #fff;
  padding: 6px 14px; border-radius: 16px; font-size: 12px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all 0.2s; transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); white-space: nowrap;
}
.region-btn:hover { background: #1d4ed8; transform: translate(-50%, -50%) scale(1.1); text-decoration: none; }

/* Destinations Grid */
.destinations-section { max-width: 900px; margin: 0 auto; padding: 10px 24px 50px; }
.destinations-section h2 { font-family: var(--heading-font); font-size: 22px; font-weight: 400; text-align: center; margin-bottom: 20px; color: var(--text); }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dest-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 16px; text-align: center; cursor: pointer; transition: all 0.25s;
  position: relative; overflow: hidden;
}
.dest-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #2563eb; opacity: 0; transition: opacity 0.25s;
}
.dest-card:hover { border-color: #2563eb; transform: translateY(-4px); box-shadow: 0 8px 24px var(--shadow); }
.dest-card:hover::before { opacity: 1; }
.dest-emoji { font-size: 36px; margin-bottom: 8px; }
.dest-card h3 { font-size: 14px; font-weight: 600; color: var(--text); }

/* Search Results */
.search-results { max-width: 800px; margin: 0 auto; padding: 20px 24px 50px; }
.search-results h2 { font-family: var(--heading-font); font-size: 22px; font-weight: 400; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.results-grid { display: flex; flex-direction: column; gap: 10px; }
.result-item {
  padding: 16px 20px; border-radius: 10px; cursor: pointer; transition: all 0.2s;
  background: var(--bg); border: 1px solid var(--border); position: relative;
}
.result-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #2563eb; opacity: 0; transition: opacity 0.2s; border-radius: 4px 0 0 4px; }
.result-item:hover { border-color: #2563eb; box-shadow: 0 4px 12px var(--shadow); transform: translateX(4px); }
.result-item:hover::before { opacity: 1; }
.result-item .tag { font-size: 11px; color: #fff; background: #2563eb; padding: 2px 10px; border-radius: 10px; display: inline-block; margin-bottom: 6px; font-weight: 600; }
.result-item h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.result-item:hover h3 { color: #2563eb; }
.result-item p { font-size: 13px; color: var(--text-muted); }

/* Guide Layout — reuse book layout from books.css */
.book-layout { max-width: 1100px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
#book-sidebar { align-self: start; }
.sidebar-sticky { position: sticky; top: 70px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 20px; max-height: calc(100vh - 90px); overflow-y: auto; }
.book-name { font-family: var(--heading-font); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #2563eb; }
#sidebar-nav { display: flex; flex-direction: column; gap: 1px; }
#sidebar-nav a { font-size: 13px; color: var(--text-secondary); padding: 7px 10px; text-decoration: none; border-radius: 6px; transition: all 0.15s; }
#sidebar-nav a:hover { background: var(--bg-secondary); color: #2563eb; text-decoration: none; }
#sidebar-nav a.active { background: #2563eb15; color: #2563eb; font-weight: 600; }

#guide-article { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 36px 44px; min-height: 400px; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.breadcrumb a { color: #2563eb; text-decoration: none; }
#guide-title { font-family: var(--heading-font); font-size: 30px; font-weight: 400; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 20px; }
#guide-body { font-size: 15px; line-height: 1.8; }
#guide-body p { margin-bottom: 14px; }
#guide-body h2 { font-family: var(--heading-font); font-size: 22px; font-weight: 400; border-bottom: 1px solid var(--border); padding-bottom: 4px; margin: 28px 0 14px; }

/* Footer */
#footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 28px; text-align: center; margin-top: 50px; }
.footer-inner p { font-size: 13px; color: var(--text-muted); }
.footer-inner a { color: #2563eb; text-decoration: none; }
.small { font-size: 11px; margin-top: 4px; }

@media (max-width: 800px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .book-layout { grid-template-columns: 1fr; }
  #book-sidebar { display: none; }
  .travel-hero h1 { font-size: 30px; }
  .region-btn { font-size: 10px; padding: 4px 8px; }
}
@media (max-width: 480px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .travel-hero h1 { font-size: 24px; }
}
