.hero-section {
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
}

.hero-container {
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero-pre-title {
  font-size: 20px;
  color: var(--primary-orange);
  margin: 0;
}
.hero-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--text-dark);
}
.hero-title .highlight {
  font-size: 64px;
  color: var(--primary-orange);
}
.hero-description {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-dark);
  max-width: 1280px;
  margin: 0;
  text-align: left;
}

.materials-section {
  padding-bottom: 80px;
}
.materials-section .container {
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 4px 12px;
  border: 0.5px solid #b6bbbe;
  border-radius: 60px;
  font-size: 16px;
  color: #323234;
  background-color: var(--color-background);
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-orange);
  color: var(--color-white);
  border-color: var(--primary-orange);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.material-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
}
.card-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.material-card:hover .card-bg-image {
  transform: scale(1.05);
}
.card-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 4px;
  z-index: 3;
}
.card-actions img {
  width: 32px;
  height: 32px;
  background-color: rgba(232, 232, 232, 0.8);
  border-radius: 4px;
  padding: 4px;
}
.card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 20px 24px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 3;
  text-align: left;
}
.card-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

.download-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background-color: var(--primary-orange);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #e55a00;
}

.like-btn,
.share-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.like-btn:hover,
.share-btn:hover {
  transform: scale(1.1);
}

.like-btn.liked img {
  background-color: #ff7300;
}

.no-materials {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dark);
}

.no-materials p {
  font-size: 18px;
  margin: 0;
}

@media (max-width: 1200px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-title .highlight {
    font-size: 48px;
  }
  .hero-description {
    font-size: 16px;
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
}
