/* HEADER */
/* HEADER */
/* HEADER */
/* HEADER - Positioning and layout */
.header {
  position: fixed;
  top: 0px;  /* Adjusted top position */
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 0 10%;
  height: 100px;
  background-color: rgba(0, 0, 0,  0);
  transition: background-color 0.3s ease-in-out; /* Transition effect for background */
}

/* Logo Styling */
.LOGO {
  display: flex;
  align-items: center;
  height: auto;
  max-height: 60px;
  cursor: pointer;
}

.MmErmacLogoTc1,
.MmErmacLogoTc2 {
  width: auto;
  height: auto;
  margin-right: 3px;
  object-fit: contain;
}

/* NAVBAR - Styling and positioning */
.navbar {
  position: absolute;  
  right: 0; 
  display: flex; 
  align-items: center; 
  height: 60px; 
  padding-right: 10%; 
  padding-left: 0px; 
  z-index: 100; 
  gap: 50px;
}

.navbar a {
  color: #E3BA28; 
  font-size: 15px; 
  font-family: "Jost", sans-serif; 
  font-weight: 400;
  cursor: pointer; 
  text-decoration: none;
}

.navbar div {
  color: #E3BA28; 
  font-size: 15px; 
  font-family: "Jost", sans-serif; 
  font-weight: 400;
  cursor: pointer; 
}

/* Optional: Add hover effect to navbar items */
.navbar a:hover,
.navbar div:hover {
  color: #fff;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Link Styled as Navbar Item */
.ServicesWeOffer {
  color: #E3BA28;
  font-size: 15px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  cursor: pointer; 
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ServicesWeOffer:hover {
  color: #fff;
}

/* Dropdown Menu (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #F5F5DB;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #1E1E1E;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: "Jost", sans-serif;
}

/* Change color on hover */
.dropdown-content a:hover {
  background-color: #E3BA28;
  color: #F5F5DB;

}

/* Show the dropdown menu when hovering over the dropdown */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger Menu Toggle Button */
.nav-btn {
  display: none;
  font-size: 22px;
  color: #E3BA28;
  cursor: pointer;
  right: 10%;
  top: 30px;
  z-index: 101;
}

/* Hide checkbox */
#nav-check {
  display: none;
}

/* Responsive Styles */
@media (max-width: 680px) {
  .nav-btn {
    display: block;
  }

  
  #nav-check:checked ~ .nav-links {
    transform: translateX(0%);
  }

  .navbar a,
  .navbar div {
    font-size: 18px;
    color: #E3BA28;
  }
  .navbar {
    padding-right: 0px;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
  }

  .dropdown-content a {
    background-color: transparent;
    color: #E3BA28;
    padding: 10px;
  }

  .dropdown:hover .dropdown-content {
    display: none; /* disables hover on mobile */
  }

  .dropdown-content a:hover {
    background-color: #E3BA28;
    color: #F5F5DB;
  }
  .header {
    transition: transform 0.3s ease;
    background-color: rgba(0, 0, 0,  0.49);
    height: 80px;
  }
  .nav-links {
    transform: translateX(100%);
    transition: transform 0.5s ease;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding-top: 20px;
    gap: 30px;
    align-items: center;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
  }
  
  #nav-check:checked ~ .nav-links {
    transform: translateX(0%);
  }
  .header.hide-on-scroll {
    transform: translateY(-100%);
    background-color: rgba(0, 0, 0,  0.49);

  }
}

@media (max-width: 480px) {
  .LOGO {
    height: auto;
    max-height: 50px;
  }
  
  .MmErmacLogoTc1,
  .MmErmacLogoTc2 {
    height: 30px;
    width: auto;
    max-width: 100px; /* Prevents overflow */
  }
  
}
