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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}

/* Header / nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eaeaea;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
}

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

/* Mobile menu button (hidden by default, shown only on small screens) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections */
section {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

#hero p {
  font-size: 1.1rem;
  color: #555;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.project-card {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1.5rem;
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive: hamburger menu on small screens */
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 1rem;
    padding-top: 1rem;
  }

  .nav-links.open {
    display: flex;
  }
}