.project-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.project-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-header h3 {
  margin: 0;
  font-size: 1.25rem;
  flex: 1;
}

.project-header h3 a {
  color: var(--headingcol);
  text-decoration: none;
}

.project-links {
  display: flex;
  gap: 0.75rem;
  margin-left: 1rem;
}

.project-links a {
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.project-links a:hover {
  opacity: 1;
}

.project-content {
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-description {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--bg-secondary);
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.project-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.read-more {
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--accent-hover);
}

.read-more svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    max-width: 95vw;
  }
} 