.servicesSection {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(
    to bottom,
    var(--color-bg-dark),
    var(--color-bg-secondary)
  );
}

.title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-primary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(166, 68, 86, 0.2);
  background-color: var(--color-dark);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.imageWrapper {
  position: relative;
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.image {
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: brightness(0.8) contrast(1.1);
}

.card:hover .image {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(26, 26, 26, 0.7)
  );
  z-index: 1;
}

.content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95),
    transparent
  );
}

.cardTitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.linkText {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition-base);
}

.card:hover .linkText {
  color: var(--color-light-vintage);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .card {
    aspect-ratio: 16 / 9;
  }
}

