.floating-dish-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px #f39f46;
  animation: floatUpDown 6s ease-in-out infinite;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.floating-dish-card:hover {
  transform: translateY(-6px);
}

.floating-dish-card img {
  border-radius: 0.75rem;
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: opacity 0.3s ease;
}

.dish-caption h5 {
  margin-top: 0.75rem;
  font-weight: 600;
  color: #85490a;
}

.dish-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  border-radius: 1rem;
  transition: opacity 0.3s ease;
}

.floating-dish-card:hover .dish-hover-overlay {
  opacity: 1;
}

.dish-hover-overlay .btn {
  background-color: #fff;
  color: #85490a;
  font-weight: bold;
  padding: 0.5rem 1.25rem;
}

/* 🧁 Mobile-Responsive Fix */
@media (max-width: 767px) {
  .floating-dish-card img {
    height: 180px;
  }

  .dish-caption h5 {
    font-size: 1rem;
  }
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
