html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #333;
  margin: 0;
}

/* ========================
   NAVBAR LINK EFFECT
   ======================== */
.navbar-nav .nav-link {
  color: #000;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #007bff;
  transform: scale(1.05);
}

.navbar-nav .nav-link.active {
  color: #0056b3;
  font-weight: 600;
  border-bottom: 2px solid #0056b3;
}

/* ========================
   FOOTER LINK EFFECT
   ======================== */
footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #80c1ff;
  text-shadow: 0 0 5px rgba(0, 123, 255, 0.6);
}

footer a:active {
  color: #007bff;
}

/* Tambahan opsional untuk smooth hover di seluruh footer */
footer {
  background-color: #0d6efd;
  transition: background-color 0.3s ease;
}

  /* === Umum === */
  .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  .grayscale-hover:hover {
    filter: grayscale(0%);
  }

  /* === Produk Grup === */
  .kategori-card img {
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .kategori-card .card-body {
    padding: 15px;
  }

  .kategori-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .kategori-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .kategori-card .btn {
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
  }

  /* === Responsif Tablet === */
  @media (max-width: 992px) {
    h2 {
      font-size: 1.6rem;
    }
    .kategori-card img {
      height: 190px;
    }
    .kategori-card h5 {
      font-size: 1rem;
    }
  }

  /* === Responsif Mobile === */
  @media (max-width: 768px) {
    .card-img-top {
      height: 160px;
    }
    .kategori-card img {
      height: 160px;
    }
    .kategori-card .card-body {
      padding: 12px;
    }
    .kategori-card h5 {
      font-size: 1rem;
    }
    .kategori-card ul {
      font-size: 0.85rem;
    }
    .kategori-card .btn {
      width: 100%;
    }
  }

  /* === Extra Small (≤480px) === */
  @media (max-width: 480px) {
    .col-10,
    .col-sm-6 {
      flex: 0 0 100%;
      max-width: 100%;
    }
    .kategori-card img {
      height: 150px;
    }
    .kategori-card h5 {
      font-size: 0.95rem;
    }
    .kategori-card ul {
      font-size: 0.8rem;
    }
    .kategori-card .btn {
      font-size: 0.85rem;
      padding: 8px;
    }
  }