/* General Body and Text */
body {
    font-family: 'Noto Sans', Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #F8F8F8; /* Light background for the overall page */
    /* Full Page Background Image */
    /*background-image: url('https://revue.ub.edu.bi/public/images/sen1.jpg'); *//* !!! REPLACE WITH YOUR IMAGE URL !!! */
    background-repeat: no-repeat;
    background-size: cover; /* Ensures image covers the entire viewport */
    background-position: center center;
    background-attachment: fixed; /* Keeps image fixed when scrolling */
    background-color: #f4f4f4; /* Fallback color */
}



/* Semi-transparent overlay for better text readability over background image */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* White overlay with 75% opacity */
    z-index: -1; /* Place it behind the content */
}





/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #003366; /* Primary brand color for headings */
    font-weight: 700;
}

/* Primary Navigation Links */
.pkp_navigation_primary_row a {
    color: #0056b3;
    font-weight: 600;
    text-transform: uppercase;
}
.pkp_navigation_primary_row a:hover,
.pkp_navigation_primary_row a:focus {
    color: #007bff;
    text-decoration: underline;
}

/* Buttons (e.g., Submit, View Issue) */
.pkp_button,
.btn-primary {
    background-color: #0056b3;
    color: #FFFFFF;
    border-color: #0056b3;
    border-radius: 5px;
}
.pkp_button:hover,
.btn-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
}

/* Links (general) */
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- Footer Styling for Full Width --- */

/* Hide the default OJS logo */
.pkp_brand_footer {
    display: none !important;
}

/* Ensure the main OJS footer container spans full width */
.pkp_structure_footer {
    padding: 0; /* Remove default padding */
    border-top: none; /* Remove default border */
    background-color: transparent; /* Keep background transparent if main page has background image */
    box-shadow: none; /* Remove default shadow */
    width: 100%; /* Ensure it always takes full width */
}

/* The custom wrapper for your footer content */
.journal-footer-wrapper {
    display: flex; /* Use flexbox for responsive column layout */
    flex-wrap: wrap; /* Allow sections to wrap onto new lines on small screens */
    justify-content: space-around; /* Distribute sections evenly with space */
    align-items: flex-start; /* Align content to the top within each section */

    background-color: #ECEFF1; /* Light grey background for the footer content */
    color: #555;
    font-family: 'Noto Sans', Arial, sans-serif;
    font-size: 0.9em;
    padding: 30px 20px; /* Padding inside the footer content */
    border-top: 1px solid #EAEAEA; /* Subtle top border */
    width: 100%; /* Ensure this wrapper also takes full width */
    box-sizing: border-box; /* Include padding in the element's total width */
}

/* Styling for each section within the footer */
.journal-footer-wrapper .footer-section {
    flex: 1 1 280px; /* Allows sections to grow/shrink, with a base width of 280px */
    margin: 15px; /* Space around each section */
    text-align: left;
}

.journal-footer-wrapper .footer-section h3 {
    color: #003366; /* Heading color */
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.journal-footer-wrapper .footer-section p {
    margin-bottom: 8px; /* Spacing between lines of text */
    line-height: 1.4;
}

.journal-footer-wrapper .footer-section a {
    color: #007bff; /* Link color */
    text-decoration: none;
}

.journal-footer-wrapper .footer-section a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .journal-footer-wrapper {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center items horizontally when stacked */
        padding: 20px 10px; /* Adjust padding for smaller screens */
    }

    .journal-footer-wrapper .footer-section {
        flex: 1 1 100%; /* Each section takes full width */
        margin: 10px 0; /* Adjust margin */
        text-align: center; /* Center text in sections on small screens */
    }
}