/* connexlux overrides — loaded after the Webflow stylesheet.
   Fonts are mirrored locally so the site stays self-contained/offline. */

/* Story Script (Google Fonts, mirrored) */
@font-face {
  font-family: 'Story Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/storyscript/mem5YaSw02SQ0OlzDuR8IskOUuhp.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Story Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/storyscript/mem5YaSw02SQ0OlzDuR8IskOXOhpOqc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hero headline — two stacked lines, centred, anchored low in the hero */
.hero-wrapper { position: relative; }

.hero-subtitle {
  display: flex !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 11% !important;
  top: auto !important;
  grid-area: auto !important;
  width: 100% !important;
  max-width: none !important;
  padding-bottom: 0 !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0 !important;
  transform: none !important;
}

.hero-subtitle .hero-h5-bottom,
.hero-subtitle .hero-h5-bottom.bold {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  font-family: 'Story Script', cursive !important;
  font-size: clamp(3rem, 7.6vw, 7.6rem) !important;
  line-height: 0.88 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-align: center !important;
  white-space: nowrap;
  color: #fffdf5 !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #fff6dc 52%, #f2ca7c 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 4px 14px rgba(48, 22, 0, 0.55)) drop-shadow(0 1px 2px rgba(48, 22, 0, 0.45));
}

/* Home hero — safari image. Anchor to the top so the giraffes and sunset
   stay in frame; the source is 4:3 while the desktop hero is 16:9. */
.hero-image.hero-safari {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  inset: 0;
}

/* Below 991px the hero image is top-anchored at 90% / 80% / 70% of the
   wrapper, so the headline is anchored to match each image bottom. */
@media screen and (max-width: 991px) {
  /* The Webflow mobile rule fixes this section at 450px while the hero is
     100svh / 70svh tall, so the image overflows into the next section. */
  .hero-section.background-white { height: auto !important; }
  .hero-subtitle { bottom: 17% !important; }
  .hero-image.hero-safari { object-position: 45% 0%; }

  /* Keep content from showing through the fixed mobile header. */
  .w-nav {
    background: rgba(255, 255, 255, 0.94) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }
  .w-nav .container-nav { background: transparent !important; }
}
@media screen and (max-width: 767px) {
  .hero-subtitle { bottom: 34% !important; }
  .hero-image.hero-safari { object-position: 40% 0%; }
  /* Let the safari photo stay rich instead of fading to white. */
  .hero-overlay { display: none !important; }

  /* Section immediately below the hero: give it breathing room and a
     more readable stacked rhythm. */
  .show-section-sticky > .section > .container-full {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .about-block { gap: 1.5rem !important; }
  .about-h5 { line-height: 1.55 !important; }
  .about-block .button-with-circle-icon.spacer { margin-top: 0 !important; }
}
@media screen and (max-width: 479px) {
  .hero-subtitle { bottom: 38% !important; }
  .hero-subtitle .hero-h5-bottom,
  .hero-subtitle .hero-h5-bottom.bold {
    font-size: clamp(2.5rem, 12vw, 3.5rem) !important;
  }
  .hero-image.hero-safari { object-position: 32% 0%; }
}

/* Desktop header navigation — expose the page links inline instead of
   hiding them behind the burger. Mobile keeps the existing menu. */
@media screen and (min-width: 992px) {
  .w-nav .nav-menu.w-nav-menu {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: left;
    z-index: auto !important;
  }

  .w-nav .nav-menu .nav-flex {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: clamp(12px, 1.4vw, 22px);
  }

  .w-nav .nav-menu .nav-block {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: clamp(12px, 1.5vw, 24px);
  }

  .w-nav .nav-menu .nav-link {
    font-size: clamp(0.78rem, 0.95vw, 0.95rem) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    color: #101828 !important;
    transition: opacity 0.2s ease;
  }

  .w-nav .nav-menu .nav-link:hover {
    opacity: 0.6;
  }

  .w-nav:has(.nav-menu.w-nav-menu) .nav-cart-menu-flex,
  .w-nav .nav-menu .nav-card-images {
    display: none !important;
  }
}

/* TripAdvisor trust block on the home page */
.ta-card {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: #fff;
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
}

.ta-badge {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  min-width: 9rem;
}

.ta-owl {
  width: 64px;
  height: 64px;
}

.ta-word {
  color: #101828;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ta-copy { max-width: 54rem; }
.ta-copy h3 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.15;
}
.ta-copy p {
  max-width: 52rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
}
.ta-button { margin-top: 1.5rem; }

@media screen and (max-width: 767px) {
  .ta-card {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.25rem;
    text-align: center;
  }
  .ta-copy .subheading { justify-content: center; }
  .ta-copy p { margin-left: auto; margin-right: auto; }
  .ta-button { margin-left: auto; margin-right: auto; }
}
