/* ============================================
   WASAṮHA: JURNAL STUDI ISLAM DAN HUMANIORA
   CSS LENGKAP DENGAN EFEK SLIDE
   ============================================ */

/* ---------- FONT ELEGAN ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---------- VARIABEL WARNA ---------- */
:root {
    --gold: #C6A43F;
    --gold-dark: #A8882E;
    --gold-light: #E2CD8A;
    --gold-glow: rgba(198, 164, 63, 0.6);
    --dark-bg: #1C1B1A;
    --charcoal: #2C2C2C;
    --cream: #F9F6F0;
    --white: #FFFFFF;
    --brown-dark: #3D2B1F;
}

/* ---------- GLOBAL STYLE ---------- */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: #2E2E2E;
    line-height: 1.6;
}

h1, h2, h3, h4, .pkp_site_name, .page_title, .title, .obj_article_title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- HEADER MEWAH ---------- */
.pkp_structure_head {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F2EB 100%);
    border-bottom: 3px solid var(--gold);
    position: relative;
}

.pkp_structure_head:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.pkp_site_name__title a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Cormorant Garamond', serif;
}

.pkp_site_name__title a:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 8px auto 0;
}

/* ---------- NAVIGASI HOVER ---------- */
.navbar-nav .nav-link, 
.pkp_navigation_primary .nav-item a {
    position: relative;
    color: #333;
    transition: color 0.3s;
    font-weight: 500;
}

.navbar-nav .nav-link:after, 
.pkp_navigation_primary .nav-item a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after, 
.pkp_navigation_primary .nav-item a:hover:after {
    width: 100%;
}

.navbar-nav .nav-link:hover, 
.pkp_navigation_primary .nav-item a:hover {
    color: var(--gold);
}

/* ============================================
   SIDEBAR SECTION
   ============================================ */

/* Container sidebar */
.wasatha-sidebar {
    font-family: 'Montserrat', sans-serif;
}

/* Section sidebar */
.sidebar-section {
    background: linear-gradient(135deg, #ffffff 0%, #fefcf8 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(198, 164, 63, 0.2);
    transition: all 0.3s ease;
}

.sidebar-section:hover {
    box-shadow: 0 8px 30px rgba(198, 164, 63, 0.1);
    border-color: rgba(198, 164, 63, 0.4);
}

/* Judul sidebar */
.sidebar-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    letter-spacing: 0.5px;
}

/* ============================================
   BUTTON MENU - EFEK SLIDE WARNA ELEGAN
   ============================================ */

.menu-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1.5px solid #e0d6c5;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3a3a3a;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Efek slide warna dari kiri ke kanan saat hover */
.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C6A43F 0%, #D4B45A 50%, #E8D5A0 100%);
    transition: left 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: -1;
}

/* Slide muncul saat hover */
.menu-btn:hover::before {
    left: 0;
}

/* Teks saat hover */
.menu-btn:hover {
    color: #1C1B1A;
    border-color: #C6A43F;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(198, 164, 63, 0.3);
    text-decoration: none;
}

/* Efek slide saat aktif/diklik (active/click) */
.menu-btn:active {
    transform: translateX(5px) scale(0.98);
    transition: transform 0.05s ease;
    box-shadow: 0 2px 8px rgba(198, 164, 63, 0.4);
}

/* Efek tambahan saat diklik (ripple/kilat) */
.menu-btn:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.4s ease-out;
    z-index: 1;
}

@keyframes ripple {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* ============================================
   EDITORIAL TEAM
   ============================================ */

.editor-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.editor-item {
    padding: 10px 0;
    border-bottom: 1px dashed #f0e6d2;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efek slide untuk editorial team */
.editor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 164, 63, 0.1) 0%, rgba(212, 180, 90, 0.05) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.editor-item:hover::before {
    left: 0;
}

.editor-item:hover {
    padding-left: 12px;
    border-bottom-color: #C6A43F;
    transform: translateX(3px);
}

.editor-item strong {
    display: block;
    font-size: 0.9rem;
    color: #2C2C2C;
    font-weight: 600;
}

.editor-item span {
    font-size: 0.75rem;
    color: #C6A43F;
    letter-spacing: 0.5px;
}

/* ============================================
   ARTIKEL CARD ELEGAN
   ============================================ */

.obj_article_summary, 
.summary, 
.article-summary {
    background: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    border-left: 4px solid transparent;
}

.obj_article_summary:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.1);
    border-left: 4px solid var(--gold);
}

/* ============================================
   TOMBOL GLOBAL
   ============================================ */

button, 
input[type="submit"], 
.cmp_button, 
.pkp_button {
    background-color: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 0 !important;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
}

button:before, 
input[type="submit"]:before, 
.cmp_button:before, 
.pkp_button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.4s ease;
    z-index: -1;
}

button:hover, 
input[type="submit"]:hover, 
.cmp_button:hover, 
.pkp_button:hover {
    color: #1C1B1A !important;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 164, 63, 0.2);
}

button:hover:before, 
input[type="submit"]:hover:before, 
.cmp_button:hover:before, 
.pkp_button:hover:before {
    left: 0;
}

/* ============================================
   FOOTER MEWAH
   ============================================ */

.pkp_structure_footer {
    background: var(--dark-bg);
    color: #B0A890;
    border-top: 3px solid var(--gold);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.pkp_structure_footer a {
    color: var(--gold-light);
    transition: color 0.3s ease;
}

.pkp_structure_footer a:hover {
    color: white;
    text-decoration: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .menu-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .menu-btn:hover {
        transform: translateX(3px) translateY(-1px);
    }
    
    .sidebar-title {
        font-size: 1.1rem;
    }
    
    .pkp_site_name__title a {
        font-size: 1.5rem;
    }
    
    .sidebar-section {
        padding: 1rem;
    }
}

/* Tablet (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .menu-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* ============================================
   SCROLLBAR ELEGAN
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}