/* ==========================================================
   CUSTOM STYLESHEET OJS 3 - NAVY & GOLD (OCEAN BLUE THEME)
   ========================================================== */

/* ----------------------------------------------------------
   1. STYLE GLOBAL & BODY
   ---------------------------------------------------------- */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #e0f2fe; /* Latar belakang utama Biru Laut Muda */
    color: #1e293b;
}

/* ----------------------------------------------------------
   2. HEADER & MENU NAVIGASI
   ---------------------------------------------------------- */
.pkp_structure_head {
    background-color: #ffffff;
    border-bottom: 3px solid #c59b27; /* Garis aksen emas di header */
    padding: 15px 0;
}

.pkp_navigation_primary a {
    color: #1f3b58 !important; /* Warna Navy Blue */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.pkp_navigation_primary a:hover {
    color: #c59b27 !important; /* Aksen Emas saat hover */
}

/* Menu icons customization */
.nav_icon_home::before { content: "🏠 "; }
.nav_icon_current::before { content: "📖 "; }
.nav_icon_submissions::before { content: "🪶 "; }

/* ----------------------------------------------------------
   3. HERO / BANNER INFORMASI JURNAL
   ---------------------------------------------------------- */
.homepage_about, .homepage_issue {
    background: linear-gradient(135deg, #dbeafe 0%, #bae6fd 100%) !important;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid #1f3b58;
}

.homepage_about h2, .homepage_issue h2, .current_issue_title {
    color: #1f3b58 !important;
    font-family: 'Georgia', serif;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* ----------------------------------------------------------
   4. KARTU DAFTAR ARTIKEL (CURRENT ISSUE)
   ---------------------------------------------------------- */
.obj_article_summary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease-in-out;
}

.obj_article_summary:hover {
    border-color: #1f3b58;
    box-shadow: 0 4px 12px rgba(31, 59, 88, 0.1);
}

.obj_article_summary .title a {
    color: #1f3b58 !important;
    font-weight: 700;
    text-decoration: none;
}

.obj_article_summary .title a:hover {
    color: #c59b27 !important;
}

.obj_article_summary .galleys_links a,
.cmp_button, 
.btn {
    background-color: #1f3b58 !important;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
}

.obj_article_summary .galleys_links a:hover,
.cmp_button:hover, 
.btn:hover {
    background-color: #c59b27 !important;
}

/* ----------------------------------------------------------
   5. DESAIN KOTAK SIDEBAR (CARD STYLE)
   ---------------------------------------------------------- */
.pkp_structure_sidebar {
    padding: 0;
    background: transparent;
    border: none;
}

/* Styling Blok Sidebar */
.pkp_block {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 22px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Efek Hover Sidebar */
.pkp_block:hover {
    box-shadow: 0 6px 16px rgba(31, 59, 88, 0.15);
    border-color: #94a3b8;
    transform: translateY(-3px);
}

/* Judul Blok Sidebar */
.pkp_block .title {
    color: #1f3b58 !important;
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    padding-left: 10px;
    border-bottom: 1px dashed #cbd5e1;
    border-left: 4px solid #c59b27;
}

/* Konten & Tautan Sidebar */
.pkp_block .content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}

.pkp_block a {
    color: #1f3b58;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pkp_block a:hover {
    color: #c59b27;
    text-decoration: underline;
}

/* Daftar/List di Sidebar */
.pkp_block ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pkp_block ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.pkp_block ul li:last-child {
    border-bottom: none;
}

.pkp_block ul li::before {
    content: "▸ ";
    color: #c59b27;
    font-weight: bold;
    margin-right: 6px;
}

/* Tombol Aksi di Sidebar */
.pkp_block .make_submission,
.pkp_block a.btn,
.pkp_block a.button {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #1f3b58 0%, #15293e 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pkp_block .make_submission:hover,
.pkp_block a.btn:hover,
.pkp_block a.button:hover {
    background: linear-gradient(135deg, #c59b27 0%, #a37f1e 100%) !important;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

/* Gambar/Logo di Sidebar */
.pkp_block img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin: 5px 3px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.pkp_block img:hover {
    transform: scale(1.03);
}

/* ----------------------------------------------------------
   6. DESAIN FOOTER MODERN & HIGH-CONTRAST (NAVY & GOLD)
   ---------------------------------------------------------- */
/* Overwrite Wrapper bawaan OJS */
.pkp_structure_footer_wrapper {
    background-color: #0f172a !important; /* Dark Navy */
    color: #ffffff !important; /* Teks Kontras Tinggi (Putih) */
    padding: 0 !important;
    margin-top: 50px;
    border-top: 4px solid #c59b27; /* Garis aksen emas di atas footer */
}

.pkp_structure_footer {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Container Utama Footer */
.custom-ojs-footer {
    padding-top: 40px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 35px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Styling Kolom Footer */
.footer-col {
    color: #f1f5f9;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-heading {
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #c59b27;
    border-radius: 2px;
}

/* Tautan Cepat Footer & Ikon Panah */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '\276F'; /* Unicode untuk panah (❯) */
    font-size: 0.75rem;
    margin-right: 8px;
    color: #c59b27;
    transition: transform 0.2s ease;
}

.footer-links a:hover {
    color: #c59b27;
}

.footer-links a:hover::before {
    transform: translateX(4px);
}

/* Kotak ISSN */
.footer-issn {
    margin-top: 15px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.82rem;
}

/* Badges Terindeks & Ikon Centang */
.indexing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-item {
    background: rgba(197, 155, 39, 0.12);
    color: #fef08a;
    border: 1px solid rgba(197, 155, 39, 0.35);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.badge-item::before {
    content: '\2714'; /* Unicode untuk Checkmark (✔) */
    margin-right: 6px;
    font-size: 0.75rem;
}

.badge-item:hover {
    background: rgba(197, 155, 39, 0.25);
    transform: translateY(-2px);
}

/* Area Hak Cipta / Bottom Bar */
.footer-bottom {
    background-color: #020617;
    padding: 18px 0;
    font-size: 0.83rem;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #c59b27;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsif Layar HP */
@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}