/* Tanzania Destination Brand Styles */

/* ===========================
   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: #FFFFFF; /* White background */
  color: #2F4F4F; /* Dark blue-grey text */
}

/* ===========================
   HEADER + NAVBAR
=========================== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #2F4F4F;
  padding: 0.8rem 1rem;
  position: relative;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #2F4F4F;
}

.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: #2F4F4F;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
}

.navbar ul li a:hover {
  color: #695A46;
}

/* ===========================
   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: #2F4F4F;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===========================
   OVERLAY MENU
=========================== */
.overlay-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  color: #2F4F4F;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.4s ease;
  z-index: 1100;
  pointer-events: none;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.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: #2F4F4F;
  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: #695A46;
}

.overlay-header {
  width: 100%;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2F4F4F;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(47,79,79,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: #2F4F4F;
  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: #695A46;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: #FFFFFF;
  color: #2F4F4F;
  text-align: center;
  padding: 4rem 1rem;
  min-height: 300px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2F4F4F;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: #695A46;
}

/* ===========================
   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: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  width: 260px;
  padding: 1rem;
  text-align: left;
  transition: transform 0.2s;
  border: 1px solid #E8E8E8;
}

.destination-card:hover {
  transform: scale(1.05);
}

.destination-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.destination-card h3 {
  color: #2F4F4F;
  margin: 0.5rem 0;
}

.destination-desc {
  font-size: 1.01em;
  font-weight: 400;
  color: #695A46;
  margin: 0.5em 1em 1em 1em;
  text-align: center;
}

/* ===========================
   BUTTONS
=========================== */
.btn, .btn-book-now, .see-more-btn {
  background: #2F4F4F;
  color: #FFFFFF;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
}

.btn:hover, .btn-book-now:hover, .see-more-btn:hover {
  background: #695A46;
  color: #FFFFFF;
}

.btn-contact-us {
  background: #FFFFFF;
  color: #2F4F4F;
  border: 2px solid #2F4F4F;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-contact-us:hover {
  background: #2F4F4F;
  color: #FFFFFF;
}

/* ===========================
   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: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 260px;
  padding: 1rem;
  text-align: center;
  border: 1px solid #E8E8E8;
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 2px solid #2F4F4F;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #2F4F4F;
  color: #FFFFFF;
  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 > div {
  min-width: 180px;
  flex: 1;
  color: #FFFFFF;
}

.footer-links a {
  color: #FFFFFF;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

footer p {
  color: #FFFFFF;
  margin-top: 2rem;
  font-size: 1.05rem;
}

/* ===========================
   BOOKING FORM
=========================== */
.booking-container {
  max-width: 600px;
  margin: 2.5rem auto 2rem auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 2.2rem 2.5rem 2rem 2.5rem;
  border: 1px solid #E8E8E8;
}

.booking-section-header {
  font-size: 2rem;
  font-weight: 700;
  color: #2F4F4F;
  text-align: center;
  margin-bottom: 0.7rem;
}

.booking-divider {
  height: 3px;
  background: #2F4F4F;
  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: #2F4F4F;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 2px solid #E8E8E8;
  border-radius: 6px;
  font-size: 1rem;
  background: #FFFFFF;
  color: #2F4F4F;
  margin-bottom: 0.2rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2F4F4F;
}

.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: #2F4F4F;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: background 0.3s;
}

.form-group button[type="submit"]:hover {
  background: #695A46;
}

/* ===========================
   TAB SYSTEM
=========================== */
.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: 2px solid #2F4F4F;
  background: #FFFFFF;
  color: #2F4F4F;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  pointer-events: auto;
  z-index: 2;
  text-decoration: none;
}

.tab-btn.active,
.tab-btn:focus,
.tab-btn:hover {
  background: #2F4F4F;
  color: #FFFFFF;
  outline: none;
}

.tab-content {
  background: #FFFFFF;
  padding: 2rem;
  border: 1px solid #E8E8E8;
  border-radius: 0 8px 8px 8px;
  margin-top: -2px;
}

.tab-content h2 {
  color: #2F4F4F;
  margin-bottom: 1.5rem;
}

.tab-content h3 {
  color: #695A46;
  margin-bottom: 1rem;
}

/* ===========================
   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;
  }
  
  .booking-container {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    margin: 1.2rem 0.2rem 1.2rem 0.2rem;
  }
  
  .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;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 500px) {
  .logo {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 1.3rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* ===========================
   MOBILE SPECIFIC
=========================== */
@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;
  }
}

/* ===========================
   IMAGES
=========================== */
.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(0,0,0,0.08);
  display: block;
}

.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;
}

/* ===========================
   OFFER SLIDER
=========================== */
.offer-slider-section {
  max-width: 1200px;
  margin: 2.5rem auto 1.5rem auto;
  padding: 0 1rem;
}

.offer-slider-section h2 {
  color: #2F4F4F;
  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: #2F4F4F #E8E8E8;
}

.offer-slider::-webkit-scrollbar {
  height: 7px;
}

.offer-slider::-webkit-scrollbar-thumb {
  background: #2F4F4F;
  border-radius: 4px;
}

.offer-slider::-webkit-scrollbar-track {
  background: #E8E8E8;
}

.offer-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #FFFFFF;
  color: #2F4F4F;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,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 #E8E8E8;
  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: #2F4F4F;
}
