/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #00663a;
  padding: 20px 0;
}

.logo img {
  width: 180px;
  height: 40px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 80px;
  background-color: #00663a;
  flex-wrap: wrap;
}
.logo a img {
  height: 65px;
}

.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  display: none;
}

.navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.navbar-links li {
  display: inline-block;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
}

.navbar-links a:hover,
.navbar-links .active {
  background-color: #008f42;
  border-radius: 4px;
}

.user-greeting {
  /* background-color: #f0f0f0; */
  color: #ffffff;
  /* padding: 4px 12px; */
  /* border-radius: 6px;
    font-weight: bold; */
  cursor: pointer;
  user-select: none;
  padding-right: 20px;
}

.dropdown-menu {
  position: absolute;
  background-color: rgb(22, 87, 28);
  list-style: none;
  padding: 0;
  margin-top: 10px;
  width: 150px;
  display: flex;
  color: white;
}

.dropdown-menu li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}
/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
    url("../images/hero.jpg") no-repeat center center/cover;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero button {
  background-color: #00aa4f;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.hero button:hover {
  background-color: #008f42;
}

/* Search Form */
.search-box {
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  margin-top: -40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 8px;
  width: 800px;
  margin: -40px auto 0 auto;
}

.search-box input,
.search-box select {
  padding: 10px;
  width: 200px;
  margin: 10px;
}

.search-box button {
  background-color: #00aa4f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  margin: 10px;
  cursor: pointer;
}

.search-box button:hover {
  background-color: #008f42;
}

/* Features Section */
.features {
  padding: 40px 0;
  text-align: center;
}

.features h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.feature-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  margin: 10px;
  min-width: 250px;
}

.feature img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.feature h4 {
  margin-top: 10px;
  font-size: 18px;
  color: #00663a;
}

/* Trips Section */
.trips {
  padding: 40px 0;
  background-color: #f7f7f7;
  text-align: center;
}

.trips h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.trip-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.trip-card {
  background: #fff;
  border-radius: 6px;
  margin: 10px;
  padding: 10px;
  width: 250px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.trip-card img {
  width: 100%;
  border-radius: 6px;
}

.trip-card p {
  margin: 10px 0;
}

.trip-card button {
  background-color: #00aa4f;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.trip-card button:hover {
  background-color: #008f42;
}

/* Testimonials */
.testimonials {
  padding: 40px 0;
  text-align: center;
}

.testimonials h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: #fff;
  padding: 20px;
  margin: 10px;
  width: 300px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial h4 {
  color: #00663a;
}

/* App Section */
.app-section {
  background: #eef7f2;
  padding: 40px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.app-text {
  max-width: 500px;
}

.app-text h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.app-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.app-image img {
  width: 250px;
}

/* Blog Section */
.blog {
  padding: 40px 0;
  background-color: #f7f7f7;
  text-align: center;
}

.blog h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.blog-post {
  background: #fff;
  width: 280px;
  margin: 10px;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.blog-post img {
  width: 100%;
  border-radius: 6px;
}

.blog-post h4 {
  margin-top: 10px;
  font-size: 16px;
}

.blog-post button {
  background-color: #00aa4f;
  color: #fff;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.blog-post button:hover {
  background-color: #008f42;
}

/* Newsletter */
.newsletter {
  background: #00663a;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.newsletter input[type="email"] {
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 4px;
  margin-right: 10px;
}

.newsletter button {
  padding: 10px 20px;
  background-color: #00aa4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #008f42;
}

/* Footer */
footer {
  background-color: #004d2b;
  color: white;
  padding: 20px;
  text-align: center;
  /* margin-top: 50px; */
  list-style: none;
}

.footer-grid ul {
  list-style: none;
  margin-right: 20px;
  margin-top: 20px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-grid div {
  margin-bottom: 20px;
  min-width: 200px;
}

footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

footer a:hover {
  text-decoration: underline;
}

footer .social-icons {
  margin-top: 10px;
}

footer .social-icons i {
  margin-right: 10px;
  font-size: 18px;
  color: #fff;
}

/* RESPONSIVEE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    width: 90%;
    background-color: rgb(0, 68, 23);
  }

  .navbar-links.active {
    z-index: 100;
    /* Must be above overlay */
    display: flex;
    flex-direction: column;
    background: rgb(0, 51, 17);
    position: fixed;
    top: 60px;
    /* below navbar */
    left: 0;
    width: 100%;
    padding: 20px;
  }

  .navbar-links li {
    width: 100%;
    text-align: center;
  }

  #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* dark semi-transparent */
    z-index: 99;
  }
  /* .dropdown-menu {
    position: static;
    margin-top: 10px;
  } */
  .search-box {
    width: 95%;
    flex-direction: column;
  }

  .trip-cards,
  .feature-grid,
  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    flex-direction: column;
  }
}
