/* Base styles */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  margin: 0;
  background-color: #F7F8F5; /* soft off-white */
  color: #2D2D2D; /* dark gray */
  line-height: 1.6;
}

/* Header */
header {
  background-color: #1E3A3A; /* deep teal */
  color: #E9F5F3; /* pale mint */
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #E9F5F3;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #A4E0D1; /* light aqua */
}

/* Intro section */
.intro {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #ffffff; /* pure white */
}

.intro h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1E3A3A;
}

.intro p {
  font-size: 1.2rem;
  color: #667573; /* muted gray-green */
}

/* Posts section */
.posts {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
}

/* Category blocks */
.category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border-left: 5px solid #2F8F83; /* medium teal */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.category h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1E3A3A;
}

.category ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.category ul li {
  margin-bottom: 0.75rem;
}

.category ul li a {
  color: #2F8F83;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.category ul li a:hover {
  color: #195C55; /* darker teal */
  text-decoration: underline;
}

/* Blog post layout */
.blog-post {
  padding: 2rem;
  background-color: #ffffff;
  margin: 2rem;
  border-left: 5px solid #2F8F83;
}

.blog-post .meta {
  font-size: 0.9rem;
  color: #666666; /* neutral gray */
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1E3A3A;
  color: #E9F5F3;
  font-size: 0.9rem;
}

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

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .intro, .posts, .blog-post {
    padding: 1rem;
    margin: 1rem;
  }

  .intro h1 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .category h2 {
    font-size: 1.3rem;
  }

  .category ul li a {
    font-size: 1rem;
  }

  .logo {
    margin-bottom: 1rem;
  }
}

