* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background: linear-gradient(to right, #6e45e2, #88d3ce); */
  background: linear-gradient(to right, #293462, #f24c4c);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  width: 100%;
  min-height: 100vh; /* FULL HEIGHT */
}

header h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  animation: fadeIn 2s ease-in-out;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeIn 3s ease-in-out;
}

header a {
  padding: 0.8rem 1.5rem;
  background: #fff;
  color: #293462;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

header a:hover {
  background: #f24c4c;
  color: #fff;
}

.produk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 5rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}


.produk-img {
  flex: 1 1 300px;
  max-width: 100%;
}

.produk-img img {
  width: 100%;
  height: auto;
  max-height: 350px;
  border-radius: 15px;
  object-fit: cover;
  /* box-shadow: 0 5px 20px rgba(0,0,0,0.15); */
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.15);
}

.produk-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.produk-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.produk-text p {
  margin-bottom: 1.5rem;
}

.produk-text .btn-hk {
  align-self: flex-start;
  background-color: #f24c4c;
  padding: 0.8rem 1.5rem;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: .9rem;
  text-decoration: none;
}

.produk-text .btn-hk:hover {
  background-color: #293462;
}

.topping {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 5rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.topping {
  display: block;
}

.topping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.15);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.profil {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.profil div {
  flex: 1 1 300px;
}

.profil img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  /* box-shadow: 0 5px 20px rgba(0,0,0,0.2); */
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.15);
}

.location {
  text-align: center;
  padding: 4rem 2rem;
}

.location iframe {
  margin-top: 1rem;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  border: 0;
}

.contact {
  text-align: center;
  background: linear-gradient(135deg, #293462, #f24c4c);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 20px;
  margin: 2rem 1rem;
}

#contact {
  scroll-margin-top: 20px;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact p {
  margin-bottom: 2rem;
}

.contact a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  background: #fff;
  color: #293462;
  transition: 0.3s;
}

.contact a:hover {
  background: #111;
  color: #fff;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  .topping h2 {
    margin-bottom: 20px;
  }

  .profil {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .profil img {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .contact {
    display: flex;
    flex-direction: column;
  }

    .profil div {
        flex: 1 1 200px;
    }
}
