/* =========================================
   RESET & BASE
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  color: #333;
}

/* =========================================
   NAVBAR
========================================= */
#bgNavbar {
  background: linear-gradient(45deg, #af47d2, #ffdb00);
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
  font-weight: 700;
  background: #fff;
  padding: 5px 15px;
  border-radius: 12px;
  color: #af47d2 !important;
  letter-spacing: 0.5px;
}
.nav-link {
  color: white !important;
  transition: 0.3s ease;
  font-weight: 500;
}
.nav-link:hover {
  color: #000 !important;
  transform: translateY(-2px);
}

/* Dropdown */
#submenu {
  background: white;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
#submenu li a {
  color: #af47d2 !important;
  padding: 10px 18px;
  font-weight: 500;
  border-radius: 8px;
}
#submenu li a:hover {
  background: #af47d233;
}

/* =========================================
   HOMEPAGE
========================================= */
.imageBg {
  height: 90vh;
  position: relative;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
}
.imageBg .image {
  width: 100%;
  height: 100%;
  background-image: url(./img/bg.jpg);
  background-size: cover;
  background-position: center;
  filter: brightness(70%);
  animation: zoom-in-zoom-out 25s infinite alternate ease-in-out;
}
.textImage h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  font-weight: 800;
  letter-spacing: 2px;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about h2 {
  text-align: center;
  font-weight: 700;
  font-size: 2.6rem;
  background: linear-gradient(45deg, #af47d2, #ffdb00);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 3.5rem;
  letter-spacing: 1px;
}
.about img {
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.text p span {
  color: #ffdb00;
  font-size: 30px;
  font-weight: bold;
}
.rataTengah {
  text-align: justify;
  line-height: 1.8;
}

/* =========================================
   PRODUCT SECTION
========================================= */
.product .judul h2 {
  font-weight: 700;
  font-size: 2.6rem;
  background: linear-gradient(45deg, #af47d2, #ffdb00);
-webkit-background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
}
.cardShow {
  border-radius: 22px;
  overflow: hidden;
  transition: 0.5s;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}
/* PRODUCT IMAGE PERSEGI */
.cardShow img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}
.cardShow:hover img {
  transform: scale(1.15) rotate(2deg);
}
.card-body h6 {
  font-weight: 700;
  margin-top: 10px;
  font-size: 1.25rem;
}
.btn-success {
  background: linear-gradient(45deg, #af47d2, #ffdb00);
  border: none;
  font-weight: bold;
  transition: 0.3s;
  border-radius: 10px;
}
.btn-success:hover {
  transform: scale(1.08);
  opacity: 0.85;
}

/* =========================================
   CONTACT SECTION
========================================= */
.kontak .judul h2 {
  font-weight: 700;
  font-size: 2.6rem;
  background: linear-gradient(45deg, #af47d2, #ffdb00);
  -webkit-background-clip: text;
  color: transparent;
}
.map {
  width: 100%;
  height: 330px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
form input {
  border-radius: 12px;
  border: 2px solid #af47d2;
  padding: 10px;
  transition: 0.3s;
}
form input:focus {
  border-color: #ffdb00;
  outline: none;
  box-shadow: 0 0 8px #af47d266;
}
.buttonTombol {
  background: linear-gradient(45deg, #af47d2, #ffdb00);
  border: none;
  padding: 12px 22px;
  font-weight: bold;
  border-radius: 12px;
  transition: 0.3s;
}
.buttonTombol:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

/* =========================================
   FOOTER
========================================= */
footer {
  padding: 22px 0;
  background: linear-gradient(45deg, #af47d2, #ffdb00);
  color: white;
  text-align: center;
}
footer .sosial a {
  color: white;
  font-size: 30px;
  margin: 0 10px;
  transition: 0.3s;
}
footer .sosial a:hover {
  color: #000;
  transform: scale(1.18);
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes zoom-in-zoom-out {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}
/* =========================================
   FOTO SEJARAH PERSEGI (UMKM DESA)
========================================= */
.foto-sejarah {
  width: 320px;          /* ukuran desktop */
  height: 320px;         /* sama dengan width = persegi */
  object-fit: cover;     /* foto tidak gepeng */
  border-radius: 20px;   /* senada dengan desain kamu */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover halus & profesional */
.foto-sejarah:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

/* Responsive HP */
@media (max-width: 768px) {
  .foto-sejarah {
    width: 100%;
    height: 260px;
    margin-bottom: 20px;
  }
}
/* =========================================
   PRODUCT SECTION (PERBAIKAN TOTAL)
========================================= */

.product {
  padding: 80px 0;
}

.product-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Card produk */
.cardShow {
  width: 18rem;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: 0.4s ease;
}

/* Gambar persegi */
.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.45s ease;
}

/* Hover profesional */
.cardShow:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.cardShow:hover .product-image {
  transform: scale(1.12);
}

/* =========================================
   RESPONSIVE (HP)
========================================= */
@media (max-width: 768px) {
  .product-wrapper {
    flex-direction: column;
  }

  .cardShow {
    width: 90%;
  }

  .product-image {
    height: 260px;
  }
}


