/* ==================================================================
   BookingInGh.com — main stylesheet
   All selectors are prefixed .bigh- to avoid collisions with any
   host/cPanel junk. Mobile-first. CSS variables drive light/dark.
   ================================================================== */

:root {
  --bigh-primary: #0B5FFF;
  --bigh-primary-dark: #0847C7;
  --bigh-accent: #FFB400;
  --bigh-bg: #F4F6F9;
  --bigh-surface: #FFFFFF;
  --bigh-surface-2: #F8FAFC;
  --bigh-text: #1A2333;
  --bigh-text-muted: #6C7A93;
  --bigh-border: #E5E9F2;
  --bigh-success: #1DB37A;
  --bigh-danger: #E43F3F;
  --bigh-warning: #E08900;
  --bigh-info: #1E88E5;
  --bigh-shadow: 0 4px 16px rgba(13, 32, 64, 0.08);
  --bigh-shadow-lg: 0 12px 40px rgba(13, 32, 64, 0.12);
  --bigh-radius: 10px;
  --bigh-radius-sm: 6px;
  --bigh-radius-lg: 16px;
  --bigh-nav-height: 68px;
  --bigh-transition: 0.2s ease;
}

html[data-theme="dark"] {
  --bigh-primary: #4D8BFF;
  --bigh-primary-dark: #2E6BD9;
  --bigh-accent: #FFC84D;
  --bigh-bg: #0E1420;
  --bigh-surface: #16202E;
  --bigh-surface-2: #1E2A3B;
  --bigh-text: #E8EEF7;
  --bigh-text-muted: #9CA9C0;
  --bigh-border: #27354A;
  --bigh-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --bigh-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ---------- Resets ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bigh-text);
  background: var(--bigh-bg);
  -webkit-font-smoothing: antialiased;
  transition: background var(--bigh-transition), color var(--bigh-transition);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--bigh-primary); text-decoration: none; }
a:hover { color: var(--bigh-primary-dark); text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout containers ---------- */
.bigh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Header / navbar ---------- */
.bigh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bigh-surface);
  border-bottom: 1px solid var(--bigh-border);
  transition: background var(--bigh-transition);
}
.bigh-nav {
  height: var(--bigh-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bigh-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--bigh-text) !important;
  text-decoration: none !important;
  letter-spacing: -0.5px;
}
.bigh-logo span { color: var(--bigh-accent); }
.bigh-nav__links {
  display: none; /* hidden on mobile, shown on desktop */
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bigh-nav__links a {
  color: var(--bigh-text);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 2px;
}
.bigh-nav__links a:hover { color: var(--bigh-primary); text-decoration: none; }
.bigh-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bigh-theme-btn, .bigh-ham-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bigh-surface-2);
  border: 1px solid var(--bigh-border);
  border-radius: 50%;
  color: var(--bigh-text);
  transition: all var(--bigh-transition);
}
.bigh-theme-btn:hover, .bigh-ham-btn:hover {
  background: var(--bigh-primary);
  color: #fff;
  border-color: var(--bigh-primary);
}
.bigh-ham-btn { display: inline-flex !important; }  /* mobile-critical */

@media (min-width: 900px) {
  .bigh-nav__links { display: flex; }
  .bigh-ham-btn { display: none !important; }
}

