/* ===== CATALOG SECTION (Main page) ===== */
.catalog-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.catalog-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2.5rem;
  line-height: 1.1;
}

.catalog-section-title .fire {
  color: var(--accent);
  font-style: italic;
}

/* Categories grid */
.catalog-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Category card */
.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 119, 46, 0.35);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(232, 119, 46, 0.06);
}

/* Image area */
.cat-card-image {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1210 0%, #2a1a12 50%, #1a1210 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card:hover .cat-card-image img {
  transform: scale(1.06);
}

.cat-card-icon {
  width: 35%;
  height: auto;
  color: rgba(232, 119, 46, 0.2);
  transition: transform 0.5s ease, color 0.5s ease;
}

.cat-card:hover .cat-card-icon {
  transform: scale(1.1);
  color: rgba(232, 119, 46, 0.35);
}

/* Body */
.cat-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.cat-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.cat-card-body p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  font-weight: 300;
}

.cat-card-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: letter-spacing 0.3s ease;
}

.cat-card:hover .cat-card-link {
  letter-spacing: 0.12em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .catalog-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 768px) {
  .catalog-section {
    padding: 3rem 1rem;
  }

  .catalog-categories {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
