
/* ===== OJS 3 Custom CSS with Teal Theme ===== */

/* General body style */
body {
    background-color: #f5f8fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}

/* Header / Site name */
.pkp_site_name {
    color: #00A9BB;
    font-weight: bold;
    font-size: 28px;
}

/* Navigation bar (primary) */
.pkp_navigation_primary ul {
    background-color: #00A9BB;
}

.pkp_navigation_primary ul li a {
    color: #ffffff;
    padding: 12px 16px;
}

.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary ul li a:focus {
    background-color: #008a99;
    color: #ffffff;
}

/* Current issue title */
.page_index_journal .current_issue h2 {
    color: #006f7c;
    font-size: 24px;
    margin-top: 20px;
}

/* Footer styling */
.pkp_site_footer {
    background-color: #004f56;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.pkp_site_footer a {
    color: #00A9BB;
}

/* Buttons */
.btn-primary {
    background-color: #00A9BB;
    border-color: #00A9BB;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #008a99;
    border-color: #008a99;
}

/* Links */
a {
    color: #00A9BB;
}

a:hover {
    color: #006f7c;
}

/* Hide OJS branding (optional) */
.pkp_brand_footer {
    display: none;
}

/* Article page styling */
.obj_article_details h1 {
    font-size: 30px;
    color: #004f56;
}

.obj_article_details .author {
    font-style: italic;
    color: #555;
}

/* Sidebar headings */
.pkp_block .title {
    background-color: #00A9BB;
    color: #ffffff;
    padding: 8px;
    font-weight: bold;
}

/* Responsive layout for mobile */
@media screen and (max-width: 768px) {
    .pkp_navigation_primary ul {
        flex-direction: column;
    }
}

/* Add DOI icon before any DOI link */
a[href*="doi.org"]::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/public/doilogo.png'); /* ← Replace this path */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
    vertical-align: middle;
}

/* Optional: style the link itself */
a[href*="doi.org"] {
    color: #00A9BB;
    text-decoration: none;
}

/* Optional: hide any text like "DOI:" before the link */
.doi_label,
span.doi,
div.doi {
    display: none !important;
}

/* Add static image to sidebar */
.pkp_structure_sidebar::before {
    content: "";
    display: block;
    width: 100%;
    height: 150px; /* adjust as needed */
    background-image: url('/public/doilogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
}
/* Define bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply bounce on hover only */
.pkp_site_name:hover {
    animation: bounce 0.6s ease-in-out;
}

.pkp_site_name {
    font-size: 42px;     /* Increase from default */
    font-weight: 700;
    line-height: 1.2;
}
/* Zoom in page content slightly */
body {
    transform: scale(1.07);         /* 10% zoom in */
    transform-origin: top center;
    overflow-x: hidden;             /* prevent horizontal scroll */
}

/* Prevent content from triggering scroll by overflow */
html {
    overflow-x: hidden;
}
/* Default: English (LTR) */
.pkp_site_name {
  transform: translate(20px, -10px);
  transition: transform 0.3s ease;
}

/* For Kurdish, Arabic (RTL) */
[dir="rtl"] .pkp_site_name {
  transform: translate(-20px, -10px);
}