/* styles.css */
/* Minimalist design - customize colors here */
:root {
  --bg: #fff;
  --text: #111;
  --accent: #007acc;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header, footer {
  padding: 1rem;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

main {
  padding: 1.5rem;
  max-width: 900px;
  margin: auto;
}

footer {
  font-size: 0.875rem;
  text-align: center;
  flex-direction: column;
  gap: 0.5rem;
}

.projects-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project-card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 4px;
  background: #fafafa;
}

.project-card h2 {
  margin-top: 0.5rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.filters {
  margin-bottom: 1rem;
}

.filters button {
  margin-right: 0.5rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.filters button:hover {
  background: var(--accent);
  color: #fff;
}

form {
  display: grid;
  gap: 0.75rem;
  max-width: 500px;
}

input, textarea, button {
  padding: 0.5rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #f5f5f5;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 60px;
  }
  .nav.show {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
