/* Font Variables - Ganti sesuai selera! */
:root {
    --main-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --title-font: 'Georgia', 'Times New Roman', serif;
    --cute-font: 'Comic Sans MS', cursive, sans-serif;
    --mono-font: 'Courier New', monospace;
    
    /* Font alternatives yang bisa dipake:
    
    CUTE & PLAYFUL:
    --main-font: 'Comic Sans MS', cursive, sans-serif;
    --title-font: 'Bubblegum Sans', cursive, sans-serif;
    
    ELEGANT & CLASSY:
    --main-font: 'Georgia', 'Times New Roman', serif;
    --title-font: 'Playfair Display', serif;
    
    MODERN & CLEAN:
    --main-font: 'Arial', 'Helvetica', sans-serif;
    --title-font: 'Montserrat', sans-serif;
    
    RETRO & VINTAGE:
    --main-font: 'Courier New', monospace;
    --title-font: 'Typewriter', monospace;
    
    KAWAII STYLE:
    --main-font: system-ui, -apple-system, sans-serif;
    --title-font: 'Quicksand', sans-serif;
    */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background: linear-gradient(135deg, #7991A8 0%, #7991a8 100%, #7991a8 100%);
    background-attachment: fixed;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    padding: 20px;
}

/* Main Title */
.main-title-container {
    background: #F5EFEB;
    border: 2px solid #1C2B38;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 3px 3px 0px rgba(255, 107, 157, 0.3);
}

.main-title {
    font-family: var(--title-font);
    color: #1C2B38;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* Navigation Bar */
.nav-bar {
    background: white;
    border: 2px solid #7991A8;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 3px 3px 0px rgba(255, 107, 157, 0.3);
}

.nav-link {
    color: #7991A8;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #7991A8;
    color: white;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar Boxes */
.sidebar-box,
.content-box {
    background: white;
    border: 2px solid #ff6b9d;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0px rgba(255, 107, 157, 0.3);
}

.sidebar-box h3 {
    font-family: var(--title-font);
    color: #ff6b9d;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ffc3a0;
    padding-bottom: 5px;
}

.sidebar-box p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.sidebar-box ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-box ul li {
    margin-bottom: 5px;
    font-size: 13px;
}

.sidebar-box a {
    color: #ff6b9d;
    text-decoration: none;
}

.sidebar-box a:hover {
    text-decoration: underline;
}

.sidebar-box ol {
    padding-left: 20px;
}

.sidebar-box ol li {
    margin-bottom: 5px;
    font-size: 13px;
}

/* Main Content */
.main-content {
    min-height: 400px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-box h2 {
    font-family: var(--title-font);
    color: #ff6b9d;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffc3a0;
    padding-bottom: 8px;
}

.content-box h3 {
    font-family: var(--title-font);
    color: #ff6b9d;
    font-size: 16px;
    margin: 20px 0 10px 0;
}

.content-box p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

.content-box ul,
.content-box ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.content-box ul li,
.content-box ol li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-box a {
    color: #ff6b9d;
    text-decoration: none;
}

.content-box a:hover {
    text-decoration: underline;
}

.content-box strong {
    color: #e65a87;
    font-weight: bold;
}

/* Blockquote */
.content-box blockquote {
    background: linear-gradient(135deg, #ffeef6, #fff5f0);
    border-left: 4px solid #ff6b9d;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 3px;
}

.content-box blockquote em {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Footer */
.footer {
    background: white;
    border: 2px solid #ff6b9d;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 3px 3px 0px rgba(255, 107, 157, 0.3);
    max-width: 1200px;
    margin: 20px auto 0;
}

.footer p {
    color: #ff6b9d;
    font-weight: bold;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .left-sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .right-sidebar {
        order: 3;
    }
    
    body {
        padding: 10px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .nav-link {
        margin: 0 8px;
        font-size: 13px;
    }
    
    .sidebar-box,
    .content-box {
        padding: 12px;
    }
    
    .content-box h2 {
        font-size: 18px;
    }
    
    .content-box h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        display: block;
        margin: 5px 0;
    }
    
    .nav-bar {
        padding: 15px;
    }
    
    .main-title {
        font-size: 18px;
    }
    
    .sidebar-box,
    .content-box {
        padding: 10px;
    }
    
    .content-box h2 {
        font-size: 16px;
    }
    
    .content-box h3 {
        font-size: 14px;
    }
    
    body {
        font-size: 13px;
    }
}

/* Special Effects for Links */
.sidebar-box a:hover,
.content-box a:hover {
    background: rgba(255, 107, 157, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Cute scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b9d, #ffc3a0);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e65a87, #ffb394);
}