
/* --- Nature Inspired Theme --- */
/* Fonts: Poppins (Headings), Merriweather (Body) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Poppins:wght@600;700&display=swap');

:root {
  --bg-color: #f4f1e9;
  --primary-color: #ffffff;
  --secondary-color: #e9e4d9;
  --accent-color: #4a7c59;
  --accent-hover-color: #3b6246;
  --text-color: #3d3522;
  --text-muted-color: #6e6658;
  --border-color: #dcd6c8;
  --font-family-heading: 'Poppins', sans-serif;
  --font-family-body: 'Merriweather', serif;
  --container-width: 1100px;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- General & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  font-size: 17px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
p { margin-bottom: 1.25rem; }
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--accent-hover-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Header & Navigation --- */
.site-header {
  background-color: var(--primary-color);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a {
  font-family: var(--font-family-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
}
.logo a:hover { text-decoration: none; color: var(--accent-color); }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-family: var(--font-family-heading);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  font-size: 1rem;
}
.main-nav a::after {
    content: ''; position: absolute; width: 0; height: 3px;
    bottom: -5px; left: 50%; transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

/* --- Main Content & Layout --- */
.main-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
@media (min-width: 992px) { .main-layout { grid-template-columns: 3fr 1fr; } }
main { background-color: transparent; }

/* --- Homepage Specific --- */
.hero { text-align: center; margin-bottom: 4rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted-color);
  max-width: 750px;
  margin: 0 auto;
}
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }

.article-card {
  background-color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow);
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.article-card h3 { margin-top: 0; font-size: 1.4rem; }
.article-card p { flex-grow: 1; color: var(--text-muted-color); font-size: 1rem; }
.read-more-btn {
  display: inline-block;
  background: var(--accent-color); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-family: var(--font-family-heading);
  text-align: center; align-self: flex-start;
  transition: background-color 0.3s ease;
}
.read-more-btn:hover { background: var(--accent-hover-color); color: #fff; text-decoration: none; }

/* --- Sidebar --- */
.sidebar { display: flex; flex-direction: column; gap: 2.5rem; }
.widget {
  background-color: var(--primary-color);
  padding: 2rem; border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}
.widget-title {
  font-size: 1.4rem; margin-top: 0; padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent-color); margin-bottom: 1.5rem;
}
.widget ul li { margin-bottom: 1rem; }
.widget ul li a { display: block; font-weight: 700; }

/* --- Footer --- */
.site-footer {
  background-color: var(--secondary-color);
  padding: 3rem 0; margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  text-align: center; color: var(--text-muted-color);
}

/* --- Article Page Specific --- */
.article-wrapper {
    background-color: var(--primary-color);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
.article-header { margin-bottom: 2.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; }
.article-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.article-meta { color: var(--text-muted-color); font-size: 0.95rem; }
.article-content a { font-weight: 700; }
.article-content ul, .article-content ol {
    margin-left: 1.5rem; margin-bottom: 1.5rem; list-style: revert;
}
.article-content ul li { margin-bottom: 0.5rem; }
.cta-section {
    background-color: var(--bg-color);
    padding: 2.5rem; border-radius: 12px; text-align: center;
    margin: 3rem 0; border: 2px dashed var(--accent-color);
}
.cta-section h3 { margin-top: 0; }

/* --- Sub-pages --- */
.page-header {
    text-align: center; padding: 4rem 0; background-color: var(--secondary-color);
    margin-bottom: 3rem; border-bottom: 1px solid var(--border-color);
}
.page-content { max-width: 800px; margin: 0 auto; background: var(--primary-color); padding: 3rem; border-radius: 12px; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input, .contact-form textarea {
    padding: 1rem; background-color: var(--bg-color); border: 1px solid var(--border-color);
    border-radius: 8px; color: var(--text-color); font-family: var(--font-family-body); font-size: 1rem;
}
.contact-form button {
    padding: 1rem; background-color: var(--accent-color); border: none;
    border-radius: 8px; color: #fff; font-size: 1.1rem;
    font-family: var(--font-family-heading); font-weight: 600; cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form button:hover { background-color: var(--accent-hover-color); }

/* --- Mobile Menu (Simple Toggle - Placeholder) --- */
.mobile-menu-toggle { display: none; }
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block; width: 30px; height: 22px; position: relative; cursor: pointer;
  }
  .mobile-menu-toggle span {
      display: block; position: absolute; height: 3px; width: 100%;
      background: var(--text-color); border-radius: 3px; left: 0;
      transition: transform 0.3s ease;
  }
  .mobile-menu-toggle span:nth-child(1) { top: 0px; }
  .mobile-menu-toggle span:nth-child(2) { top: 9px; }
  .mobile-menu-toggle span:nth-child(3) { top: 18px; }
  
  .article-wrapper { padding: 1.5rem; }
  .page-content { padding: 1.5rem; }
  h1 { font-size: 2.2rem; }
  .article-header h1 { font-size: 2.5rem; }
}
