/* =========================================================
   HANAN BOOTS — MAIN STYLESHEET
   Design tokens + de-bootstrap overrides + components
   ========================================================= */

:root{
  /* --- Warna (default, bisa di-override lewat Theme Options) --- */
  --hb-primary:   #16345C;   /* navy - warna utama brand */
  --hb-secondary: #1E4E8C;   /* biru sekunder */
  --hb-accent:    #F2A93B;   /* amber/gold - warna CTA */
  --hb-dark:      #12203A;   /* teks gelap / footer */
  --hb-light:     #F6F8FB;   /* background terang */
  --hb-body:      #4B5566;   /* warna teks body */
  --hb-white:     #FFFFFF;
  --hb-border:    #E5E9F0;

  /* --- Font (di-override oleh Theme Options) --- */
  --hb-font-heading: 'DM Sans', sans-serif;
  --hb-font-body: 'DM Sans', sans-serif;

  --hb-radius: 10px;
  --hb-shadow: 0 10px 30px rgba(18, 32, 58, 0.08);
  --hb-topbar-height: 40px;
  --hb-navbar-height: 76px;
}

/* =========================================================
   RESET RINGAN DI ATAS BOOTSTRAP (biar gak "bootstrap banget")
   ========================================================= */
*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--hb-navbar-height) + 20px); }

