/* Global styles, navbar, hero, footer same as fruits.css */

.jaggery-content {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.jaggery-content h1 {
  font-size: 53px;
  color: #642B03;
  margin-bottom: 20px;
}

.jaggery-content p {
  font-size: 25px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.jaggery-section {
  padding: 80px 40px;
}

.jaggery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.jaggery-card {
  text-align: center;
}

.jaggery-img {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.jaggery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.jaggery-img .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  padding: 10px;
}

.jaggery-img .overlay span {
  position: relative;
  padding-bottom: 8px;
}

.jaggery-img .overlay span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.jaggery-img:hover img { opacity: 0.35; }
.jaggery-img:hover .overlay { opacity: 1; transform: translateX(0); }

.jaggery-card h3 {
  margin-top: 14px;
  font-size: 18px;
  color: #642B03;
  font-weight: 600;
}

@media (max-width: 768px) {
  .jaggery-content h1 { font-size: 28px; }
  .jaggery-content p { font-size: 16px; }
  .jaggery-img { height: 220px; }
  .jaggery-img .overlay { font-size: 18px; }
}
