/* Clean, modern styles for Warp resume */
:root {
  /* Color palette (darker scheme) */
  --bg: #efefef;         /* slightly darker background */
  --text: #1a1a1a;       /* darker text */
  --muted: #555;         /* darker muted */
  --accent: #0b5ed7;     /* darker blue accent */
  --accent-dark: #094db1;/* even darker on hover */
}

/* Base reset */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global layout */
.container {
  max-width: 820px; /* narrow container */
  margin: 0 auto;
  padding: 0 1rem;
}

main {
  margin: 2rem 0 3rem;
}

section { padding: 2rem 0; }

/* Media */
img { max-width: 100%; height: auto; }

/* Typography */
h1, h2, h3 {
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.375rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1rem; color: var(--text); }
.subtitle { color: var(--muted); font-size: 0.95rem; }

/* Links */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-dark); text-decoration: underline; }

/* Lists */
ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

/* Header layout */
header {
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

header .container {
  display: flex;               /* flexbox for header */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

header .identity h1 { margin-bottom: 0.15rem; }

header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* About section */
#about .about-content {
  display: flex;               /* flexbox for about */
  align-items: flex-start;
  gap: 1.25rem;
}

/* Contact */
#contact .contact { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }

#about .about-content img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

/* Roles */
.role { margin-bottom: 1.25rem; }
.role .meta { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.role header { margin-bottom: 0.5rem; }

/* Footer */
footer { border-top: 1px solid #e0e0e0; background: #fff; }
footer .contact {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0;
  margin: 0;
}

/* Accessibility helpers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  header .container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  header nav ul { flex-wrap: wrap; gap: 0.75rem; }

  #about .about-content { flex-direction: column; align-items: center; text-align: center; }
  #about .about-content img { width: 120px; height: 120px; } /* shrink headshot */
}

/* ===================== */
/* Dark theme overrides  */
/* ===================== */
:root {
  --bg: #0b0f14;
  --surface: #0f1621;
  --elev: #111a27;
  --border: #1f2a37;
  --text: #e6e6e6;
  --muted: #9aa4b2;
  --accent: #64ffda;      /* teal */
  --accent-dark: #21c7a8; /* deeper teal */
}

html, body { background: var(--bg); color: var(--text); }

/* Header & nav */
header { background: var(--surface); border-bottom: 1px solid var(--border); }
header .identity h1 { color: var(--text); }
header nav a { color: var(--muted); font-weight: 500; }
header nav a:hover, header nav a:focus { color: var(--accent); text-decoration: none; }

/* Section cards */
main section > .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.25);
}

/* Typography */
h1, h2, h3, p, li { color: var(--text); }
.subtitle { color: var(--muted); }

/* Links */
a { color: var(--accent); }
a:hover, a:focus { color: var(--accent-dark); }

/* Lists and markers */
ul { padding-left: 1.1rem; }
li::marker { color: var(--accent); }

/* Images */
#about .about-content img { border: 2px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--border); }
footer .subtitle { color: var(--muted); }

/* Focus visibility */
a:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
