/*
 * AIZZTECH site navigation for the standalone static Belanje pages.
 * Mirrors the React `Header` component at `components/Layout.tsx` so the
 * nav looks identical regardless of which page (React or static) you're on.
 *
 * Belanje's own design system is pure black and white (see
 * packages/core/theme.ts in the app repo, "Apple-inspired, ultra-clean").
 * Unlike Rencana's blue accent, the active nav state here is monochrome:
 * plain white on the dark bar, and the page content below uses a flat
 * background with no gradient glow.
 */

.aizz-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #020617; /* slate-950, matches the rest of the site's nav bar */
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.aizz-nav-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.aizz-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.aizz-nav-brand-icon {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: inline-flex;
}
.aizz-nav-brand-icon img {
  height: 16px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.aizz-nav-brand-full {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}

.aizz-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.aizz-nav-link {
  color: #cbd5e1; /* slate-300 */
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.aizz-nav-link:hover { color: #ffffff; }
.aizz-nav-link.active { color: #ffffff; font-weight: 600; }
.aizz-nav-link .dot { opacity: 0.55; }

.aizz-cta {
  background: #ffffff;
  color: #0f172a;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.aizz-cta:hover {
  background: #f1f5f9;
  transform: scale(1.04);
}

/* Push page content below the fixed nav. */
body { padding-top: 64px !important; }

/* Flat white page background, no gradient glow. Each page's inline <style>
   defines --bg (#ffffff); this just guarantees a clean flat fill behind the
   content, matching the app's crisp white screens. */
html, body { background: var(--bg, #ffffff); }

/* Small-screen behaviour: hide secondary links, keep brand + Belanje + CTA */
@media (max-width: 768px) {
  .aizz-nav-links { gap: 14px; }
  .aizz-nav-link:not(.active) { display: none; }
  .aizz-cta { padding: 6px 14px; font-size: 13px; }
}
