nav {
  border-bottom: 0.1rem solid var(--accent);
  padding: 1rem 2rem;
  z-index: 100;
  position: relative;
  transition: all 0.3s ease;
  background: var(--section-bg);
  background-color: white;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.left-nav {
  width: 8rem;
  height: 100%;
}

.logo-nav {
  width: 100%;
  height: 4rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.nav-right ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.nav-right li a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--section-text);
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.nav-right li a:hover {
  color: var(--primary);
  background-color: var(--support);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--section-text);
}

@media (max-width: 820px) {
  nav {
    padding: 1rem;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--section-bg);
    flex-direction: column;
    padding: 1rem 0;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-right ul {
    gap: 2rem;
  }

  .hamburger {
    display: block;
    padding: 0.5rem;
  }
}
