/* === CSS MODERN UNTUK JURNAL LELEMUKU - OJS VERSION === */
/* Langsung paste di Settings > Website > Appearance > Additional CSS */

/* === VARIABLES & RESET === */
:root {
    --primary: #ffffff;
    --primary-light: #1e2f4a;
    --secondary: #c3f0ff;
    --secondary-light: #b4f0f7;
    --accent: #2b7a4b;
    --text-light: #f0f4fa;
    --text-dark: #1a2634;
    --text-muted: #6c757d;
    --gray-bg: #f8fafd;
    --border-color: #e9ecef;
    --border-light: rgba(255,255,255,0.1);
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-hover: 0 30px 50px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #00ea33 0%, #6eea89 100%);
    --gradient-accent: linear-gradient(45deg, #c3f0ff, #ff9e40);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* === IMPORT FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* === GLOBAL STYLES === */
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: white;
    overflow-x: hidden;
    line-height: 1.2;
}




/* === ANIMASI SELAMAT DATANG BERJALAN === */
.welcome-banner {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), #ff6b6b);
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    border-bottom: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% { left: 100%; }
}

.welcome-track {
    display: flex;
    white-space: nowrap;
    animation: scrollWelcome 30s linear infinite;
}

.welcome-item {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-right: 3rem;
}

