/* ======================================= */
/* INSPIREA HEADER 2-BAR (CLEAN)           */
/* ======================================= */

/* Sticky harus di header container, bukan wrap */
#masthead.site-header{
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #fff;
}

/* Saat scroll: transparan 25% */
body.im-scrolled #masthead.site-header{
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}

/* ===== TOP BAR ===== */
.im-header-wrap .im-bar-top{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* TOP BAR inner */
.im-header-wrap .im-bar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo kiri */
.im-header-wrap .im-brand{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.im-header-wrap .im-brand img{
  height: 60px;
  width: auto;
}

/* Search center */
.im-header-wrap .im-search-desktop{
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

/* Search form */
.im-header-wrap .im-search-form{
  width: min(560px, 100%);
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 14px;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.im-header-wrap .im-search-form:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.98);
}
.im-header-wrap .im-search-form:focus-within{
  border-color: rgba(0,90,137,0.35);
}

/* input: kecil, normal */
.im-header-wrap .im-search-input{
  width: 100%;
  height: 42px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 400;
  font-family: inherit;
  color: #111827;
}
.im-header-wrap .im-search-input::placeholder{
  font-size: 13px;
  font-weight: 400;
  opacity: .65;
}

/* tombol search di dalam */
.im-header-wrap .im-search-btn{
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.im-header-wrap .im-search-btn:hover{
  background: rgba(0,0,0,0.10);
  transform: translateY(-1px);
}
.im-header-wrap .im-search-btn svg{
  width: 18px;
  height: 18px;
  fill: #000000;   /* 🔥 benar-benar hitam */
  display:block;
}


/* Tombol kanan */
.im-header-wrap .im-actions{
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* style button kanan */
.im-header-wrap .im-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: #005A89;
  color: #fff;
  text-decoration: none;
  font-size: 13px;      /* kecil */
  font-weight: 600;     /* jangan terlalu tebal */
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.im-header-wrap .im-btn svg{
  width: 17px;
  height: 17px;
  fill: #fff;
}
.im-header-wrap .im-btn:hover{
  background: #063d5b;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

/* Burger (mobile) hidden on desktop */
.im-header-wrap .im-burger{
  display: none;
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  gap: 8px;
  align-items: center;
}
.im-header-wrap .im-burger svg{
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ===== BOTTOM BAR ===== */
/* ======================================= */
/* BOTTOM BAR (MENU 2 - SLIM VERSION)     */
/* ======================================= */

.im-bar-bottom{
  background: #e9edf2;                 /* ✅ beda dari bg body (#f1f3f5) */
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Inner container */
.im-bar-bottom .im-bar-inner{
  height: 38px;                        /* ✅ lebih pendek */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Menu wrapper */
.im-bottom-nav{
  display: flex;
  align-items: center;
  gap: 18px;                           /* ✅ jarak antar menu */
}

/* Menu links */
.im-bottom-nav a{
  font-size: 13px;                     /* kecil & proporsional */
  font-weight: 500;                    /* jangan tebal */
  padding: 6px 4px;                    /* slim */
  color: #374151;
  text-decoration: none;
  transition: color .15s ease;
}

.im-bottom-nav a:hover{
  color: #111827;
}

/* Hilangkan margin default ul */
.im-bottom-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

/* ===== MOBILE BEHAVIOR ===== */
@media (max-width: 768px){
  .im-header-wrap .im-search-desktop{ display: none; }
  .im-header-wrap .im-actions{ display: none; }
  .im-header-wrap .im-bar-bottom{ display: none; }
  .im-header-wrap .im-burger{
    display: inline-flex;
    margin-left: auto;
  }
  .im-header-wrap .im-bar-inner{
    padding: 10px 14px;
  }
  .im-header-wrap .im-brand img{ height: 54px; }
}

/* ===== MOBILE DRAWER ===== */
.im-header-wrap .im-mobile-drawer{
  display: none;
  background: rgba(17,17,17,0.96);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
}
body.im-mobile-open .im-header-wrap .im-mobile-drawer{
  display: block;
}

.im-header-wrap .im-mobile-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px;
  display: grid;
  gap: 14px;
}
.im-header-wrap .im-mobile-block h4{
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  opacity: .85;
}
.im-header-wrap .im-mobile-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.im-header-wrap .im-mobile-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
}
.im-header-wrap .im-mobile-menu a:hover{
  background: rgba(255,255,255,0.10);
}



/* ===================================================== */
/* FIX: SEARCH ICON KEHILANGAN / KETUTUP BACKGROUND      */
/* ===================================================== */

/* ===================================================== */
/* FIX DARURAT: TOMBOL SEARCH HILANG (KETUTUP/KE-RESET)   */
/* ===================================================== */

/* Pastikan form jadi flex dan tidak ketutup apa pun */
.im-header-wrap .im-search-form{
  position: relative;
  z-index: 9999;
  display: flex !important;
  align-items: center !important;
}

/* Pastikan input tidak menutupi tombol */
.im-header-wrap .im-search-input{
  flex: 1 1 auto;
  min-width: 0;
}

/* Paksa tombol tampil dan di atas */
.im-header-wrap .im-search-btn{
  flex: 0 0 auto;
  position: relative !important;
  z-index: 10000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,0.06) !important;
}

/* Kalau ada pseudo overlay yang nutupin, matikan */
.im-header-wrap .im-search-form::before,
.im-header-wrap .im-search-form::after,
.im-header-wrap .im-search-btn::before,
.im-header-wrap .im-search-btn::after{
  content: none !important;
}

/* Pastikan icon (emoji / svg) terlihat */
.im-header-wrap .im-search-btn svg,
.im-header-wrap .im-search-btn svg path{
  fill: #000 !important;
  opacity: 1 !important;
}

