/* Overlay menu and header size adjustments */
@media (max-width: 700px) {
  .overlay-menu {
    font-size: 0.98rem !important;
    padding: 1.2rem 0.4rem 1.2rem 0.4rem !important;
  }
  .overlay-header img {
    max-width: 70px !important;
    max-height: 34px !important;
  }
  .logo {
    font-size: 1.05rem !important;
    padding: 0.2rem 0.5rem !important;
  }
  .navbar .logo img {
    height: 32px !important;
    margin-right: 6px !important;
  }
}

/* Overlay social icons in a single row */
.overlay-social-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.7em !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0.7em !important;
}
.overlay-social-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Footer styles */
.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 0 0;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 120px;
  clear: both;
}
.footer-links > div {
  min-width: 180px;
  flex: 1;
  color: #fff;
}
footer {
  width: 100%;
  background: #1a110a;
  color: #fff;
  padding-bottom: 2rem;
  margin-top: 0;
}
footer p {
  color: #fff;
  margin-top: 2rem;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .footer-links {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0 0 0;
  }
  .footer-links > div {
    min-width: 0;
  }
}
/* Card image at the top */
.destination-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  margin-bottom: 0.7rem;
}

/* Card description text */
.destination-desc {
  font-size: 1.01em;
  font-weight: 400;
  color: #e7d7c1;
  margin: 0.5em 1em 1em 1em;
  text-align: center;
}

/* See More button */
.see-more-btn {
  display: inline-block;
  margin: 0.7em auto 1em auto;
  padding: 0.5em 1.5em;
  background: linear-gradient(90deg, #a67c52 0%, #7c5a36 100%);
  color: #fff;
  border: none;
  border-radius: 2em;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(44,32,18,0.10);
  transition: background 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-align: center;
}
.see-more-btn:hover {
  background: linear-gradient(90deg, #c9a06c 0%, #a67c52 100%);
  box-shadow: 0 4px 16px 0 rgba(44,32,18,0.18);
}
/* Responsive Booking Form Styles */
.booking-container {
  max-width: 600px;
  margin: 2.5rem auto 2rem auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(160,82,45,0.10);
  padding: 2.2rem 2.5rem 2rem 2.5rem;
}
.booking-section-header {
  font-size: 2rem;
  font-weight: 700;
  color: #a0522d;
  text-align: center;
  margin-bottom: 0.7rem;
}
.booking-divider {
  height: 3px;
  background: #a0522d;
  width: 60px;
  margin: 0 auto 1.5rem auto;
  border-radius: 2px;
}
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  color: #a0522d;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #a0522d;
  border-radius: 6px;
  font-size: 1rem;
  background: #faf7f3;
  color: #333;
  margin-bottom: 0.2rem;
}
.form-group textarea {
  resize: vertical;
}
.form-group.form-notes {
  grid-column: 1 / span 2;
}
.form-group.form-submit {
  grid-column: 1 / span 2;
  text-align: center;
}
.form-group button[type="submit"] {
  background: #a0522d;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.form-group button[type="submit"]:hover {
  background: #8b4513;
}

@media (max-width: 700px) {
  .booking-container {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    margin: 1.2rem 0.2rem 1.2rem 0.2rem;
    box-shadow: 0 1px 8px rgba(160,82,45,0.13);
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-group.form-notes,
  .form-group.form-submit {
    grid-column: 1;
  }
  .booking-section-header {
    font-size: 1.3rem;
  }
}

/* Overlay menu and hamburger always on top for mobile */
@media (max-width: 700px) {
  .overlay-menu {
    width: 100vw !important;
    left: 0 !important;
    border-radius: 0 !important;
    padding: 2.5rem 0.7rem 2rem 0.7rem !important;
    font-size: 1.1rem !important;
  }
  .overlay-header img {
    max-width: 90px !important;
    max-height: 44px !important;
  }
  .hamburger {
    display: flex !important;
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 2001 !important;
  }
}
/* Book Now & Contact Us Buttons */
.btn-book-now:hover {
  background: #8b4513;
  color: #fff;
}
.btn-contact-us:hover {
  background: #a0522d;
  color: #fff;
}
@media (max-width: 700px) {
  .sidebar-actions {
    flex-direction: column;
    gap: 0.7rem;
  }
  .floating-action-btns {
    position: fixed;
    bottom: 18px;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    z-index: 1002;
    pointer-events: none;
  }
  .floating-action-btns a {
    pointer-events: auto;
    min-width: 120px;
    font-size: 1.08rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(160,82,45,0.13);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
  }
  .floating-action-btns .btn-book-now {
    background: #a0522d;
    color: #fff;
  }
  .floating-action-btns .btn-contact-us {
    background: #fff;
    color: #a0522d;
    border: 1.5px solid #a0522d;
  }
}
/* Hamburger button styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #a0522d;
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 700px) {
  .hamburger { display: flex !important; }
  #navMenu { display: none !important; }
}
@media (min-width: 701px) {
  .hamburger { display: none !important; }
  #navMenu { display: flex !important; }
}
/* ===========================
     OFFER SLIDER
  =========================== */
  .offer-slider-section {
    max-width: 1200px;
    margin: 2.5rem auto 1.5rem auto;
    padding: 0 1rem;
  }
  .offer-slider-section h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
  }
  .offer-slider {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #a0522d #1a110a;
  }
  .offer-slider::-webkit-scrollbar {
    height: 7px;
  }
  .offer-slider::-webkit-scrollbar-thumb {
    background: #a0522d;
    border-radius: 4px;
  }
  .offer-slider::-webkit-scrollbar-track {
    background: #1a110a;
  }
  .offer-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff8e1;
    color: #a0522d;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(160,82,45,0.08);
    padding: 0.7rem 1.1rem 0.5rem 1.1rem;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    flex: 0 0 auto;
    border: 1px solid #e0c9a6;
    transition: background 0.2s, color 0.2s;
    min-width: 120px;
    margin-bottom: 0.2rem;
  }
  .offer-slide img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
  }
  .offer-slide span {
    font-size: 0.98rem;
    font-weight: 500;
    color: #a0522d;
  }

  /* ===========================
     GLOBAL STYLES
  =========================== */
