/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.site-header {
  background-color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.site-title a {
  color: #2c3e50;
  text-decoration: none;
}

.site-title a:hover {
  color: #3498db;
}

.site-description {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 1.5rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  color: #3498db;
}

/* Main Content */
.page-content, .home-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer Styles */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #f8f9fa;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.site-footer a {
  color: #3498db;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Posts List Styles */
.posts-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.posts-heading {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}

.posts {
  list-style: none;
  padding: 0;
}

.post-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.post-date {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: #3498db;
  color: white;
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.post-title {
  margin-bottom: 0.8rem;
}

.post-title a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

.post-title a:hover {
  color: #3498db;
}

.post-excerpt {
  color: #7f8c8d;
  line-height: 1.6;
}

.no-posts {
  text-align: center;
  color: #7f8c8d;
  font-style: italic;
}

/* Post Page Styles */
.post {
  max-width: 800px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-title {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.post-meta {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.post-content {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.post-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3rem;
}

.post-content h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.post-content pre {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.post-content code {
  font-family: 'Courier New', monospace;
  background-color: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.post-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-title {
    font-size: 2rem;
  }
  
  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .page-content, .home-content {
    padding: 1.5rem;
  }
}