body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

.navbar-custom {
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 1.5rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

.navbar-custom.is-scrolled {
  background-color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 2rem;
  transition: background 0.3s;
}

.navbar-custom .navbar-item {
  font-weight: 500;
  font-size: 1rem;
}

.page-content {
  padding-top: 90px; /* agar konten tidak ketabrak navbar */
}

@media (max-width: 768px) {
  .navbar-custom {
    position: static;
    background-color: #fff !important;
    box-shadow: none !important;
  }
  .page-content {
    padding-top: 1rem;
  }
}

/* WhatsApp Chat Widget */
.wa-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-chat-btn {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.wa-chat-btn:hover {
  background: #128c7e;
}

.wa-chat-label {
  background: #fff;
  color: #128c7e;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: none;
}

.wa-chat-widget:hover .wa-chat-label,
.wa-chat-widget:focus-within .wa-chat-label {
  display: block;
  animation: fadeInUp 0.3s;
}

@media (max-width: 600px) {
  .wa-chat-widget { right: 12px; bottom: 12px; }
  .wa-chat-btn { width: 48px; height: 48px; font-size: 1.5rem; }
  .wa-chat-label { font-size: 0.9rem; padding: 5px 12px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main-content {
  flex: 1 0 auto;
}

footer.footer {
  flex-shrink: 0;
}

/* Bulletproof mobile menu CSS */
@media (max-width: 1024px) {
  .navbar-menu {
    display: none !important;
  }
  .navbar-menu.is-active {
    display: block !important;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  }
}

/* Always show menu if is-active for accessibility (desktop fallback) */
.navbar-menu.is-active {
  display: block !important;
}