:root {
  --primary: #27ae60;
  --dark: #2c3e50;
}
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: rgb(179, 125, 134);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
header h1 span {
  color: var(--primary);
}
header button {
  background-color: #25d366;
  border-radius: 15px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  cursor: pointer;
}
header button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}
.categories button {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  background: white;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.categories button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 5%;
}

.food-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.food-card:hover {
  transform: translateY(-5px);
}
.food-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.food-info {
  padding: 15px;
}
.food-info h3 {
  margin: 0;
  font-size: 1.2rem;
}
.price {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}
.musik {
  background-color: rgb(179, 125, 134);
  text-align: center;
}
.btn-add {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

/* Sidebar Pesanan */
.sidebar {
  position: fixed;
  right: -400px;
  top: 0;
  width: 350px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  z-index: 200;
  padding: 20px;
}
.sidebar.active {
  right: 0;
}
.close-btn {
  font-size: 30px;
  cursor: pointer;
}
.btn-checkout {
  width: 100%;
  background: #25d366;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive Tablet/Desktop */
@media (min-width: 768px) {
  main {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
  }
}
