* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #0d1117;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  color: #8b949e;
}

nav {
  background-color: #161b22;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

nav a {
  color: #c9d1d9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #58a6ff;
}

section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0d1117;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project {
  background-color: white;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.project:hover {
  transform: translateY(-5px);
}

.project img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project h3 {
  margin: 0.5rem 1rem 0;
  font-size: 1.25rem;
  color: #0d1117;
}

.project p {
  margin: 0.5rem 1rem 1rem;
  font-size: 0.95rem;
  color: #555;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #0d1117;
  color: #8b949e;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
  }
}
