/* ============================================================
   FAST JOB — Navigation & Footer
   ============================================================ */

/* ── Navbar ─────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,242,240,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(40,43,49,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  cursor: pointer;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
}
.nav-logo-text { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-links a:hover  { background: var(--orange-light); }
.nav-links a.active { color: var(--orange); font-weight: 700; }

.nav-cta {
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ── Hamburger ──────────────────────────────────────────── */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Mobile menu ────────────────────────────────────────── */

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--dark);
  font-size: 1rem;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn-primary { text-align: center; justify-content: center; margin-top: 12px; }

/* ── Footer ─────────────────────────────────────────────── */

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.875rem; margin-top: 12px; max-width: 260px; }

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul         { list-style: none; }
.footer-col ul li      { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; }

/* ── Back to top ────────────────────────────────────────── */

.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(250,121,30,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 500;
}
.back-top.visible     { opacity: 1; pointer-events: auto; }
.back-top:hover       { transform: translateY(-3px); }

/* ── Responsive nav/footer ──────────────────────────────── */

@media (max-width: 900px) {
  .nav-links  { display: none; }
  .hamburger  { display: block; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
}
