:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --accent: #2a9df4;
  --muted: #555;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

.intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.skill {
  background: #f5f5f5;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
}

/* Projects */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  background: #fafafa;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.project-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.project-links a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  margin-right: 1rem;
}

/* Contact */
.contact {
  text-align: center;
}

.contact p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  background: #f9f9f9;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  header h1 { font-size: 2rem; }
  nav { flex-wrap: wrap; }
}
