/* ============================================
   Jhalana Leopard Safari — Design System
   Booking-first, SEO-driven, mobile-optimized
   ============================================ */

:root {
  --bg: #FDFBF7;
  --bg-soft: #F5F0E6;
  --surface: #FFFFFF;
  --ink: #1A1512;
  --ink-soft: #4A423C;
  --muted: #7A6E63;
  --line: #E8DFD1;
  --brand: #2F4A3A;        /* forest green */
  --brand-dark: #1F3427;
  --accent: #C8642F;       /* safari orange */
  --accent-dark: #A54F1F;
  --gold: #B88B4A;
  --success: #2E7D32;
  --danger: #C62828;
  --shadow-sm: 0 2px 8px rgba(26, 21, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 21, 18, 0.10);
  --shadow-lg: 0 20px 48px rgba(26, 21, 18, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 68px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* space for mobile bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.2rem); margin-bottom: 0.75em; }
h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
p { margin-bottom: 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.brand img { height: 40px; width: auto; }
.brand-text { display: none; }
@media (min-width: 480px) { .brand-text { display: inline; } }

.nav-desktop { display: none; align-items: center; gap: 28px; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-desktop a:hover { color: var(--accent); }

.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

/* Mobile nav drawer */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 24px 20px;
  overflow-y: auto;
  z-index: 99;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
}
.nav-mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 6px 16px rgba(200, 100, 47, 0.35); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 32px 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero { padding: 60px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(47, 74, 58, 0.08);
  border-radius: var(--radius-pill);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
.hero h1 { margin-bottom: 16px; }
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 44ch;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.trust-item strong { color: var(--ink); font-weight: 700; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: 1rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   BOOKING FORM CARD
   ============================================ */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.booking-card h3 {
  font-family: var(--font-display);
  margin-bottom: 6px;
  font-size: 1.35rem;
}
.booking-card .lede {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 74, 58, 0.12);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.form-success, .form-error {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-top: 12px;
  display: none;
}
.form-success { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.form-error { background: #FFEBEE; color: #B71C1C; border: 1px solid #EF9A9A; }
.form-success.show, .form-error.show { display: block; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 60px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--brand-dark); color: #F5F0E6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(245, 240, 230, 0.85); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* Card grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(200, 100, 47, 0.10);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* Price cards */
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 12px 32px rgba(200, 100, 47, 0.18);
}
.price-card .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--muted); font-weight: 500; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-card .price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.price-card .price-alt {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.price-card ul { list-style: none; text-align: left; margin-bottom: 20px; }
.price-card li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  display: flex; align-items: center; gap: 8px;
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
}

/* Timings table */
.timings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.timings-table th, .timings-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.timings-table th {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timings-table tr:last-child td { border-bottom: none; }
.timings-table tbody tr:hover { background: var(--bg-soft); }

/* Blog cards */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; flex: 1; }
.blog-card .read-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ============================================
   ARTICLE (blog + long pages)
   ============================================ */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.article-header { margin-bottom: 32px; }
.article-header h1 { margin-bottom: 12px; }
.article-header .meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.article-hero {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.6rem; }
.article-body h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.25rem; }
.article-body p { margin-bottom: 16px; font-size: 1.03rem; line-height: 1.7; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 6px; color: var(--ink-soft); }
.article-body img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow-sm); }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 4px 20px;
  margin: 24px 0;
  color: var(--ink);
  font-style: italic;
}
.inline-cta {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.inline-cta h3 { margin-bottom: 8px; }
.inline-cta p { margin-bottom: 16px; color: var(--ink-soft); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #14100D;
  color: #C9C1B5;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { color: #F5F0E6; }
.footer-brand img { height: 44px; margin-bottom: 12px; filter: brightness(1.2); }
.footer-brand p { color: #A69C8E; font-size: 0.9rem; }
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: #C9C1B5; font-size: 0.92rem; }
.footer a:hover { color: var(--accent); }
.footer-contact { font-size: 0.9rem; color: #A69C8E; }
.footer-contact a { color: #C9C1B5; display: block; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid #2A231D;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #7A6E5A;
}

/* ============================================
   STICKY MOBILE ACTION BAR
   ============================================ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 0;
  z-index: 90;
}
@media (min-width: 900px) { .mobile-bar { display: none; } }
.mobile-bar a {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: background 0.15s;
}
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a.call { color: var(--brand); }
.mobile-bar a.wa { color: #25D366; }
.mobile-bar a.book {
  background: var(--accent);
  color: #fff;
}
.mobile-bar a:active { background: rgba(0,0,0,0.05); }
.mobile-bar a.book:active { background: var(--accent-dark); }

/* Floating WhatsApp desktop */
.fab-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 89;
  transition: transform 0.15s;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 32px; height: 32px; color: #fff; }
@media (min-width: 900px) { .fab-whatsapp { display: flex; } }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.hidden { display: none; }
.divider { height: 1px; background: var(--line); margin: 40px 0; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* Fact strip */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (min-width: 700px) { .fact-strip { grid-template-columns: repeat(4, 1fr); } }
.fact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.fact .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.fact .lbl { font-size: 0.82rem; color: var(--muted); }

/* ============================================
   BOOKING MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 13, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal.open .modal-dialog { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background 0.15s;
}
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 18px; height: 18px; }
.modal-header {
  text-align: center;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.modal-header p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.modal .booking-card {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.modal .booking-card > h3,
.modal .booking-card > .lede { display: none; }
.modal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}
.modal-trust svg { width: 14px !important; height: 14px !important; color: var(--success); flex-shrink: 0; }
