/*
Al-Falah Journal Style - Dark Elegant Version + Smooth Transition
Theme colors: Hijau Gelap (#1A2B00), Merah Marun (#8B0000), Merah Terang (#FF4444), Biru Lembut (#3399FF), Hijau Muda (#E8FBC8)
*/

/* === General Body and Page Structure === */
body {
  font-family: tahoma, geneva, sans-serif !important;
  background: #1a2b00;
  color: #e8fbc8;
  transition: background 0.6s ease, color 0.4s ease;
}

.pkp_structure_page {
  margin: 0 auto;
  max-width: 1160px;
  background: #2b4005;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}

/* === Header === */
.pkp_site_name_wrapper {
  background: #8b0000;
  margin-bottom: 0 !important;
  padding: 0 !important;
  transition: background 0.4s ease;
}

.pkp_site_name .is_img img {
  max-height: 220px !important;
  width: 100% !important;
  object-fit: cover;
}

.pkp_site_name a {
  margin: auto !important;
}

/* === Navigation Bar === */
.pkp_navigation_primary_row {
  background: #8b0000;
  font-weight: bold;
  border-top: 2px solid #ff4444;
  padding-left: 30px;
  padding-right: 30px;
  transition: background 0.4s ease;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  color: #e8fbc8 !important;
  padding: 0 15px !important;
  line-height: 40px !important;
  transition: all 0.4s ease;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: #ff4444;
  color: #1a2b00 !important;
  border-radius: 20px !important;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

/* === Sidebar === */
.kepala {
  color: #e8fbc8;
  background: #8b0000;
  padding: 10px;
  font-family: arial;
  line-height: 23px;
  border-bottom: 4px solid #ff4444;
  font-weight: bold;
  text-align: left;
  transition: background 0.4s ease;
}

.badan {
  margin-top: -15px;
}

.badan a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #ff4444;
  background: #2b4005;
  color: #e8fbc8 !important;
  text-align: left;
  transition: all 0.4s ease;
}

.badan a:hover {
  background: #ff4444;
  color: #1a2b00 !important;
  font-weight: bold;
  padding: 15px;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

/* === Article Summary === */
.obj_article_summary {
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  background: #2b4005;
  border-bottom: solid 4px #8b0000 !important;
  font-size: 12px;
  color: #e8fbc8;
  transition: all 0.4s ease;
}

.obj_article_summary:hover {
  background: #3b5008;
  transform: translateY(-3px);
  box-shadow: 4px 4px 10px rgba(255, 68, 68, 0.3);
}

/* === Main Links and Headings === */
.pkp_structure_main h1 {
  font-weight: 600;
  font-size: 20px;
  color: #ff4444;
  transition: color 0.4s ease;
}

.pkp_structure_main a {
  color: #3399ff !important;
  transition: color 0.4s ease;
}

.pkp_structure_main a:hover {
  color: #ff4444 !important;
}

/* === Footer === */
.pkp_structure_footer_wrapper {
  background: #2b4005;
  border-top: 4px solid #8b0000;
  border-bottom: 20px solid #8b0000;
  color: #e8fbc8;
  transition: background 0.4s ease, color 0.4s ease;
}

.pkp_footer_content {
  float: left;
  width: 70%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.pkp_brand_footer {
  float: right;
  width: 20%;
  padding-bottom: 10px;
  padding-top: 50px;
}

/* === Buttons and Galleys === */
.obj_galley_link {
  font-weight: 700;
  text-transform: capitalize !important;
  background: #8b0000 !important;
  color: #e8fbc8 !important;
  border: solid 1px #ff4444 !important;
  transition: all 0.4s ease;
}

.obj_galley_link:hover {
  background: #ff4444 !important;
  color: #1a2b00 !important;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

/* === Dropdown and Profile === */
.dropdown-menu {
  background: #8b0000 !important;
  transition: background 0.4s ease;
}

.dropdown-menu li a {
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  color: #ff4444 !important;
}

.profile a {
  background: #ff4444;
  color: #1a2b00 !important;
  border-radius: 15px !important;
  padding-left: 10px;
  padding-right: 10px;
  transition: all 0.4s ease;
}

.profile a:hover {
  background: #8b0000;
  color: #e8fbc8 !important;
}

/* === Responsive === */
@media (max-width: 600px) {
  .homepage_about {
    width: 100%;
  }
  .pkp_structure_main {
    padding-top: 20px !important;
  }
}

@media (max-width: 991px) {
  .homepage_about {
    margin-top: 30px;
  }
  .pkp_structure_main {
    margin-top: 0 !important;
  }
  .pkp_site_name_wrapper {
    padding-bottom: 0;
  }
}

@media (max-width: 360px) {
  .homepage_image {
    width: 90%;
    margin: 0;
  }
  .homepage_about {
    margin-top: 0;
  }
  .pkp_structure_main {
    padding-top: 0 !important;
  }
}
