body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #111;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

h1, h2, h3 {
  margin-bottom: 0.5rem;
}

.projects a {
  display: block;
  background: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
  transition: transform 0.2s;
}

.projects a:hover {
  transform: scale(1.02);
  background: #f0f0f0;
}

/* Patch: layout for icon + title on same line */
.project-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5em; /* space between icon and title */
}

.project-title-with-icon h3 {
  margin: 0; /* remove default margin to align vertically */
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}

.project-icon {
  height: 1.2em; /* roughly matches h3 font size */
  width: auto;
  display: block;
  flex-shrink: 0; /* keep icon size fixed */
}
