/* Additional styles to ensure optimal image and text dimensions */

/* Menu item card styling */
.food-card {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
}

/* Image container - maintain consistent height */
.food-card .image-gallery {
  height: 200px;
  position: relative;
  overflow: hidden;
}

/* Image styling - ensure proper cover without distortion */
.food-card .image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Content container - ensure proper padding and spacing */
.food-card .p-4 {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Item title - ensure proper size and weight */
.food-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

/* Item description - ensure proper size and line height */
.food-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

/* Price styling - ensure proper visibility and emphasis */
.food-card .price {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-top: auto;
}

/* Clear separation between menu items in grid */
.grid-cols-1 {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-cols-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-cols-1 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Modal styling for item details */
.modal-content {
  max-width: 600px;
  width: 100%;
}

.modal-content img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
}

.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-content p {
  font-size: 1rem;
  line-height: 1.6;
}

.modal-content .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}
