/* Stili generali */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}
header {
  background: #f4f4f4;
  padding: 2rem 1rem;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: 2rem;
}
header p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #eaeaea;
  padding: 1rem;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: auto;
}
section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.projects a {
  display: block;
  margin-bottom: 1rem;
}
.projects img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form input, form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  width: 160px;
  padding: 0.75rem;
  border: none;
  background-color: #333;
  color: white;
  font-weight: bold;
  cursor: pointer;
}
form button:hover {
  background-color: #555;
}
footer {
  background: #f4f4f4;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Responsive per mobile */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.2rem;
  }

  form button {
    width: 100%;
  }
}
