.servicesPage {
  min-height: 100vh;
  background-color: var(--color-bg-dark);
  padding: var(--spacing-xl) 0;
}

.title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--color-text-primary);
}

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

.card {
  background-color: var(--color-dark);
  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);
  display: flex;
  flex-direction: column;
}

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

.imageWrapper {
  position: relative;
  width: 100%;
  height: 250px;
  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.6)
  );
  z-index: 1;
}

.content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

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

.cardDescription {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  flex: 1;
}

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

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

@media (max-width: 768px) {
  .servicesPage {
    padding: var(--spacing-lg) 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

