/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Navigation */
.nav {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

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

.nav-logo {
  font-weight: 600;
  font-size: 1.25rem;
  color: #111827;
  text-decoration: none;
}

.nav-links a {
  margin-left: 1.5rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #111827;
}

/* Content */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Typography */
h1 { font-size: 2rem; margin-bottom: 1rem; color: #111827; }
h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: #111827; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: #111827; }
p { margin-bottom: 1rem; color: #374151; }

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.project-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
}

.project-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.project-card p {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-arrow {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Project Page */
.project-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.project-meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
}

.project-links {
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
}

.btn:hover {
  background: #1d4ed8;
  text-decoration: none;
}

/* Footer */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}