/*
Theme Name: Jason Isenhart
Theme URI: https://jasonisenhart.com
Author: Jason Isenhart
Description: Professional personal website theme for Jason Isenhart — IT professional, Senior Systems Engineer.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: jason-isenhart
*/

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

:root {
  /* Dark palette */
  --bg:         #0f1117;
  --bg-2:       #161b27;
  --bg-3:       #1c2233;
  --surface:    #1e2535;
  --surface-2:  #242c3d;

  /* Text */
  --text:       #dce3ef;
  --text-muted: #7a8ba6;
  --text-faint: #3d4f66;
  --white:      #ffffff;

  /* Accent — steel blue */
  --blue:       #4a90d9;
  --blue-dark:  #3378c0;
  --blue-dim:   rgba(74,144,217,0.12);

  /* Borders */
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.12);

  --font-sans:    'DM Sans', sans-serif;
  --font-display: 'Sora', sans-serif;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.35);
  --shadow:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.55);

  --radius: 6px;
  --max-w: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.3rem; }

/* ─────────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 72px 0;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

/* ─────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.site-branding a img {
  height: 52px;
  width: auto;
  display: block;
}

.site-branding a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-branding a span {
  color: var(--blue);
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--white);
  background: var(--surface);
}

.nav-cta a {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta a:hover {
  background: var(--blue-dark) !important;
  text-decoration: none;
}

/* ─────────────────────────────────────────
   PAGE WRAPPER
───────────────────────────────────────── */
.site-main {
  padding-top: 80px;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.25);
  background: var(--surface);
  color: var(--white);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-2);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   TAGS / BADGES
───────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  background: var(--blue-dim);
  color: var(--blue);
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.footer-brand span { color: var(--blue); }

.footer-copy {
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--white); }

/* ─────────────────────────────────────────
   PAGE BANNER (inner pages)
───────────────────────────────────────── */
.page-banner {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 44px;
  color: var(--white);
}

.page-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.page-banner-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .main-navigation { display: none; }
  .section { padding: 48px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