/* ---------- Drawer (mobile) ---------- */
.bigh-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: var(--bigh-surface);
  border-left: 1px solid var(--bigh-border);
  transform: translateX(100%);
  transition: transform var(--bigh-transition);
  z-index: 200;
  padding: 24px 22px;
  overflow-y: auto;
  box-shadow: var(--bigh-shadow-lg);
}
.bigh-drawer.is-open { transform: translateX(0); }
.bigh-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.bigh-drawer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bigh-drawer__links li { margin-bottom: 6px; }
.bigh-drawer__links a {
  display: block;
  padding: 12px 14px;
  color: var(--bigh-text);
  border-radius: var(--bigh-radius-sm);
  font-weight: 500;
}
.bigh-drawer__links a:hover {
  background: var(--bigh-surface-2);
  text-decoration: none;
}
.bigh-drawer__cta {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.bigh-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 26, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--bigh-transition);
  z-index: 150;
}
.bigh-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Buttons ---------- */
.bigh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--bigh-radius-sm);
  border: 1px solid transparent;
  background: var(--bigh-primary);
  color: #fff !important;
  cursor: pointer;
  transition: all var(--bigh-transition);
  text-decoration: none !important;
}
.bigh-btn:hover { background: var(--bigh-primary-dark); transform: translateY(-1px); }
.bigh-btn--ghost {
  background: transparent;
  color: var(--bigh-text) !important;
  border-color: var(--bigh-border);
}
.bigh-btn--ghost:hover { background: var(--bigh-surface-2); color: var(--bigh-primary) !important; }
.bigh-btn--accent { background: var(--bigh-accent); color: #1a2333 !important; }
.bigh-btn--accent:hover { background: #E6A200; }
.bigh-btn--block { width: 100%; }
.bigh-btn--lg { padding: 14px 28px; font-size: 16px; }

/* ---------- Forms ---------- */
.bigh-form-group { margin-bottom: 18px; }
.bigh-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bigh-text);
}
.bigh-input, .bigh-select, .bigh-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--bigh-text);
  background: var(--bigh-surface);
  border: 1px solid var(--bigh-border);
  border-radius: var(--bigh-radius-sm);
  transition: border-color var(--bigh-transition), box-shadow var(--bigh-transition);
  font-family: inherit;
}
.bigh-input:focus, .bigh-select:focus, .bigh-textarea:focus {
  outline: none;
  border-color: var(--bigh-primary);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.12);
}
.bigh-textarea { min-height: 120px; resize: vertical; }

/* ---------- Hero ---------- */
.bigh-hero {
  position: relative;
  padding: 60px 0 90px;
  background: linear-gradient(135deg, var(--bigh-primary) 0%, var(--bigh-primary-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.bigh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 180, 0, 0.18), transparent 60%);
  pointer-events: none;
}
.bigh-hero__inner { position: relative; text-align: center; }
.bigh-hero h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.bigh-hero p {
  font-size: 16.5px;
  margin: 0 auto 28px;
  max-width: 560px;
  opacity: 0.92;
}
@media (min-width: 760px) {
  .bigh-hero { padding: 90px 0 130px; }
  .bigh-hero h1 { font-size: 48px; }
  .bigh-hero p { font-size: 18px; }
}

/* ---------- Search tabs (home) ---------- */
.bigh-search-card {
  max-width: 960px;
  margin: -60px auto 0;
  position: relative;
  background: var(--bigh-surface);
  border-radius: var(--bigh-radius-lg);
  box-shadow: var(--bigh-shadow-lg);
  padding: 22px;
}
.bigh-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--bigh-border);
  padding-bottom: 12px;
  overflow-x: auto;
}
.bigh-tab {
  background: transparent;
  border: none;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--bigh-text-muted);
  border-radius: var(--bigh-radius-sm);
  white-space: nowrap;
}
.bigh-tab.is-active {
  background: var(--bigh-primary);
  color: #fff;
}
.bigh-search-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .bigh-search-grid { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
}

/* ---------- Feature strip ---------- */
.bigh-features {
  padding: 70px 0 40px;
}
.bigh-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .bigh-features__grid { grid-template-columns: repeat(3, 1fr); }
}
.bigh-feature {
  background: var(--bigh-surface);
  border: 1px solid var(--bigh-border);
  border-radius: var(--bigh-radius);
  padding: 26px 22px;
  transition: transform var(--bigh-transition), box-shadow var(--bigh-transition);
}
.bigh-feature:hover { transform: translateY(-3px); box-shadow: var(--bigh-shadow); }
.bigh-feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(11, 95, 255, 0.12);
  color: var(--bigh-primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.bigh-feature h3 { margin: 0 0 8px; font-size: 17px; }
.bigh-feature p { margin: 0; color: var(--bigh-text-muted); font-size: 14.5px; }

/* ---------- Destinations strip ---------- */
.bigh-destinations { padding: 40px 0 70px; }
.bigh-destinations h2 { margin: 0 0 22px; font-size: 24px; }
.bigh-dest-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .bigh-dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .bigh-dest-grid { grid-template-columns: repeat(4, 1fr); } }
.bigh-dest-card {
  position: relative;
  border-radius: var(--bigh-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bigh-primary), var(--bigh-primary-dark));
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none !important;
  transition: transform var(--bigh-transition);
}
.bigh-dest-card:hover { transform: translateY(-3px); color: #fff; }
.bigh-dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}
.bigh-dest-card span { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.bigh-footer {
  background: var(--bigh-surface);
  border-top: 1px solid var(--bigh-border);
  padding: 50px 0 20px;
  margin-top: 60px;
}
.bigh-footer__grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 760px) { .bigh-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.bigh-footer h4 { font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--bigh-text-muted); }
.bigh-footer ul { list-style: none; padding: 0; margin: 0; }
.bigh-footer li { margin-bottom: 8px; }
.bigh-footer a { color: var(--bigh-text); font-size: 14px; }
.bigh-footer a:hover { color: var(--bigh-primary); }
.bigh-footer__bottom {
  padding-top: 22px;
  border-top: 1px solid var(--bigh-border);
  text-align: center;
  color: var(--bigh-text-muted);
  font-size: 13px;
}

