/* ===== Durham Technical Support — main.css (merged + updated) ===== */
:root {
  --bg: #f4fdfc;
  --ink: #101514;
  --muted: #42443b;
  --brand: #42443b;
  --brand-ink: #ffffff;
  --accent: #b3b090;
  --panel: #ffffff;
  --line: #e6ecea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
#container {
  margin: 0 auto;
  max-width: 1100px;
  min-height: 100vh;
  background: var(--panel);
  border: none;
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
}

/* Header */
#header {
  position: relative;
  height: 300px;
  background-image: url("../media/header-background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 40px;
  margin-bottom: 0;
  border-bottom: none;
}

/* Navigation bar */
#nav {
  position: relative;
  text-align: center;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  overflow: hidden;
  margin-top: 0;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}
#nav li { display: inline; }
#nav a {
  display: inline-block;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background-color: var(--panel);
  transition: background .15s ease, color .15s ease;
}
#nav a:hover {
  background: var(--accent);
  color: var(--ink);
}
#nav a.active {
  background: var(--brand);
  color: var(--brand-ink);
}

#article { padding: 28px 24px 40px; }
h1 { font-size: 2rem; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 1.05rem; margin: 0 0 18px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 24px; }
.btn {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}
.btn-primary:hover { opacity: .9; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}
.card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.trust h2 { font-size: 1.2rem; margin: 0 0 8px; }
.tick-list { margin: 0; padding-left: 20px; }
.tick-list li { margin: 4px 0; }

/* Footer */
#footer {
  border: none;
  padding: 20px 24px 40px;
  color: var(--brand-ink);
  font-size: 0.95rem;
  background-color: #000; /* solid black footer background */
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}
#footer .tiny { font-size: 0.85rem; }

/* Make all footer links white and remove underline */
#footer a {
  color: #ffffff;
  text-decoration: none;
}
#footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Contact form tidy */
.form { display: grid; gap: 12px; max-width: 680px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 600; }
.input, .textarea, .select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.textarea { min-height: 140px; resize: vertical; }
.help { color: var(--muted); font-size: .95rem; }
.alert {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff7d1;
}

/* Support page full-bleed iframe (robust) */
.support-full #container { grid-template-rows: auto auto minmax(0,1fr) auto; }
.support-full main#article {
  padding: 0;
  margin: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0,1fr);
}
.support-full main#article > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 0;
}

/* === Full-page background image (appended) === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../media/background.jpg") center center / cover no-repeat;
  z-index: -1;
  background-attachment: fixed;
}
