:root {
  --brand-yellow: #F5C518;
  --brand-yellow-dark: #d9ad0f;
  --brand-dark: #1a1a1a;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #fafafa;
}

/* ===== Navbar ===== */
.bg-warning-dark {
  background-color: var(--brand-yellow) !important;
}
.bg-warning-dark .nav-link,
.bg-warning-dark .navbar-brand {
  color: #1a1a1a !important;
  font-weight: 500;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  font-size: .65rem;
}

/* ===== Hero ===== */
.hero-banner {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, #ffe27a 100%);
}

/* ===== Product Card ===== */
.product-card {
  transition: transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
}
.product-thumb {
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ===== Product Detail ===== */
.main-image-wrap {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.main-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.thumb-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  cursor: pointer;
  opacity: .7;
}
.thumb-img.active,
.thumb-img:hover {
  opacity: 1;
  border-color: var(--brand-yellow) !important;
  border-width: 2px !important;
}

/* ===== Cart ===== */
.cart-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

/* ===== Buttons ===== */
.btn-warning-brand {
  background-color: var(--brand-yellow);
  border-color: var(--brand-yellow-dark);
  color: #1a1a1a;
  font-weight: 600;
}
.btn-warning-brand:hover {
  background-color: var(--brand-yellow-dark);
  color: #1a1a1a;
}
.btn-check:checked + .btn-outline-dark {
  background-color: var(--brand-dark);
  color: #fff;
}

.text-warning-brand { color: var(--brand-yellow-dark); }

/* ===== Admin Login ===== */
.admin-login-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
}

/* ===== Destination Autocomplete ===== */
#destinationResults, #originResults {
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  display: none;
}
#destinationResults .list-group-item,
#originResults .list-group-item {
  cursor: pointer;
  font-size: .85rem;
}

/* ===== Halaman Statis (About Us, Privacy Policy, dst) ===== */
.static-page-content h1, .static-page-content h2, .static-page-content h3 {
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: .75rem;
}
.static-page-content p { margin-bottom: 1rem; line-height: 1.7; }
.static-page-content ul, .static-page-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.static-page-content img { max-width: 100%; height: auto; border-radius: .375rem; }
.static-page-content blockquote {
  border-left: 4px solid var(--brand-yellow);
  padding-left: 1rem;
  color: #555;
  margin: 1rem 0;
}

/* ===== Footer 4 kolom ===== */
.footer-col h6 { color: #fff; }
.footer-col a { color: #adb5bd; text-decoration: none; }
.footer-col a:hover { color: var(--brand-yellow); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.footer-contact-item i { color: var(--brand-yellow); margin-top: .2rem; }

/* ===== Responsive tweaks ===== */
@media (max-width: 576px) {
  .main-image-wrap { height: 280px; }
  .hero-banner .display-5 { font-size: 1.8rem; }
}
