/* ============================================================
   City Page  —  city.css
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.city-hero {
  position: relative; height: 480px; overflow: hidden;
}
.city-hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease;
}
.city-hero:hover .city-hero-img { transform: scale(1.04); }
.city-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,.82) 0%, rgba(10,20,40,.35) 55%, rgba(10,20,40,.15) 100%);
}
.city-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 0 0;
}
.city-breadcrumb {
  position: absolute; top: 20px; right: 0; left: 0;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.75);
  padding: 0 20px;
}
.city-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.city-breadcrumb a:hover { color: #fff; }
.city-breadcrumb span { opacity: .5; }
.city-hero-info { padding: 0 0 32px; }
.city-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.city-tag {
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(4px);
}
.city-tag.continent { background: rgba(32,142,229,.3); border-color: rgba(32,142,229,.5); }
.city-hero-name {
  font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: 8px; letter-spacing: -.5px;
}
.city-hero-sub { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 20px; }
.city-hero-chips { display: flex; gap: 16px; flex-wrap: wrap; }
.city-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9);
}
.city-chip svg { opacity: .8; }

/* ── Stats strip ─────────────────────────────────────────────── */
.city-stats-strip {
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky; z-index: 40;
}
.city-stats-inner {
  display: flex; align-items: stretch;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.city-stat {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 16px 12px; gap: 3px;
  border-left: 1px solid var(--border);
  transition: background .15s; cursor: default;
}
.city-stat:first-child { border-left: none; }
.city-stat:hover { background: var(--primary-light); }
.city-stat-val { font-size: 18px; font-weight: 900; color: var(--text); }
.city-stat-val span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.city-stat-label { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* ── Page body layout ────────────────────────────────────────── */
.city-body { padding: 40px 0 64px; background: var(--bg-gray); }
.city-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px; align-items: start;
}
.city-main { min-width: 0; }
.city-sidebar { position: sticky; top: 130px; }

/* ── Section wrapper ─────────────────────────────────────────── */
.city-section {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden; margin-bottom: 20px;
}
.city-section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
}
.city-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 800; color: var(--text);
}
.city-section-title svg { color: var(--primary); flex-shrink: 0; }
.city-section-body { padding: 22px; }
.city-section-body.p0 { padding: 0; }

/* ── About ───────────────────────────────────────────────────── */
.city-about-text {
  font-size: 14px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 20px;
}
.city-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.city-fact {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--bg-gray);
  border-radius: var(--radius); border: 1px solid var(--border-light);
}
.city-fact-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.city-fact-icon svg { color: var(--primary); }
.city-fact-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.city-fact-val { font-size: 13px; font-weight: 800; color: var(--text); margin-top: 1px; }

/* ── Attractions ─────────────────────────────────────────────── */
.attractions-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
}
.attraction-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--border);
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.attraction-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.attraction-img { position: relative; height: 130px; overflow: hidden; }
.attraction-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.attraction-card:hover .attraction-img img { transform: scale(1.06); }
.attraction-type {
  position: absolute; top: 8px; right: 8px;
  padding: 3px 8px; border-radius: 10px; font-size: 10px; font-weight: 700;
  background: rgba(255,255,255,.9); color: var(--text);
}
.attraction-info { padding: 10px 12px; }
.attraction-name { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.attraction-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* ── Programs strip ──────────────────────────────────────────── */
.city-programs-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}

