/* ============================================
   HEADER & NAVIGATION CUSTOMIZATION OJS 3.4
   ============================================ */

/* ====== HEADER WRAPPER ====== */
.header {
    background-color: #f8f9fa !important;
    padding: 20px 0 !important;
    border-bottom: 3px solid #ddd !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* ====== LOGO SITE / JOURNAL ====== */
.pkp_site_name .is_img img {
    max-height: 150px !important;
    width: auto !important;
    margin-right: 20px !important;
}

/* ====== SITE TITLE ====== */
.header .site-title {
    color: #222 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    padding: 10px 0 !important;
}

/* ====== SITE SUBTITLE (opsional) ====== */
.header .site-subtitle {
    color: #666 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-top: 5px !important;
}

/* ============================================
   TOP NAVIGATION MENU
   ============================================ */
.navbar {
    background-color: #188893 !important; /* ✅ warna utama tosca */
    padding: 10px 0 !important;
    border-top: 2px solid #0f5f68 !important;
    text-align: center !important;
}

.navbar a {
    color: #fff !important; /* ✅ teks putih */
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.3s ease !important;
}

.navbar a:hover,
.navbar a:focus {
    background-color: #0f6e7e !important; /* hover tosca lebih tua */
    color: #fff !important;
    border-radius: 4px !important;
}

/* ============================================
   REMOVE PKP FOOTER LOGO
   ============================================ */
.pkp_brand_footer,
.pkp_brand_footer a,
.pkp_brand_footer img {
    display: none !important;
}

/* ============================================
   VERTICAL SIDEBAR MENU CUSTOM BLOCK
   ============================================ */
.navbar-vertical {
    background: #188893 !important; /* ✅ warna sidebar tosca */
    padding: 20px !important;
    width: 220px !important;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.2) !important;
    position: relative !important;
    border-radius: 0 0 8px 0 !important;
}

/* ====== LABEL MENU ====== */
.navbar-vertical .menu-label {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    position: relative !important;
}

/* ====== GARIS DEKORATIF ====== */
.navbar-vertical .menu-label::after {
    content: "" !important;
    display: block !important;
    width: 50% !important;
    height: 3px !important;
    background: #fff !important;
    margin: 8px auto 0 auto !important;
    border-radius: 2px !important;
}

/* ====== LIST MENU ====== */
.navbar-vertical ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

/* ====== ITEM MENU ====== */
.navbar-vertical ul li {
    position: relative !important;
}

.navbar-vertical ul li a {
    color: #fff !important; /* ✅ teks putih */
    background: transparent !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

/* ====== HOVER EFFECT ====== */
.navbar-vertical ul li a:hover {
    background: #0f6e7e !important; /* hover tosca tua */
    color: #fff !important;
    transform: translateX(5px) !important;
    box-shadow: 2px 4px 8px rgba(25, 112, 138, 0.4) !important;
}

/* ====== EFEK GARIS KIRI ANIMASI ====== */
.navbar-vertical ul li a::before {
    content: "" !important;
    position: absolute !important;
    width: 0 !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    background: #0f6e7e !important;
    transition: width 0.3s !important;
    border-radius: 4px 0 0 4px !important;
}

.navbar-vertical ul li a:hover::before {
    width: 6px !important;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    .navbar-vertical {
        width: 100% !important;
        border-radius: 0 !important;
    }
    .navbar-vertical ul {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .navbar-vertical ul li a {
        padding: 10px 14px !important;
    }
}