body{
  font-family: var(--hb-font-body);
  color: var(--hb-body);
  background: var(--hb-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--hb-font-heading);
  color: var(--hb-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a{ color: var(--hb-secondary); text-decoration: none; transition: color .2s ease; }
a:hover{ color: var(--hb-accent); }

img{ max-width: 100%; height: auto; display: block; }

/* matikan sedikit bootstrap default supaya lebih custom */
.container, .container-fluid{ --bs-gutter-x: 1.75rem; }
.btn{ border-radius: var(--hb-radius); box-shadow:none; }
.btn:focus{ box-shadow: 0 0 0 .2rem rgba(22,52,92,.15); }

/* =========================================================
   UTIL LAYOUT
   ========================================================= */
.hb-container{
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.hb-container-fluid{ width:100%; padding-inline: clamp(1.25rem, 4vw, 4rem); }

.hb-section{ padding: 88px 0; }
.hb-section-sm{ padding: 56px 0; }
.hb-section-light{ background: var(--hb-light); }
.hb-section-white{ background: var(--hb-white); }
.hb-section-dark{ background: var(--hb-dark); color: #C9D3E2; }
.hb-section-dark h1, .hb-section-dark h2, .hb-section-dark h3{ color:#fff; }

.hb-grid{ display:grid; gap: 28px; }
.hb-grid-2{ grid-template-columns: repeat(2,1fr); }
.hb-grid-3{ grid-template-columns: repeat(3,1fr); }
.hb-grid-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 991px){
  .hb-grid-3, .hb-grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px){
  .hb-grid-2, .hb-grid-3, .hb-grid-4{ grid-template-columns: 1fr; }
}

.hb-eyebrow{
  display:inline-block; font-weight:600; color: var(--hb-secondary);
  font-size: .85rem; margin-bottom: .6rem;
}
.hb-lead{ font-size: 1.15rem; color:#6b7686; max-width: 640px; }
.hb-center{ text-align:center; margin-inline:auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.hb-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding: .85rem 1.7rem;
  border-radius: var(--hb-radius);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all .25s ease;
  cursor:pointer;
  line-height: 1;
}
.hb-btn-primary{ background: var(--hb-accent); color: var(--hb-dark); }
.hb-btn-primary:hover{ background:#e0961f; color: var(--hb-dark); transform: translateY(-2px); }

.hb-btn-outline{ background: transparent; border-color: var(--hb-white); color: var(--hb-white); }
.hb-btn-outline:hover{ background: var(--hb-white); color: var(--hb-primary); transform: translateY(-2px); }

.hb-btn-outline-dark{ background: transparent; border-color: var(--hb-primary); color: var(--hb-primary); }
.hb-btn-outline-dark:hover{ background: var(--hb-primary); color:#fff; }

.hb-btn-block{ width:100%; }

/* =========================================================
   TOPBAR
   ========================================================= */
.hb-topbar{
  background: var(--hb-dark);
  color: #A9B6CC;
  font-size: .85rem;
  padding: 8px 0;
}
.hb-topbar .hb-container{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: 8px; }
.hb-topbar-left{ display:flex; align-items:center; gap: 22px; flex-wrap:wrap; }
.hb-topbar-left span{ display:inline-flex; align-items:center; gap:6px; }
.hb-topbar-social{ display:flex; align-items:center; gap: 14px; }
.hb-topbar-social a{ color:#A9B6CC; }
.hb-topbar-social a:hover{ color: var(--hb-accent); }

/* =========================================================
   NAVBAR — CUSTOM (bukan navbar bawaan bootstrap), sticky
   ========================================================= */
.hb-navbar{
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--hb-white);
  border-bottom: 1px solid var(--hb-border);
  transition: box-shadow .25s ease, padding .25s ease;
}
.hb-navbar.is-stuck{ box-shadow: 0 8px 24px rgba(18,32,58,.08); }

.hb-navbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height: var(--hb-navbar-height);
  gap: 24px;
}

.hb-logo{ display:flex; align-items:center; gap:10px; font-family: var(--hb-font-heading); font-weight:700; font-size:1.4rem; color: var(--hb-dark); flex-shrink:0; }
.hb-logo img{ max-height: 44px; width:auto; }

.hb-nav-menu{ display:flex; align-items:center; gap: 6px; list-style:none; margin:0; padding:0; }
.hb-nav-menu li{ position:relative; }
.hb-nav-menu a{
  display:block; padding: 10px 16px; color: var(--hb-dark); font-weight:600; font-size:.95rem; border-radius: 8px;
}
.hb-nav-menu li:hover > a, .hb-nav-menu li.current-menu-item > a{ color: var(--hb-secondary); background: var(--hb-light); }

/* submenu dropdown (support menu WP bertingkat) */
.hb-nav-menu .sub-menu{
  list-style:none; margin:0; padding: 8px; position:absolute; top: calc(100% + 8px); left:0;
  background:#fff; min-width: 220px; border-radius: 12px; box-shadow: var(--hb-shadow); border:1px solid var(--hb-border);
  opacity:0; visibility:hidden; transform: translateY(8px); transition: all .2s ease;
}
.hb-nav-menu li:hover > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.hb-nav-menu .sub-menu a{ padding:8px 12px; }

.hb-nav-right{ display:flex; align-items:center; gap: 14px; flex-shrink:0; }
.hb-nav-cta{ white-space:nowrap; }

/* Hamburger custom */
.hb-burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 42px; height:42px; border-radius:8px; border:1px solid var(--hb-border); background:#fff; cursor:pointer;
}
.hb-burger span{ width: 20px; height:2px; background: var(--hb-dark); margin-inline:auto; transition: all .25s ease; }
.hb-burger.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hb-burger.is-active span:nth-child(2){ opacity:0; }
.hb-burger.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px){
  .hb-nav-menu{
    position: fixed; inset: var(--hb-navbar-height) 0 0 0; height: calc(100vh - var(--hb-navbar-height));
    background:#fff; flex-direction:column; align-items:stretch; padding: 18px; gap:2px; overflow-y:auto;
    transform: translateX(100%); transition: transform .3s ease; z-index: 998;
  }
  .hb-nav-menu.is-open{ transform: translateX(0); }
  .hb-nav-menu li{ width:100%; }
  .hb-nav-menu a{ padding: 14px 10px; border-bottom:1px solid var(--hb-border); border-radius:0; }
  .hb-nav-menu .sub-menu{ position:static; box-shadow:none; opacity:1; visibility:visible; transform:none; display:none; border:none; padding-left:12px; }
  .hb-nav-menu li.is-open > .sub-menu{ display:block; }
  .hb-burger{ display:flex; }
  .hb-nav-cta{ padding: .7rem 1.1rem; font-size: .85rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hb-hero{
  position:relative; overflow:hidden;
  background: linear-gradient(180deg, var(--hb-light) 0%, #fff 100%);
  padding: 100px 0 90px;
}
.hb-hero-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items:center; }
@media (max-width: 991px){ .hb-hero-grid{ grid-template-columns: 1fr; } }
.hb-hero h1{ font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; }
.hb-hero-actions{ display:flex; gap:14px; margin-top: 28px; flex-wrap:wrap; }
.hb-hero-media img{ border-radius: 18px; box-shadow: var(--hb-shadow); }
.hb-hero-stats{ display:flex; gap: 32px; margin-top: 40px; flex-wrap:wrap; }
.hb-hero-stats strong{ display:block; font-size: 1.7rem; color: var(--hb-primary); font-family: var(--hb-font-heading); }
.hb-hero-stats span{ font-size:.85rem; color:#8792A3; }

/* =========================================================
   CARDS
   ========================================================= */
.hb-card{
  background:#fff; border:1px solid var(--hb-border); border-radius: 16px; padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hb-card:hover{ transform: translateY(-6px); box-shadow: var(--hb-shadow); }
.hb-card-icon{ width:52px; height:52px; border-radius:12px; background: var(--hb-light); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color: var(--hb-secondary); font-size:1.4rem; }

/* =========================================================
   PRICING / PAKET SEWA MOBIL — light card
   ========================================================= */
.hb-pricing-card{
  background:#fff; border:1px solid var(--hb-border); border-radius: 18px; overflow:hidden;
  box-shadow: 0 6px 18px rgba(18,32,58,.05);
  transition: transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column;
}
.hb-pricing-card:hover{ transform: translateY(-6px); box-shadow: var(--hb-shadow); }
.hb-pricing-card-img{ aspect-ratio: 16/10; overflow:hidden; }
.hb-pricing-card-img img{ width:100%; height:100%; object-fit:cover; }
.hb-pricing-card-body{ padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.hb-pricing-card-body h3{ font-size: 1.2rem; margin-bottom: 4px; }
.hb-pricing-card-sub{ font-size:.85rem; color:#8792A3; margin-bottom: 16px; }
.hb-pricing-list{ list-style:none; margin:0 0 20px; padding:0; }
.hb-pricing-list li{
  display:flex; align-items:center; justify-content:space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--hb-border); font-size:.92rem; color: var(--hb-body);
}
.hb-pricing-list li:last-child{ border-bottom:none; }
.hb-pricing-list li b{ color: var(--hb-primary); font-family: var(--hb-font-heading); white-space:nowrap; }
.hb-pricing-card .hb-btn{ margin-top:auto; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.hb-cta-banner{
  background: var(--hb-primary); color:#fff; border-radius: 22px; padding: 56px; text-align:center;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 45%);
}
.hb-cta-banner h2{ color:#fff; }
.hb-cta-banner .hb-lead{ color:#C9D3E2; margin-inline:auto; }

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.hb-testi{ background:#fff; border:1px solid var(--hb-border); border-radius:16px; padding:26px; }
.hb-testi-user{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.hb-testi-user img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }

/* =========================================================
   BLOG CARD (dipakai di Home + Blog template)
   ========================================================= */
.hb-blog-card{ background:#fff; border:1px solid var(--hb-border); border-radius:16px; overflow:hidden; transition: transform .25s ease, box-shadow .25s ease; }
.hb-blog-card:hover{ transform: translateY(-6px); box-shadow: var(--hb-shadow); }
.hb-blog-card-img{ display:block; aspect-ratio: 16/10; overflow:hidden; background:var(--hb-light); }
.hb-blog-card-img img{ display:block; width:100%; height:100%; object-fit:cover; transition: transform .4s ease; margin:0; }
.hb-blog-card:hover .hb-blog-card-img img{ transform: scale(1.06); }
.hb-blog-card-body{ padding: 20px 22px 24px; }
.hb-blog-meta{ font-size:.78rem; color:#8792A3; margin-bottom:8px; text-transform:uppercase; letter-spacing:.04em; }
.hb-blog-card h3{ font-size:1.05rem; margin-bottom:8px; }
.hb-blog-card h3 a{ color: var(--hb-dark); }
.hb-blog-card h3 a:hover{ color: var(--hb-secondary); }
.hb-blog-excerpt{ font-size:.9rem; color:#6b7686; }
.hb-blog-readmore{ display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:.85rem; margin-top:14px; color: var(--hb-secondary); }

/* =========================================================
   PAGE HEADER (untuk page default / blog / single)
   ========================================================= */
.hb-page-header{ background: var(--hb-light); padding: 54px 0; border-bottom:1px solid var(--hb-border); }
.hb-page-header h1{ margin:0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hb-breadcrumb{ font-size:.85rem; color:#8792A3; }
.hb-breadcrumb a{ color:#8792A3; }
.hb-breadcrumb a:hover{ color: var(--hb-secondary); }

/* content default page (non full width) */
.hb-content-area{ padding: 64px 0; }
.hb-content-wrap{ max-width: 800px; }
.hb-content-wrap img{ border-radius: 12px; }
.hb-sidebar .widget{ background:#fff; border:1px solid var(--hb-border); border-radius:14px; padding:22px; margin-bottom:22px; }
.hb-sidebar .widget-title{ font-family: var(--hb-font-heading); font-size:1.05rem; margin-bottom:14px; padding-bottom:10px; border-bottom:2px solid var(--hb-light); }

/* =========================================================
   FOOTER
   ========================================================= */
.hb-footer-cta{ background: var(--hb-primary); padding: 50px 0; }
.hb-footer-cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; color:#fff; }
.hb-footer-cta-inner h3{ color:#fff; margin:0 0 6px; }
.hb-footer-cta-inner p{ margin:0; color:#C9D3E2; }

.hb-footer{ background: var(--hb-dark); color:#8FA0BE; padding: 64px 0 0; }
.hb-footer h4{ color:#fff; font-size:1.05rem; margin-bottom:18px; }
.hb-footer-about p{ font-size:.92rem; line-height:1.8; }
.hb-footer-social{ display:flex; gap:10px; margin-top:18px; }
.hb-footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; color:#fff; }
.hb-footer-social a:hover{ background: var(--hb-accent); color: var(--hb-dark); }
.hb-footer-links{ list-style:none; margin:0; padding:0; }
.hb-footer-links li{ margin-bottom:10px; }
.hb-footer-links a{ color:#8FA0BE; font-size:.92rem; }
.hb-footer-links a:hover{ color:#fff; }
.hb-footer-contact li{ display:flex; gap:10px; margin-bottom:14px; font-size:.92rem; }
.hb-footer-bottom{ border-top:1px solid rgba(255,255,255,.08); margin-top:44px; padding:22px 0; text-align:center; font-size:.85rem; }

/* =========================================================
   ANIMASI — scroll reveal (satu jenis, terkendali, bukan "semua elemen")
   ========================================================= */
[data-aos]{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  [data-aos]{ opacity:1; transform:none; transition:none; }
}

/* fokus keyboard tetap kelihatan (aksesibilitas) */
a:focus-visible, button:focus-visible, .hb-btn:focus-visible{
  outline: 3px solid var(--hb-secondary); outline-offset: 2px;
}

/* =========================================================
   FULL WIDTH TEMPLATE HELPERS
   ========================================================= */
.hb-fullwidth-content{ overflow-x: hidden; }
.hb-fullwidth-content > *{ max-width:none; }

/* generic responsive iframe/video embed dari the_content */
.hb-content-wrap iframe, .hb-fullwidth-content iframe{ max-width:100%; }
