/* ═══════════════════════════════════════════════════════════
   Kansas Computing Services — Shared Stylesheet
   Cache-bust via ?v=filemtime() on every <link> tag
═══════════════════════════════════════════════════════════ */

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

:root {
  --blue:   #3A8FC7;
  --yellow: #C9D62E;
  --gold:   #E8C832;
  --black:  #1A1A1A;
  --white:  #FFFFFF;
  --max-w:  1200px;
  --pad:    1rem;
}

body {
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
}

/* ─── Wireframe helpers ─────────────────────────────────── */
.wf-label { display: none; }
.wf-placeholder { /* placeholder hatching removed */ }

/* ─── NAV ───────────────────────────────────────────────── */
#row-nav {
  /* separator via ::after so it can be centered at 2/3 width */
}
#row-nav::after,
#row-hero::after,
#row-tagline::after {
  content: '';
  display: block;
  width: 75%;
  height: 2px;
  background: var(--blue);
  margin: 0 auto;
}
nav.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--blue);
  text-decoration: none;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
}
.nav-links li a {
  display: block;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--blue);
  text-decoration: none;
  color: var(--black);
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  border: 1.5px solid var(--blue);
  background: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links   { display: none; width: 100%; flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-links li a  { width: 100%; }
}

/* ─── FOOTER ────────────────────────────────────────────── */
#row-footer::before {
  content: '';
  display: block;
  width: 75%;
  height: 3px;
  background: var(--blue);
  margin: 0 auto;
}
footer.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 600px) {
  footer.site-footer { grid-template-columns: 1fr; }
}
.footer-col {
  border: 1.5px solid var(--black);
  padding: 0.75rem;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-col ul li {
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.footer-col ul li:empty {
  height: 0.85rem;
  padding: 0;
}
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.footer-bottom {
  border-top: 2px solid var(--black);
  padding: 0.6rem var(--pad);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.45);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ─── CONTACT PAGE ──────────────────────────────────────── */
.contact-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--pad);
}
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  border: 2px solid var(--blue);
  border-radius: 6px;
  padding: 2rem;
}
.contact-box h1 {
  color: var(--blue);
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  text-align: center;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.contact-field label {
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--black);
}
.contact-field input,
.contact-field textarea {
  padding: 8px 10px;
  font-size: 1rem;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--black);
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-field textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-submit {
  display: block;
  width: 100%;
  padding: 0.65rem;
  font-size: 1rem;
  font-weight: bold;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
}
.contact-submit:hover {
  background: var(--gold);
  color: var(--black);
}
.contact-notice {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  text-align: center;
}
.contact-notice.success {
  background: #e6f9e6;
  color: #1a5c1a;
  border: 1.5px solid var(--yellow);
}
.contact-notice.fail {
  background: #fdecea;
  color: #8b1a1a;
  border: 1.5px solid #e57373;
}
