/* =====================
   GLOBAL
===================== */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* =====================
   NAVBAR
===================== */
header {
  background: linear-gradient(135deg, #5f8f7a, #d7ece7);
  color: white;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 50px;
  width: auto;
}

/* =====================
   HERO
===================== */
.hero {
  background: linear-gradient(135deg, #5f8f7a, #d7ece7);
  color: #f4f4f4;
  padding: 90px 20px;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: auto;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

.hero p {
  font-size: 16.5px;
  opacity: 0.92;
  line-height: 1.6;
}

.hero-btn {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* =====================
   BUTTON
===================== */
.btn {
  background: #3f8f7b;
  color: white;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.25s ease;
  font-family: 'Poppins', sans-serif;
}

.btn:hover {
  background: #347564;
}

/* =====================
   SECTION
===================== */
.section {
  padding: 70px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
   font-size: 28px;
}

.section-header p {
font-size: 14px;
  max-width: 420px;
  margin: 8px auto 0;
  line-height: 1.5;
  color: #6b7280;
}

/* =====================
   PRODUK
===================== */
.produk-container {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 16px;
  width: 270px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card img {
  width: 100%;
  height: auto;          /* ⬅️ FIX FOTO */
  object-fit: contain;  /* ⬅️ FIX FOTO */
}

.card-body {
  padding: 15px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
}

.card-body p {
  font-size: 14px;
  color: #555;
}

/* =====================
   GALERI FINAL FIX
===================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: auto;
}

.media-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  aspect-ratio: 1 / 1;     /* ⬅️ KUNCI UTAMA */
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ⬅️ POTONG RAPI */
  display: block;
}

/* HP */
@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* =====================
   KEUNGGULAN
===================== */
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 900px;
  margin: auto;
}

.keunggulan-card {
  background: white;
  padding: 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.check-icon {
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3f8f7b, #6fc3a8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* =====================
   TENTANG
===================== */
.tentang {
  max-width: 750px;
  margin: auto;
  text-align: center;
  line-height: 1.8;
  color: #4b5563;
}

/* =====================
   KONTAK
===================== */
.kontak-wrapper {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.kontak-item {
  display: flex;
  gap: 16px;
  margin-bottom: 25px;
}

.kontak-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background:  #3f8f7b;;
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.wa-btn img {
  width: 22px;
  height: 22px;
  display: block;
}


/* =====================
   FOOTER
===================== */
.footer {
  background: #5f8f7a;
  color: #e5e7eb;
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #d1d5db;
}

.footer-maps iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 14px;
  margin-top: 10px;
}


/* =====================
   RESPONSIVE HP
===================== */
@media (max-width: 768px) {

  header {
    padding: 12px 16px;
  }

  .hero {
    padding: 70px 16px 60px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 11px;
  }

  .produk-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .keunggulan-grid {
    grid-template-columns: 1fr;
  }

  .kontak-wrapper {
    padding: 25px;
  }
}
