/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', Arial, sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #111111;
  height: 76px;
  padding: 0 28px;
  box-shadow:
    inset 0 3px 0 0 #b60000,
    0 2px 20px rgba(0,0,0,0.5);
  position: relative;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-center img {
  width: 128px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(182,0,0,0.3));
  transition: filter 0.3s;
}
.nav-center img:hover {
  filter: drop-shadow(0 0 16px rgba(182,0,0,0.6));
}

/* ── Nav links ─────────────────────────────────────────────── */
.nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.68);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 8px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

/* Active / current page */
.nav-link-3 {
  color: #ffffff;
  background: rgba(182,0,0,0.18);
  border-color: rgba(182,0,0,0.5);
  box-shadow: 0 0 12px rgba(182,0,0,0.2), inset 0 0 0 1px rgba(182,0,0,0.25);
}
.nav-link-3:hover {
  background: rgba(182,0,0,0.3);
  border-color: rgba(182,0,0,0.75);
  box-shadow: 0 0 20px rgba(182,0,0,0.4), inset 0 0 0 1px rgba(182,0,0,0.45);
}


/* ═══════════════════════════════════════════════════════════
   MOBILE NAVBAR  (<=768px)
   Row 1 — logo centered, full width
   Row 2 — nav-left (right-aligned) | nav-right (left-aligned)
            creates a centered pill row that looks unified
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .navbar {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    height: auto;
    padding: 0;
    gap: 0;
  }

  /* Logo spans full width on row 1 */
  .nav-center {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    justify-content: center;
    padding: 14px 20px 12px;
    background: #111111;
  }
  .nav-center img { width: 132px; }

  /* nav-left: right half of row 2 */
  .nav-left {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 8px 6px 14px 12px;
    background: #191919;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  /* nav-right: left half of row 2 */
  .nav-right {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 12px 14px 6px;
    background: #191919;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  /* Pill links */
  .nav-link {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .nav-link:hover,
  .nav-link:active {
    background: rgba(255,255,255,0.13);
    color: #fff;
    border-color: rgba(255,255,255,0.22);
  }

  .nav-link-3 {
    color: #fff;
    background: rgba(182,0,0,0.22);
    border-color: rgba(182,0,0,0.55);
    box-shadow: 0 0 10px rgba(182,0,0,0.28);
  }
  .nav-link-3:hover {
    background: rgba(182,0,0,0.35);
    border-color: rgba(182,0,0,0.8);
  }
}

/* ── Very small phones ─────────────────────────────────────── */
@media (max-width: 420px) {
  .nav-center img  { width: 98px; }
  .nav-link        { font-size: 0.73rem; padding: 8px 12px; }
  .nav-left        { padding: 8px 4px 12px 10px; }
  .nav-right       { padding: 8px 10px 12px 4px; }
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #111111;
  text-align: center;
  padding: 24px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-links span {
  color: rgba(255,255,255,0.18);
  font-size: 0.8rem;
}

.footer-copy {
  font-size: 0.75rem;
  margin: 0;
  color: rgba(255,255,255,0.22);
}