/* Professional project cards - clean grid layout */
.projects-carousel {
  position: relative;
}

.carousel-track {
  width: 100%;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.project-card:hover {
  border-color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.project-hero {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  cursor: zoom-in;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-hero {
  transform: scale(1.03);
}

.project-card:hover .project-hero::before {
  opacity: 1;
}

/* Zoom icon on hover */
.project-hero::after {
  content: '⊕';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  /* background: rgba(255,255,255,0.95); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-hero::after {
  opacity: 1;
  transform: scale(1);
}

.project-body { 
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.project-card h3 { 
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
}


.project-card p { 
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #717171;
  flex: 1;
}

.project-actions { 
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Hide carousel buttons - using grid layout instead */
.carousel-btn {
  display: none;
}

/* Responsive */
@media (max-width: 800px) {
  .link-grid {
    grid-template-columns: 1fr;
  }
  .project-hero {
    height: 160px;
  }
}
