/* ============================================================
   ALPHARETTA PET BOARDING — nav.css
   Navigation styles
   ============================================================ */

.nav {
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(13,40,24,0.1);
  border-bottom-color: rgba(181,137,58,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  position: relative;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--forest-mid);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-phone:hover {
  color: var(--forest);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Active page highlighting — gold underline */
body[data-page="home"] .nav-links a[href="index.html"],
body[data-page="services"] .nav-links a[href="services.html"],
body[data-page="about"] .nav-links a[href="about.html"],
body[data-page="why-us"] .nav-links a[href="why-us.html"],
body[data-page="contact"] .nav-links a[href="contact.html"] {
  color: var(--forest);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--forest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 300;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-bottom-color: transparent !important;
  }

  /* Active in mobile menu */
  body[data-page="home"] .nav-links a[href="index.html"],
  body[data-page="services"] .nav-links a[href="services.html"],
  body[data-page="about"] .nav-links a[href="about.html"],
  body[data-page="why-us"] .nav-links a[href="why-us.html"],
  body[data-page="contact"] .nav-links a[href="contact.html"] {
    color: var(--gold-light);
    border-bottom-color: transparent !important;
  }

  .nav-links a:hover {
    color: #fff;
  }

  .hamburger {
    display: flex;
    z-index: 400;
  }

  .nav-right .btn-primary {
    display: none;
  }
}
