/* ============================================
   AJ Patrick — Shared Styles
   Only nav, footer, reset, and base typography.
   Page-specific styles stay in each page.
   ============================================ */

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- SITE NAV ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.site-nav-home {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  letter-spacing: -0.2px;
  transition: color 0.15s;
}

.site-nav-home:hover {
  color: #ffffff;
}

.site-nav-links {
  display: flex;
  gap: 20px;
}

.site-nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav-links a:hover {
  color: rgba(255,255,255,0.9);
}

/* Pages with light backgrounds override nav text colours */
body.light-page .site-nav {
  background: rgba(250, 250, 250, 0.85);
  border-bottom-color: rgba(0,0,0,0.06);
}

body.light-page .site-nav-home {
  color: rgba(0,0,0,0.85);
}

body.light-page .site-nav-home:hover {
  color: #000;
}

body.light-page .site-nav-links a {
  color: rgba(0,0,0,0.4);
}

body.light-page .site-nav-links a:hover {
  color: rgba(0,0,0,0.85);
}

/* ---- SITE FOOTER ---- */
.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.site-footer a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: rgba(255,255,255,0.8);
}

.site-footer-sep {
  margin: 0 6px;
}

/* Light page footer */
body.light-page .site-footer {
  border-top-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.35);
}

body.light-page .site-footer a {
  color: rgba(0,0,0,0.35);
}

body.light-page .site-footer a:hover {
  color: rgba(0,0,0,0.7);
}

/* ---- NAV SPACER ---- */
/* Add padding to body so content isn't hidden behind fixed nav */
body { padding-top: 48px; }

@media (max-width: 480px) {
  .site-nav-links { gap: 14px; }
  .site-nav-links a { font-size: 12px; }
}
