/* =========================
   ShadowThorn Studios
   Fortress Dark Theme
========================= */

/* ---- Root Variables ---- */
:root {
  --bg: #0d0f14;
  --surface: #141824;
  --surface-2: #1a2030;
  --text: #e6e9f2;
  --muted: #9aa3b2;
  --accent: #5f8cff;
  --border: #232a3a;

  --max-width: 1100px;
  --radius: 10px;
}

/* ---- Global Reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* ---- Layout Helpers ---- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 40px;
}

h1, h2, h3 {
  font-weight: 600;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

/* ---- Header ---- */
.site-header {
  background: rgba(13, 15, 20, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.brand-mark {
  color: var(--accent);
}

.site-nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

/* ---- Hero ---- */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-actions {
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 8px;
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(95, 140, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.meta {
  list-style: none;
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--muted);
}

.meta li {
  margin-bottom: 5px;
}

/* ---- Certifications List ---- */
.list {
  list-style: none;
  max-width: 500px;
}

.list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.label {
  font-weight: 500;
  color: var(--text);
}

.value {
  color: var(--muted);
}

/* ---- Contact ---- */
.contact-box {
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 600px;
}

.contact-box a {
  color: var(--accent);
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 25px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--accent);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.8rem;
}

.skip-link:focus {
  top: 10px;
}