@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


:root {
  --bg: #faf9f7;
  --text: #1a1a18;
  --muted: #6b6b66;
  --border: #e2e0da;
  --accent: #2d5a3d;
  --accent-light: #e8f0eb;
  --surface: #ffffff;
  --nav-bg: rgba(250, 249, 247, 0.92);
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html[data-theme='dark'] {
  --bg: #0f1114;
  --text: #eceff1;
  --muted: #a9b0ba;
  --border: #262b33;
  --accent: #76c7a3;
  --accent-light: rgba(118, 199, 163, 0.12);
  --surface: #141b23;
  --nav-bg: rgba(15, 17, 20, 0.92);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

#theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  transition: border-color 0.15s;
}

.nav-logo:hover { border-color: var(--accent); color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 140px 2rem 56px;
  text-align: center;
}

.hero-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 3rem);
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  align-items: center;
}

.hero-description{
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 250;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  align-items: center;

}

.hero-bio {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-bio strong { color: var(--text); font-weight: 500; }

/* ─── LINK PILLS ────────────────────────────────────── */
.links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.link-pill i,
.link-pill::before {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}
/* icon for cv feature */
.link-pill--cv::before {
  font-family: "Font Awesome 6 Free";
  content: "\f15b"; /* file icon */
  font-weight: 900;
  align-self: right;
}
/* icon for linkedin feature */
.link-pill--linkedin::before {
  font-family: "Font Awesome 6 Brands";
  content: "\f08c"; /* LinkedIn icon */
  font-weight: 400;
}
/* icon for github feature */
.link-pill--github::before {
  font-family: "Font Awesome 6 Brands";
  content: "\f09b"; /* GitHub icon */
  font-weight: 400;
}
/* icon for email feature */
.link-pill--email::before {
  font-family: "Font Awesome 6 Free";
  content: "\f0e0";
  font-weight: 400;
}

.link-pill--theme::before {
  font-family: "Font Awesome 6 Free";
  content: "\f186";
  font-weight: 900;
}

.link-pill--theme.theme-light::before {
  content: "\f185";
}

.link-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* ─── CONTENT SECTION (career / blog) ───────────────── */
.content-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.section-block {
  margin-bottom: 3.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ─── TIMELINE ──────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 2rem; }

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
}

@media (max-width: 520px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.timeline-date {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.timeline-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  width: fit-content;
}

.timeline-role {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}

.timeline-company {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── SKILLS ────────────────────────────────────────── */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-group { display: flex; gap: 1rem; align-items: baseline; }

.skill-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 500;
  min-width: 90px;
}

.skill-items {
  font-size: 14px;
  color: var(--text);
}

/* ─── BLOG LIST ─────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; }

.blog-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-item:first-child { border-top: 1px solid var(--border); }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}

.blog-date {
  font-size: 12.5px;
  color: var(--muted);
}

.blog-tag {
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.blog-title a:hover { color: var(--accent); }

.blog-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
}

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  max-width: 680px;
  margin: auto 0 0;
  padding: 1.5rem 2rem;
  font-size: 12px;
  color: var(--muted);
}

.career-list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.career-list li {
  margin-bottom: 0.7rem;
}

/* ─── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-name    { animation: fadeUp 0.6s ease both; }
.hero-bio     { animation: fadeUp 0.6s 0.08s ease both; }
.links-row    { animation: fadeUp 0.6s 0.16s ease both; }
.content-section { animation: fadeUp 0.6s 0.1s ease both; }
