/* Main color variables - blue theme */
:root {
    --primary-color: #00b8e6;
    --primary-dark: #458eed;
    --primary-light: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #66ffff;
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #458eed;
   

}

/* General styles */
body {
    font-family: 'Roboto', 'Noto Sans Arabic', 'Amiri';
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    font-size: 1.1rem;
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Header styles */
.pkp_structure_head {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pkp_site_name a {
    color: var(--light-text);
    font-size: 2.5rem;
    font-weight: 700;
}

/* Navigation bar background */
.pkp_site_nav_menu {
  background-color: #ffffff !important;
}

/* Navigation link color */
.pkp_site_nav_menu a {
  color: #1a73e8 !important;
  font-weight: 700;
  text-decoration: none;
}

/* Hover state */
.pkp_site_nav_menu a:hover,
.pkp_site_nav_menu a:focus {
  background-color: #cce6ff !important;
  color: #1a73e8 !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light-text);
}

/* Current issue section */
.current_issue_title {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 4px 4px 0 0;
}

.current_issue {
    border: 1px solid var(--border-color);
    border-radius: 0 0 4px 4px;
    background-color: white;
    padding: 1.5rem;
}

/* Article titles */
.article-title a {
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
/* Force unified footer background */
.pkp_structure_footer_wrapper,
.pkp_structure_footer,
.site-footer,
.site-footer .footer-left,
.site-footer .footer-center,
.site-footer .footer-right {
    background-color: #00b8e6 !important; /* choose your color */
    border: none !important;
    box-shadow: none !important;
}

.pkp_structure_footer {
    /* Darker center, lighter edges */
    background: radial-gradient(circle at center, #458eed 30%, #00b8e6 100%);
    color: var(--light-text);
    padding: 2rem 0;
}

/* Ensure links stay visible on gradient */
.pkp_structure_footer a {
    color: var(--light-text);
}


.footer-content {
  color: white; /* Makes all footer text + icons white */
  font-size: 16px;
}

.pkp_structure_footer a {
    color: var(--light-text);
}

/* Custom footer note */
.pkp_structure_footer::after {
  content: "Powered by OJS v3.5 | Theme customization - Salah Naas";
  display: block;
  text-align: center;
  color: #ffffff; /* match your footer text color */
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
}

/* Sidebar blocks */
.pkp_block {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.pkp_block .title {
    background-color: var(--primary-light);
    color: var(--light-text);
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    border-radius: 4px 4px 0 0;
}

/* Search box */
.pkp_search input[type="text"] {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 4px;
}

.pkp_search button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Homepage announcements */
.announcements h3 {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

/* Article page */
.article-details h1 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pkp_site_name a {
        font-size: 1.5rem;
    }
    
    .pkp_navigation_primary > li > a {
        padding: 0.5rem;
    }

/* Hide only the OJS footer logo */
.pkp_brand_footer {
    display: none !important;
}

.template-box {
    border: 1px solid #1a73e8; /* blue border */
    background-color: #ffffff;  /* white background */
    padding: 1em;
    margin-bottom: 1.5em;       /* space below the box */
    border-radius: 6px;         /* rounded corners */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* subtle shadow */
}

/* Optional: style the links inside */
.template-box a {
    color: #1a73e8;
    font-weight: 500;
    text-decoration: none;
    margin-right: 1em;
}

.template-box a:hover {
    background-color: #cce6ff;
    color: #1a73e8;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}
/* Hide the OJS footer logo specifically */
.pkp_brand_footer img {
    display: none !important;
}


