/* Simple, clean navigation styling */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border, #d8e5da);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(44, 62, 54, 0.12);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--accent, #2f7a60);
  letter-spacing: 0.3px;
  font-size: 1.05rem;
}

.nav-links {
  display: none;
  gap: 20px;
  align-items: center;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  color: var(--text, #2c3e36);
  text-decoration: none;
  padding: 6px 4px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 2px;
  background: var(--accent, #2f7a60);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent-dark, #25624c);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 122, 96, 0.25);
  border-radius: 8px;
}

.btn-cta {
  background: var(--accent, #2f7a60);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 14px 28px rgba(47, 122, 96, 0.18);
}

.btn-cta:hover {
  background: var(--accent-dark, #25624c);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--accent-dark, #25624c);
  border: 1px solid rgba(47, 122, 96, 0.35);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(47, 122, 96, 0.08);
  border-color: rgba(47, 122, 96, 0.5);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-links {
  display: none;
  gap: 12px;
  align-items: center;
}

@media (min-width: 960px) {
  .auth-links {
    display: flex;
  }
}

.fries {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.fries:hover {
  background: rgba(47, 122, 96, 0.08);
}

.fries span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text, #2c3e36);
  margin: 3px 0;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fries.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.fries.open span:nth-child(2) {
  opacity: 0;
}

.fries.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 54, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100dvh;
  background: #ffffff;
  border-left: 1px solid var(--border, #d8e5da);
  box-shadow: -20px 0 40px rgba(44, 62, 54, 0.15);
  transition: right 0.25s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  right: 0;
}

.drawer-links {
  display: grid;
  padding: 20px;
  gap: 6px;
}

.drawer-link {
  color: var(--text, #2c3e36);
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.drawer-link:hover {
  background: var(--surface-soft, #f1f6f2);
}

.drawer-cta {
  background: var(--accent, #2f7a60);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.drawer-cta:hover {
  background: var(--accent-dark, #25624c);
  transform: translateY(-1px);
}

.account {
  position: relative;
}

.account-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text, #2c3e36);
  font-weight: 500;
}

.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent, #2f7a60);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #ffffff;
  border: 1px solid var(--border, #d8e5da);
  border-radius: 14px;
  min-width: 200px;
  box-shadow: 0 20px 45px rgba(44, 62, 54, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 8px;
}

.account-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.account-menu a {
  display: block;
  color: var(--text, #2c3e36);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.account-menu a:hover {
  background: var(--surface-soft, #f1f6f2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
