/* theme.css – Jeret Resume Sci-Fi Theme */

/* ---------- Core palette & typography ---------- */
:root {
  /* Spacey dark background */
  --jr-bg: #050714;
  --jr-bg-alt: #0b0f24;
  --jr-panel: #11162b;
  --jr-panel-alt: #171d35;

  /* Neon / 80s accents */
  --jr-accent: #3df5ff;       /* cyan – Star Citizen HUD style */
  --jr-accent-soft: rgba(61, 245, 255, 0.15);
  --jr-magenta: #ff4ea3;      /* 80s neon magenta */
  --jr-amber: #ffcc33;        /* Def Leppard / retro highlight */

  /* Pagan / nature hint */
  --jr-rune: #86d96a;         /* soft green accent */

  /* Text */
  --jr-text-main: #f4f5ff;
  --jr-text-muted: #9aa4c6;   /* readable muted text */
  --jr-text-soft: #c4cae6;

  /* Borders / lines */
  --jr-border-subtle: rgba(255, 255, 255, 0.08);
  --jr-border-strong: rgba(61, 245, 255, 0.45);

  /* Shadows */
  --jr-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.6);

  /* Fonts – adjust to taste / loaded fonts */
  --jr-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
  --jr-font-mono: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, monospace;
}

/* ---------- Global ---------- */

html,
body {
  height: 100%;
}

body {
  background: radial-gradient(circle at top, #151a3b 0, var(--jr-bg) 45%, #02030a 100%);
  color: var(--jr-text-main);
  font-family: var(--jr-font-sans);
}

/* Starfield-ish subtle overlay (optional) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.16) 0, transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(61,245,255,0.18) 0, transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(255,78,163,0.14) 0, transparent 55%);
  mix-blend-mode: screen;
  z-index: -1;
}

/* Links */
a {
  color: var(--jr-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--jr-magenta);
  text-decoration: underline;
}

/* Typography helpers */
.text-muted,
.text-secondary {
  color: var(--jr-text-muted) !important; /* better contrast */
}

code,
pre,
.kbd,
.mono {
  font-family: var(--jr-font-mono);
}

/* ---------- Layout containers ---------- */

.resume-shell {
  max-width: 980px;
  margin: 3rem auto;
  padding: 2rem 1.5rem 3rem;
  background: linear-gradient(145deg, var(--jr-bg-alt), var(--jr-panel));
  border-radius: 18px;
  box-shadow: var(--jr-shadow-soft);
  border: 1px solid var(--jr-border-subtle);
  position: relative;
  overflow: hidden;
}

/* HUD frame corners */
.resume-shell::before,
.resume-shell::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid var(--jr-accent-soft);
  border-radius: 16px;
  opacity: 0.55;
}

.resume-shell::before {
  top: -60px;
  right: -40px;
  border-left: none;
  border-bottom: none;
}

.resume-shell::after {
  bottom: -60px;
  left: -40px;
  border-right: none;
  border-top: none;
}

/* ---------- Header / Name block ---------- */

.resume-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--jr-border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}

.resume-name {
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--jr-font-mono);
}

.resume-tagline {
  font-size: 0.95rem;
  color: var(--jr-text-soft);
}

/* Contact line styled like a HUD readout */
.resume-contact {
  font-size: 0.85rem;
  font-family: var(--jr-font-mono);
  color: var(--jr-text-muted);
  text-align: right;
}

.resume-contact a {
  color: var(--jr-amber);
}

.resume-contact a:hover {
  color: var(--jr-magenta);
}

/* ---------- Section headings ---------- */

.resume-section {
  margin-bottom: 1.75rem;
}

.resume-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--jr-text-soft);
  font-family: var(--jr-font-mono);
  margin-bottom: 0.9rem;
  position: relative;
}

.resume-section-title::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--jr-accent), transparent);
}

.resume-section-title::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid var(--jr-accent);
  box-shadow: 0 0 8px rgba(61, 245, 255, 0.8);
}

/* ---------- Snapshot / summary ---------- */

#snapshot {
  background: linear-gradient(135deg, rgba(9, 17, 50, 0.9), rgba(12, 37, 64, 0.95));
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--jr-rune);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  font-size: 0.95rem;
  color: var(--jr-text-soft);
}

/* ---------- Experience timeline ---------- */

.experience-item {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--jr-border-subtle);
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
}

.experience-role {
  font-weight: 600;
}

.experience-company {
  font-size: 0.9rem;
  color: var(--jr-text-soft);
}

/* Date style: HUD-like */
.resume_date {
  font-family: var(--jr-font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--jr-text-muted);
}

/* Bullet list tuned for tech content */
.experience-body ul {
  margin-bottom: 0.2rem;
  padding-left: 1.1rem;
}

.experience-body li {
  margin-bottom: 0.2rem;
}

/* ---------- Skill chips / tech stack ---------- */

.skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: var(--jr-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0.15rem 0.25rem 0.15rem 0;
  border: 1px solid rgba(61, 245, 255, 0.45);
  background: radial-gradient(circle at 0 0, var(--jr-accent-soft), transparent 60%);
}

/* Special chips to lean into the theme */
.skill-chip--pagan {
  border-color: var(--jr-rune);
  color: var(--jr-rune);
}

.skill-chip--retro {
  border-color: var(--jr-magenta);
  color: var(--jr-magenta);
}

/* ---------- Buttons (override Bootstrap primary) ---------- */

.btn-primary {
  background: radial-gradient(circle at 0 0, var(--jr-accent), var(--jr-magenta));
  border: 1px solid var(--jr-border-strong);
  color: #050509;
  font-family: var(--jr-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(61, 245, 255, 0.6);
}

.btn-primary:hover,
.btn-primary:focus {
  background: radial-gradient(circle at 100% 0, var(--jr-magenta), var(--jr-amber));
  box-shadow: 0 0 24px rgba(255, 204, 51, 0.8);
  color: #050509;
}

/* ---------- Badges / labels ---------- */

.badge-hud {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--jr-border-subtle);
  font-size: 0.65rem;
  font-family: var(--jr-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--jr-text-muted);
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 768px) {
  .resume-shell {
    margin: 1.5rem 0.75rem 2.5rem;
    padding: 1.5rem 1.1rem 2.2rem;
  }

  .resume-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-contact {
    text-align: left;
  }
}
