/* Umum */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: Optima, Candara, 'Noto Sans', sans-serif; }
body { background: #fff; color: #333; scroll-behavior: smooth; }
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.35px); /* Tambahan agar efek transparan lebih elegan */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #494769;
}

.logo img {
  height: auto;
  width: 90px;
}

.login-btn {
  background: #494769;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
}

.login-btn:hover { background: #212037; }

.help-btn {
  background: #494769;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
}

.help-btn:hover { background: #212037; }


.hero {
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  height: 65vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: white; padding-bottom: 100px;
}

.hero-content h1 { font-size: 1.5rem; margin-bottom: 10px; color:#494769}

.hero-content p { font-size: 1rem; margin-bottom: 10px; color:#494769 }
.produk-scroll-section h2 { font-size: 1rem; margin-bottom: 10px; color:#494769 }

.produk-section {
  padding: 80px 20px; background: #f9f9f9; text-align: center;
}

.produk-container {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 20px;
}

.produk-item {
  width: 100px; background: white; padding: 20px; border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); opacity: 0;
  animation: slideIn 0.1s ease forwards;
}

.produk-item img {
  width: 95%; height: 160px; object-fit: cover; border-radius: 8px;
  margin-bottom: 10px;
}

/* Slide animation */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Login Modal */
.login-modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%;
  height: 100%; background: rgba(0,0,0,0.6); justify-content: center;
  align-items: center; z-index: 2000;
}

.login-modal.active { display: flex; }

.login-box {
  background: white; padding: 30px; border-radius: 10px; width: 300px;
  position: relative; box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.login-box input {
  display: block; width: 100%; margin: 10px 0; padding: 10px;
  border: 1px solid #ccc; border-radius: 5px;
}

.login-box button {
  width: 100%; padding: 10px; background: #494769;
  color: white; border: none; border-radius: 5px; cursor: pointer;
}
.login-box button:hover { background: #212037; }

.close {
  position: absolute; top: 10px; right: 15px; font-size: 24px;
  cursor: pointer; color: #999;
}

footer {
  text-align: center; padding: 20px; background: #494769;
  font-size: 0.9rem; margin-top: 50px;color: #dad1d6;
}
/* Default: hidden sampai scroll */
.slide-in {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

/* Saat muncul di viewport */
.slide-in.show {
  opacity: 1;
  transform: translateX(0);
}
.produk-scroll-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.scroll-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
  gap: 40px;
}

.produk-item {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.produk-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Keyframes marquee */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.info-box {
    display: block;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.info-box-icon {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.info-box-content {
    margin-left: 50px;
}

.info-box-text {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.info-box-number {
    font-size: 24px;
    font-weight: bold;
}

/* Tooltip */
.nav-link {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.nav-link[data-balloon]:hover::after {
    content: attr(data-balloon);
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

/* Menampilkan tooltip saat hover */
.nav-link[data-balloon]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Posisi tooltip */
.nav-link[data-balloon][data-balloon-pos="right"]:hover::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}
.mt-5 {
    margin-top: 3rem !important;
}