/* ==========================================
   EKBIS JOURNAL - SIMPLE & ELEGANT HEADER
   https://journal.piksi.ac.id/index.php/EKBIS
   ========================================== */

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ==========================================
   HEADER SECTION
   ========================================== */

.pkp_head_wrapper {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pkp_site_name_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pkp_site_name {
    text-align: center;
}

.pkp_site_name .is_img img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}
.pkp_site_name .is_img {
    display: inline-block;
    transition: transform 0.2s ease;
}

.pkp_site_name .is_img:hover {
    transform: scale(1.05);
}

.pkp_site_name img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   NAVIGATION
   ========================================== */

.pkp_navigation_primary_row {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pkp_navigation_primary_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.pkp_navigation_primary {
    display: flex;
    list-style: none;
    gap: 0;
}

.pkp_navigation_primary li a {
    display: block;
    padding: 20px 24px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.pkp_navigation_primary li a:hover,
.pkp_navigation_primary li a:focus {
    color: #3182ce;
    border-bottom-color: #3182ce;
    background: #f7fafc;
}

/* Search Form */
.pkp_search {
    display: flex;
    align-items: center;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.pkp_search input[name="query"] {
    padding: 10px 16px;
    border: none;
    background: transparent;
    outline: none;
    width: 220px;
    font-size: 14px;
}

.pkp_search button {
    padding: 10px 16px;
    background: #3182ce;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease;
}

.pkp_search button:hover {
    background: #2c5282;
}

.search_controls {
    display: none;
}

/* ==========================================
   USER NAVIGATION
   ========================================== */

.pkp_navigation_user_wrapper {
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
}

.pkp_navigation_user {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 16px;
}

.pkp_navigation_user li a {
    color: #718096;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pkp_navigation_user li a:hover {
    background: #3182ce;
    color: white;
}

/* ==========================================
   JOURNAL CONTENT
   ========================================== */

.journal_index {
    background: linear-gradient(135deg, #edf2f7 0%, #f7fafc 100%);
    min-height: 100vh;
}

.about_journal {
    background: white;
    border-radius: 8px;
    padding: 32px;
    margin: 24px auto;
    max-width: 1000px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3182ce;
}

.about_journal h1 {
    color: #2d3748;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about_journal p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ==========================================
   BUTTONS & ELEMENTS
   ========================================== */

.btn-group, .btn-info {
    background: #ed8936;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-group:hover, .btn-info:hover {
    background: #dd6b20;
    text-decoration: none;
    color: white;
}

.btn-group a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   SIDEBAR & BLOCKS
   ========================================== */

.pkp_block .title {
    background: #3182ce;
    color: white;
    padding: 16px 20px;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
}

.block_custom {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    overflow: hidden;
}

.sidebar_heri {
    padding: 20px;
    text-align: center;
}

.sidebar_heri p {
    background: #ed8936;
    color: white;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-weight: 500;
}

.sidebar_heri p:hover {
    background: #dd6b20;
}

.sidebar_heri a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: #2d3748;
    color: #e2e8f0;
    border-top: 3px solid #ed8936;
    padding: 32px 0;
    margin-top: 40px;
}

.footer .pull-right,
.footer .container .row .col-md-4 {
    display: none;
}

/* ==========================================
   IMAGE ELEMENTS
   ========================================== */

.img_scholar, .img_doi, .img_rji {
    display: block;
    width: 80%;
    height: 50px;
    margin: 12px auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.img_scholar {
    background-image: url('/public/site/images/admin/piksi_images/Google_Scholar.png');
}

.img_doi {
    background-image: url('/public/site/images/admin/piksi_images/doi_crossref.png');
}

.img_rji {
    background-image: url('/public/site/images/admin/piksi_images/relawanjurnal.png');
}

.img_scholar:hover, .img_doi:hover, .img_rji:hover {
    transform: scale(1.05);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .pkp_site_name_wrapper {
        padding: 16px;
    }
    
    .pkp_navigation_primary_wrapper {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }
    
    .pkp_navigation_primary {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .pkp_navigation_primary li a {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .pkp_search {
        width: 100%;
        max-width: 300px;
    }
    
    .pkp_search input[name="query"] {
        width: 180px;
    }
    
    .pkp_navigation_user {
        justify-content: center;
        padding: 12px 16px;
    }
    
    .about_journal {
        margin: 16px;
        padding: 24px;
    }
    
    .about_journal h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .pkp_navigation_primary {
        flex-direction: column;
        width: 100%;
    }
    
    .pkp_navigation_primary li {
        width: 100%;
    }
    
    .pkp_navigation_primary li a {
        text-align: center;
        padding: 16px;
    }
    
    .pkp_search {
        width: 100%;
    }
    
    .pkp_search input[name="query"] {
        flex: 1;
    }
    
    .about_journal {
        margin: 12px;
        padding: 20px;
    }
    
    .about_journal h1 {
        font-size: 20px;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .pkp_navigation_primary_row,
    .pkp_navigation_user_wrapper,
    .pkp_search {
        display: none;
    }
    
    .pkp_head_wrapper {
        background: white;
        box-shadow: none;
    }
    
    .about_journal {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

