/* Dark glass-morphism sticky navbar — used by home.html and about.html.
   For the simple light variant used by the legal pages, see nav-light.css. */

#header-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  background: linear-gradient(180deg, rgba(10,8,16,0.78), rgba(10,8,16,0.55));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.row-primary-inner {
  display: flex; align-items: center; gap: 2rem;
  padding: 0.6rem 1rem;
  max-width: 1284px;
  margin: 0 auto;
}
.logo-wrap {
  display: flex; align-items: center;
  padding: 4px;
  border-radius: 6px;
  gap: 1.4rem;
  transition: background-color .15s;
  text-decoration: none;
  color: inherit;
}
.logo-wrap:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.logo-wrap img { display: block; height: 42px; width: auto; border-radius: 4px; }
.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  color: #f4f1ea;
  white-space: nowrap;
}
.logo-name {
  font-family: 'Mona Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-subtitle {
  font-family: 'Mona Sans', 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #c7c0b3;
  margin-top: 0.25rem;
}
/* Nudge the single-line nav rows up so they visually centre on the DATACRAFT word
   instead of on the geometric centre of the two-line logo (name + subtitle). */
.primary-nav      { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; margin-top: -0.5rem; }
.primary-nav-right { margin-left: auto; display: flex; gap: 2.25rem; align-items: center; flex-wrap: wrap; margin-top: -0.5rem; }
.primary-item {
  color: #c7c0b3;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.15s;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.primary-item:hover { color: #f4f1ea; text-decoration: none; }
.primary-item.active { color: #f4c45a; }
.primary-item.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px; background: #f4c45a; border-radius: 2px;
}
.primary-item-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.12); }
.primary-right-item {
  color: #c7c0b3;
  font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: color 0.15s;
  text-decoration: none;
}
.primary-right-item:hover { color: #f4f1ea; cursor: pointer; text-decoration: none; }
.primary-right-item.active { color: #f4c45a; }
.nav-icon { flex-shrink: 0; }
