/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #1f1c2c, #928dab);
  color: #333;
  min-height: 100vh;
}

/* Header Styles */
header {
  background-color: #1f1c2c;
  color: white;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}

nav a {
  margin: 0 1rem;
  color: #f1c40f;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffffff;
}

/* Produk Section */
.produk {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 3rem 5%;
}

/* Produk Card */
.item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.item p {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 1rem;
}

/* Butang Tempahan */
button {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  border: none;
  padding: 12px 24px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button:hover {
  transform: scale(1.07);
  background: linear-gradient(to right, #ff4b2b, #ff416c);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 1rem;
  }
}
