:root {
  --primary: #2563eb;
  --bg: #f9fafb;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

h2 {
  margin: 0 auto;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
}

.resume-btn {
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

/* LAYOUT */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1rem;
}

/* SKILLS */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill {
  background: #eef2ff;
  color: var(--primary);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* PROJECTS */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-height: 400px;
}

.project-card p {
  max-height: 40%;
  overflow: scroll;
  scrollbar-width: none;
}

.tech {
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.resume-dropdown {
  position: relative;
}

.resume-btn {
  cursor: pointer;
  font-weight: 500;
}

.resume-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 85px;
  z-index: 1000;
list-style-type: none;
margin: 0;
padding: 0;
}

.resume-menu li {
  list-style: none;
}

.resume-menu li a {
  display: block;
  padding: 8px 8px;
  text-decoration: none;
  color: #333;
}

.resume-menu li a:hover {
  background-color: #f2f2f2;
}

.resume-dropdown:hover .resume-menu {
  display: block;
}
