/* Hide PKP/OJS logos in footer */
.pkp_brand_footer img,
footer a img,
#immersion_content_footer .col-2 a img {
    display: none !important;
}

/* Compact footer */
footer,
.main-footer,
.site-footer {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 0.9em !important;
}

/* -----------------------------------------------
   MAKE HEADER BACKGROUND BLACK
----------------------------------------------- */

/* Main header container */
.site-header,
.pkp_site_name,
.pkp_structure_head {
    background-color: #000 !important; /* pure black */
}

/* Navbars used by OJS Bootstrap 3 */
.navbar,
.navbar-inverse,
.navbar-default {
    background-color: #000 !important;
    border-color: #000 !important;
}

/* Navbar links */
.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand {
    color: #fff !important;
}

/* -----------------------------------------------
   INCREASE LOGO SIZE IN HEADER
----------------------------------------------- */

/* Desktop logo size */
.site-header .journal-logo img,
.pkp_site_name .is_img img {
    max-height: 150px !important;   /* increase height */
    width: auto !important;
}

/* Mobile scaling */
@media (max-width: 768px) {
    .site-header .journal-logo img,
    .pkp_site_name .is_img img {
        max-height: 120px !important;
        width: auto !important;
    }
}


/* -----------------------------------------------
   GLOBAL FONT SIZE IMPROVEMENT (READABILITY)
----------------------------------------------- */


html {
    font-size: 112.5%; /* ~18px if base is 16px */
}

body {
    line-height: 1.65;
}


/* Center footer copyright text */
footer,
.site-footer,
.main-footer {
    text-align: center !important;
}

/* ==================================
   NAVBAR BACKGROUND IMAGE — FINAL
   ================================== */

.navbar,
.pkp_navigation_primary {
    position: relative;

    background-image: url("/public/site/images/navbar-bg.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Overlay */
.navbar::before,
.pkp_navigation_primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* Keep menu above overlay */
.navbar > *,
.pkp_navigation_primary > * {
    position: relative;
    z-index: 1;
}


/* Navbar overlay — tuned for bluish image */
.navbar::before,
.pkp_navigation_primary::before {
    background: rgba(0, 0, 0, 0.45); /* lighter than before */
}

/* Navbar text — white */
.navbar-nav > li > a,
.navbar-brand {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* Bold navbar text */
.navbar-nav > li > a,
.navbar-brand {
    font-weight: 700 !important;
}
