/* ===================================================
   BABA SIMBA TOURS AND SAFARIS - Custom Brand CSS
   Primary Gold: #c8963e | Dark Green: #1a3c2e | Cream: #f5f0e8
   =================================================== */

:root {
  --bs-gold: #c8963e;
  --bs-green: #1a3c2e;
  --bs-cream: #f5f0e8;
  --bs-gold-dark: #a67830;
  --bs-green-light: #2a5c46;
}

/* Override Tevily primary color (orange #ff6623 → gold) */
.thm-btn,
.main-header__top-right-btn,
.tour-search-one__btn,
.news-one__btn,
.about-one__btn {
  background-color: var(--bs-gold) !important;
  color: #fff !important;
}
.thm-btn:hover {
  background-color: var(--bs-gold-dark) !important;
}

/* Header top bar */
.main-header__top {
  background-color: var(--bs-green) !important;
}
.main-header__top-address a,
.main-header__top-address p {
  color: #fff !important;
}
.main-header__top-right-social a {
  color: var(--bs-gold) !important;
}

/* Sticky nav accent */
.main-menu__list > li > a:hover,
.main-menu__list > li.current > a {
  color: var(--bs-gold) !important;
}
.stricky-header {
  background: var(--bs-green) !important;
}

/* Section title tagline */
.section-title__tagline {
  color: var(--bs-gold) !important;
}

/* Footer */
.site-footer {
  background-color: var(--bs-green) !important;
}
.footer-widget__title {
  color: var(--bs-gold) !important;
}
.footer-widget__newsletter-btn {
  background-color: var(--bs-gold) !important;
}

/* Page header */
.page-header {
  background-color: var(--bs-green) !important;
}

/* Tour cards price */
.popular-tours__rate span,
.tour-card__price span {
  color: var(--bs-gold) !important;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Breadcrumb */
.page-header__breadcrumb a {
  color: var(--bs-gold) !important;
}

/* Tour detail highlights */
.tour-highlights li::before {
  color: var(--bs-gold);
}

/* Price badge */
.price-badge {
  background: var(--bs-gold);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1em;
}

/* Enquiry form */
.enquiry-form-box {
  background: var(--bs-cream);
  border: 1px solid #e0d8c8;
  border-radius: 8px;
  padding: 30px;
}
.enquiry-form-box h4 {
  color: var(--bs-green);
  margin-bottom: 20px;
}
.enquiry-form-box .thm-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

/* Mobile sticky CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #fff;
  border-top: 2px solid var(--bs-gold);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.mobile-cta-bar .cta-call {
  background: var(--bs-green);
  color: #fff;
}
.mobile-cta-bar .cta-whatsapp {
  background: #25D366;
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
  .whatsapp-float { display: none; }
}

/* About one discount badge - rebrand */
.about-one__discount {
  background: var(--bs-gold) !important;
}

/* Video section icon boxes */
.video-one__icon-box {
  background: var(--bs-gold) !important;
}

/* Destination card overlay */
.destinations-one__content {
  background: linear-gradient(to top, rgba(26,60,46,0.9), transparent) !important;
}

/* Info boxes */
.info-box {
  background: var(--bs-cream);
  border-left: 4px solid var(--bs-gold);
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 0 6px 6px 0;
}

/* ===== Baba Simba v2 fixes ===== */
/* 1. Disable preloader */
.preloader { display: none !important; }

/* 2. Hero slider fix - ensure image-layer shows */
.main-slider .image-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: scale(1.05);
    transition: transform 7000ms ease;
    z-index: 0;
}
.main-slider .image-layer-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.50);
    z-index: 1;
}
.main-slider .swiper-slide {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.main-slider .swiper-slide-inner {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    width: 100%;
}
.main-slider h2 {
    color: #fff !important;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}
.main-slider p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.25rem;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .main-slider .swiper-slide { min-height: 520px; }
    .main-slider h2 { font-size: 2rem; }
    .main-slider .swiper-slide-inner { padding: 90px 0 60px; }
}

/* 3. Sticky nav fix */
.main-header {
    position: relative;
    z-index: 999;
}
.stricky-header.stricky-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999 !important;
    background: #1a3c2e !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    animation: slideDown 0.4s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* 4. Mobile nav fixes */
.mobile-nav__wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.4s;
}
.mobile-nav__wrapper.expanded {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mobile-nav__wrapper.expanded .mobile-nav__overlay {
    opacity: 1;
}
.mobile-nav__content {
    position: absolute;
    top: 0; right: 0;
    width: 300px;
    height: 100%;
    background: #1a3c2e;
    overflow-y: auto;
    padding: 30px 25px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1;
}
.mobile-nav__wrapper.expanded .mobile-nav__content {
    transform: translateX(0);
}
.mobile-nav__close {
    position: absolute;
    top: 15px; right: 15px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
.mobile-nav__container .main-menu__list {
    list-style: none;
    padding: 0; margin: 20px 0 0;
}
.mobile-nav__container .main-menu__list > li > a {
    display: block;
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 500;
}
.mobile-nav__container .main-menu__list > li > a:hover { color: #c8963e; }
.mobile-nav__container .main-menu__list ul {
    display: none;
    list-style: none;
    padding: 5px 0 5px 15px;
    margin: 0;
}
.mobile-nav__container .main-menu__list ul li a {
    display: block;
    color: rgba(255,255,255,0.75);
    padding: 8px 0;
    font-size: 14px;
}
.mobile-nav__container .main-menu__list ul li a:hover { color: #c8963e; }
.mobile-nav__container .dropdown-btn {
    float: right;
    color: #c8963e;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 0;
    font-size: 14px;
}
.mobile-nav__contact { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.mobile-nav__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mobile-nav__contact li i { color: #c8963e; }
.mobile-nav__contact li a { color: rgba(255,255,255,0.8); font-size: 14px; }

/* Guide cards */
.guide-card { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.guide-card img { width:100%; height:200px; object-fit:cover; }
.guide-card-body { padding: 20px; background: #fff; }
.guide-tag { display:inline-block; background:#c8963e; color:#fff; font-size:11px; font-weight:600; padding:3px 10px; border-radius:20px; margin-bottom:10px; text-transform:uppercase; letter-spacing:.5px; }
.guide-card-body h4 { color:#1a3c2e; font-size:1.05rem; font-weight:600; margin-bottom:8px; line-height:1.4; }
.guide-card-body p { color:#666; font-size:14px; margin-bottom:12px; line-height:1.6; }

/* Destination hero info box */
.dest-info-box { background: #f5f0e8; border-left: 4px solid #c8963e; border-radius: 0 8px 8px 0; padding: 20px 25px; margin: 25px 0; }
.dest-info-box h4 { color: #1a3c2e; margin-bottom: 12px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.dest-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.dest-info-item { display: flex; align-items: flex-start; gap: 10px; }
.dest-info-item i { color: #c8963e; margin-top: 3px; flex-shrink: 0; }
.dest-info-item span { font-size: 14px; color: #444; line-height: 1.5; }

/* Fix: ensure hero h2 and p are always visible (override template animation defaults) */
.main-slider h2,
.main-slider p {
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
    transition: none !important;
}
/* Keep swiper-slide-inner above overlay */
.main-slider .container {
    position: relative;
    z-index: 3;
}
