/* project-nav.css
   Shared styles for the site nav and GitHub ribbon on standalone project pages.
   Link this from any project page to get consistent navigation. */

/* ── Site nav ─────────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #0a0a0a;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 7px 14px 9px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.site-nav .site-name {
  display: block;
  color: #666;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  margin-bottom: 3px;
}

.site-nav .site-name:hover {
  color: #aaa;
}

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

.site-nav .nav-links a {
  color: #555;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

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

/* ── GitHub ribbon ─────────────────────────────────────────────────────────── */

.github-ribbon {
  position: fixed;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}

.github-ribbon a {
  pointer-events: all;
  position: absolute;
  display: block;
  width: 130px;
  padding: 6px 0;
  top: 20px;
  right: -32px;
  background: #1a1a1a;
  color: #666;
  font-size: 0.55rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(45deg);
  border-top: 1px solid #383838;
  border-bottom: 1px solid #383838;
}

.github-ribbon a:hover {
  color: #ccc;
  background: #2a2a2a;
}