html, body {
  height: auto !important;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto !important;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #a0522d; /* Terracotta background */
  color: #2c2c2c;
}

/* ===========================
   HEADER + NAVBAR
=========================== */
header {
  background: linear-gradient(90deg, #a0522d 0%,#1a110a 100%);
  color: #fff;
  padding: 0.8rem 1rem;
  position: relative;
}
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 2px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.navbar ul li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}
.navbar ul li a:hover {
  color: #d4af37;
}

/* ===========================
   HAMBURGER MENU
=========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===========================
   OVERLAY MENU
=========================== */
.overlay-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100vw;
  height: 100vh;
  background: rgba(160,82,45,0.95); /* Terracotta overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.4s ease;
  z-index: 1100;
  pointer-events: none;
}
.overlay-menu.active {
  left: 0;
  pointer-events: auto;
}
.overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: block !important;
}
.overlay-menu ul li {
  margin: 1rem 0;
}
.overlay-menu ul li a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s;
}
.overlay-menu ul li a:hover {
  color: #d4af37;
}

.overlay-menu ul li {
  margin: 1rem 0;
}
.overlay-menu ul li a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.3s;
}
.overlay-menu ul li a:hover {
  color: #d4af37;
}

.overlay-header {
  width: 100%;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 0.7rem;
}

/* ===========================
   SOCIAL + CONTACT
=========================== */
.overlay-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.overlay-footer a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  margin: 0.2rem 0;
  transition: color 0.3s;
}
.overlay-footer a img {
  margin-right: 8px;
}
.overlay-footer a:hover {
  color: #d4af37;
}

.overlay-footer a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.overlay-footer a:hover {
  color: #d4af37;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: url('img/Blue Safari Trip Zanzibar.jpeg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  min-height: 300px;
  background-blend-mode: multiply;
  background-color: rgba(160,82,45,0.7);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   DESTINATIONS GRID
=========================== */
.destinations-grid {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.destination-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(160,82,45,0.13);
  width: 260px;
  padding: 1rem;
  text-align: left;
  transition: transform 0.2s;
}
.destination-card:hover {
  transform: scale(1.05);
}
.destination-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 2px solid #a0522d;
}
.destination-card h3 {
  color: #a0522d;
  margin: 0.5rem 0;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-grid {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.testimonial-card {
  background: #fff8e1;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(160,82,45,0.08);
  width: 260px;
  padding: 1rem;
  text-align: center;
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 2px solid #a0522d;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #1a110a;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  position: relative;
  width: 100%;
  z-index: 1200;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #fff;
  font-size: 0.95rem;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 700px) {
  .hamburger {
    display: flex !important;
    z-index: 1101;
  }
  .navbar ul {
    display: none;
  }
  .destinations-grid, .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }
  .destination-card, .testimonial-card {
    width: 95%;
    margin: 0.7rem 0;
  }
  .destination-card-bg {
    width: 90vw;
    max-width: 400px;
    margin: 0.7rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #7c5a36; /* Earthy brown frame */
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px 0 rgba(44, 32, 18, 0.18), 0 1.5px 6px 0 rgba(44, 32, 18, 0.10);
    overflow: hidden;
    background-clip: padding-box;
    transition: box-shadow 0.18s, border-color 0.18s;
  }
  .destination-card-bg:hover {
    box-shadow: 0 8px 28px 0 rgba(44, 32, 18, 0.28), 0 3px 12px 0 rgba(44, 32, 18, 0.16);
    border-color: #a67c52;
  }
  }

  @media (max-width: 500px) {
    .main-content,
    .hero,
    .destinations-grid,
    .testimonials-grid,
    .destination-card,
    .testimonial-card,
    .footer-links {
      max-width: 100vw;
      width: 100%;
      box-sizing: border-box;
      margin-left: 0;
      margin-right: 0;
      padding-left: 0.2rem;
      padding-right: 0.2rem;
    }
    .hero {
      padding: 1.2rem 0.3rem 0.7rem 0.3rem;
      min-height: 120px;
      font-size: 1rem;
    }
    .destination-card img,
    .testimonial-card img {
      height: auto;
      max-width: 100%;
    }
    .footer-links {
      flex-direction: column;
      gap: 0.5rem;
    }
  }

  @media (max-width: 400px) {
    .logo {
      font-size: 1.1rem;
    }
    .hero h1 {
      font-size: 1.3rem;
    }
    .hero p {
      font-size: 1rem;
    }
  }

/* Tab Buttons */
.tab-btn-row {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  z-index: 1;
}
.tab-btn {
  padding: 0.7rem 1.2rem;
  border: none;
  background: #a0522d;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  pointer-events: auto;
  z-index: 2;
}
.tab-btn:focus, .tab-btn:hover {
  background: #8b4513;
  color: #fff;
  outline: none;
}

.itinerary-img {
  width: 100%;
  max-width: 420px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 12px rgba(160,82,45,0.13);
  display: block;
}
