/* =========================================================
   MAJESTIC TOURS — SHARED BRAND SYSTEM
   The Overnight Private Safari page is the design reference.
   Loaded last on every page to keep typography and navigation consistent.
========================================================= */
:root {
  --night: #101b2b;
  --night-light: #1b2b40;
  --gold: #c7a568;
  --gold-light: #e5cc97;
  --cream: #f8f5ef;
  --ink: #202a35;
  --muted: #6d737b;
  --white: #ffffff;
  --border: #e6e0d6;
  --green: #168653;
  --mt-navy: #101b2b;
  --mt-deep: #101b2b;
  --mt-gold: #c7a568;
  --mt-gold-light: #e5cc97;
  --mt-ivory: #f8f5ef;
  --mt-text: #202a35;
  --mt-muted: #6d737b;
  --mt-border: #e6e0d6;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Montserrat", Arial, sans-serif !important;
  color: var(--ink) !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: -.02em !important;
}
h1 { font-size: clamp(46px, 7vw, 82px) !important; }
h2 { font-size: clamp(36px, 5vw, 56px) !important; }
h3 { font-size: clamp(25px, 3vw, 30px) !important; }
p, li, label, input, select, textarea, button, a {
  font-family: "Montserrat", Arial, sans-serif;
}
.lux-eyebrow, .shared-tour-eyebrow, .eyebrow, .overnight-hero .eyebrow {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  line-height: 1.6 !important;
  text-transform: uppercase;
}

/* One header structure and one set of dimensions across all pages. */
.overnight-site-header {
  position: relative !important;
  z-index: 100 !important;
  width: 100%;
  background: #fff !important;
  color: #17202c !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: none !important;
}
.overnight-header-inner {
  display: flex !important;
  width: min(1160px, calc(100% - 40px)) !important;
  min-height: 94px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 25px !important;
}
.overnight-brand {
  display: inline-flex !important;
  flex: 0 1 205px !important;
  align-items: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}
