/* =========================
   JASID - Jurnal Aplikasi Sains Data
   Custom stylesheet for OJS 3
   Version: 2025-05-21
========================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* --- General Typography --- */
body, p, span, li, a {
    font-family: 'Roboto', sans-serif !important;
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif !important;
    color: #1a237e;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

h1#journalTitle {
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-align: center;
    color: #0d47a1;
    margin-bottom: 0.2em;
}

h2#journalAbbrev {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-align: center;
    color: #1565c0;
    margin-top: 0;
    margin-bottom: 2em;
}

/* --- Main Container --- */
#container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fafafa;
}

/* --- Header --- */
#header {
    background-color: #e3f2fd;
    padding: 30px 15px;
    border-bottom: 3px solid #0d47a1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Navbar --- */
#navbar {
    background-color: #0d47a1;
    padding: 10px 0;
}

#navbar a {
    color: #ffffff !important;
    font-weight: 600;
    padding: 8px 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#navbar a:hover, #navbar a:focus {
    background-color: #1565c0 !important;
    color: #ffffff !important;
    text-decoration: underline;
}

/* --- Sidebar --- */
#leftSidebar, #rightSidebar {
    background-color: #e8eaf6;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

#leftSidebar .blockTitle, #rightSidebar .blockTitle {
    font-weight: 700;
    color: #0d47a1;
    border-bottom: 2px solid #1565c0;
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* --- Links --- */
a {
    color: #1565c0;
    text-decoration: none;
}

a:hover, a:focus {
    color: #0d47a1;
    text-decoration: underline;
}

/* --- Buttons --- */
button, input[type="submit"] {
    background-color: #0d47a1;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background-color: #1565c0;
}

/* --- Footer --- */
#pageFooter {
    background-color: #0d47a1;
    color: #ffffff;
    text-align: center;
    padding: 15px 10px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    #container {
        padding: 10px;
    }
    
    #leftSidebar, #rightSidebar {
        margin-bottom: 15px;
        padding: 10px;
    }
    
    #navbar a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    h1#journalTitle {
        font-size: 2rem !important;
    }
    
    h2#journalAbbrev {
        font-size: 1.2rem !important;
    }
}
