* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: #fff;
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d81b60;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: 0.3s;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: url("https://source.unsplash.com/1200x600/?bakery") center/cover
    no-repeat;
  color: #fff;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.hero .btn {
  background: #ec407a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}
.hero .btn:hover {
  background: #c2185b;
}

/* Menu */
.menu {
  padding: 40px 20px;
  text-align: center;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card h3 {
  padding: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #d81b60;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #d81b60;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }
  .nav-links.open {
    max-height: 250px;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Section Judul */
.top-cake {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f7d9e3, #fceabb);
  border-radius: 20px;
  margin: 40px auto;
  max-width: 900px;
}

.top-cake h2 {
  font-size: 36px;
  color: #4b2e2e;
  margin-bottom: 15px;
}

.top-cake .tagline {
  font-size: 20px;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.top-cake .welcome {
  font-size: 18px;
  color: #555;
}

/* Section Menu */
.menu {
  padding: 50px 20px;
  text-align: center;
}

.menu-title {
  font-size: 32px;
  color: #4b2e2e;
  margin-bottom: 30px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.menu-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.menu-item h3 {
  font-size: 18px;
  color: #333;
}

.top-cake {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #fff7f0, #fde2e2);
}

.top-cake h1 {
  font-size: 42px;
  font-weight: bold;
  color: #5c2e00;
  margin-bottom: 15px;
}

.top-cake h2 {
  font-size: 22px;
  font-weight: 500;
  color: #d35400;
  margin-bottom: 10px;
  font-style: italic;
}

.top-cake p {
  font-size: 18px;
  color: #444;
  margin-bottom: 30px;
}

.top-cake .buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.top-cake .btn {
  background: #f39c12;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.top-cake .btn:hover {
  background: #e67e22;
}

/* Testimoni */
.testimoni {
  padding: 60px 20px;
  text-align: center;
  background: #fff7f0;
}

.testimoni h2 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #5c2e00;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.testi-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-style: italic;
}

.galeri {
  padding: 60px 20px;
  text-align: center;
}

.galeri h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #5c2e00;
}

.galeri h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: #d35400;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.galeri-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
}

.galeri-grid img:hover {
  transform: scale(1.05);
}

.galeri {
  padding: 60px 20px;
  text-align: center;
  background: #fff8f0;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.galeri-item {
  background: #ffffff;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.galeri-item:hover {
  transform: translateY(-5px);
}

.galeri-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Tentang & Kontak */
.tentang,
.kontak {
  padding: 40px 20px;
  text-align: center;
  background: #f4f4f4;
}
form {
  max-width: 400px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
}
form input,
form textarea {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
form button {
  padding: 10px;
  background: #d81b60;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
form button:hover {
  background: #ad1457;
}
