
/* Section background & structure */
.ingredients-section {
  background-color: #fcfdfb;
  padding: 80px 20px;
  text-align: center;
}

/* Title with PNG brush */
.section-title-imgbrush {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
  text-align: center;
}

.section-title-imgbrush h2 {
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  color: #2b3e3e;
  padding: 10px 30px;
  z-index: 2;
}

.section-title-imgbrush .brush-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
}

/* Card grid layout */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ingredients-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card styling */
.ingredient-card {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-5px);
}

.ingredient-card img.ingredient-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 1px solid #ddd;
}

.ingredient-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3d5a5a;
  margin-bottom: 8px;
}

.ingredient-card p {
  font-size: 0.95rem;
  color: #5f6f6f;
  line-height: 1.4;
}
