:root {
  --font-main: "Segoe UI", Calibri, Inter, system-ui, sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  --bg: #ffffff;
  --sidebar-bg: #0f172a;
  --text: #1f2933;
  --muted: #64748b;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
}

.layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 320px;
  padding: 2.5rem 2rem;
  background: var(--sidebar-bg);
  color: white;
  position: sticky;
  top: 0;
  height: 100vh;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.sidebar h1 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.sidebar h2 {
  font-size: 1rem;
  font-weight: 400;
  color: #cbd5f5;
  margin-top: 0;
}

.contact {
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.contact a {
  display: block;
  color: #93c5fd;
  text-decoration: none;
}

.resume {
  display: inline-block;
  margin-top: 2rem;
  color: white;
  text-decoration: none;
  border: 1px solid #475569;
  padding: 0.6rem 1rem;
  border-radius: 6px;
}

/* CONTENT */
.content {
  flex: 1;
  padding: 3rem 4rem;
}

h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

section {
  margin-bottom: 3rem;
}

.tech {
  font-family: var(--font-mono);
  background: #f8fafc;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--accent);
}

.role span {
  font-size: 0.9rem;
  color: var(--muted);
}

.role h5 {
  margin: 0.3rem 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.role ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.role li {
  margin-bottom: 0.6rem;
}

/* MOBILE */
@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .content {
    padding: 2rem;
  }
}
