.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  transition: all 0.4s ease;
  background: rgba(15, 46, 26, 0.95);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-sand);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 10px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-white);
  transition: color 0.4s;
}

.navbar.scrolled .nav-logo-text {
  color: var(--clr-forest);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a {
  color: var(--clr-text-light);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--clr-forest);
  background: rgba(27, 67, 50, 0.08);
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
  border: 1.5px solid var(--clr-gold) !important;
  color: var(--clr-gold) !important;
  background: transparent !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--clr-gold) !important;
  color: var(--clr-forest) !important;
}

.nav-hamburger {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  display: none;
  /* hidden by default on desktop */
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--clr-forest);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .nav-logo-text {
    font-size: 16px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ── Mobile Menu Overlay ─────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ── Mobile Menu Drawer ──────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--clr-forest);
  z-index: 1000;
  padding: 24px;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.25);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-menu-logo {
  height: 40px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.mobile-menu-close:hover {
  opacity: 1;
}

.mobile-menu-links {
  list-style: none;
  padding: 0;
}

.mobile-menu-links li {
  margin-bottom: 4px;
}

.mobile-menu-links a {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

.mobile-menu-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
}

.mobile-menu-links a.active {
  background: rgba(201, 168, 76, 0.15);
  color: var(--clr-gold-light);
}

.mobile-menu-links a.mobile-cta {
  margin-top: 12px;
  border: 1.5px solid var(--clr-gold);
  color: var(--clr-gold);
  text-align: center;
  font-weight: 600;
}

.mobile-menu-links a.mobile-cta:hover {
  background: var(--clr-gold);
  color: var(--clr-forest);
}

/* ── Hamburger → X Animation ────────────────── */
.nav-hamburger span {
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}