/* Reset dan dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body lembut */
body {
  background: #f5f7fa; /* warna lembut */
  color: #333;          /* teks jelas */
  line-height: 1.6;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #1e40af;
  color: #fff;
}
.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: #fff;
}
.hero .btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #1e40af;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}
.hero .btn:hover {
  background: #e0e7ff;
}

.produk-section {
  padding: 2rem 1rem;
  text-align: center;
}

.produk-section h2 {
  color: #1e40af;
  margin-bottom: 1.5rem;
}

/* Grid responsif */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* Card produk */
.produk-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s;
  opacity: 0;
  transform: scale(0.9);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.produk-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.produk-card h3 {
  margin: 0.75rem 0 0.5rem 0;
  color: #1e40af;
  font-size: 18px;
}

.produk-card .deskripsi {
  font-size: 14px;
  color: #555;
  padding: 0 0.75rem 1rem 0.75rem;
}

/* Tombol soft */
button {
  background: #4f46e5; /* biru lembut */
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #6366f1;
  transform: scale(1.05);
}

/* Hover efek */
.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Animasi scroll reveal */
.reveal.active {
  opacity: 1;
  transform: scale(1);
  transition: all 0.6s ease-out;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .produk-card img {
    height: 120px;
  }
}

/* Promo Section */
.promo-section {
  background: #facc15;
  color: #111;
  padding: 2rem 1rem;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #1e40af;
  color: #fff;
}

/* Sosial Media Floating */
.social-floating {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem; /* pindahkan dari left ke right */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.social-floating .social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s;
}
.social-floating .social:hover {
  transform: scale(1.2);
}
.social.whatsapp { background: #25d366; }
.social.telegram { background: #0088cc; }
.social.tiktok { background: #010101; }

/* Animasi klik */
.social-floating .social:active {
  transform: scale(1.4); /* membesar saat klik */
  transition: transform 0.2s;
}

/* Animasi masuk saat scroll */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .card {
    padding: 15px;
  }

  button {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/* Link lembut */
a {
  color: #4f46e5;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #6366f1;
}
