/*
Theme Name: Project Atlas
Theme URI: https://devonalbert.com
Author: Devon Albert
Description: A clean, responsive, multi-page WordPress portfolio theme for Devon Albert.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: project-atlas
*/

:root {
  --atlas-bg: #0f172a;
  --atlas-bg-soft: #111827;
  --atlas-panel: #ffffff;
  --atlas-text: #111827;
  --atlas-muted: #4b5563;
  --atlas-soft: #f8fafc;
  --atlas-border: #e5e7eb;
  --atlas-blue: #2563eb;
  --atlas-blue-dark: #1d4ed8;
  --atlas-blue-soft: #dbeafe;
  --atlas-max: 1120px;
  --atlas-radius: 20px;
  --atlas-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--atlas-text);
  background: var(--atlas-soft);
  line-height: 1.65;
}
a { color: var(--atlas-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.atlas-header {
  background: rgba(15, 23, 42, 0.98);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}
.atlas-nav-wrap {
  max-width: var(--atlas-max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.atlas-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 850;
  font-size: 18px;
  letter-spacing: -.01em;
}
.atlas-brand:hover { text-decoration: none; }
.atlas-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--atlas-blue), #60a5fa);
  box-shadow: 0 10px 25px rgba(37,99,235,.35);
}
.atlas-menu { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.atlas-menu a {
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 700;
}
.atlas-menu a:hover { color: #fff; text-decoration: none; }
.atlas-menu-toggle {
  display: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
}

.atlas-hero {
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.42), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14,165,233,.18), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #111827 54%, #1e293b 100%);
  color: #fff;
  padding: 94px 22px 86px;
}
.atlas-hero-inner,
.atlas-container {
  max-width: var(--atlas-max);
  margin: 0 auto;
}
.atlas-eyebrow {
  color: #93c5fd;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}
.atlas-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 22px;
  max-width: 980px;
}
.atlas-hero p {
  color: #d1d5db;
  font-size: clamp(18px, 2.2vw, 23px);
  max-width: 860px;
  margin: 0 0 32px;
}
.atlas-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.atlas-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #e5e7eb;
}
.atlas-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,.12);
}
.atlas-button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.atlas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 850;
  border: 1px solid transparent;
  text-decoration: none;
}
.atlas-btn:hover { text-decoration: none; }
.atlas-btn-primary { background: var(--atlas-blue); color: #fff; }
.atlas-btn-primary:hover { background: var(--atlas-blue-dark); }
.atlas-btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.atlas-btn-secondary:hover { background: rgba(255,255,255,.1); }
.atlas-btn-light { background: #fff; color: var(--atlas-text); border-color: var(--atlas-border); }

.atlas-section { padding: 76px 22px; }
.atlas-section-dark { background: var(--atlas-bg); color: #fff; }
.atlas-section h2,
.atlas-page-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.atlas-lead {
  font-size: 19px;
  color: var(--atlas-muted);
  max-width: 900px;
}
.atlas-section-dark .atlas-lead,
.atlas-section-dark p { color: #d1d5db; }
.atlas-grid { display: grid; gap: 22px; }
.atlas-grid-3 { grid-template-columns: repeat(3, 1fr); }
.atlas-grid-2 { grid-template-columns: repeat(2, 1fr); }
.atlas-card {
  background: #fff;
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius);
  padding: 28px;
  box-shadow: var(--atlas-shadow);
}
.atlas-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.atlas-card p { margin: 0; color: var(--atlas-muted); }
.atlas-card-link { color: inherit; display: block; }
.atlas-card-link:hover { text-decoration: none; transform: translateY(-2px); }
.atlas-card-link { transition: transform .18s ease, box-shadow .18s ease; }

.atlas-page-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 72px 22px;
}
.atlas-page-hero p { color: #d1d5db; font-size: 19px; max-width: 850px; }
.atlas-page-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 66px 22px;
}
.atlas-page-content h2 { margin-top: 34px; }
.atlas-page-content ul { padding-left: 22px; }
.atlas-page-content li { margin-bottom: 8px; }

.atlas-timeline {
  border-left: 3px solid var(--atlas-blue);
  padding-left: 24px;
  margin-top: 32px;
}
.atlas-timeline-item { margin-bottom: 28px; }
.atlas-timeline-item h3 { margin: 0; font-size: 23px; }
.atlas-meta {
  color: #bfdbfe;
  font-weight: 800;
  margin: 4px 0 10px;
}
.atlas-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.atlas-tech,
.atlas-skill {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
  background: #eef2ff;
  color: #1e3a8a;
  border: 1px solid #dbeafe;
}
.atlas-section-dark .atlas-tech,
.atlas-section-dark .atlas-skill {
  background: rgba(37,99,235,.16);
  border-color: rgba(147,197,253,.24);
  color: #bfdbfe;
}
.atlas-resume-box {
  background: #fff;
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius);
  padding: 32px;
  box-shadow: var(--atlas-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.atlas-footer {
  background: #020617;
  color: #cbd5e1;
  padding: 34px 22px;
}
.atlas-footer-inner {
  max-width: var(--atlas-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.atlas-footer a { color: #bfdbfe; }
.atlas-version { color: #94a3b8; font-size: 13px; margin-top: 6px; }

@media (max-width: 820px) {
  .atlas-menu-toggle { display: inline-flex; }
  .atlas-nav-wrap { align-items: center; }
  .atlas-menu {
    display: none;
    width: 100%;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255,255,255,.08);
    justify-content: flex-start;
  }
  .atlas-menu.is-open { display: flex; }
  .atlas-nav-wrap { flex-wrap: wrap; }
  .atlas-grid-3, .atlas-grid-2 { grid-template-columns: 1fr; }
  .atlas-resume-box { display: block; }
  .atlas-hero { padding: 64px 22px 68px; }
}
