* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: 90px;
}

header {
  background: #eaf5ea;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(43, 71, 35, 0.2);
  border-bottom: 2px solid #2b4723;
  height: 90px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.search-container {
  position: relative;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(43, 71, 35, 0.1);
  border-radius: 25px;
  padding: 8px 16px;
  border: 1px solid rgba(43, 71, 35, 0.2);
  width: 280px;
}

.search-bar input {
  border: none;
  background: none;
  padding: 6px 10px;
  outline: none;
  width: 100%;
  color: #2b4723;
  font-size: 15px;
}

.search-bar input::placeholder {
  color: rgba(43, 71, 35, 0.7);
}

.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #2b4723;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar svg {
  width: 18px;
  height: 18px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #2b4723;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 15px;
  white-space: nowrap;
}

.nav-menu a:hover {
  background: rgba(43, 71, 35, 0.2);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #2b4723;
  margin: 5px 0;
  transition: all 0.4s ease;
}

/* Desktop (1024px) */
@media (max-width: 1024px) {
  body {
    padding-top: 80px;
  }

  header {
    height: 80px;
    padding: 12px 30px;
  }

  .logo img {
    height: 50px;
  }

  .search-bar {
    width: 240px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-menu a {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  header {
    height: 70px;
    padding: 10px 20px;
  }

  .logo img {
    height: 45px;
  }

  .hamburger {
    display: block;
  }

  .nav-wrapper {
    position: fixed;
    top: 70px;
    right: -100%;
    height: calc(100vh - 70px);
    width: 300px;
    background: #eaf5ea;
    flex-direction: column;
    padding: 20px;
    transition: 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(43, 71, 35, 0.3);
    gap: 25px;
    overflow-y: auto;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .search-container {
    width: 100%;
  }

  .search-bar {
    width: 100%;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }

  header {
    height: 60px;
    padding: 8px 15px;
  }

  .logo img {
    height: 40px;
  }

  .nav-wrapper {
    top: 60px;
    width: 100%;
    height: calc(100vh - 60px);
  }

  .search-bar {
    padding: 6px 12px;
  }

  .search-bar input {
    font-size: 14px;
  }

  .nav-menu a {
    padding: 10px;
    font-size: 15px;
  }

  .hamburger {
    padding: 10px;
  }

  .hamburger span {
    width: 22px;
    height: 2px;
    margin: 4px 0;
  }
}