/* Latakia Tourism — Main Styles */
/* ============================================
   LATAKIA TOURISM — V3 FIXES
   Better mobile, accessible dark mode,
   organized destinations, daily weather,
   smart trip builder
   ============================================ */

:root {
  /* LIGHT THEME — High contrast */
  --deep: #0a2540;
  --teal: #0f5775;
  --aqua: #4fb3bf;
  --aqua-light: #7fcfd9;
  --cream: #faf5e8;
  --paper: #f0f7ff;
  --coral: #0ea5e9;
  --coral-dark: #0284c7;
  --gold: #c9a961;
  
  --bg: #f0f7ff;
  --bg-elev: #ffffff;
  --bg-tint: #f2e9d5;
  --bg-soft: #e8f4fd;
  --text: #0a1929;
  --text-soft: #2c3e50;
  --text-muted: #4a5b6a;
  --line: rgba(10, 37, 64, 0.12);
  --line-soft: rgba(10, 37, 64, 0.06);
  --heading: #0a2540;
  
  --cat-beach: #2588a4;
  --cat-mountain: #3a7d44;
  --cat-heritage: #a8893f;
  --cat-nature: #0284c7;
  
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.18);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* DARK THEME — Carefully tested contrast */
[data-theme="dark"] {
  --deep: #f5ecd9;
  --teal: #5fb8c7;
  --aqua: #7fd3dc;
  --aqua-light: #a8e0e7;
  --cream: #f5ecd9;
  --paper: #0d1825;
  --coral: #f08762;
  --coral-dark: #e07350;
  --gold: #e0c478;
  
  --bg: #0a1421;
  --bg-elev: #14202e;
  --bg-tint: #1a2a3d;
  --bg-soft: #15202f;
  --text: #f1e8d4;           /* High contrast on dark bg */
  --text-soft: #d8cfb8;
  --text-muted: #a8b5c2;     /* Still readable */
  --line: rgba(245, 236, 217, 0.12);
  --line-soft: rgba(245, 236, 217, 0.06);
  --heading: #f5ecd9;
  
  --cat-beach: #5fb8c7;
  --cat-mountain: #6db377;
  --cat-heritage: #d4b56a;
  --cat-nature: #f08762;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible { outline: 2px solid var(--sky, #0ea5e9); outline-offset: 2px; border-radius: 4px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'El Messiri', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  min-height: 100vh;
  /* منع الـ horizontal scroll على كل الأجهزة */
  max-width: 100vw;
}
html { overflow-x: hidden; max-width: 100vw; }
body[dir="ltr"] { font-family: 'Fraunces', serif; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Amiri', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
}
body[dir="ltr"] h1, body[dir="ltr"] h2,
body[dir="ltr"] h3, body[dir="ltr"] h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(240, 247, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s, background 0.3s;
}
[data-theme="dark"] nav { background: rgba(13, 24, 37, 0.92); }
nav.scrolled { padding: 10px 32px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px;
  color: var(--deep);
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Amiri', serif;
  font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 87, 117, 0.4);
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--sky, #0ea5e9); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.icon-btn:hover { background: var(--bg-tint); border-color: var(--teal); transform: translateY(-1px); }
.lang-toggle {
  background: var(--deep);
  color: var(--bg);
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.lang-toggle:hover { background: var(--sky, #0ea5e9); color: #fff; }

/* Hamburger menu (mobile) */
.menu-btn {
  display: none;
  width: 38px; height: 38px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-btn span {
  width: 18px; height: 2px;
  background: var(--text);
  transition: 0.2s;
}

/* Mobile slide-over menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 280px; height: 100vh;
  background: var(--bg-elev);
  z-index: 9999;  /* أعلى من Leaflet markers (700) و popups (700) */
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  padding: 80px 24px 24px;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
body[dir="ltr"] .mobile-menu { right: auto; left: 0; transform: translateX(-100%); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9998;  /* أعلى من Leaflet لكن أقل من القائمة */
  opacity: 0; visibility: hidden;
  transition: 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

/* عندما القائمة مفتوحة، أخفِ Leaflet panes تماماً */
body.mobile-menu-open .leaflet-pane,
body.mobile-menu-open .leaflet-top,
body.mobile-menu-open .leaflet-bottom {
  z-index: 0 !important;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 32px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 45, 90, 0.65) 0%, rgba(10, 31, 63, 0.82) 100%),
    url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=2000&q=80') center/cover;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
  position: relative;
  text-align: center;
}
.weather-badge-hero {
  position: absolute;
  top: -30px;
  inset-inline-end: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(245, 236, 217, 0.18);
  border: 1px solid rgba(245, 236, 217, 0.3);
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: 0.2s;
}
.weather-badge-hero:hover { background: rgba(245, 236, 217, 0.28); }
.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(245, 236, 217, 0.15);
  border: 1px solid rgba(245, 236, 217, 0.3);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  color: #fff;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 110px);
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--aqua-light); font-style: italic; display: inline-block; }
.hero-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.92);
}
.hero-search {
  max-width: 680px;
  margin: 0 auto 28px;
  display: flex;
  background: rgba(240, 247, 255, 0.96);
  border-radius: 999px;
  padding: 8px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.hero-search input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: #0a1929;
  outline: none;
  min-width: 0;
}
.hero-search input::placeholder { color: #5a6e7e; }
.hero-search-btn {
  padding: 12px 26px;
  background: var(--sky, #0ea5e9);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: 0.2s;
  flex-shrink: 0;
}
.hero-search-btn:hover { background: var(--sky, #0284c7); }
.hero-chips {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap;
}
.hero-chip {
  padding: 9px 18px;
  background: rgba(245, 236, 217, 0.12);
  border: 1px solid rgba(245, 236, 217, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
  transition: 0.2s;
  backdrop-filter: blur(10px);
}
.hero-chip:hover { background: rgba(245, 236, 217, 0.25); transform: translateY(-2px); }

/* ============ WEATHER PANEL (collapsible) ============ */
.weather-panel {
  max-width: 1100px;
  margin: -50px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 5;
}
.weather-card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  border: 1px solid var(--line);
}
.weather-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap; gap: 12px;
}
.weather-title {
  font-size: 18px; color: var(--heading);
  display: flex; align-items: center; gap: 10px;
}
.weather-title-emoji { font-size: 22px; }
.weather-now {
  display: flex; align-items: center; gap: 12px;
}
.weather-now-temp {
  font-size: 32px; font-weight: 700;
  color: var(--heading);
  font-family: 'Amiri', serif;
}
.weather-now-desc {
  display: flex; flex-direction: column;
  font-size: 13px; color: var(--text-muted);
}
.weather-forecast {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.weather-day {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
}
.weather-day:hover {
  background: var(--bg-tint);
  border-color: var(--line);
  transform: translateY(-2px);
}
.weather-day.today {
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  color: #fff;
}
.weather-day-name {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-soft);
}
.weather-day.today .weather-day-name { color: #fff; }
.weather-day-icon {
  font-size: 26px;
  margin-bottom: 6px;
}
.weather-day-temp {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
}
.weather-day.today .weather-day-temp { color: #fff; }
.weather-day-temp .min { color: var(--text-muted); font-weight: 400; font-size: 12px; }
.weather-day.today .weather-day-temp .min { color: rgba(255,255,255,0.75); }

.weather-recommendation {
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(15, 87, 117, 0.08));
  border-radius: var(--radius);
  border-right: 4px solid var(--sky, #0ea5e9);
  font-size: 14.5px;
  color: var(--text-soft);
}
body[dir="ltr"] .weather-recommendation { border-right: none; border-left: 4px solid var(--sky, #0ea5e9); }
.weather-recommendation strong { color: var(--sky, #0ea5e9); }

/* ============ SECTIONS ============ */
.section { padding: 100px 32px; }
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.section-eyebrow {
  color: var(--sky, #0ea5e9);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--heading);
  margin-bottom: 18px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ FEATURED SECTION (Top 3 large cards) ============ */
.featured {
  padding: 100px 32px 60px;
}
.featured-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  height: 480px;
}
.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.featured-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.featured-card:hover img { transform: scale(1.06); }
.featured-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.featured-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}
.featured-badge {
  display: inline-block;
  background: var(--sky, #0ea5e9);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.featured-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #fff;
}
.featured-card.large h3 { font-size: 38px; }
.featured-meta {
  display: flex; gap: 14px;
  font-size: 13px;
  opacity: 0.92;
}
.featured-meta-item { display: flex; align-items: center; gap: 4px; }

/* ============ DESTINATIONS BY CATEGORY ============ */
.destinations {
  padding: 60px 32px 100px;
}
.dest-controls {
  max-width: 1300px;
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.search-box-wrap {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.search-box {
  width: 100%;
  padding: 13px 22px 13px 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg-elev);
  color: var(--text);
  transition: border 0.2s;
}
body[dir="rtl"] .search-box { padding: 13px 44px 13px 22px; }
.search-box:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 87, 117, 0.1); }
.search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 17px;
  pointer-events: none;
}

.tabs-wrap {
  max-width: 1300px;
  margin: 0 auto 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  min-width: max-content;
}
.tab {
  padding: 10px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
  transition: 0.2s;
  white-space: nowrap;
  font-weight: 500;
}
.tab:hover { border-color: var(--teal); color: var(--teal); }
.tab.active {
  background: var(--deep);
  color: var(--bg);
  border-color: var(--deep);
}
[data-theme="dark"] .tab.active {
  background: var(--sky, #0ea5e9);
  color: #fff;
  border-color: var(--sky, #0ea5e9);
}
.tab-count {
  font-size: 12px;
  background: var(--bg-tint);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 999px;
}
.tab.active .tab-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Category section with clear hierarchy */
.cat-section {
  max-width: 1300px;
  margin: 0 auto 60px;
}
.cat-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.cat-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-section-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
}
.cat-section-title h3 {
  font-size: 28px;
  color: var(--heading);
  margin-bottom: 2px;
}
.cat-section-title p {
  font-size: 13px;
  color: var(--text-muted);
}
.cat-view-all {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.cat-view-all:hover { background: var(--bg-tint); border-color: var(--sky, #0ea5e9); color: var(--sky, #0ea5e9); }

/* ============ UNIFIED GRID (replaces bento) ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-tint);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-tag {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(240, 247, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--deep);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}
[data-theme="dark"] .card-tag {
  background: rgba(20, 32, 46, 0.95);
  color: var(--cream);
}
.fav-btn {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(240, 247, 255, 0.95);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  font-size: 16px;
  z-index: 3;
  transition: 0.2s;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
[data-theme="dark"] .fav-btn { background: rgba(20, 32, 46, 0.95); }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.active { background: var(--sky, #0ea5e9); color: #fff; animation: pulse 0.4s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 19px;
  color: var(--heading);
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.card-rating {
  font-size: 13px;
  color: var(--text-soft);
  display: flex; align-items: center; gap: 4px;
}
.card-rating-star { color: var(--gold); }
.card-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 14px;
  transition: 0.3s;
}
.card:hover .card-arrow { background: var(--sky, #0ea5e9); color: #fff; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.empty-state-icon { font-size: 50px; opacity: 0.3; margin-bottom: 16px; }
.empty-state h3 { color: var(--heading); margin-bottom: 8px; }

/* ============ MAP ============ */
.map-section {
  background: var(--bg-soft);
}
.map-wrapper {
  max-width: 1300px;
  margin: 40px auto 0;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-elev);
}
#map {
  height: 520px;
  width: 100%;
  background: var(--bg-tint);
}
.map-legend {
  position: absolute;
  bottom: 24px;
  inset-inline-end: 16px;
  background: var(--bg-elev);
  padding: 14px 18px;
  border-radius: var(--radius);
  z-index: 1000;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 220px;
  max-height: calc(100% - 60px);
  overflow-y: auto;
  transition: transform 0.25s, opacity 0.25s;
}
.map-legend h4 {
  font-size: 13px;
  color: var(--heading);
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.map-legend h4::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.map-legend.collapsed h4::after { transform: rotate(180deg); }
.map-legend.collapsed .legend-items-wrap { display: none; }
.legend-items-wrap { display: flex; flex-direction: column; gap: 2px; }
.legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--text);
  padding: 5px 7px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.legend-item:hover { background: var(--bg-soft); }
.legend-item.legend-active {
  background: var(--bg-soft);
  font-weight: 700;
}
.legend-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg-elev);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  background: var(--bg-elev) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow) !important;
}
.leaflet-popup-tip { background: var(--bg-elev) !important; }
.leaflet-popup-content {
  margin: 14px 18px !important;
  font-family: 'El Messiri', serif !important;
  color: var(--text) !important;
}
.popup-title {
  font-family: 'Amiri', serif;
  font-size: 18px;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 4px;
}
.popup-cat {
  font-size: 11px;
  color: var(--sky, #0ea5e9);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.popup-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============ TRIP BUILDER ============ */
.trip-builder-section {
  background: var(--bg-soft);
  padding: 100px 32px;
}
.trip-builder {
  max-width: 1100px;
  margin: 50px auto 0;
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.builder-step { display: none; }
.builder-step.active { display: block; animation: fadeIn 0.4s; }
.builder-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.builder-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sky, #0ea5e9);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Amiri', serif;
}
.builder-step-title h3 { font-size: 24px; margin-bottom: 4px; }
.builder-step-title p { color: var(--text-muted); font-size: 14px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.option-card {
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
  position: relative;
}
.option-card:hover {
  border-color: var(--sky, #0ea5e9);
  transform: translateY(-2px);
}
.option-card.selected {
  border-color: var(--sky, #0ea5e9);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(15, 87, 117, 0.05));
}
.option-card.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 26px; height: 26px;
  background: var(--sky, #0ea5e9);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.4);
}
.option-icon {
  font-size: 34px;
  margin-bottom: 10px;
  display: block;
}
.option-label {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
  font-size: 15px;
}
.option-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.builder-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.builder-progress {
  display: flex; gap: 6px;
}
.builder-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.builder-dot.active { background: var(--sky, #0ea5e9); width: 24px; border-radius: 999px; }

.btn {
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--sky, #0ea5e9);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover { background: var(--sky, #0284c7); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--line); color: var(--text-muted); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-tint); }
.btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }

/* Trip result */
.trip-result {
  display: none;
  animation: fadeIn 0.5s;
}
.trip-result.show { display: block; }
.trip-result-header {
  text-align: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.trip-result-emoji { font-size: 50px; margin-bottom: 12px; }
.trip-result h3 {
  font-size: 32px;
  margin-bottom: 8px;
}
.trip-result-tag {
  display: inline-block;
  background: var(--bg-tint);
  color: var(--text-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
}
.day-timeline { position: relative; }
.day-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: 22px;
  width: 2px;
  background: var(--line);
}
.day-card {
  position: relative;
  padding-inline-start: 60px;
  margin-bottom: 28px;
}
.day-marker {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sky, #0ea5e9);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 16px;
  z-index: 2;
}
.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.day-title { font-size: 19px; color: var(--heading); }
.day-weather {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-tint);
  padding: 6px 12px;
  border-radius: 999px;
}
.day-stops {
  display: grid;
  gap: 10px;
}
.day-stop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
}
.day-stop:hover {
  border-color: var(--sky, #0ea5e9);
  transform: translateX(4px);
}
body[dir="ltr"] .day-stop:hover { transform: translateX(-4px); }
.day-stop-img {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.day-stop-info { flex: 1; min-width: 0; }
.day-stop-name {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 2px;
  font-size: 15px;
}
.day-stop-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex; gap: 10px;
  flex-wrap: wrap;
}
.day-stop-time {
  font-size: 12px;
  color: var(--sky, #0ea5e9);
  font-weight: 600;
  background: rgba(14, 165, 233, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.trip-result-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 33, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: scaleIn 0.4s var(--ease);
  color: var(--text);
}
.modal-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-body { padding: 32px 36px; }
.modal-cat {
  color: var(--sky, #0ea5e9);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.modal-title { font-size: 36px; color: var(--heading); margin-bottom: 16px; }
.modal-desc { color: var(--text-soft); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.modal-tips {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 20px;
  border-right: 4px solid var(--gold);
}
body[dir="ltr"] .modal-tips { border-right: none; border-left: 4px solid var(--gold); }
.modal-tips h4 { color: var(--heading); margin-bottom: 8px; font-size: 16px; }
.modal-tips p { color: var(--text-soft); font-size: 14px; }
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(240, 247, 255, 0.95);
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--deep);
  z-index: 10;
  transition: 0.2s;
}
[data-theme="dark"] .modal-close { background: rgba(20, 32, 46, 0.95); color: var(--cream); }
.modal-close:hover { background: var(--sky, #0ea5e9); color: #fff; transform: rotate(90deg); }
.modal-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.modal-actions .btn { flex: 1; min-width: 140px; justify-content: center; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--deep);
  color: var(--bg);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.3);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}
.toast.show { opacity: 1; bottom: 50px; }
.toast.success { background: #2e6535; color: #fff; }
.toast.error { background: #c44; color: #fff; }

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: var(--shadow);
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--sky, #0ea5e9); color: #fff; }

/* ============ FOOTER ============ */
footer {
  background: var(--deep);
  color: rgba(245, 236, 217, 0.75);
  padding: 50px 32px 30px;
  text-align: center;
}
[data-theme="dark"] footer { background: #050d18; }
footer .logo { justify-content: center; display: inline-flex; color: var(--cream); margin-bottom: 16px; }
.footer-links {
  display: flex; gap: 28px; justify-content: center;
  margin: 22px 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(245, 236, 217, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--aqua-light); }
.footer-divider {
  height: 1px;
  background: rgba(245, 236, 217, 0.1);
  margin: 24px auto;
  max-width: 600px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* ============ SKELETON ============ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tint) 0%, var(--bg-soft) 50%, var(--bg-tint) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE V10 CLEAN
   ════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .featured-card.large { grid-column: span 2; }
}

@media (max-width: 768px) {
  /* ── Nav ── */
  nav { padding: 10px 16px; height: 56px; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .logo-mark { width: 32px; height: 32px; font-size: 15px; }
  .logo span { font-size: 16px; }

  /* ── Hero ── */
  .hero { min-height: auto; padding: 76px 20px 36px; }
  .hero h1 { font-size: 30px; line-height: 1.25; margin-bottom: 10px; }
  .hero-sub { font-size: 14px; margin-bottom: 18px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 12px; }
  .hero-search { flex-direction: column; width: 100%; }
  .hero-search input { padding: 13px 16px; text-align: center; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .hero-search-btn { justify-content: center; padding: 12px; }
  .hero-chips { gap: 6px; margin-bottom: 16px; }
  .hero-chip { padding: 6px 10px; font-size: 11px; }

  .hero-slide-dots { bottom: 44px; }
  .hero-dot { width: 7px; height: 7px; }
  .hero-dot.active { width: 18px; }

  /* ── Weather ── */
  .weather-panel { margin: -16px auto 0; padding: 0 16px; }
  .weather-card { padding: 14px; border-radius: 14px; }
  .weather-header { margin-bottom: 10px; }
  .weather-now-temp { font-size: 26px; }
  .weather-forecast { gap: 5px; }
  .weather-day { min-width: 56px; padding: 8px 4px; border-radius: 8px; }
  .weather-day .weather-day-icon { font-size: 17px; }
  .weather-day .weather-day-name { font-size: 9px; }
  .weather-day .weather-day-temp { font-size: 12px; }
  .weather-recommendation { font-size: 12px; padding: 8px 10px; margin-top: 6px; }

  /* ── Sections base ── */
  .section-header { margin-bottom: 18px; }
  .section-title { font-size: 22px; }
  .section-eyebrow { font-size: 10px; padding: 3px 10px; margin-bottom: 4px; }
  .section-desc { font-size: 12px; }

  /* ── Destinations ── */
  .dest-explorer { padding: 28px 0; }
  .dest-explorer .section-header { padding: 0 16px; }
  .dest-controls-bar { flex-direction: column; align-items: stretch; gap: 8px; padding: 0 16px; margin-bottom: 12px; }
  .dest-search-wrap { width: 100%; }
  .dest-search-input { font-size: 15px !important; padding: 12px 40px 12px 14px; border-radius: 12px; }
  .dest-filter-bar {
    padding: 0 16px; margin: 0 -16px;
    overflow-x: auto; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 6px;
  }
  .dest-filter-bar::-webkit-scrollbar { display: none; }
  .dest-filter-pill { flex-shrink: 0; white-space: nowrap; padding: 7px 12px; font-size: 12px; }
  .dest-sort-wrap { padding: 0 16px; }
  .dest-stats { padding: 0 16px; font-size: 11px; margin-bottom: 8px; }

  /* Cards: 2 column grid on tablets */
  .dest-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
  .dest-card { border-radius: 12px; }
  .dest-card-img-wrap { aspect-ratio: 3/2; border-radius: 12px 12px 0 0; }
  .dest-card-body { padding: 10px 10px 12px; }
  .dest-card-title { font-size: 13px; margin-bottom: 3px; line-height: 1.3; }
  .dest-card-desc { font-size: 10px; -webkit-line-clamp: 2; margin-bottom: 4px; }
  .dest-card-footer { gap: 4px; }
  .dest-rating { font-size: 11px; }
  .dest-card-arrow { width: 24px; height: 24px; font-size: 11px; }
  .dest-fav-btn { width: 28px; height: 28px; font-size: 13px; top: 6px; }
  .dest-badge-featured { font-size: 8px; padding: 2px 6px; top: 6px; }
  .dest-card-cat { font-size: 9px; padding: 2px 6px; bottom: 6px; }
  .dest-load-more-wrap { padding: 16px 16px 0; }
  .dest-load-more { padding: 12px; font-size: 13px; width: 100%; border-radius: 12px; }

  /* ── Map ── */
  .map-section { padding: 28px 16px; }
  #map { height: 320px; border-radius: 14px; }
  .map-legend { position: relative; bottom: auto; margin-top: 8px; flex-direction: row; flex-wrap: wrap; gap: 6px; border-radius: 10px; }

  /* ── Trip Builder ── */
  .trip-builder-section { padding: 28px 16px; }
  .trip-builder { padding: 18px 14px; border-radius: 14px; }

  /* ── Ready Trips ── */
  .ready-trips-section { padding: 28px 16px; }
  .ready-trips-grid { grid-template-columns: 1fr; gap: 10px; }
  .ready-trip-card { padding: 14px; border-radius: 12px; }
  .ready-trip-icon { width: 40px; height: 40px; font-size: 18px; border-radius: 10px; }

  /* ── Blog ── */
  .blog-section { padding: 28px 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 10px; }
  .blog-card { border-radius: 12px; }
  .blog-card-body { padding: 12px 14px; }
  .blog-card-title { font-size: 16px; }

  /* ── Poll ── */
  .poll-section { padding: 28px 16px; }
  .poll-card { padding: 16px 14px; border-radius: 12px; }

  /* ── Contact ── */
  .contact-section { padding: 28px 16px; }
  .contact-container { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding: 18px 14px; border-radius: 12px; }
  .cf-input, .cf-textarea { font-size: 16px !important; border-radius: 10px; }
  .cf-submit { font-size: 15px; padding: 14px; border-radius: 12px; }

  /* ── Newsletter ── */
  .newsletter-section { padding: 28px 16px; }
  .newsletter-title { font-size: 20px; }
  .nl-form { flex-direction: column !important; }

  /* ── Modal — bottom sheet ── */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: 18px 18px 0 0; max-height: 88vh; width: 100%; }
  .modal-drag-handle { display: block; }
  .modal-img { height: 180px; }
  .modal-body { padding: 14px 16px 20px; }
  .modal-title { font-size: 20px; }
  .modal-actions { flex-direction: column; gap: 8px; }
  .modal-actions .btn { width: 100%; justify-content: center; border-radius: 10px; }

  /* ── Footer ── */
  footer { padding: 28px 16px calc(64px + env(safe-area-inset-bottom, 0px)); }
  .footer-top { flex-direction: column; text-align: center; align-items: center; gap: 16px; }
  .footer-tagline { max-width: none; }
  .footer-nav { align-items: center; }

  .back-top { bottom: 24px; }
}

/* ════ 480px — phones ════ */
@media (max-width: 480px) {
  .hero { padding: 70px 16px 28px; }
  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 12px; }
  .hero-chips .hero-chip { font-size: 10px; padding: 5px 8px; }


  /* Single column cards */
  .dest-grid { grid-template-columns: 1fr; gap: 8px; }
  .dest-card-img-wrap { aspect-ratio: 16/9; }
  .dest-card-body { padding: 10px 12px 12px; }
  .dest-card-title { font-size: 15px; }
  .dest-card-desc { font-size: 11px; -webkit-line-clamp: 2; }

  #map { height: 260px; }
  .modal-img { height: 150px; }
}

/* ════ 380px — small phones ════ */
@media (max-width: 380px) {
  nav { height: 50px; padding: 8px 12px; }
  .logo-mark { width: 28px; height: 28px; font-size: 13px; }
  .logo span { font-size: 14px; }
  .hero { padding: 60px 12px 24px; }
  .hero h1 { font-size: 22px; }
  .section-title { font-size: 18px; }
  .dest-card-title { font-size: 14px; }
}

/* ════ iOS ════ */
@supports (-webkit-touch-callout: none) {
  input, textarea, select { font-size: 16px !important; }
  .modal { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* ══════════ Prefers reduced motion ══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* ═══════════════ POLL WIDGET ═══════════════ */
.poll-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.poll-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.poll-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.poll-question {
  font-size: 21px;
  font-weight: 700;
  color: var(--heading, #0f172a);
  margin: 0 0 20px;
  line-height: 1.45;
}
.poll-options-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* أزرار التصويت */
.poll-option {
  background: var(--bg-soft, #f8fafc);
  border: 2px solid var(--line, #e5e7eb);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  color: var(--text, #334155);
  cursor: pointer;
  text-align: start;
  transition: border-color 0.18s, background 0.18s, transform 0.1s;
}
.poll-option:hover {
  border-color: #0ea5e9;
  background: #f0f9ff;
}
.poll-option:active { transform: scale(0.99); }
.poll-option:disabled { opacity: 0.6; cursor: default; }
/* شريط النتائج */
.poll-result {
  position: relative;
  background: var(--bg-soft, #f1f5f9);
  border-radius: 12px;
  padding: 14px 18px;
  overflow: hidden;
  border: 2px solid transparent;
}
.poll-result.chosen {
  border-color: #0ea5e9;
}
.poll-result-bar {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  background: linear-gradient(90deg, rgba(14,165,233,0.18), rgba(14,165,233,0.28));
  transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.poll-result.chosen .poll-result-bar {
  background: linear-gradient(90deg, rgba(14,165,233,0.3), rgba(2,132,199,0.4));
}
.poll-result-label {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text, #334155);
}
.poll-result-pct {
  font-weight: 800;
  color: #0284c7;
}
.poll-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
}
.poll-thanks { color: #16a34a; font-weight: 600; }
.poll-error { color: #dc2626; font-weight: 600; }

@media (max-width: 600px) {
  .poll-card { padding: 22px 18px; }
  .poll-question { font-size: 18px; }
}

/* ═══════════════ MAP — V8 ENHANCEMENTS ═══════════════ */
/* أيقونة الوجهة المخصّصة */
.marker-pin {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.marker-pin:hover { transform: rotate(-45deg) scale(1.12); }
.marker-emoji {
  transform: rotate(45deg);
  font-size: 16px;
  line-height: 1;
}
/* عنقود (cluster) */
.cluster-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(2,132,199,0.45);
}
[data-theme="dark"] .cluster-bubble,
[data-theme="dark"] .marker-pin { border-color: #14202e; }
/* زر موقعي */
.map-locate-btn {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.15s;
}
.map-locate-btn:hover { background: #f0f9ff; }
[data-theme="dark"] .map-locate-btn {
  background: #1e2a3a;
  border-color: rgba(255,255,255,0.15);
}
/* علامة موقع المستخدم */
.user-dot {
  width: 18px;
  height: 18px;
  background: #0ea5e9;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(14,165,233,0.25);
  animation: userPulse 2s infinite;
}
@keyframes userPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(14,165,233,0.25); }
  50% { box-shadow: 0 0 0 12px rgba(14,165,233,0.1); }
}
/* legend كأزرار فلترة */
.legend-item {
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, transform 0.1s;
  border-radius: 8px;
  padding: 6px 8px;
}
.legend-item:hover { background: var(--bg-soft, #f1f5f9); }
.legend-item:active { transform: scale(0.97); }
.legend-item.legend-active {
  background: var(--bg-soft, #e0f2fe);
  font-weight: 700;
}
.legend-item.legend-active .legend-dot {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}
.legend-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  width: 22px;
  height: 22px;
}
/* رابط داخل popup */
.popup-link {
  display: inline-block;
  margin-top: 8px;
  color: #0284c7;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.popup-link:hover { text-decoration: underline; }

/* ═══════════════ MODAL — مقبض السحب (موبايل) ═══════════════ */
.modal-drag-handle {
  display: none;
}
@media (max-width: 640px) {
  .modal-drag-handle {
    display: block;
    width: 44px;
    height: 5px;
    background: rgba(0,0,0,0.18);
    border-radius: 999px;
    margin: 10px auto 4px;
    flex-shrink: 0;
  }
  [data-theme="dark"] .modal-drag-handle {
    background: rgba(255,255,255,0.25);
  }
  /* تكبير زر الإغلاق على الموبايل */
  .modal-close {
    width: 40px !important;
    height: 40px !important;
    font-size: 26px !important;
    top: 10px !important;
  }
  /* المودال يبدأ من الأسفل كـ bottom-sheet */
  .modal {
    border-radius: 20px 20px 0 0 !important;
    align-self: flex-end;
    max-height: 92vh;
    touch-action: pan-y;
  }
  .modal-overlay {
    align-items: flex-end !important;
  }
}

/* ═══════════════ READY-TRIPS — V8 ═══════════════ */
.ready-trips-section {
  padding: 80px 24px;
  background: var(--bg-elev, #fff);
}
[data-theme="dark"] .ready-trips-section {
  background: var(--bg-soft, #0f1c2e);
}
.ready-trips-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  gap: 22px;
}
.ready-trip-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ready-trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.12);
  border-color: rgba(14, 165, 233, 0.4);
}

/* ═══════════════ CONTACT — V8 ═══════════════ */
.contact-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-soft, #e8f4fd) 0%, var(--bg-elev, #fff) 100%);
}
[data-theme="dark"] .contact-section {
  background: linear-gradient(180deg, #0f1c2e 0%, var(--bg-elev, #0a1929) 100%);
}
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-container { grid-template-columns: 1fr; gap: 32px; }
}

/* ════════════════════════════════════════════
   DESTINATIONS EXPLORER — V8.2 (UNIFIED)
   ════════════════════════════════════════════ */
.dest-explorer {
  padding: 70px 24px 40px;
  max-width: 1320px;
  margin: 0 auto;
}

/* شريط الفلاتر العلوي */
.dest-controls-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  position: sticky;
  top: 70px;
  z-index: 20;
  background: linear-gradient(to bottom, var(--bg) 70%, transparent);
  padding: 12px 0;
  backdrop-filter: blur(8px);
}

.dest-search-wrap {
  position: relative;
  flex: 1;
  min-width: min(240px, 100%);
  max-width: 400px;
}
.dest-search-input {
  width: 100%;
  padding: 12px 44px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}
.dest-search-input:focus {
  outline: none;
  border-color: #0ea5e9;
  background: var(--card-bg, #fff);
}
.dest-search-wrap .search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.dest-search-clear {
  position: absolute;
  top: 50%;
  inset-inline-end: 12px;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dest-search-clear:hover { background: var(--sky, #0ea5e9); color: #fff; }

/* Pills الفلتر */
.dest-filter-bar {
  display: flex;
  gap: 8px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
}
.dest-filter-bar::-webkit-scrollbar { height: 4px; }
.dest-filter-bar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.dest-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
}
.dest-filter-pill:hover {
  border-color: var(--pill-color, #0ea5e9);
  transform: translateY(-1px);
}
.dest-filter-pill.active {
  background: var(--pill-color, #0a2540);
  color: #fff;
  border-color: var(--pill-color, #0a2540);
}
.pill-count {
  background: rgba(0,0,0,0.08);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.dest-filter-pill.active .pill-count {
  background: rgba(255,255,255,0.25);
}

/* sort dropdown */
.dest-sort-select {
  padding: 10px 16px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%2364748b' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-inline-start: 36px;
}
[dir="rtl"] .dest-sort-select { background-position: right 14px center; padding-inline-start: 16px; padding-inline-end: 36px; }
.dest-sort-select:focus { outline: none; border-color: #0ea5e9; }

/* إحصاء النتائج */
.dest-stats {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* الشبكة */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.dest-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.14);
  border-color: rgba(14, 165, 233, 0.5);
}
.dest-card:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }

.dest-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.dest-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.dest-card:hover .dest-card-img-wrap img {
  transform: scale(1.05);
}
.dest-badge-featured {
  position: absolute;
  top: 10px; inset-inline-start: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.dest-card-cat {
  position: absolute;
  bottom: 10px; inset-inline-start: 10px;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.dest-fav-btn {
  position: absolute;
  top: 10px; inset-inline-end: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--sky, #0ea5e9);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dest-fav-btn:hover { background: #fff; transform: scale(1.12); }
.dest-fav-btn.active { background: var(--sky, #0ea5e9); color: #fff; }

.dest-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dest-card-title {
  font-family: "Amiri", serif;
  font-size: 19px;
  color: var(--heading, #0a2540);
  margin: 0 0 8px;
  line-height: 1.35;
}
.dest-card-desc {
  font-size: 13.5px;
  color: var(--text-muted, #64748b);
  line-height: 1.65;
  margin: 0 0 14px;
  flex: 1;
}
.dest-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft, #f1f5f9);
}
.dest-rating {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #0a2540);
}
.dest-rating .rating-star { color: var(--gold, #c9a961); }
.dest-rating small { color: var(--text-muted); font-weight: normal; margin-inline-start: 3px; }
.dest-rating-empty {
  font-size: 11px;
  color: var(--text-muted, #94a3b8);
  font-style: italic;
}
.dest-card-arrow {
  color: var(--sky, #0ea5e9);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s;
}
.dest-card:hover .dest-card-arrow { transform: translateX(-4px); }
[dir="ltr"] .dest-card:hover .dest-card-arrow { transform: translateX(4px); }

/* زر تحميل المزيد */
.dest-load-more-wrap {
  text-align: center;
  margin-top: 32px;
}
.dest-load-more {
  padding: 14px 32px;
  background: var(--bg-elev);
  border: 1.5px solid var(--sky, #0ea5e9);
  color: var(--sky, #0ea5e9);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.dest-load-more:hover {
  background: var(--sky, #0ea5e9);
  color: #fff;
  transform: translateY(-2px);
}

/* Empty State */
.dest-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-soft);
  border-radius: 18px;
  border: 2px dashed var(--line);
}
.dest-empty-icon { font-size: 56px; opacity: 0.45; margin-bottom: 12px; }
.dest-empty h3 { font-family: "Amiri", serif; color: var(--heading); margin: 0 0 8px; }
.dest-empty p { color: var(--text-muted); margin: 0 0 20px; }

/* Mobile */
@media (min-width: 480px) and (max-width: 768px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .dest-card-img-wrap { aspect-ratio: 5/4; }
}

/* ════════════════════════════════════════════
   ADSENSE — تنسيق وحدات الإعلان
   ════════════════════════════════════════════ */
.ad-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}
.ad-between-sections {
  padding: 20px 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ad-in-article {
  margin: 28px 0;
  padding: 16px 0;
  border-radius: 12px;
}
.ad-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  opacity: 0.7;
}
/* تأكد الإعلانات responsive */
.ad-wrapper ins {
  max-width: 100%;
}
@media (max-width: 768px) {
  .ad-between-sections { padding: 14px 16px; }
  .ad-in-article { margin: 20px 0; }
}

/* ═══════════════════════════════════════════
   V9 ADDITIONS — New Hero, Footer, Newsletter
   ═══════════════════════════════════════════ */

/* Newsletter Section */
.newsletter-section {
  padding: 60px 24px;
  background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
  color: #fff;
}
.newsletter-container { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter-icon { font-size: 40px; margin-bottom: 16px; }
.newsletter-title {
  font-family: var(--font-display, "El Messiri", serif);
  font-size: 28px; margin-bottom: 10px;
}
.newsletter-desc { font-size: 15px; opacity: 0.85; margin-bottom: 24px; }

/* Footer Redesign */
.footer-top {
  max-width: 1000px; margin: 0 auto 30px;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; text-align: start;
}
.footer-brand { flex: 1; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo .logo-mark { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.footer-brand .logo span { color: #fff; }
.footer-tagline {
  font-size: 14px; color: rgba(255,255,255,0.6);
  max-width: 300px; line-height: 1.7;
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav h4 {
  font-size: 14px; color: rgba(255,255,255,0.5);
  margin-bottom: 4px; font-weight: 600;
}
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-nav a:hover { color: var(--sky-light, #38bdf8); }

/* ═══════════════════════════════════════════
   V9 UI IMPROVEMENTS
   ═══════════════════════════════════════════ */

/* ── 1. Hero animated wave ── */
@media (prefers-reduced-motion: reduce) {
}

@media (max-width: 768px) {
  .back-top { bottom: 24px; }
}

/* ── 3. Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── 4. View Toggle (Grid/List) ── */
.dest-view-toggle {
  display: flex; gap: 4px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm, 10px);
  padding: 3px;
  border: 1px solid var(--line);
}
.dest-view-btn {
  width: 36px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
  border: none; background: none;
}
.dest-view-btn:hover { color: var(--sky, #0ea5e9); }
.dest-view-btn.active {
  background: var(--bg-elev, #fff);
  color: var(--sky, #0ea5e9);
  box-shadow: 0 1px 4px rgba(10,37,64,0.1);
}
.dest-view-btn svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* List view mode */
.dest-grid.list-view {
  grid-template-columns: 1fr;
  gap: 12px;
}
.dest-grid.list-view .dest-card {
  flex-direction: row;
  height: 120px;
  align-items: stretch;
}
.dest-grid.list-view .dest-card-img-wrap {
  width: 180px; min-width: 180px;
  aspect-ratio: auto;
}
.dest-grid.list-view .dest-card-body {
  padding: 14px 18px;
  justify-content: center;
}
.dest-grid.list-view .dest-card-desc {
  -webkit-line-clamp: 1;
}
@media (max-width: 600px) {
  .dest-grid.list-view .dest-card-img-wrap {
    width: 110px; min-width: 110px;
  }
  .dest-grid.list-view .dest-card { height: 100px; }
}

/* ── 5. Custom Map Markers ── */
.custom-marker {
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  border: 2px solid #fff;
  transition: transform 0.2s;
}
.custom-marker span {
  transform: rotate(45deg);
  font-size: 16px;
  line-height: 1;
}
.custom-marker:hover {
  transform: rotate(-45deg) scale(1.15);
}
.custom-marker.beach { background: #0ea5e9; }
.custom-marker.mountain { background: #059669; }
.custom-marker.heritage { background: #d97706; }
.custom-marker.nature { background: #0d9488; }

/* ── 6. Skeleton Loading ── */
.skeleton-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.skeleton-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-tint, #dbeafe) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-body { padding: 16px 18px; }
.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-tint, #dbeafe) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: 6px;
  margin-bottom: 10px;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.shorter { width: 40%; }
@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── 7. Smooth Dark Mode Transition ── */
body,
body * {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0s;
}
body.theme-transitioning,
body.theme-transitioning * {
  transition-duration: 0.35s !important;
  transition-timing-function: ease !important;
}

/* ── 8. Share Button in Modal ── */
.modal-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.modal-share-btn:hover {
  background: var(--sky, #0ea5e9);
  color: #fff; border-color: transparent;
}
.modal-share-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── 9. Animated Hero Badge ── */
.hero-badge {
  display: inline-block; padding: 8px 20px;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.3);
  border-radius: 999px; font-size: 14px;
  color: #fff; font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: heroFadeIn 0.8s ease-out 0.1s both;
}


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

/* ═══════════════════════════════════════════
   HERO SLIDESHOW + TYPED TEXT — V9.3
   ═══════════════════════════════════════════ */

/* ── Slideshow Background ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity, transform;
  animation: kenBurns 20s ease-in-out infinite alternate;
}
.hero-slide.active {
  opacity: 1;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
/* Stagger Ken Burns direction per slide */
.hero-slide:nth-child(2) { animation-name: kenBurns2; }
@keyframes kenBurns2 {
  0%   { transform: scale(1.04) translate(1%, 0); }
  100% { transform: scale(1)    translate(-1%, 1%); }
}
.hero-slide:nth-child(3) { animation-name: kenBurns3; }
@keyframes kenBurns3 {
  0%   { transform: scale(1)    translate(0, 1%); }
  100% { transform: scale(1.06) translate(1%, -1%); }
}
.hero-slide:nth-child(4) { animation-direction: alternate-reverse; }
.hero-slide:nth-child(5) { animation-name: kenBurns2; animation-direction: alternate-reverse; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 45, 90, 0.55) 0%,
    rgba(10, 31, 63, 0.75) 60%,
    rgba(10, 25, 41, 0.88) 100%
  );
  z-index: 1;
}

/* Override old hero-bg if it still exists */
.hero-bg { display: none; }

/* Ensure hero-content is above slideshow */
.hero-content {
  z-index: 3 !important;
  position: relative !important;
}

/* ── Slide Dots ── */
.hero-slide-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.hero-dot:hover {
  border-color: #fff;
}
.hero-dot.active {
  background: #fff;
  border-color: #fff;
  width: 28px;
  border-radius: 5px;
}

/* ── Typed Text Animation ── */
.typed-text {
  display: inline;
}
.typed-cursor {
  display: inline-block;
  font-weight: 300;
  margin-inline-start: 2px;
  animation: cursorBlink 0.7s infinite;
  color: var(--aqua-light, #7fcfd9);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
  .hero-slide-dots {
    bottom: 70px;
  }
  .hero-dot {
    width: 8px;
    height: 8px;
  }
  .hero-dot.active {
    width: 22px;
  }
}
@media (max-width: 480px) {
  .hero-slide-dots {
    bottom: 55px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none !important;
    transition: opacity 0.5s !important;
  }
  .typed-cursor { animation: none; opacity: 1; }
}

/* ── New categories: Restaurant & Hotel markers ── */
.custom-marker.restaurant { background: #ef4444; }
.custom-marker.hotel { background: #8b5cf6; }
