:root {
  --bg-page: #F4F8FB;
  --bg-dark: #0A192F;
  --bg-slate: #112240;
  --bg-card: #FFFFFF;
  --accent-teal: #00B4D8;
  --accent-teal-hover: #0096B4;
  --accent-cta: #FF7A00;
  --accent-cta-hover: #E06B00;
  --text-main: #1E293B;
  --text-muted: #475569;
  --text-light: #E2E8F0;
  --border-light: #E2E8F0;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 6px 20px rgba(10, 25, 47, 0.08);
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-page); color: var(--text-main); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.community-bar { background: linear-gradient(90deg, #0D2B4E, #0077B6); color: #fff; text-align: center; padding: 10px 16px; font-size: 0.92rem; font-weight: 500; }
.community-bar a { color: #FFD166; font-weight: 700; text-decoration: underline; margin-left: 4px; }
.community-bar a:hover { color: #fff; }

.site-header { background: var(--bg-dark); color: #fff; position: sticky; top: 0; z-index: 200; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.6px; color: #fff; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; stroke: var(--accent-teal); fill: none; stroke-width: 2.2; }
.desktop-nav { display: flex; align-items: center; gap: 18px; list-style: none; }
.desktop-nav a { color: var(--text-light); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--accent-teal); }
.menu-btn { background: rgba(0,180,216,0.15); border: 1px solid var(--accent-teal); color: #fff; padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.88rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu-btn:hover { background: var(--accent-teal); }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10,25,47,0.65); z-index: 300; display: none; justify-content: flex-end; }
.drawer-overlay.open { display: flex; }
.drawer-panel { width: 100%; max-width: 400px; background: #fff; color: var(--bg-dark); height: 100%; overflow-y: auto; padding: 28px 24px; box-shadow: -8px 0 32px rgba(0,0,0,0.25); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.drawer-close { width: 38px; height: 38px; border-radius: 50%; background: #0077CC; color: #fff; border: none; font-size: 1.25rem; cursor: pointer; }
.drawer-menu { list-style: none; }
.drawer-menu li { border-bottom: 1px solid #F1F5F9; }
.drawer-menu a { display: flex; justify-content: space-between; align-items: center; padding: 12px 6px; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.3px; color: var(--bg-dark); }
.drawer-menu a:hover, .drawer-menu a.active { color: var(--accent-teal); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: transform 0.15s, background 0.2s; }
.btn-cta { background: var(--accent-cta); color: #fff; }
.btn-cta:hover { background: var(--accent-cta-hover); }
.btn-teal { background: var(--accent-teal); color: #fff; }
.btn-teal:hover { background: var(--accent-teal-hover); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid var(--accent-teal); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

.hero { background: var(--bg-dark); color: #fff; padding: 52px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero p { color: var(--text-light); font-size: 1.04rem; margin-bottom: 22px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo-wrap { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,0.4); }
.hero-photo-wrap img { width: 100%; height: 290px; object-fit: cover; }

.section { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.section-head h2 { font-size: 1.7rem; color: var(--bg-dark); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.trend-card { background: var(--bg-card); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 14px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--border-light); }
.trend-thumb { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.play-circle { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.dest-card { background: var(--bg-dark); color: #fff; border-radius: var(--radius-card); overflow: hidden; display: grid; grid-template-columns: 45% 55%; box-shadow: var(--shadow-soft); min-height: 170px; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.dest-body { padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.card { background: var(--bg-card); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); overflow: hidden; border: 1px solid var(--border-light); display: flex; flex-direction: column; }
.card-img { width: 100%; height: 185px; object-fit: cover; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-tag { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; color: var(--accent-teal); margin-bottom: 6px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--bg-dark); }
.card p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.price-tag { font-size: 1.15rem; font-weight: 700; color: var(--bg-dark); margin-bottom: 12px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.meta-pill { background: var(--bg-page); color: var(--text-main); font-size: 0.78rem; padding: 4px 10px; border-radius: 6px; font-weight: 600; }

.article-wrap { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 40px; border: 1px solid var(--border-light); max-width: 960px; margin: 0 auto; }
.article-wrap h2 { font-size: 1.55rem; color: var(--bg-dark); margin: 32px 0 12px; border-bottom: 2px solid var(--bg-page); padding-bottom: 8px; }
.article-wrap h2:first-child { margin-top: 0; }
.article-wrap p { color: var(--text-main); margin-bottom: 16px; font-size: 1.02rem; }

/* Interactive Tools Styling */
.tool-panel { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 28px; border: 1px solid var(--border-light); margin-bottom: 32px; }
.search-bar { display: flex; gap: 12px; margin-bottom: 18px; }
.search-bar input { flex: 1; padding: 14px 18px; border: 2px solid var(--border-light); border-radius: var(--radius-pill); font-size: 1rem; font-family: inherit; }
.search-bar input:focus { outline: none; border-color: var(--accent-teal); }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { background: var(--bg-page); border: 1px solid var(--border-light); padding: 6px 14px; border-radius: 99px; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--bg-dark); }
.chip:hover { background: var(--accent-teal); color: #fff; border-color: var(--accent-teal); }

#speciesMap { width: 100%; height: 460px; border-radius: 14px; border: 1px solid var(--border-light); z-index: 1; }

.chart-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 220px; padding: 20px 10px 0; border-bottom: 2px solid var(--border-light); margin-bottom: 12px; }
.bar-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 6px; }
.bar-fill { width: 100%; max-width: 42px; background: var(--accent-teal); border-radius: 8px 8px 0 0; transition: height 0.35s ease; }
.bar-fill.peak { background: var(--accent-cta); }
.bar-val { font-size: 0.76rem; font-weight: 700; color: var(--bg-dark); }
.bar-lbl { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-top: 6px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-btn { padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--border-light); background: #fff; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.filter-btn.active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.form-card { max-width: 760px; margin: 32px auto 0; background: #fff; padding: 32px; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); border: 1px solid var(--border-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--bg-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-light); border-radius: 10px; font-family: inherit; font-size: 0.94rem; }

.quiz-box { max-width: 680px; margin: 36px auto; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 28px; }
.progress-track { height: 8px; background: var(--border-light); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.progress-fill { height: 100%; background: var(--accent-teal); width: 25%; transition: width 0.3s; }
.quiz-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.quiz-opt { padding: 14px; border-radius: 12px; border: 2px solid var(--border-light); background: #fff; font-weight: 600; cursor: pointer; text-align: left; }
.quiz-opt.correct { border-color: #16A34A; background: #DCFCE7; color: #14532D; }
.quiz-opt.wrong { border-color: #DC2626; background: #FEE2E2; color: #7F1D1D; }
.quiz-feedback { margin-top: 18px; padding: 16px; border-radius: 10px; background: var(--bg-page); border-left: 4px solid var(--accent-teal); display: none; }

.site-footer { background: var(--bg-dark); color: var(--text-light); padding: 48px 0 32px; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94A3B8; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-teal); }
.footer-note { margin-top: 22px; font-size: 0.84rem; color: #94A3B8; }

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .hero-grid, .grid-3, .grid-2, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .dest-card { grid-template-columns: 1fr; }
  .article-wrap { padding: 24px; }
  .quiz-options { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
  .chart-bars { gap: 4px; }
}
