/*********************************************
  1. BASIC RESET / GLOBAL
**********************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root color variables */
:root {
    --brown: #8B4513;
    --khaki: #F0E68C;
    --olive-green: #556B2F;
    --beige: #F5F5DD;
    --burnt-orange: #CC5500;
    --tan: #D2B48C;
    --deep-green: #2F4F4F;
    --golden-yellow: #FFD700;

    /* If you want a custom gradient, you can define it here */
    --sunset-gradient: linear-gradient(90deg, #cc5500 0%, #ffd700 100%);

    /* Commonly used spacing */
    --section-padding: 3rem;
    --small-padding: 1rem;
    --medium-padding: 1.5rem;
    --large-padding: 2rem;

    /* Font preferences (adjust as needed) */
    --main-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--main-font);
    background-color: var(--beige);
    color: var(--deep-green);
    line-height: 1.6;
}

/*********************************************
  2. GLOBAL HEADINGS, TEXT, & LINKS
**********************************************/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--brown);
}

a:hover {
    opacity: 0.8; /* Simple hover effect */
}

/*********************************************
  3. GLOBAL BUTTON STYLES
**********************************************/
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, opacity 0.3s;
    cursor: pointer;
    margin: 0.5rem 0.5rem 0.5rem 0; /* small spacing around buttons */
}

.btn-primary {
    background-color: var(--burnt-orange);
    color: #fff;
    border: 2px solid var(--burnt-orange);
}

.btn-primary:hover {
    background-color: var(--brown);
    border-color: var(--brown);
    color: #fff;
}

.btn-outline {
    color: var(--burnt-orange);
    background-color: transparent;
    border: 2px solid var(--burnt-orange);
}

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

/*********************************************
  4. SECTION: WELCOME SECTION
**********************************************/
.welcome-section {
    padding: var(--section-padding) 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Optionally add a background image or gradient */
    /* background: var(--sunset-gradient); */
    /* color: #fff; */
}

.welcome-content {
    max-width: 800px;
}

.welcome-heading {
    font-size: 2rem;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.welcome-subheading {
    font-size: 1.25rem;
    color: var(--olive-green);
    margin-bottom: 1rem;
}

.welcome-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.welcome-cta {
    margin-top: 1rem;
}

/* If using a hero image or video background */
.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/*********************************************
  5. SECTION: FEATURED EXPERIENCES (CARD LAYOUT)
**********************************************/
.featured-experiences {
    padding: var(--section-padding) 5%;
    text-align: center;
}

.section-heading {
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 2rem;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--medium-padding);
    margin-top: var(--small-padding);
}

.experience-card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
}

.experience-card img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-card h3 {
    font-size: 1.25rem;
    margin: 1rem;
}

.experience-card p {
    margin: 0 1rem 1rem 1rem;
    color: var(--deep-green);
}

.experience-card .btn {
    margin: 1rem 1rem;
}

.section-cta {
    margin-top: var(--medium-padding);
}

/* ---------------------------------
   HIGHLIGHTS OF TANZANIA (2x4 GRID)
   Responsive & Centered CTA
---------------------------------- */

