/* Blog-specific styles to ensure proper display */
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #243E36;
  background-color: #F9F6F0;
  margin: 0;
  padding: 0;
}

header {
  background-color: #F9F6F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #2C5F2D;
  margin-left: 0.5rem;
}

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

nav li {
  margin-left: 2rem;
}

nav a {
  color: #243E36;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

nav a:hover, 
nav a.active {
  color: #2C5F2D;
}

.page-banner {
  height: 300px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(to right, #2C5F2D, #97724F);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  margin-top: 70px;
  text-align: center;
}

.page-banner h1 {
  color: white;
  font-size: 2.5rem;
  margin: 0;
}

.section {
  padding: 3rem 0;
}

.blog-filter {
  background-color: rgba(44, 95, 45, 0.05);
  padding: 1rem 0;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.filter-option {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: white;
  color: #2C5F2D;
  text-decoration: none;
  transition: all 0.3s ease;
}

.filter-option:hover,
.filter-option.active {
  background-color: #2C5F2D;
  color: white;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.blog-post {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.blog-image {
  height: 200px;
  background-color: #2C5F2D;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  color: #97724F;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2C5F2D;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.blog-excerpt {
  margin-bottom: 1rem;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.blog-category {
  background-color: rgba(44, 95, 45, 0.1);
  color: #2C5F2D;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #2C5F2D;
  color: white;
}

.btn-primary:hover {
  background-color: #1a4a1b;
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}

.pagination .current-page {
  background-color: #2C5F2D;
  color: white;
}

.pagination .page {
  background-color: rgba(44, 95, 45, 0.1);
  color: #2C5F2D;
}

.pagination .next {
  background-color: rgba(44, 95, 45, 0.1);
  color: #2C5F2D;
}

footer {
  background-color: #2C5F2D;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: #E5A13D;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #E5A13D;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav li {
    margin: 0.5rem 0;
    margin-left: 0;
  }
}
