header {
  background-color: var(--light-green);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

header.transparent {
  background-color: rgba(167, 238, 222, 0.9);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  max-height: 70px;
  width: auto;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 5px;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-green);
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  display: inline-block;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-green);
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-links a:hover::before, 
.nav-links a:focus::before {
  width: 100%;
  left: 0;
}

.nav-links a:hover, 
.nav-links a:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--primary-green);
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 5px;
  display: none;
}

.hamburger-btn:hover {
  transform: rotate(90deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
      padding-top: 80px;
  }
  
  header {
      height: auto;
      min-height: 80px;
      padding: 0.5rem 0;
  }
  
  .header-content {
      flex-wrap: wrap;
  }
  
  .hamburger-btn {
      display: block;
      order: 2;
  }
  
  .logo {
      order: 1;
  }
  
  nav {
      order: 3;
      width: 100%;
  }
  
  .nav-links {
      flex-direction: column;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
  }
  
  .nav-links.active {
      max-height: 500px;
      padding: 1rem 0;
  }
  
  .nav-links li {
      width: 100%;
      text-align: center;
      margin: 0.5rem 0;
  }
  
  .nav-links a {
      display: block;
      padding: 0.8rem 1rem;
  }
}

@media (max-width: 480px) {
  .logo img {
      max-height: 60px;
  }
}