.overnight-brand img {
  display: block !important;
  width: 190px !important;
  max-width: 100% !important;
  max-height: 76px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  margin: 0 !important;
}
.overnight-desktop-nav {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(18px, 2.5vw, 34px) !important;
  margin: 0 !important;
  padding: 0 !important;
}
.overnight-desktop-nav a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #252a32 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: color .2s ease !important;
}
.overnight-desktop-nav a::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 5px !important;
  left: 0 !important;
  height: 1px !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  background: var(--gold) !important;
  content: "" !important;
  transition: transform .2s ease !important;
}
.overnight-desktop-nav a:hover,
.overnight-desktop-nav a[aria-current="page"] { color: var(--gold) !important; }
.overnight-desktop-nav a:hover::after,
.overnight-desktop-nav a[aria-current="page"]::after { transform: scaleX(1) !important; }
.overnight-header-cta {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #17202c !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease !important;
}
.overnight-header-cta:hover { background: var(--gold) !important; color: #fff !important; }
.overnight-mobile-toggle {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(0,0,0,.18) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #17202c !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.overnight-mobile-toggle span {
  display: block !important;
  width: 19px !important;
  height: 1.5px !important;
  flex: 0 0 1.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #17202c !important;
  transition: transform .2s ease, opacity .2s ease !important;
}
.overnight-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg) !important; }
.overnight-mobile-toggle.is-open span:nth-child(2) { opacity: 0 !important; }
.overnight-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg) !important; }
.overnight-mobile-nav {
  display: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px max(24px, calc((100% - 1160px) / 2)) 22px !important;
  border-top: 1px solid rgba(0,0,0,.08) !important;
  background: #fff !important;
  box-shadow: 0 14px 24px rgba(16,27,43,.08) !important;
}
.overnight-mobile-nav.is-open { display: block !important; }
.overnight-mobile-nav a {
  display: block !important;
  margin: 0 !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #252a32 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .1px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
}
.overnight-mobile-nav a:hover,
.overnight-mobile-nav a[aria-current="page"] { color: var(--gold) !important; }
.overnight-mobile-nav .overnight-mobile-cta {
  margin-top: 13px !important;
  padding: 13px 16px !important;
  border: 1px solid var(--gold) !important;
  color: #17202c !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}
.overnight-mobile-nav .overnight-mobile-cta:hover { background: var(--gold) !important; color: #fff !important; }

/* Keep hero titles consistent without replacing page-specific photography or copy. */
.lux-hero h1, .experiences-hero h1, .desert-hero h1, .shared-tour-hero h1, .overnight-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(46px, 7vw, 82px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -.025em !important;
}
.lux-hero h1 em, .experiences-hero h1 em, .desert-hero h1 em, .shared-tour-hero h1 em, .overnight-hero h1 span {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
}
/* Align key brand buttons to the same understated gold treatment. */
.lux-button, .shared-tour-primary, .shared-tour-secondary, .overnight-button {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .8px !important;
  line-height: 1.4 !important;
}

@media (max-width: 1100px) {
  .overnight-header-inner { gap: 18px !important; }
  .overnight-brand { flex-basis: 155px !important; }
  .overnight-brand img { width: 155px !important; max-height: 66px !important; }
  .overnight-desktop-nav { gap: 17px !important; }
  .overnight-desktop-nav a { font-size: 9px !important; }
  .overnight-header-cta { padding: 11px 12px !important; }
}
@media (max-width: 899px) {
  html { scroll-padding-top: 74px; }
  .overnight-header-inner {
    width: calc(100% - 30px) !important;
    min-height: 74px !important;
    gap: 12px !important;
  }
  .overnight-brand { flex: 0 1 auto !important; }
  .overnight-brand img { width: 155px !important; max-height: 60px !important; }
  .overnight-desktop-nav, .overnight-header-cta { display: none !important; }
  .overnight-mobile-toggle { display: flex !important; }
  .overnight-mobile-nav { padding-right: 15px !important; padding-left: 15px !important; }
  .lux-hero, .experiences-hero, .desert-hero, .shared-tour-hero, .overnight-hero { min-height: 600px; }
  .lux-hero h1, .experiences-hero h1, .desert-hero h1, .shared-tour-hero h1, .overnight-hero h1 {
    font-size: clamp(42px, 9vw, 62px) !important;
  }
}
@media (max-width: 480px) {
  .overnight-header-inner { width: calc(100% - 28px) !important; }
  .overnight-brand img { width: 145px !important; max-height: 56px !important; }
  .overnight-mobile-toggle { width: 42px !important; height: 42px !important; flex-basis: 42px !important; }
  .overnight-mobile-nav { padding-right: 14px !important; padding-left: 14px !important; }
  .lux-hero h1, .experiences-hero h1, .desert-hero h1, .shared-tour-hero h1, .overnight-hero h1 {
    font-size: clamp(38px, 10vw, 48px) !important;
  }
}


/* One footer design across all pages, matching the Overnight reference. */
.overnight-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.overnight-site-footer { padding: 54px 0 0 !important; background: #0a1320 !important; color: #d4d8df !important; }
.overnight-footer-main { display: grid !important; grid-template-columns: 1.35fr .8fr 1fr !important; gap: 50px !important; padding-bottom: 42px !important; }
.overnight-footer-brand img { display: block !important; width: auto !important; max-width: 220px !important; height: 62px !important; object-fit: contain !important; object-position: left center !important; margin-bottom: 18px !important; filter: drop-shadow(0 0 5px rgba(229,204,151,.5)) drop-shadow(0 0 13px rgba(199,165,104,.32)) !important; }
.overnight-footer-brand > a { display: inline-block !important; padding: 7px 10px !important; margin: -7px -10px 11px !important; border-radius: 5px !important; background: rgba(248,245,239,.045) !important; box-shadow: 0 0 22px rgba(199,165,104,.13) !important; }
.overnight-footer-brand p { max-width: 330px !important; margin: 0 !important; color: #bfc6d0 !important; font-size: 11px !important; line-height: 1.9 !important; }
.overnight-footer-heading { margin: 5px 0 18px !important; color: var(--gold-light) !important; font-family: "Montserrat", Arial, sans-serif !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: 1.8px !important; text-transform: uppercase !important; }
.overnight-footer-links { display: grid !important; gap: 13px !important; }
.overnight-footer-links a { color: #d4d8df !important; font-size: 10px !important; font-weight: 500 !important; letter-spacing: .5px !important; text-decoration: none !important; transition: color .2s ease !important; }
.overnight-footer-links a:hover { color: var(--gold-light) !important; }
.overnight-footer-contact p { margin: 0 0 12px !important; color: #d4d8df !important; font-size: 11px !important; line-height: 1.8 !important; }
.overnight-footer-contact a { color: var(--gold-light) !important; text-decoration: none !important; }
.overnight-footer-bottom { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; padding: 18px 0 !important; border-top: 1px solid rgba(255,255,255,.13) !important; color: #aeb6c1 !important; font-size: 9px !important; }
.overnight-footer-bottom p { margin: 0 !important; }
@media (max-width: 800px) {
  .overnight-container { width: calc(100% - 30px); }
  .overnight-site-footer { padding-top: 42px !important; }
  .overnight-footer-main { grid-template-columns: 1fr !important; gap: 30px !important; padding-bottom: 30px !important; }
  .overnight-footer-brand p { max-width: 420px !important; }
  .overnight-footer-bottom { align-items: flex-start !important; flex-direction: column !important; gap: 8px !important; }
}

/* Consistent premium palette for tour information, cards and booking forms. */
.shared-tour-quick-info {
  background: var(--night) !important;
  border-bottom: 0 !important;
  color: #fff !important;
}
.shared-tour-price span,
.shared-tour-info-icon { color: var(--gold-light) !important; }
.shared-tour-price strong,
.shared-tour-info-item strong { color: #fff !important; }
.shared-tour-price small,
.shared-tour-info-item small { color: rgba(255,255,255,.72) !important; }
.shared-tour-info-item { border-color: rgba(255,255,255,.16) !important; }
.shared-tour-section-label {
  color: #a9854b !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  line-height: 1.6 !important;
  text-transform: uppercase !important;
}
.shared-tour-booking {
  background: #f5f2ec !important;
  color: var(--ink) !important;
}
.shared-tour-booking-copy h2 { color: var(--ink) !important; }
.shared-tour-booking-copy > p { color: var(--muted) !important; }
.shared-tour-policy {
  border-color: var(--border) !important;
  background: rgba(255,255,255,.62) !important;
  color: var(--ink) !important;
}
.shared-tour-policy p { color: var(--muted) !important; }
.shared-tour-form-card {
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(16,27,43,.08) !important;
}
.shared-tour-form-heading { border-bottom-color: var(--border) !important; }
.shared-tour-form-heading h3 { color: var(--night) !important; }
.shared-tour-total {
  border: 1px solid var(--night) !important;
  border-radius: 0 !important;
  background: var(--night) !important;
  color: #fff !important;
}
.shared-tour-total span,
.shared-tour-total small { color: rgba(255,255,255,.74) !important; }
.shared-tour-total strong { color: var(--gold-light) !important; }
.shared-tour-highlight,
.shared-tour-addon,
.category-card,
.desert-tour-card {
  border-color: var(--border) !important;
  border-radius: 0 !important;
  box-shadow: 0 12px 30px rgba(16,27,43,.06) !important;
}
.shared-tour-highlight h3,
.shared-tour-addon h3,
.category-card h3,
.desert-tour-card h3 { color: var(--night) !important; }
input, select, textarea {
  border-radius: 0 !important;
}
input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 3px !important;
}
@media (max-width: 899px) {
  .shared-tour-info-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .shared-tour-info-item { border-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Final logo sizing: use the tightly-cropped transparent asset in every header/footer. */
.overnight-brand img { width: 190px !important; height: auto !important; max-height: 70px !important; object-fit: contain !important; }
.overnight-footer-brand img { width: 220px !important; height: auto !important; max-height: 74px !important; object-fit: contain !important; filter: drop-shadow(0 0 6px rgba(229,204,151,.82)) drop-shadow(0 0 15px rgba(199,165,104,.58)) !important; }
@media (max-width: 1100px) { .overnight-brand img { width: 155px !important; max-height: 60px !important; } }
@media (max-width: 480px) { .overnight-brand img { width: 145px !important; max-height: 54px !important; } }


/* Final logo sizing: use the tightly-cropped transparent asset in every header/footer. */
.overnight-brand img { width: 190px !important; height: auto !important; max-height: 70px !important; object-fit: contain !important; }
.overnight-footer-brand img { width: 220px !important; height: auto !important; max-height: 74px !important; object-fit: contain !important; filter: drop-shadow(0 0 6px rgba(229,204,151,.82)) drop-shadow(0 0 15px rgba(199,165,104,.58)) !important; }
@media (max-width: 1100px) { .overnight-brand img { width: 155px !important; max-height: 60px !important; } }
@media (max-width: 480px) { .overnight-brand img { width: 145px !important; max-height: 54px !important; } }
