/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f4;
  color: #1f2d1f;
  line-height: 1.6;
}

/* ========== HEADER ========== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e3e7e2;
  padding: 16px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header h2 {
  margin: 0;
  font-size: 20px;
}

.site-header nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #2f6b3f;
  font-weight: 500;
}

/* ========== GLOBAL SECTIONS ========== */
section {
  padding: 80px 80px;
}

h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

p {
  max-width: 680px;
}

/* ========== HERO (HOME + PROJECTS) ========== */
.hero,
.page-hero {
  background: linear-gradient(180deg, #e4efe4, #f5f7f4);
  text-align: center;
  padding: 80px 24px 40px;
}

.hero p,
.page-hero p {
  margin: 0 auto 32px;
  font-size: 18px;
  color: #4a6355;
}

/* ========== BUTTON SYSTEM (SINGLE SOURCE) ========== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background: #2f6b3f;
  color: #ffffff;
}

.btn.primary:hover {
  background: #255734;
}

.btn.secondary {
  border: 2px solid #2f6b3f;
  color: #2f6b3f;
  background: transparent;
}

/* ========== CARD SYSTEM ========== */
.card {
  background: #ffffff;
  border: 1px solid #e1e6e0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* ========== PROJECTS PAGE ========== */
.filter-bar {
  margin: 32px 0;
}

.filter-bar form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-bar select {
  padding: 10px 12px;
  border: 1px solid #cfd8d3;
  border-radius: 6px;
  background: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.project-card h3 {
  color: #1f2d1f;
}

.project-card .meta {
  font-size: 14px;
  color: #6b8074;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 15px;
  color: #3e5248;
}

.project-card .starting {
  font-weight: 600;
  margin: 16px 0;
  color: #1f2d1f;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e3e7e2;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  section {
    padding: 60px 24px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav a {
    margin: 8px 16px 0 0;
  }
}
