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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
  padding: 0 1rem;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-brand img {
  height: 40px;
  width: auto;
}

.logo-brand span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: bold;
}

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

/* About & Contact sections */
.about, .contact {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.about h1,
.contact h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p,
.contact p,
.contact ul {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact ul li {
  margin-bottom: 0.5rem;
}

/* Portfolio */
.portfolio {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
}

.portfolio a {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.portfolio img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .logo-brand span {
    font-size: 1.2rem;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
  }

  .portfolio {
    gap: 0.75rem;
  }

  .about h1,
  .contact h1 {
    font-size: 1.5rem;
  }

  .about p,
  .contact p {
    font-size: 0.95rem;
  }
}