/*Navbar*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Calligraffitti&family=Pinyon+Script&display=swap');

* {
  font-family: "Inter", sans-serif;
  margin: 0;
}

/* Navbar styling */
.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;

  position: fixed; /* of sticky */
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
  z-index: 10;
  padding: 20px 10%;
  color: #fff;
}

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #294140;
}

.navbar .nav-links a,
.navbar .dropbtn {
  color: white;
  transition: color 0.3s ease;
}

.dropbtn.scrolled {
  color: #294140;
}

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .dropbtn {
  color: #294140!important; /* donkergroen */
}

.logo img {
  height: 50px; /* Adjust logo size */
}

/* Flex container for navbar links, button, and language selector */
.nav-links {
  list-style-type: none;
  margin: 0;
  display: flex;
  gap: 30px;
  align-items: center; /* Ensure links are vertically aligned */
}

.nav-links li a {
  text-decoration: none;
  color: #294140;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: rgb(31, 148, 144); /* Hover color */
}

/* Language Dropdown */
.language-dropdown {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center;
}

.dropbtn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px!important;
  padding-right: 2vw;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropbtn i {
  font-size: 16px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin-top: 100px;
  padding: 5px;
  z-index: 1;
}

.language-dropdown:hover .dropdown-content {
  display: block;
}

/* More dropdown button styling */
.dropdownnn {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropbtn i {
  font-size: 16px;
}

.dropdownnn-content {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin-top: 2px; /* Adjusted to position dropdown better */
  padding: 10px 5px;
  z-index: 1;
}

.dropdownnn:hover .dropdownnn-content {
  display: block;
}

.dropdownnn-content a {
  text-decoration: none!important;
  color: #294140!important;
  padding: 8px 16px!important;
  display: block;
}

.dropdownnn-content a:hover {
  background-color: #f1f1f1;
}

.material-icons-outlined {
  font-size: 18px;
}

.navbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto; /* Push everything to the right */
}

.language-dropdown {
  margin-left: 20px; /* Added spacing between elements */
}

/*Mobile navbar /*
/* Mobile Navbar */
.navbar-mobile {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10%;
  width: 100%;
  background-color: #ffffff00!important;
  position: fixed;
  top: 0;
  z-index: 10;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#hamburger-icon, .dropbtn {
  color: white!important;
  fill: white;
}

/* After scroll */
.navbar-mobile.scrolled #hamburger-icon,
.navbar-mobile.scrolled .dropbtn {
  color: #294140 !important; /* your green */
  fill: #294140;
}



/* When scrolled */
.navbar-mobile.scrolled {
  background-color: #fff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Hamburger Menu Icon */
.hamburger {
  font-size: 24px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

#hamburger-icon, #close-icon {
  font-size: 24px;
  transition: all 0.3s ease;
}

#close-icon {
  display: none; /* Hidden by default */
}

/* Optional: Add some styles for the menu transition if desired */
.mobile-nav-links.open {
  display: block;
}

/* Mobile Navbar Links */
.mobile-nav-links {
  display: none; /* Hidden by default */
  list-style-type: none;
  padding: 0;
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  background-color: #f1f2f3e3;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  text-align: center;
}

.mobile-nav-links li {
  padding: 10px 0;
}

.mobile-nav-links li a {
  color: #294140;
  text-decoration: none;
  font-size: 16px;
}

.mobile-nav-links li a:hover {
  color: rgb(31, 148, 144);
}

/* Mobile Navbar is visible when menu is open */
.mobile-nav-links.open {
  display: block;
}

/* Media Query for Mobile */
@media screen and (max-width: 1150px) {
  .navbar {
      display: none; /* Hide the desktop navbar */
  }

  .navbar-mobile {
      display: flex; /* Show mobile navbar */
  }

  .navbar-mobile .logo img {
      height: 60px; /* Adjust logo size for mobile */
  }

  .language-dropdown {
      margin-left: 20px; /* Add space for mobile */
  }
}

/* Language Dropdown */
.language-dropdown {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center;
}

/* Dropbtn Styles */
.dropbtn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px!important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.header ul {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, max-height 0.5s ease-in-out;
}

/* When the checkbox (hamburger button) is checked, show the menu */
.header .menu-btn:checked ~ .menu ul {
  display: flex;
  opacity: 1;
  max-height: 300px;  /* Adjust to fit the height of the mobile menu */
}

/* Default state for mobile (no padding) */
.navbar-mobile .language-dropdown {
  padding: 0!important; /* No padding on mobile */
  margin: 0;
}

.navbar-mobile .dropbtn {
  gap: 0px;
  padding: 0;
}
/*Einde Navbar*/