.welcome-item i {
    margin: 0 1rem;
    font-size: 1.5rem;
    color: #ffd700;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes scrollWelcome {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Untuk menempatkan banner di atas konten */
.pkp_structure_content {
    position: relative;
}

.pkp_structure_content::before {
    content: '';
    display: block;
    height: 70px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-bottom: 2rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 10s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Teks selamat datang dengan pseudo-element */
.pkp_structure_content::after {
    content: '✦ Welcome to Journal of Business Application ✦';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    color: #00ea33;
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
    white-space: nowrap;
    animation: slideWelcome 25s linear infinite;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    padding: 0.5rem 0;
}

@keyframes slideWelcome {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}









/* === ANIMASI BACKGROUND FLOATING UNTUK OJS === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(245,124,0,0.02) 0%, transparent 30%),
                radial-gradient(circle at 90% 80%, rgba(43,122,75,0.02) 0%, transparent 40%),
                radial-gradient(circle at 30% 60%, rgba(10,25,41,0.02) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: floatBg 30s ease-in-out infinite;
}



/* === HEADER OJS CUSTOMIZATION === */
.pkp_structure_head {
    background: #00ea33 !important;
 }



/* Logo area */
.pkp_site_name {
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    margin: 0 !important;
}

/* Logo icon - menggunakan pseudo-elements */
.pkp_site_name::before {
    content: '\f0c5'; /* FontAwesome scroll icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
    animation: pulse 2s ease infinite;
    position: relative;
    overflow: hidden;
}

.pkp_site_name::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 65px;
    height: 65px;
    background: conic-gradient(transparent, var(--secondary), transparent, var(--accent), transparent);
    animation: rotate 4s linear infinite;
    border-radius: 18px;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}






/* === MAIN CONTENT === */
.pkp_structure_main {
    background: white;
    border-radius: 40px;
    padding: 2.5rem !important;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    #position: relative;
    overflow: hidden;
    #margin: 3rem auto !important;
    max-width: 1400px;
}

.pkp_structure_main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,124,0,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Journal title */
.pkp_structure_main h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #01026d;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: var(--font-heading);
    animation: slideInRight 1s ease;
    border: none;
    padding: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Journal subtitle */
.pkp_structure_main h2 {
    font-size: 1.3rem;
    color: #a80000;
    margin-bottom: 2rem;
    font-weight: 500;
    border-left: 4px solid #a80000;
    padding-left: 1.5rem;
}

/* Description */
.pkp_structure_main p {

    color: var(--text-dark);

    opacity: 0.9;
}

/* Info grid untuk journal info */
.pkp_structure_main .obj_article_details {
    display: grid;
    margin: 2.5rem 0;
}

.pkp_structure_main .obj_article_details > div {
    background: var(--gray-bg);
    border-radius: 24px;
    padding: 1.8rem;
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.pkp_structure_main .obj_article_details > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.4s;
}

.pkp_structure_main .obj_article_details > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pkp_structure_main .obj_article_details > div:hover::before {
    width: 8px;
}

/* === SIDEBAR === */
.pkp_structure_sidebar {
    background: transparent !important;
}

.pkp_block {
    background: white !important;
    border-radius: 30px !important;
    padding: 2rem !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    margin-bottom: 2rem !important;
}

.pkp_block .title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.8rem !important;
    border-bottom: 3px solid var(--secondary) !important;
    display: inline-block;
    text-transform: none !important;
}

/* Metric list */
.pkp_block ul:not(.menu) li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.pkp_block ul:not(.menu) li:last-child {
    border-bottom: none;
}

.pkp_block ul:not(.menu) li span:first-child {
    font-weight: 500;
    color: var(--text-muted);
}

.pkp_block ul:not(.menu) li span:last-child {
    font-weight: 700;
    color: var(--secondary);
    background: rgba(245,124,0,0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
}

/* Cover image placeholder */
.pkp_block .current_issue {
    text-align: center;
}

.pkp_block .current_issue::before {
    content: '';
    display: block;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    margin-bottom: 1rem;
    position: relative;
}

.pkp_block .current_issue::after {
    content: '📔 Cover Jurnal';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
}

/* Indexed items */
.indexed-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.indexed-items span {
    background: #f1f4f9;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Template button */
.pkp_block a[href*="template"] {
    display: block;
    background: var(--gradient-accent);
    color: white;
    padding: 1rem;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.pkp_block a[href*="template"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* === FOOTER 1 KOLOM === */
.pkp_structure_footer {
    background: rgba(255,255,255,0.2) !important;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    #padding: 4rem 0 2rem !important;
    border-top: 4px solid var(--secondary) !important;
}

/* Wave effect */
.pkp_structure_footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 45px;
    transform: rotate(180deg);
}

.pkp_footer_content {
    max-width: 800px; /* Lebih sempit untuk 1 kolom */
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    #display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #003992;
}

/* Footer logo section */
.pkp_footer_content > div:first-child {
    width: 100%;
    margin-bottom: 2rem;
}

.pkp_footer_content > div:first-child p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Social links - menggunakan Flexbox untuk ikon */
.pkp_footer_content > div:first-child .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pkp_footer_content > div:first-child .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.pkp_footer_content > div:first-child .social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Grid untuk menu links - dibuat 3 kolom di dalam 1 kolom utama */
.footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
}

/* Footer titles */
.pkp_footer_content h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.pkp_footer_content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

/* Footer links */
.pkp_footer_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_footer_content ul li {
    margin-bottom: 0.8rem;
}

.pkp_footer_content ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pkp_footer_content ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* Newsletter section - full width */
.footer-newsletter {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto 0;
    text-align: center;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

/* Newsletter form */
.footer-newsletter form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.footer-newsletter input[type="email"] {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 250px;
}

.footer-newsletter input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter button[type="submit"] {
    background: var(--secondary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter button[type="submit"]:hover {
    transform: scale(1.1);
    background: var(--secondary-light);
}

/* Contact info */
.footer-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--secondary);
}

/* Copyright */
.pkp_footer_content .copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    width: 100%;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .footer-menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-newsletter form {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-newsletter input[type="email"] {
        width: 100%;
    }
    
    .footer-contact p {
        flex-direction: column;
        gap: 0.2rem;
    }
}

/* Copyright */
.pkp_footer_content .copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* === ARTIKEL LIST === */
.obj_article_list {
    display: grid;
    gap: 1.5rem;
}

.obj_article_summary {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.obj_article_summary .title {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    margin-bottom: 0.5rem !important;
}

.obj_article_summary .authors {
    color: #01026d;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* === TOMBOL === */
.pkp_button,
input[type="submit"],
button:not(.pkp_footer_content button) {
    background: var(--gradient-accent) !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 10px 20px rgba(245,124,0,0.2) !important;
}

.pkp_button:hover,
input[type="submit"]:hover,
button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(245,124,0,0.3) !important;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .pkp_footer_content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pkp_head_wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pkp_site_name {
        width: 100%;
        justify-content: center;
    }
    
    .pkp_navigation_primary ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pkp_structure_main {
        padding: 1.5rem !important;
        margin: 1.5rem !important;
    }
    
    .pkp_structure_main h1 {
        font-size: 2rem;
    }
    
    .pkp_structure_main h2 {
        font-size: 1.2rem;
    }
    
    .pkp_structure_main .obj_article_details {
        grid-template-columns: 1fr;
    }
    
    .pkp_footer_content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pkp_site_name a {
        font-size: 1.5rem !important;
    }
    
    .pkp_site_name::before {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .pkp_structure_main h1 {
        font-size: 1.8rem;
    }
}

/* === ANIMATIONS === */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === FIX UNTUK ELEMEN OJS === */
.pkp_site_name .pkp_site_name_content {
    display: flex;
    flex-direction: column;
}

.pkp_site_name .pkp_site_name_content a {
    order: 1;
}

.pkp_navigation_primary ul li a:before {
    display: none !important;
}

.pkp_block .content {
    padding: 0 !important;
}

/* Ikon untuk menu */
.pkp_navigation_primary ul li:nth-child(1) a i:before { content: '\f015'; } /* home */
.pkp_navigation_primary ul li:nth-child(2) a i:before { content: '\f05a'; } /* about */
.pkp_navigation_primary ul li:nth-child(3) a i:before { content: '\f0c0'; } /* users */
.pkp_navigation_primary ul li:nth-child(4) a i:before { content: '\f0f6'; } /* submissions */
.pkp_navigation_primary ul li:nth-child(5) a i:before { content: '\f187'; } /* archives */
.pkp_navigation_primary ul li:nth-child(6) a i:before { content: '\f002'; } /* search */
.pkp_navigation_primary ul li:nth-child(7) a i:before { content: '\f0e0'; } /* contact */

/* === CUSTOM BLOCK UNTUK ABOUT === */
.pkp_block.about-block .content {
    position: relative;
}

.pkp_block.about-block .content p:first-child {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.pkp_page_index .additional_content {
    padding: 0.143rem .714rem 0 .714rem;
    border-top: 1px solid #ddd;
}