/* ============================================================
   NewWay Digital — Shared Nav & Footer Styles (nav.css)
   Referenced by all pages via <link rel="stylesheet" href="/nav.css">
   ============================================================ */

/* ── NAV ── */
#site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: #2D3748;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover  { color: #3182CE; }
.nav-links a.active { color: #3182CE; font-weight: 600; }
.nav-cta {
  background: #3182CE; color: #FFFFFF;
  padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #1F487C; transform: translateY(-1px); }

/* ── HAMBURGER (mobile only) ── */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: #2D3748; padding: 4px 8px;
}

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 20px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  position: sticky; top: 68px; z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px; font-weight: 500; color: #2D3748;
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid #E2E8F0;
  transition: color .2s;
}
.mobile-nav a:hover { color: #3182CE; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-cta {
  margin-top: 12px;
  background: #ED8936; color: #FFFFFF !important;
  padding: 12px 20px; border-radius: 8px;
  font-weight: 700 !important; text-align: center;
  border-bottom: none !important;
}

/* ── FOOTER ── */
footer {
  background: #1A202C; color: rgba(255,255,255,.7);
  padding: 48px 40px; text-align: center;
}
.footer-brand { font-size: 18px; font-weight: 700; color: #FFFFFF; margin-bottom: 6px; }
.footer-tagline { font-size: 13px; margin-bottom: 24px; }
.footer-nav {
  display: flex; justify-content: center;
  gap: 28px; flex-wrap: wrap; margin-bottom: 24px;
  list-style: none; padding: 0;
}
.footer-nav a {
  color: rgba(255,255,255,.6); font-size: 14px;
  text-decoration: none; transition: color .2s;
}
.footer-nav a:hover { color: #FFFFFF; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.4); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  #site-nav { padding: 0 20px; }
}
