/* Base & Reset Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ece0c8;
  color: #333;
  text-align: center;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1 {
  margin-top: 20px;
  font-size: 2rem;
  color: #5d4037;
  animation: fadeDown 0.6s ease;
}

/* Category Buttons (No box, just spacing and animation) */
#Categories {
  margin: 25px 0;
  animation: fadeUp 0.6s ease;
}

#Categories button {
  background-color: #ff7043;
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 10px 8px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeUp 0.7s ease;
}

#Categories button:hover {
  background-color: #e64a19;
  transform: scale(1.05);
}

/* Product Buttons — Bigger */
a button {
  background-color: #8eacbb;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 22px;
  margin: 25px;
  font-size: 1.2rem;
  cursor: pointer;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.8s ease;
}

a button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Product Images — Bigger */
a img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  object-fit: cover;
  animation: fadeIn 1s ease;
  transition: transform 0.3s ease;
}

a img:hover {
  transform: scale(1.03);
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
  #Categories button {
    display: block;
    width: 90%;
    margin: 10px auto;
  }

  a button {
    width: 90%;
    font-size: 1.3rem;
    padding: 24px;
  }

  a img {
    max-width: 90%;
  }

  h1 {
    font-size: 1.5rem;
  }
}