/* Catalog styling */
.catalog {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, hsl(210,30%,95%), hsl(210,30%,98%));
  text-align: center;
}
.catalog h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: hsl(210,15%,20%);
}
.catalog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
}
.catalog-item {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: hsl(210,40%,22%);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}
.catalog-item:hover {
  background: hsl(210,40%,30%);
  transform: translateY(-2px);
}
.button-primary {
  background: hsl(210,70%,45%);
  font-weight: 600;
}
.button-primary:hover {
  background: hsl(210,70%,55%);
}
@media (prefers-color-scheme: dark) {
  .catalog {
    background: hsl(210,30%,12%);
  }
  .catalog h2 {
    color: hsl(210,15%,90%);
  }
  .catalog-item {
    background: hsl(210,40%,40%);
  }
  .catalog-item:hover {
    background: hsl(210,40%,50%);
  }
  .button-primary {
    background: hsl(210,70%,55%);
  }
  .button-primary:hover {
    background: hsl(210,70%,65%);
  }
}
