/* =======================================================
   CUSTOM STYLE UNTUK JURNAL MACI (Health Sciences Theme)
   ======================================================= */

/* === WARNA UTAMA === */
:root {
  --main-green: #1a8a70;
  --dark-green: #157a62;
  --light-green: #20b18f;
}

/* === NAVBAR UTAMA === */
.pkp_navigation_primary_wrapper,
.pkp_site_nav_menu,
.pkp_navigation_primary {
  background: var(--main-green) !important;
  border-bottom: 2px solid var(--dark-green);
  color: #ffffff !important;
}

.pkp_navigation_primary a {
  color: #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
}

.pkp_navigation_primary a:hover,
.pkp_navigation_primary a:focus,
.pkp_navigation_primary a:active {
  background: var(--dark-green) !important;
  color: #ffffff !important;
}

/* === SUBMENU / DROPDOWN === */
.pkp_navigation_primary ul {
  background: var(--main-green) !important;
  border: none !important;
}

.pkp_navigation_primary ul a {
  color: #ffffff !important;
}

.pkp_navigation_primary ul a:hover {
  background: var(--light-green) !important;
  color: #ffffff !important;
}

/* === SEARCH AREA (hilangkan warna hitam) === */
.pkp_site_nav_menu .pkp_search,
.pkp_navigation_primary_wrapper .pkp_search,
.pkp_site_nav_menu .pkp_search .pkp_search_prompt {
  background: var(--main-green) !important;
  color: #ffffff !important;
  border-left: 1px solid var(--dark-green);
}

.pkp_search .pkp_search_prompt {
  color: #ffffff !important;
}

.pkp_search:hover {
  background: var(--light-green) !important;
}

/* === RIGHT SIDEBAR CUSTOM MENU === */
#rightSidebar .block.custom ul {
  list-style-type: none;
  display: block;
  padding: 0;
  background-color: var(--main-green);
  box-shadow: 0px 0px 5px var(--dark-green);
  border-radius: 6px;
  margin: 0;
  width: 95%;
  font-size: 13px;
}

#rightSidebar .block.custom li {
  border-bottom: 1px solid #f5f5f5;
}

#rightSidebar .block.custom a,
#rightSidebar .block.custom span {
  color: #f5f5f5 !important;
  display: block;
  padding: 8px;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#rightSidebar .block.custom a:hover {
  background-color: var(--light-green);
  color: #ffffff !important;
}

/* === FOOTER === */
.pkp_structure_footer {
  background: var(--dark-green) !important;
  color: #ffffff !important;
}

.pkp_structure_footer a {
  color: #ffffff !important;
}

.pkp_structure_footer a:hover {
  color: #e0e0e0 !important;
}

/* === BUTTONS === */
.pkp_button,
.pkp_button_primary {
  background: var(--main-green) !important;
  border-color: var(--dark-green) !important;
  color: #fff !important;
}

.pkp_button:hover,
.pkp_button_primary:hover {
  background: var(--light-green) !important;
  border-color: var(--main-green) !important;
}

/* === HOMEPAGE BACKGROUND IMAGE === */
.pkp_page_index {
  /* GANTI URL GAMBAR DI SINI ↓↓↓ */
  background: url("https://jurnal.bisnislombok.ac.id/public/site/images/YOURFOLDER/da4cdd7d-9134-42e3-89db-7c14b0a713a2.png")
              no-repeat center center fixed !important;
  background-size: cover !important;
  position: relative;
  color: #ffffff !important;
}

.pkp_page_index::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.pkp_page_index section,
.pkp_page_index .journal_description,
.pkp_page_index .current_issue {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
}

/* === TAMPILAN HALAMAN LAIN === */
.pkp_page_about,
.pkp_page_contact,
.pkp_page_editorialTeam {
  background: #ffffff !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  #rightSidebar .block.custom ul {
    width: 100%;
    font-size: 14px;
  }

  .pkp_navigation_primary a {
    font-size: 14px;
  }

  .pkp_page_index {
    background-attachment: scroll !important;
  }
}