/* ── Hotels ──────────────────────────────────────────────────── */
.city-hotels-list { display: flex; flex-direction: column; gap: 12px; }
.hotel-row {
  display: flex; gap: 14px; align-items: center;
  padding: 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.hotel-row:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.hotel-img {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0;
}
.hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.hotel-info { flex: 1; min-width: 0; }
.hotel-name { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.hotel-stars { color: #f59e0b; font-size: 12px; margin-bottom: 4px; }
.hotel-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.hotel-price { font-size: 13px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.hotel-price span { font-size: 10px; font-weight: 600; color: var(--text-muted); display: block; text-align: left; }

/* ── Weather ─────────────────────────────────────────────────── */
.weather-months {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
}
.wm-card {
  border-radius: var(--radius-sm); padding: 10px 8px; text-align: center;
  border: 1.5px solid var(--border); background: #fff; cursor: default;
  transition: border-color .15s;
}
.wm-card.peak { background: #fff7ed; border-color: #fed7aa; }
.wm-card.good { background: var(--primary-light); border-color: #bfdbfe; }
.wm-card.low  { background: var(--bg-gray); }
.wm-month { font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.wm-icon  { font-size: 18px; margin-bottom: 2px; }
.wm-temp  { font-size: 12px; font-weight: 800; color: var(--text); }
.wm-tag   { font-size: 9px; font-weight: 700; margin-top: 3px; padding: 1px 5px; border-radius: 6px; display: inline-block; }
.wm-card.peak .wm-tag { background: #fed7aa; color: #c2410c; }
.wm-card.good .wm-tag { background: #bfdbfe; color: var(--primary); }

/* ── Travel tips ─────────────────────────────────────────────── */
.tip-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border-light);
}
.tip-item:last-child { border-bottom: none; padding-bottom: 0; }
.tip-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.tip-title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.tip-text  { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ── Sidebar cards ───────────────────────────────────────────── */
.sidebar-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
  margin-bottom: 16px; width: 100%; box-sizing: border-box;
}
.sidebar-card-head {
  padding: 14px 18px; font-size: 14px; font-weight: 800; color: var(--text);
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-card-head svg { color: var(--primary); }
.sidebar-card-body { padding: 16px 18px; }

/* Quick book CTA */
.qbook-price { text-align: center; margin-bottom: 14px; }
.qbook-from  { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.qbook-amount{ font-size: 28px; font-weight: 900; color: var(--text); line-height: 1.1; }
.qbook-unit  { font-size: 12px; color: var(--text-muted); }
.qbook-btn   {
  display: block; text-align: center; padding: 12px;
  background: linear-gradient(135deg, var(--primary), #0d47a1);
  color: #fff; border-radius: var(--radius); font-weight: 800; font-size: 14px;
  text-decoration: none; transition: opacity .15s; margin-bottom: 10px;
}
.qbook-btn:hover { opacity: .9; }
.qbook-secondary {
  display: block; text-align: center; padding: 10px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 13px; font-weight: 700; color: var(--text);
  text-decoration: none; transition: border-color .15s;
}
.qbook-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* Nearby cities */
.nearby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nearby-item {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1.5px solid var(--border); cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}
.nearby-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nearby-img { height: 64px; overflow: hidden; }
.nearby-img img { width: 100%; height: 100%; object-fit: cover; }
.nearby-name { padding: 6px 8px; font-size: 12px; font-weight: 800; color: var(--text); }

/* Visa info */
.visa-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px;
}
.visa-row:last-child { border-bottom: none; }
.visa-label { color: var(--text-muted); font-weight: 600; }
.visa-val   { font-weight: 800; color: var(--text); }
.visa-ok    { color: #16a34a; }
.visa-warn  { color: #d97706; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .city-layout { grid-template-columns: 1fr 260px; }
  .attractions-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .city-hero { height: 340px; }
  .city-hero-name { font-size: 34px; }
  .city-layout { grid-template-columns: 1fr; }
  .city-sidebar { position: static; width: 100%; }
  .sidebar-card { width: 100%; }
  .city-stats-inner { flex-wrap: wrap; }
  .city-stat { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid var(--border); }
  .city-stat:nth-child(odd) { border-left: none; }
  .attractions-grid { grid-template-columns: repeat(2,1fr); }
  .city-programs-grid { grid-template-columns: 1fr; }
  .weather-months { grid-template-columns: repeat(3,1fr); }
  .city-facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .city-hero { height: 280px; }
  .city-hero-name { font-size: 28px; }
  .attractions-grid { grid-template-columns: 1fr; }
  .weather-months { grid-template-columns: repeat(2,1fr); }
  .nearby-grid { grid-template-columns: 1fr 1fr; }
}
