.projects .isotope-filters {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.projects .isotope-filters li {
  cursor: pointer;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--default-color);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  transition: all 0.3s ease;
}
.projects .isotope-filters li:hover, .projects .isotope-filters li.filter-active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}
.projects .isotope-container .isotope-item {
  width: 33.333%;
  padding: 0 calc(var(--bs-gutter-x) * 0.5);
  margin-bottom: calc(var(--bs-gutter-y));
}
@media (max-width: 991px) {
  .projects .isotope-container .isotope-item {
    width: 50%;
  }
}
@media (max-width: 575px) {
  .projects .isotope-container .isotope-item {
    width: 100%;
  }
}
.projects .project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}
.projects .project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.projects .project-card:hover img {
  transform: scale(1.05);
}
.projects .project-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(15, 42, 68, 0.95) 0%, rgba(15, 42, 68, 0.2) 100%);
}
.projects .project-card:hover .card-content .tag {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.projects .project-card:hover .card-actions .card-action {
  opacity: 1;
  transform: translateY(0);
}
.projects .project-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 42, 68, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  transition: background 0.4s ease;
}
.projects .project-card .card-content .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  color: var(--contrast-color);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.projects .project-card .card-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}
.projects .project-card .card-content p {
  font-size: 14px;
  color: color-mix(in srgb, #ffffff, transparent 25%);
  margin: 8px 0 0;
  line-height: 1.5;
}
.projects .project-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-end;
}
.projects .project-card .card-action {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.projects .project-card .card-action:nth-child(2) {
  transition-delay: 0.1s;
}
.projects .project-card .card-action:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
}
@media (max-width: 991px) {
  .projects .project-card {
    height: 260px;
  }
}
@media (max-width: 575px) {
  .projects .project-card {
    height: 240px;
  }
  .projects .project-card .card-content h3 {
    font-size: 18px;
  }
  .projects .project-card .card-actions .card-action {
    opacity: 1;
    transform: translateY(0);
  }
} 