/* ---------- Auth pages ---------- */
.bigh-auth {
  min-height: calc(100vh - var(--bigh-nav-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}
.bigh-auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bigh-surface);
  border: 1px solid var(--bigh-border);
  border-radius: var(--bigh-radius-lg);
  padding: 34px 30px;
  box-shadow: var(--bigh-shadow);
}
.bigh-auth-card h1 { margin: 0 0 6px; font-size: 26px; }
.bigh-auth-card p.muted { margin: 0 0 24px; color: var(--bigh-text-muted); }
.bigh-auth-card .bigh-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bigh-text-muted);
  font-size: 13px;
  margin: 20px 0;
}
.bigh-auth-card .bigh-divider::before,
.bigh-auth-card .bigh-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bigh-border);
}
.bigh-auth-card .bigh-google-btn {
  width: 100%;
  background: var(--bigh-surface);
  color: var(--bigh-text) !important;
  border: 1px solid var(--bigh-border);
}
.bigh-auth-card .bigh-google-btn:hover { background: var(--bigh-surface-2); }
.bigh-auth-card .bigh-alt { text-align: center; font-size: 14px; color: var(--bigh-text-muted); margin-top: 20px; }

/* ---------- Flash messages ---------- */
.bigh-flash {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--bigh-radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
  border: 1px solid;
}
.bigh-flash--success { background: rgba(29,179,122,0.12); border-color: rgba(29,179,122,0.35); color: #0F7B55; }
.bigh-flash--error   { background: rgba(228,63,63,0.12); border-color: rgba(228,63,63,0.35); color: #B92B2B; }
.bigh-flash--warning { background: rgba(224,137,0,0.12); border-color: rgba(224,137,0,0.35); color: #A86500; }
.bigh-flash--info    { background: rgba(30,136,229,0.12); border-color: rgba(30,136,229,0.35); color: #1565A8; }
html[data-theme="dark"] .bigh-flash--success { color: #6EE7B7; }
html[data-theme="dark"] .bigh-flash--error   { color: #FCA5A5; }
html[data-theme="dark"] .bigh-flash--warning { color: #FCD34D; }
html[data-theme="dark"] .bigh-flash--info    { color: #93C5FD; }
.bigh-flash__msg { flex: 1; }
.bigh-flash__close {
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
}
.bigh-flash__close:hover { opacity: 1; }

/* ---------- Preloader ---------- */
.bigh-preloader {
  position: fixed;
  inset: 0;
  background: var(--bigh-bg);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.35s ease;
}
.bigh-preloader.is-done { opacity: 0; pointer-events: none; }
.bigh-preloader__spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--bigh-border);
  border-top-color: var(--bigh-primary);
  border-radius: 50%;
  animation: bigh-spin 0.9s linear infinite;
}
@keyframes bigh-spin { to { transform: rotate(360deg); } }

/* ---------- Page sections ---------- */
.bigh-page { padding: 40px 0 60px; }
.bigh-page h1 { margin-top: 0; }
.bigh-prose { max-width: 760px; font-size: 15.5px; }
.bigh-prose h2 { font-size: 20px; margin: 28px 0 10px; }
.bigh-prose p { margin: 0 0 14px; color: var(--bigh-text); }

/* ---------- Utility ---------- */
.bigh-mt-0 { margin-top: 0 !important; }
.bigh-mt-2 { margin-top: 16px; }
.bigh-mt-4 { margin-top: 32px; }
.bigh-text-center { text-align: center; }
.bigh-muted { color: var(--bigh-text-muted); }
.bigh-hide { display: none !important; }
