/* projects.css - overrides/enhancements for projects.html */

.projects-page {
  padding-bottom: 3rem;
  background: #fff;
}

.projects-header {
  padding: 2.5rem 2rem 1rem;
  text-align: center;
  background: #f5f7fb;
  border-bottom: 1px solid #e7ebf3;
}

.projects-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.projects-header .subtitle {
  color: #555;
  max-width: 760px;
  margin: 0.25rem auto 0;
}

.projects-list {
  padding: 2rem;
}

.project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: #f8f9fb;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  padding: 1.1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}

.project-card h3 {
  margin-bottom: 0.4rem;
}

.project-card p {
  margin-bottom: 0.6rem;
  color: #444;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.4rem 0 0.6rem;
  padding: 0;
}

.tags li {
  font-size: 0.75rem;
  background: #e8f1ff;
  color: #0b5ed7;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #cfe2ff;
}

.links a {
  color: #0b5ed7;
  text-decoration: none;
  font-weight: 600;
}

.links a:hover {
  text-decoration: underline;
}

/* homepage CTA alignment for the "See all projects" button */
.projects-cta {
  margin-top: 1rem;
  text-align: center;
}
