/* =====================================================================
   YALA SAFARI — site header. Prefixed .yh-  → no Bootstrap/theme clash.
   Default: solid sticky (interior pages).
   .yh-header--overlay: transparent over the hero (home); .is-stuck when
   scrolled → solid fixed bar.
   ===================================================================== */

.yh-header{
  --yh-green: #16311f;
  --yh-gold:  #d3a43c;
  --yh-text:  #24312a;

  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 22px rgba(0,0,0,.06);
  transition: background .3s ease, box-shadow .3s ease;
}
.yh-header *,
.yh-header *::before,
.yh-header *::after{ box-sizing: border-box; }

/* Icon-font restore (base theme forces body*{font-family:!important}) */
.yh-header .fa, .yh-header .fas, .yh-header .fa-solid, .yh-header .far, .yh-header .fa-regular,
.yh-header i[class*="fa-"],
.yh-header .fa::before, .yh-header .fas::before, .yh-header .fa-solid::before,
.yh-header i[class*="fa-"]::before{
  font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important;
}
.yh-header .fa-regular, .yh-header .far{ font-weight: 400 !important; }

.yh-header__inner{
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* ---- Logo ---- */
.yh-logo{ display: flex; align-items: center; flex-shrink: 0; }
.yh-logo img{ display: block; height: 54px; width: auto; max-width: 210px; object-fit: contain; transition: height .3s ease, filter .3s ease; }
/* Overlay (home hero): render the logo solid white to sit on the photo */
.yh-header--overlay .yh-logo img{ height: 85px; filter: brightness(0) invert(1); }
/* Back to the original coloured logo once the bar turns solid white */
.yh-header--overlay.is-stuck .yh-logo img{ height: 50px; filter: none; }

/* ---- Nav ---- */
.yh-header a{ text-decoration: none !important; }
.yh-nav__list{ display: flex; align-items: center; gap: 26px; }
.yh-nav__list a{
  font-family: 'Poppins', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--yh-text);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.yh-nav__list a:hover,
.yh-nav__list a.is-active{ color: var(--yh-green); border-bottom-color: var(--yh-gold); }

/* ---- Book Now ---- */
.yh-actions{ display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.yh-btn{
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--yh-green);
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.yh-btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22,49,31,.24); }
.yh-header .yh-btn{ border-radius: 999px !important; color: #fff !important; background: var(--yh-green) !important; }
.yh-btn__circle{
  width: 30px; height: 30px; border-radius: 50% !important;
  background: var(--yh-gold); color: var(--yh-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.yh-header .yh-btn__circle{ background: var(--yh-gold) !important; color: var(--yh-green) !important; }
.yh-btn__circle svg{ width: 14px; height: 14px; display: block; }

/* Drawer-only chrome — hidden on desktop, revealed inside the mobile media query */
.yh-nav__head, .yh-nav__foot, .yh-nav__backdrop{ display: none; }
body.yh-nav-lock{ overflow: hidden; }

/* ---- Burger ---- */
.yh-burger{ display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.yh-burger span{ width: 24px; height: 2px; border-radius: 2px; background: var(--yh-green); display: block; transition: transform .25s ease, opacity .2s ease; }
.yh-burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.yh-burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.yh-burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   OVERLAY (home)
   ===================================================================== */
.yh-header--overlay{
  position: absolute;
  left: 0; right: 0; top: 0;
  background: linear-gradient(180deg, rgba(250,246,238,.97) 0%, rgba(250,246,238,.6) 45%, rgba(250,246,238,0) 100%);
  box-shadow: none;
}
.yh-header--overlay .yh-header__inner{ padding-top: 18px; padding-bottom: 22px; }

.yh-header--overlay.is-stuck{
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 22px rgba(0,0,0,.08);
  animation: yh-drop .32s ease;
}
.yh-header--overlay.is-stuck .yh-header__inner{ padding-top: 12px; padding-bottom: 12px; }
@keyframes yh-drop{ from{ transform: translateY(-100%); } to{ transform: translateY(0); } }

/* ---- Responsive ---- */
@media (max-width: 1150px){
  .yh-nav__list{ gap: 18px; }
  .yh-nav__list a{ font-size: 11.5px !important; }
}
@media (max-width: 960px){
  .yh-burger{ display: inline-flex; }
  .yh-actions .yh-btn{ display: none; }              /* top-bar CTA moves into the drawer */
  .yh-header--overlay{ background: rgba(250,246,238,.97); }

  /* ---- Backdrop ---- */
  .yh-nav__backdrop{
    display: block;
    position: fixed; inset: 0; z-index: 1099;
    background: rgba(9,18,12,.5);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .yh-nav__backdrop.is-visible{ opacity: 1; visibility: visible; }

  /* ---- Drawer ---- */
  .yh-nav{
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(87vw, 390px);
    background: #fff;
    display: flex; flex-direction: column;
    box-shadow: -22px 0 60px rgba(0,0,0,.32);
    transform: translateX(105%);
    transition: transform .4s cubic-bezier(.45,.02,.2,1);
    z-index: 1100;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .yh-nav.is-open{ transform: translateX(0); }

  /* header strip — brand colour, logo only */
  .yh-nav__head{
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px; min-height: 96px; flex-shrink: 0;
    background: linear-gradient(160deg, var(--yh-green) 0%, #0f2417 100%);
  }
  .yh-nav__logo img{ display: block; height: 50px; width: auto; max-width: 150px; filter: brightness(0) invert(1); }
  .yh-nav__close{
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    border: 0; cursor: pointer; color: #fff;
    background: rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .3s ease;
  }
  .yh-nav__close:hover, .yh-nav__close:focus-visible{ background: rgba(255,255,255,.3); transform: rotate(90deg); }
  .yh-nav__close svg{ width: 18px; height: 18px; }

  /* link list */
  .yh-nav__list{
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 26px 14px;
  }
  .yh-nav__list::before{
    content: ""; display: block;
    width: 44px; height: 3px; border-radius: 3px;
    background: var(--yh-gold);
    margin: 20px 0 6px;
  }
  .yh-nav__list li{
    border-bottom: 1px solid rgba(22,49,31,.08);
    opacity: 0; transform: translateX(16px);
  }
  .yh-nav__list li:last-child{ border-bottom: 0; }
  .yh-nav.is-open .yh-nav__list li{
    animation: yh-nav-item .45s cubic-bezier(.4,.02,.2,1) forwards;
    animation-delay: calc(.14s + var(--i, 0) * .05s);
  }
  @keyframes yh-nav-item{ to{ opacity: 1; transform: translateX(0); } }

  .yh-nav__list a{
    display: block; width: 100%;
    font-family: var(--ys-serif, 'Fraunces', Georgia, serif) !important;
    font-size: 16px !important;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--yh-green);
    padding: 16px 2px;
    border-bottom: 0;
    transition: color .2s ease, padding-left .2s ease;
  }
  .yh-nav__list a:hover,
  .yh-nav__list a:focus-visible{ color: var(--yh-gold); padding-left: 6px; border-bottom-color: transparent; }
  .yh-nav__list a.is-active{ color: var(--yh-gold); border-bottom-color: transparent; }

  /* drawer footer CTA */
  .yh-nav__foot{
    display: block; margin-top: auto; flex-shrink: 0;
    padding: 18px 26px calc(22px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(22,49,31,.09);
  }
  .yh-header .yh-nav__foot .yh-btn{
    display: inline-flex !important;
    width: 100%; justify-content: space-between;
    padding: 12px 12px 12px 26px;
    font-size: 12.5px !important;
  }
}

/* =====================================================================
   YALA SAFARI — FOOTER  (.yf-)
   ===================================================================== */
.yf-footer{
  position: relative;
  color: rgba(255,255,255,.72);
  background: #12281a;
  isolation: isolate;
  overflow: hidden;
}
.yf-footer *,
.yf-footer *::before,
.yf-footer *::after{ box-sizing: border-box; }
.yf-footer i.fa-solid, .yf-footer i.fas, .yf-footer i.fa-regular, .yf-footer i.far,
.yf-footer i.fa-solid::before, .yf-footer i.fas::before,
.yf-footer i.fa-regular::before, .yf-footer i.far::before{
  font-family: "Font Awesome 6 Free" !important;
}
.yf-footer i.fa-solid, .yf-footer i.fas, .yf-footer i.fa-solid::before, .yf-footer i.fas::before{ font-weight: 900 !important; }
.yf-footer i.fa-regular, .yf-footer i.far, .yf-footer i.fa-regular::before, .yf-footer i.far::before{ font-weight: 400 !important; }
.yf-footer i.fa-brands, .yf-footer i.fab,
.yf-footer i.fa-brands::before, .yf-footer i.fab::before{
  font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important;
}
.yf-footer .bi, .yf-footer .bi::before,
.yf-footer [class^="bi-"], .yf-footer [class^="bi-"]::before,
.yf-footer [class*=" bi-"], .yf-footer [class*=" bi-"]::before{
  font-family: "bootstrap-icons" !important; font-weight: 400 !important;
}

.yf-footer__bg{
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(.7) brightness(.5);
}
.yf-footer__bg::after{
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,40,26,.86) 0%, rgba(18,40,26,.96) 60%);
}
.yf-footer__inner{
  position: relative; z-index: 1;
  max-width: 1560px; margin: 0 auto; padding: 74px 28px 0;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px;
}
.yf-footer, .yf-brand p, .yf-col ul a, .yf-contact li, .yf-contact li span,
.yf-news p, .yf-bottom p, .yf-bottom a{ color: rgba(255,255,255,.72) !important; }
.yf-footer .yf-col h4, .yf-footer h4{ color: #fff !important; }
.yf-social a{ color: #fff !important; }
.yf-social a:hover, .yf-col ul a:hover, .yf-bottom a:hover, .yf-contact li a:hover{ color: var(--yh-gold, #d3a43c) !important; }
.yf-footer .yf-news__form input{ color: #24312a !important; }

.yf-grid{
  display: grid;
  grid-template-columns: 1.45fr 0.95fr 1fr 1.15fr 1.35fr;
  gap: 34px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.yf-brand__logo{ height: 48px; width: auto; max-width: 190px; margin-bottom: 16px; display: block; }
.yf-brand p{ font-size: 13px; line-height: 1.75; margin-bottom: 18px; }
.yf-social{ display: flex; gap: 10px; }
.yf-social a{
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.09); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.yf-social a:hover{ background: var(--yh-gold, #d3a43c); color: #16311f; }
.yf-social svg{ width: 16px; height: 16px; }

.yf-col h4,
.yf-footer h4{
  color: #fff !important; font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  line-height: 1.4 !important;
  margin-bottom: 18px;
}
.yf-col ul{ display: flex; flex-direction: column; gap: 11px; list-style: none; margin: 0; padding: 0; }
.yf-col ul a{ color: rgba(255,255,255,.72); font-size: 13px; transition: color .2s ease; }
.yf-col ul a:hover{ color: var(--yh-gold, #d3a43c); }

.yf-contact li{ display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.yf-contact li i{ color: var(--yh-gold, #d3a43c); font-size: 13px; margin-top: 4px; flex-shrink: 0; }

.yf-news p{ font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.yf-news__form{
  display: flex; align-items: center; background: #fff;
  border-radius: 999px; padding: 5px 5px 5px 18px;
}
.yf-news__form input{
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 12.5px; color: #24312a; min-width: 0;
}
.yf-news__form button{
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--yh-gold, #d3a43c); color: #16311f;
  display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
}

.yf-bottom{
  max-width: 1560px; margin: 0 auto; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,.6);
}
.yf-bottom a{ color: rgba(255,255,255,.6); }
.yf-bottom a:hover{ color: var(--yh-gold, #d3a43c); }
.yf-bottom__legal{ display: flex; gap: 8px; align-items: center; }

.yf-totop{
  position: absolute; right: 28px; bottom: 74px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--yh-gold, #d3a43c); color: #16311f;
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.3);
}

@media (max-width: 1024px){
  .yf-grid{ grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .yf-footer__inner{ padding: 56px 22px 0; }
  .yf-totop{ right: 22px; bottom: 56px; }
}
@media (max-width: 700px){
  .yf-grid{
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }
  .yf-footer__inner{ padding: 44px 20px 0; font-size: 13px; }

  /* center every column on mobile */
  .yf-brand, .yf-col, .yf-news{ text-align: center; }
  .yf-col h4, .yf-footer h4{ margin-bottom: 14px; }
  .yf-brand__logo{ margin-left: auto; margin-right: auto; }
  .yf-social{ justify-content: center; }
  .yf-col ul{ gap: 10px; align-items: center; }
  .yf-contact li{ justify-content: center; text-align: left; }
  .yf-news__form{ max-width: 340px; margin: 0 auto; }
  .yf-news__form input{ font-size: 16px; }   /* avoids iOS zoom on focus */
  .yf-totop{
    position: static;
    margin: 26px auto 0;
    right: auto; bottom: auto;
  }
  .yf-bottom{
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 18px 20px;
  }
  .yf-bottom__legal{ justify-content: center; }
}
@media (max-width: 380px){
  .yf-social{ flex-wrap: wrap; }
}