/* The parent container for the entire section */
.tanzania-highlights {
    padding: var(--section-padding) 5%;
    text-align: center;
  }
  
  /* The grid container for the destination cards */
  .destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    gap: var(--medium-padding);
    margin-top: var(--small-padding);
  }
  
  /* Each destination card */
  .destination-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    min-height: 250px; /* Adjust as needed for bigger/larger cards */
  }
  
  /* Destination images */
  .destination-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;  /* Ensures image fills the box nicely */
    transition: transform 0.5s;
  }
  
  /* Slight zoom on hover (not too large to avoid hiding the overlay text) */
  .destination-item:hover img {
    transform: scale(1.05);
  }
  
  /* The overlay that appears from bottom */
  .destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.7); /* semi-transparent brown */
    color: #fff;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s;
    text-align: center;   /* Center all text & the CTA here */
  }
  
  /* Reveal overlay on hover */
  .destination-item:hover .destination-overlay {
    transform: translateY(0);
  }
  
  /* Overlay text styling */
  .destination-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #fff;
  }
  
  .destination-overlay p {
    margin-bottom: 1rem;
    color: #fff;
  }
  
  /* CTA in the overlay - ensure it’s centered */
  .destination-overlay .btn {
    margin: 0 auto;        /* horizontally center */
    display: inline-block; /* needed so margin:auto works properly */
  }
  
  /* ---------------------------------
     RESPONSIVE MEDIA QUERIES
  ---------------------------------- */
  
  /* For tablets or smaller desktops, show 2 columns per row */
  @media (max-width: 1024px) {
    .destinations-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* For mobile screens, show 1 column per row */
  @media (max-width: 600px) {
    .destinations-grid {
      grid-template-columns: 1fr;
    }
  }

/*********************************************
  WHY CHOOSE US - REDESIGNED VERSION
**********************************************/

/*********************************************
  WHY CHOOSE US - REDESIGNED VERSION
**********************************************/

.why-choose-us {
  padding: 60px 5%;
  background-color: var(--beige); /* Consistent background color */
  text-align: center;
}

.why-choose-us .section-heading {
  margin-bottom: 40px;
  color: var(--brown);
  font-size: 2rem;
  font-weight: 700;
}

/* Reasons Container */
.reasons-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Reason Card */
.reason-card {
  background-color: #fff; /* White background for cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.reason-card:hover,
.reason-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.reason-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.reason-card:hover .reason-image,
.reason-card:focus-within .reason-image {
  transform: scale(1.05);
}

.reason-content {
  padding: 20px;
}

.reason-content h3 {
  color: var(--deep-green);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.reason-content p {
  color: var(--olive-green);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

/* Call to Action */
.section-cta {
  margin-top: 40px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
  background-color: var(--burnt-orange);
  color: var(--beige);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--tan);
  color: var(--brown);
}

/* Responsive Design */
@media (min-width: 576px) {
  .reasons-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .reason-image {
    height: 250px;
  }
}

@media (min-width: 992px) {
  .reasons-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .reason-image {
    height: 200px;
  }
}

@media (min-width: 1200px) {
  .reasons-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .reason-image {
    height: 220px;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .why-container {
    grid-template-columns: 1fr;
  }

  .why-display {
    margin-top: var(--medium-padding);
    min-height: auto;
    border-radius: 0 0 8px 8px; 
  }

  .why-text {
    font-size: 0.95rem;
  }
}
/*********************************************
  8. SECTION: ADVENTURE ACTIVITIES
**********************************************/
.adventure-activities {
    padding: var(--section-padding) 5%;
    text-align: center;
}

.activities-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--medium-padding);
    margin-top: var(--medium-padding);
   
       /*white-space: nowrap; overflow-x: auto;
       Each .activity-card { display: inline-block; width: 250px; margin-right: 1rem; }*/
    
}

.activity-card {
    background-color: #fff;
    border-radius: 6px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.activity-card img {
    width: 100%;
    height: 500px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.activity-card h3 {
    font-size: 1.2rem;
    margin: 1rem;
    color: var(--brown);
}

.activity-card p {
    margin: 0 1rem 1rem 1rem;
}

.activity-card .btn {
    margin: 1rem 1rem;
}

/*********************************************
  9. SECTION: TESTIMONIALS
**********************************************/
.testimonials-section {
    padding: var(--section-padding) 5%;
    text-align: center;
    background-color: var(--khaki);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--medium-padding);
    margin-top: var(--small-padding);
}

.testimonial-card {
    background-color: tan;
    border-radius: 6px;
    padding: var(--medium-padding);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--deep-green);
}

.testimonial-author {
    font-weight: 600;
    color: var(--brown);
}

.tripadvisor-cta {
    margin-top: var(--burnt-orange);
    margin-top: var(--medium-padding);
}

.tripadvisor-cta p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.TA_rated {
    margin-bottom: 1rem;
    justify-items: center;
}

/*********************************************
  10. SECTION: FINAL CTA BANNER
**********************************************/
.final-cta-banner {
    background: var(--sunset-gradient); /* or use a solid color like var(--brown) */
    color: #fff;
    padding: var(--section-padding) 5%;
    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: auto;
}

.final-cta-content h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #fff;
}

.final-cta-content p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.cta-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/*********************************************
  11. RESPONSIVE MEDIA QUERIES
**********************************************/
@media (max-width: 768px) {
    .welcome-heading {
        font-size: 1.6rem;
    }
    .final-cta-content h2 {
        font-size: 1.6rem;
    }
    .destination-overlay {
        padding: 0.5rem;
    }
    .feature-item {
        padding: 1rem;
    }
}