/* =========================
   RESET & GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
}

/* =========================
   LAYOUT
========================= */
html, body {
  height: 100%;
}

main {
  flex: 1;
}

.section {
  padding: 100px 20px;
  margin-top: 80px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  backdrop-filter: blur(10px);
}

.nav-link {
  color: #ccc !important;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #28a745 !important;
  font-weight: 500;
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url("img/pedagang05.jpg");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* =========================
   BUTTON
========================= */
.btn-success {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-success:hover {
  transform: scale(1.05);
}

/* =========================
   CARD (GLOBAL)
========================= */
.card {
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-8px);
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card:hover {
  transform: translateY(-10px);
}

/* IMAGE BOX */
.img-box {
  position: relative;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.4s;
}

.product-card:hover img {
  transform: scale(1.1);
}

/* BADGE */
.img-box .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* CONTENT */
.content {
  padding: 15px;
  text-align: center;
}

.content h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.content p {
  color: #555;
}

/* BUTTON PRODUK */
.content a {
  display: block;
  background: #28a745;
  color: white;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  transition: 0.3s;
}

.content a:hover {
  background: #218838;
}

/* =========================
   MAPS
========================= */
.map-container {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* =========================
   IMAGE (ABOUT PAGE)
========================= */
img {
  transition: 0.4s;
}

img:hover {
  transform: scale(1.03);
}

/* =========================
   TEXT
========================= */
h2 {
  letter-spacing: 1px;
}