/* Projects Page Styles */
body {
  font-family: 'Lato', sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #308106);
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
  font-weight: 700;
}

header p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}

.project-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: #308106;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
}

.project-card h2 {
  margin: 0 0 12px 0;
  color: #308106;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}

.description {
  margin: 0 0 20px 0;
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status.completed {
  background: #d4edda;
  color: #155724;
}

.status.in-progress {
  background: #fff3cd;
  color: #856404;
}

.status.planned {
  background: #d1ecf1;
  color: #0c5460;
}

.category {
  background: #e9ecef;
  color: #495057;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.year {
  background: #f8f9fa;
  color: #6c757d;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px 15px;
    gap: 20px;
  }
  
  header {
    padding: 2rem 1rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .project-card {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    padding: 15px 10px;
  }
  
  .project-info {
    padding: 15px;
  }
  
  .project-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
