* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    background: #4d0404;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #ff8177;
    background: linear-gradient(to top, #ff0844 0%, #ffb1 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;    
}

.logo {
    margin-right: 0.5rem;
    width: 150px;
  height: 150px;
  left: 15px;
  background-size: contain;
  margin: 10px 10px 10px 10px;
}

/* 2. Style the Logo Wrapper */
.logo-container {
  height: 100%; /* Match the full height of the navbar */
  display: flex;
  align-items: center; /* Center image within the link wrapper */
}

/* 3. Force the Image to Fit */
.logo-img {
  max-height: 80%; /* Leave a tiny bit of breathing room/padding */
  width: auto; /* Automatically scale width to maintain aspect ratio */
  object-fit: contain; /* Prevents stretching or squeezing */
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    align-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #0b4625;
    color: #fff;
}

.button:hover {
    background: #4837ff;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #f77062;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
         top: -1000px;
        opacity: 0; 
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #4d0404;
    }

    .navbar__menu.active {
        background: #4d0404;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        left-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
            }

            #mobile-menu {
                position: absolute;
                top: 20%;
                right: 5%;
                transform: translate(5%, 20%);
            }

            .navbar__btn {
                padding-bottom: 2rem;
            }

            .button {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 80%;
                height: 80px;
                margin: 0;
            }

            .navbar__toggle .bar {
                display: block;
                cursor: pointer;
            }

            #mobile-menu.is-active .bar:nth-child(2) {
                opacity: 0;
            }

            #mobile-menu.is-active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }

            #mobile-menu.is-active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }

}

/* Hero Section CSS */

.main {
    background-color: #837a7a;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    min-height: 90vh;
    background-color: #141414;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.main__content h1 {
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #dd441e 0%, #ae19cc 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2 {
    font-size: 3rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #522405 0%, #ffb1ff 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h3 {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #3c80ad;
}

.main__img--container {
    text-align: center;
}

#main__img {
    height: 80%;
    width: 70%;
}

/* .navbar__container {
    background-image: url('images/TourPics/Tannys Eagle Logo.jpg');
    width: 150px;
    height: 60px;
    background-size: contain;
} */

/*<!-- INTERRACTIVE MIDDLE SECTION WITH IMAGES -->*/

/* Container for the 3 images */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns side by side */
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Base style for each image box */
.image-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animation: Slight lift and glow on hover */
.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Image scaling */
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Animation: Slow zoom effect on hover */
.image-card:hover img {
  transform: scale(1.05);
}

/* Base styles for text overlays */
.overlay-text {
  position: absolute;
  bottom: 15px; /* Aligns to the base */
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0.7; /* Transparent base */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animation: Text slides up slightly on hover */
.image-card:hover .overlay-text {
  transform: translateY(-5px);
}

/* Custom Text Colors */
.kenya-text {
  color: #7FFF00; /* Brown */
}

.tanzania-text {
  color: #0000FF; /* Blue */
}

.rwanda-text {
  color: #f71404; /* Chartreuse */
}

/* Mobile Responsiveness: Stacks images on small screens and allows shrinking */
@media screen and (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr; /* Stacks vertically on smaller screens */
  }
}
   
/* <!--Footer Section--> */

/* Ensure the page stretches to allow the footer to stick to the bottom */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* Push the main content up and footer to the bottom */
main {
    flex: 1;
}

/* Footer Container Setup */
.site-footer {
    background-color: #000000; /* Black background */
    color: #ffffff;
    padding: 60px 20px 20px;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 40px;
}

/* Column Elements */
.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

/* Quick Links List Styling */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #ffcc00;
}

/* Logo Column Adjustments */
.logo-col img {
    max-width: 150px;
    height: auto;
}

/* Social Icons (Assuming you are using FontAwesome) */
.social-icons {
    display: flex;
    gap: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: #ffcc00;
    border-radius: 50%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

  .social-icon:hover {
    background-color: #ffcc00; /* LinkedIn primary or your choice */
} 

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 2px solid #333333;
    font-size: 13px;
    color: #888888;
}

/* Responsive adjustments for mobile and tablets */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on medium screens */
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr; /* Single vertical column on small screens */
        text-align: center;
    }
    .footer-col {
        align-items: center;
    }
    .social-icons {
        justify-content: center;
    }
}

/* SOCIAL ICONS AT THE FOOTER SECTION */

  /* Container for layout */
    .social-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    /* Base styling for all social icons */
    .social-icon {
      text-decoration: none; /* Removes link underline */
      font-size: 32px;       /* Controls icon size globally */
      transition: transform 0.2s ease, color 0.2s ease;
    }

    /* Hover effect */
    .social-icon:hover {
      transform: scale(1.1); /* Slightly enlarges on hover */
    }

    /* Individual brand colors */
    .facebook {
      color: #ffcc00;
    }

    .linkedin {
      color: #ffcc00;
    }

    .x-twitter {
      color: #ffcc00; /* Use #FFFFFF if your background is dark */
    }
