/* Base ----------------------------------------------------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0 1rem;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
}

/* Header ---------------------------------------------------- */
header {
  background: #222;
  color: white;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Branding section with logo + title */
.branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.branding img {
  width: 48px;       /* adjust size here */
  height: auto;
  display: block;
  border-radius: 6px; /* optional: makes logo edges softer */
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
}

header h1 a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Navigation ------------------------------------------------ */
nav a {
  margin-right: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  color: #ddd;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

nav a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Main content --------------------------------------------- */
main {
  margin: 2rem auto;
  max-width: 900px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

main h1 {
  margin-top: 0;
}

/* Footer ----------------------------------------------------- */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 1.2rem 1rem;
  margin-top: 3rem;
  border-radius: 10px 10px 0 0;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive ------------------------------------------------- */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  nav a {
    margin-right: 0.6rem;
  }

  .branding {
    flex-direction: column;
  }

  .branding img {
    width: 60px;
  }
}
