/* Catalog Hero */
.catalog-hero {
  padding: 120px 0 60px;
 background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
url('../images/window1.jpg') center/cover no-repeat;
}

.catalog-hero h1 {
	color: white;
}

.catalog-title {
  font-size: 2.5rem;
  color: #212121;
  text-align: center;
  margin-bottom: 15px;
}

.catalog-subtitle {
  font-size: 1.2rem;
  color: #616161;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.catalog-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.category-card {
  position: relative;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.category-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.category-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.category-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.category-content li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.category-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: #4CAF50;
}

.btn-white {
  background: white;
  color: #212121;
  align-self: flex-start;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.calculator-btn,
.consultation-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Анимации */
.category-card:hover {
  transform: translateY(-10px);
}

/* Адаптивность */
@media (max-width: 992px) {
  .catalog-hero {
    padding: 60px 0 40px;
  }
  
  .catalog-title {
    font-size: 2rem;
  }
  
  .catalog-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .catalog-categories {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .category-card {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .catalog-title {
    font-size: 1.6rem;
  }
  
  .catalog-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .catalog-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}