/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #F5EDE4;
  color: #2D2B27;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: #4a7c59;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: #E8D5C0;
  border-bottom: 1px solid #D4C0A8;
}

.header-logo {
  font-size: 18px;
  font-weight: 600;
  color: #2D2B27;
  text-decoration: none;
}

.header-logo:hover {
  text-decoration: none;
  color: #4a7c59;
}

.header-links {
  display: flex;
  gap: 24px;
}

.header-links a {
  color: #6B6560;
  font-size: 14px;
  font-weight: 500;
}

.header-links a:hover {
  color: #4a7c59;
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-emoji {
  font-size: 56px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #2D2B27;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero h1 .accent {
  color: #4a7c59;
}

.hero p {
  font-size: 18px;
  color: #6B6560;
  max-width: 500px;
  margin: 0 auto 28px;
}

.hero-badge {
  display: inline-block;
  background: #4a7c59;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Warm divider between hero and cards */
.hero::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #E5DDD4;
  margin: 40px auto 0;
}

/* Projects Grid */
.projects {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Project Card */
.project-card {
  background: #FFF8F0;
  border-radius: 16px;
  border: 1px solid #E5DDD4;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-tag {
  display: inline-block;
  background: #e8f5e9;
  color: #4a7c59;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2D2B27;
  margin-bottom: 8px;
}

.project-card .desc {
  font-size: 14px;
  color: #6B6560;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-features li {
  font-size: 13px;
  color: #6B6560;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-features li::before {
  content: "🍃";
  font-size: 12px;
}

/* Project Buttons */
.project-links {
  display: flex;
  gap: 12px;
}

.project-links .btn-primary,
.project-links .btn-secondary {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
  display: inline-block;
}

.project-links .btn-primary {
  background: #4a7c59;
  color: white;
}

.project-links .btn-primary:hover {
  background: #3d6a4b;
}

.project-links .btn-secondary {
  background: #E5DDD4;
  color: #2D2B27;
}

.project-links .btn-secondary:hover {
  background: #D4C0A8;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 32px 24px;
  background: #F5EDE4;
  border-top: 1px solid #E5DDD4;
  color: #6B6560;
  font-size: 13px;
}

.site-footer a {
  color: #4a7c59;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
  }

  .hero {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .projects {
    grid-template-columns: 1fr;
    padding: 0 20px 48px;
  }

  .project-card {
    padding: 24px;
  }
}
