body {
  margin: 0;
  padding: 0;
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.cake-gallery {
  padding-left: 5%;
  padding-right: 5%;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cake-card {
  width: 250px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cake-card img {
  width: 100%;
  height: auto;
}

.cake-card:hover {
  transform: scale(1.05);
}

h2 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
}


/* Zoom overlay */
.zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.zoom-overlay.active {
  display: flex;
}

.zoom-content img {
  width: 60vw;
  max-width: 600px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #444;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
}

/* Zoom Animation */
.zoom-content img {
  animation: zoomIn 0.3s ease;
}

/* Zoom Animation */
.zoom-content img {
  animation: zoomIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .zoom-content img {
    width: 90vw;
  }

  .cake-card {
    width: 90%;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}