:root {
  --red: #2d5a3d;
  --dark-red: #1f3f2b;
  --gold: #d4a359;
  --topbar-height: 36px;
  --navbar-height: 72px;
}

body {
  font-family: 'Lato', sans-serif;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

.bg-brand {
  background-color: var(--red) !important;
}

.text-brand {
  color: var(--red) !important;
}

.btn-brand {
  background: var(--red);
  color: #fff;
  border: none;
  font-weight: 700;
}

.btn-brand:hover {
  background: var(--dark-red);
  color: #fff;
}

.btn-outline-brand {
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 700;
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--red);
  color: #fff;
}

/* ================= TOPBAR ================= */
.topbar {
  background: var(--red);
  font-size: 13px;
  padding: 6px 0;
  min-height: var(--topbar-height); /* auto badala ya fixed height */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  color: #ffd;
}

/* Muundo mpya wa topbar: rows tofauti kwa simu na email na social */
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-phones,
.topbar-email {
  order: 1;
}
.topbar-social {
  order: 2;
}

/* ================= NAVBAR ================= */
.navbar {
  border-bottom: 1px solid #eee;
  height: var(--navbar-height);
  top: var(--topbar-height);
}

.navbar.fixed-top {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-content {
  padding-top: var(--topbar-height);
}

.navbar-brand .logo-icon {
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
}

.navbar-brand .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--red);
  letter-spacing: 2px;
  line-height: 1;
}

.navbar-brand .logo-sub {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link {
  font-size: 13.5px;
  color: #333 !important;
  padding: 6px 10px !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

.nav-link.active {
  border-bottom: 2px solid var(--red);
}

.hero-carousel .carousel-item {
  height: 560px;
  overflow: hidden;
  position: relative;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.65);
}

.hero-caption-box {
  background: rgba(0,0,0,0.52);
  display: inline-block;
  padding: 28px 40px;
}

.hero-caption-box h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
}

.hero-caption-box p {
  font-size: 15px;
  color: #ddd;
  margin: 8px 0 0;
}

.dest-card img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s;
}

.dest-card:hover img {
  transform: scale(1.06);
}

.dest-card {
  overflow: hidden;
}

.dest-card .dest-label {
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  background: #fff;
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--red);
}

.pkg-img {
  height: 160px;
  object-fit: cover;
}

.pkg-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pkg-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}

.pkg-meta {
  font-size: 12px;
  color: #666;
}

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Masonry-style gallery */
.masonry {
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive column counts */
@media (min-width: 1200px) {
  .masonry { column-count: 4; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .masonry { column-count: 3; }
}
@media (max-width: 767px) {
  .masonry { column-count: 2; }
}

.gallery-search { max-width: 420px; margin: 0 auto 1.25rem; }

footer {
  background: #111;
  color: #aaa;
}

footer h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
}

footer a:hover {
  color: var(--gold);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 2px;
}

.footer-bottom {
  border-top: 1px solid #333;
  font-size: 12px;
  color: #555;
}

.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  cursor: pointer;
  border: none;
}

.whatsapp-fab i {
  font-size: 26px;
  color: #fff;
}

/* Layout: keep footer at bottom */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

.theme-btn {
    font-size: 14px;
    color: var(--color-white);
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--box-shadow);
    z-index: 1;
    padding: 14px 20px;
    transition: var(--transition);
    border-radius: 50px 50px 50px 0px;
    overflow: hidden;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    background: #f79e1e;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #ffffff !important;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 10px;
  }
}

/* ================= GOOGLE TRANSLATE ================= */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe[id$=".container"].skiptranslate,
iframe.skiptranslate[src="#"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  top: -9999px !important;
}

.goog-te-gadget {
  height: 0;
  overflow: hidden;
}

#google_translate_element {
  display: none !important;
}

body {
  top: 0px !important;
}

/* ================= MOBILE TOPBAR: mistari 3 tofauti ================= */
@media (max-width: 767.98px) {
  :root {
    --topbar-height: 100px; /* nafasi ya kutosha kwa mistari 3; ongeza/punguza kama inahitajika */
  }

  .navbar {
    top: var(--topbar-height);
  }

  .topbar-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 0;
  }

  .topbar-phones {
    order: 1;
    justify-content: center;
    flex-wrap: wrap;
  }

  .topbar-email {
    order: 2;
    justify-content: center;
  }

  .topbar-social {
    order: 3;
    justify-content: center;
  }

  .topbar-social a {
    font-size: 1.1rem;
  }
}