/*
 * WiseLeaf Header Enhancement - Professional Journal Header
 * Based on homepage design patterns for consistency
 * Applying world-class journal design standards
 */

/* Import homepage-consistent fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500;600;700&family=Merriweather:wght@300;400;500;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Enhanced Professional Header */
.pkp_structure_head {
  background: var(--gradient-main) !important;
  box-shadow: var(--shadow-lg) !important;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
}

.pkp_head_wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

/* Journal Title and Logo Area */
.pkp_site_name_wrapper {
  flex: 1;
  min-width: 300px;
}

.pkp_site_name {
  margin: 0 !important;
  padding: 0.5rem 0;
}

.pkp_site_name a {
  color: white !important;
  text-decoration: none !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  font-family: 'Merriweather', serif !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  line-height: 1.2 !important;
  display: block !important;
}

/* Add Journal Subtitle */
.pkp_site_name::after {
  content: "Leading Research in Pharmaceutical Sciences";
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 0.25rem;
  font-family: 'Inter', sans-serif;
}

/* Professional Navigation Bar */
.pkp_site_nav_menu {
  width: 100%;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(15px);
  border-radius: 12px !important;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pkp_navigation_primary {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.pkp_navigation_primary li {
  margin: 0 !important;
}

.pkp_navigation_primary li a {
  color: white !important;
  text-decoration: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  display: block !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  white-space: nowrap !important;
}

.pkp_navigation_primary li a:hover,
.pkp_navigation_primary li.current a {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
  color: white !important;
  text-decoration: none !important;
}

/* User Navigation Area */
.pkp_navigation_user {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  padding: 0.5rem !important;
}

.pkp_navigation_user a {
  color: white !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}

.pkp_navigation_user a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  text-decoration: none !important;
}

/* Search Integration in Header */
.pkp_search {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 25px !important;
  padding: 0.5rem 1rem !important;
  margin: 0 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.pkp_search input {
  background: transparent !important;
  border: none !important;
  color: white !important;
  padding: 0.5rem !important;
  font-size: 0.9rem !important;
  width: 200px !important;
}

.pkp_search input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.pkp_search input:focus {
  outline: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Navigation Toggle */
.pkp_site_nav_toggle {
  display: none;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.pkp_site_nav_toggle:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

/* Responsive Enhancements */
@media (max-width: 1024px) {
  .pkp_navigation_primary {
    justify-content: flex-start !important;
  }
  
  .pkp_navigation_primary li a {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 768px) {
  .pkp_head_wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  
  .pkp_site_name_wrapper {
    text-align: center;
    min-width: auto;
    margin-bottom: 1rem;
  }
  
  .pkp_site_name a {
    font-size: 1.5rem !important;
  }
  
  .pkp_site_nav_toggle {
    display: block !important;
    margin-bottom: 1rem;
  }
  
  .pkp_site_nav_menu {
    display: none;
    margin-top: 0;
  }
  
  .pkp_site_nav_menu.is-visible {
    display: block !important;
  }
  
  .pkp_navigation_primary {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .pkp_navigation_primary li a {
    text-align: center !important;
    padding: 1rem !important;
  }
  
  .pkp_search {
    margin: 1rem 0 !important;
  }
  
  .pkp_search input {
    width: 100% !important;
  }
}

/* Professional Footer to Match Header */
.pkp_structure_footer {
  background: var(--text-primary) !important;
  color: white !important;
  padding: 3rem 0 1rem !important;
  margin-top: 4rem !important;
  border-top: 4px solid var(--primary-color) !important;
}

.pkp_structure_footer .pkp_footer_content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.pkp_structure_footer a {
  color: #d1d5db !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.pkp_structure_footer a:hover {
  color: white !important;
  text-decoration: underline !important;
}

/* Copyright and Attribution */
.pkp_structure_footer::before {
  content: "© 2025 Journal of Advanced Pharmaceutical Sciences and Natural Products. All rights reserved.";
  display: block;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  color: #9ca3af;
  font-size: 0.9rem;
}




