/* ===== Catalog Page ===== */
.catalog-header-full {
  text-align: center;
  margin: 80px 0 40px;
}

.catalog-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1f3f68;
  text-transform: uppercase; /* optional for bold headings */
}

.catalog-description p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Catalog grid */
.catalog {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

/* Catalog cards */
.catalog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

/* Card image */
.catalog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #f0f0f0;
  transition: transform 0.3s ease;
}

.catalog-card:hover img {
  transform: scale(1.05);
}

/* Card info */
.card-info {
  padding: 20px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1f3f68;
  font-weight: 600;
}

.card-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-info li {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #555;
}

/* Optional: add a button effect inside card */
.card-info a {
  margin-top: auto;
  display: inline-block;
  padding: 10px 20px;
  background: #1f3f68;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.card-info a:hover {
  background: #16344f;
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .catalog-grid {
    gap: 30px;
  }

  .catalog-card img {
    height: 180px;
  }

  .catalog-header h1 {
    font-size: 2.5rem;
  }

  .catalog-description p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .catalog-grid {
    gap: 20px;
  }

  .catalog-card img {
    height: 150px;
  }

  .catalog-header h1 {
    font-size: 2rem;
  }

  .catalog-description p {
    font-size: 1rem;
  }
}
