/* ==========================================================================
   Safari in Kenya: shared site chrome (header, mobile menu, footer, sticky
   booking bar, skip link), carried over from the flat site's css/styles.css.
   Loaded on EVERY page after the page stylesheet. Class names are sk-prefixed
   so they collide with neither main.css (kit pages) nor legacy.css (ported
   guide pages). Values are the old stylesheet's, unchanged.
   ========================================================================== */

/* The flat site's tokens, defined for every page: the ported guide pages' inline
   styles reference them, and the kit pages must resolve them too. */
:root {
  --color-primary: #e67e22;
  --color-primary-hover: #d35400;
  --color-text-muted: #687279;
  --color-dark: #111518;
  --color-border: #E9EBEC;
  --color-surface: #f5f1e8;
  --color-white: #ffffff;
  --color-body: #2a2b2b;
  --color-footer-bg: #000000;
  --container-max: 1290px;
  --container-narrow: 800px;
  --transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --transition-image: 0.32s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.sk-wrap {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --- Skip link --- */
.sk-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #e67e22;
  color: #ffffff;
  padding: 8px 16px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.sk-skip:focus { top: 16px; }

/* --- Header --- */
.sk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #E9EBEC;
  height: 120px;
  box-sizing: border-box;
}
.sk-header *, .sk-footer *, .sk-sticky * { box-sizing: border-box; }

.sk-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sk-header__logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #111518;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-header__logo:hover { color: #e67e22; }

.sk-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sk-nav__list li { margin: 0; padding: 0; }

.sk-nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: #111518;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-nav__link:hover,
.sk-nav__link:focus { color: #e67e22; }

.sk-header__cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: #ffffff;
  background: #e67e22;
  padding: 12px 24px;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-header__cta:hover,
.sk-header__cta:focus {
  background: #d35400;
  color: #ffffff;
}

.sk-burger {
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #111518;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.sk-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
}

/* --- Mobile menu overlay --- */
.sk-menu {
  position: fixed;
  inset: 0;
  background: #121519;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sk-menu[hidden] { display: none; }

.sk-menu__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.sk-menu__nav {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.sk-menu__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sk-menu__list li { margin: 0; padding: 0; }

.sk-menu__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-menu__link:hover,
.sk-menu__link:focus { color: #e67e22; }

.sk-menu__cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: #e67e22;
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-menu__cta:hover,
.sk-menu__cta:focus {
  background: #d35400;
  color: #ffffff;
}

body.sk-menu-open { overflow: hidden; }

/* Scroll offset so the sticky header does not cover anchor targets */
section[id], div[id], article[id], h2[id], h3[id] { scroll-margin-top: 130px; }

/* --- Footer --- */
.sk-footer {
  background: #000000;
  padding: 80px 0 40px;
  color: #b3b3b3;
  font-family: 'Inter', sans-serif;
}

.sk-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
  margin-bottom: 48px;
}
.sk-footer__nav a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  text-decoration: none;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-footer__nav a:hover { color: #e67e22; }

.sk-footer__nav--terms {
  gap: 8px 24px;
  margin-bottom: 32px;
}
.sk-footer__nav--terms a {
  color: #b3b3b3;
  font-size: 13px;
  font-weight: 400;
  text-transform: lowercase;
}

.sk-footer__note,
.sk-footer__copy {
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: #a6a6a6;
  margin: 0 auto 12px;
  max-width: 800px;
}
.sk-footer__legal {
  display: flex;
  justify-content: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.sk-footer__legal a {
  color: #a6a6a6;
  font-size: 13px;
  text-decoration: underline;
}
.sk-footer__legal a:hover { color: #e67e22; }

/* --- Sticky mobile booking bar --- */
.sk-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #ffffff;
  border-top: 1px solid #E9EBEC;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sk-sticky.is-visible { transform: translateY(0); }

.sk-sticky__meta {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111518;
}

.sk-sticky__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: #e67e22;
  border: none;
  border-radius: 0;
  padding: 5px 20px;
  min-height: 48px;
  text-decoration: none;
  transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.sk-sticky__btn:hover {
  background: #d35400;
  color: #ffffff;
}

/* --- Breakpoints (the old site's: nav collapses at 999px) --- */
@media (max-width: 1180px) {
  .sk-nav__list { gap: 18px; }
  .sk-nav__link { font-size: 13px; }
  .sk-header__logo { font-size: 20px; }
}

@media (max-width: 1100px) {
  .sk-header__cta { display: none; }
}

@media (max-width: 999px) {
  .sk-header { height: 70px; }
  .sk-nav,
  .sk-header__cta { display: none; }
  .sk-burger { display: flex; }
  .sk-sticky { display: flex; }
  section[id], div[id], article[id], h2[id], h3[id] { scroll-margin-top: 80px; }
}

@media (max-width: 689px) {
  .sk-footer { padding: 50px 0 100px; }
  .sk-footer__nav { gap: 12px 20px; }
}
