/* CSS sama seperti sebelumnya */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Variables */
    --black: #0a0a0a;
    --dark-gray: #1f1f1f;
    --medium-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --text-primary: #171717;
    --text-secondary: #525252;
    --border-color: #e5e5e5;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --card-bg: #ffffff;
    --footer-bg: #0a0a0a;
    --footer-text: #a3a3a3;
    --header-bg: #ffffff;
    --shadow-color: rgba(0,0,0,0.05);
    --hover-bg: rgba(249, 115, 22, 0.1);
    --social-icon-bg: #2d2d2d;
    --social-icon-color: #ffffff;
    --modal-overlay: rgba(0,0,0,0.5);
    --modal-bg: #ffffff;
    --breadcrumb-bg: #f5f5f5;
}

[data-theme="dark"] {
    --black: #000000;
    --dark-gray: #121212;
    --medium-gray: #1e1e1e;
    --light-gray: #2d2d2d;
    --white: #1a1a1a;
    --text-primary: #e5e5e5;
    --text-secondary: #a3a3a3;
    --border-color: #333333;
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --card-bg: #1e1e1e;
    --footer-bg: #000000;
    --footer-text: #888888;
    --header-bg: #1a1a1a;
    --shadow-color: rgba(0,0,0,0.3);
    --hover-bg: rgba(249, 115, 22, 0.2);
    --social-icon-bg: #3d3d3d;
    --social-icon-color: #f97316;
    --modal-overlay: rgba(0,0,0,0.8);
    --modal-bg: #2d2d2d;
    --breadcrumb-bg: #1e1e1e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: var(--breadcrumb-bg);
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--orange);
}

.breadcrumb-item.active {
    color: var(--orange);
    font-weight: 500;
}

.breadcrumb-item i {
    margin-right: 4px;
    color: var(--orange);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--orange);
}

/* Modal Maintenance */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--modal-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--modal-bg);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 64px;
    color: var(--orange);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-button {
    background-color: var(--orange);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-button:hover {
    background-color: var(--orange-dark);
}

/* Top Bar */
.top-bar {
    background-color: var(--black);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-share span {
    color: #a3a3a3;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--social-icon-bg);
    color: var(--social-icon-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: var(--orange);
    color: white;
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo span {
    color: var(--orange);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-primary);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-menu a:hover,
.nav-menu .active a {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    border-radius: 30px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.theme-option {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}

.theme-option i {
    font-size: 12px;
}

.theme-option.active {
    background-color: var(--orange);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--header-bg);
    border-top: 1px solid var(--border-color);
    padding: 16px;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 12px;
}

.mobile-nav a {
    display: block;
    padding: 8px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav .active a {
    color: var(--orange);
}

/* Hero Section */
.hero-section {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.featured-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform 0.3s, background-color 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-content {
    padding: 24px;
}

.featured-title {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.post-meta i {
    margin-right: 6px;
    color: var(--orange);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    display: flex;
    gap: 16px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: transform 0.2s, background-color 0.3s ease;
}

.side-card:hover {
    transform: translateX(4px);
    background-color: var(--hover-bg);
}

.side-image {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.side-content {
    flex: 1;
}

.side-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 48px 0 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--orange);
}

.view-all {
    color: var(--orange);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border: 1px solid var(--orange);
    border-radius: 20px;
    transition: all 0.2s;
}

.view-all:hover {
    background-color: var(--orange);
    color: white;
}

/* Grid Layouts */
.grid-3col,
.grid-4col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4col {
    grid-template-columns: repeat(4, 1fr);
}

.article-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s, background-color 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-meta {
    color: var(--text-secondary);
    font-size: 13px;
}

.card-meta i {
    color: var(--orange);
    margin-right: 4px;
}

/* Mixed Layout */
.mixed-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.main-article {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.main-content {
    padding: 24px;
}

.main-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item {
    display: flex;
    gap: 16px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, background-color 0.3s ease;
}

.list-item:hover {
    transform: translateX(4px);
    background-color: var(--hover-bg);
}

.list-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
}

.list-content {
    flex: 1;
}

.list-title {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Slider Section */
.slider-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--medium-gray) 100%);
    border-radius: 8px;
    overflow: hidden;
    margin: 40px 0;
    color: white;
}

.slider-container {
    display: flex;
    align-items: center;
}

.slider-image {
    width: 50%;
    height: 350px;
    object-fit: cover;
}

.slider-content {
    width: 50%;
    padding: 48px;
}

.slider-content .post-meta {
    color: #d4d4d4;
}

.slider-content .post-meta i {
    color: var(--orange);
}

.slider-title {
    font-size: 32px;
    margin: 16px 0;
}

.slider-title a {
    color: white;
}

.slider-title a:hover {
    color: var(--orange);
}

/* Content with Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    transition: background-color 0.3s ease;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange);
    color: var(--text-primary);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.widget-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-list a {
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.widget-list a:hover {
    color: var(--orange);
}

.widget-list a i {
    margin-right: 8px;
    color: var(--orange);
    width: 20px;
}

.widget-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 28px;
}

.widget-meta i {
    margin-right: 4px;
    color: var(--orange);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    margin-top: 60px;
    transition: background-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--orange);
}

.footer-text {
    line-height: 1.6;
    color: var(--footer-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-links a i {
    color: var(--orange);
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--footer-text);
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--orange);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid,
    .mixed-layout,
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .slider-container {
        flex-direction: column;
    }

    .slider-image,
    .slider-content {
        width: 100%;
    }

    .slider-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid-3col,
    .grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .grid-3col,
    .grid-4col {
        grid-template-columns: 1fr;
    }

    .side-card {
        flex-direction: column;
    }

    .side-image {
        width: 100%;
        height: 150px;
    }

    .post-meta {
        gap: 12px;
    }

    .slider-title {
        font-size: 24px;
    }

    .main-title {
        font-size: 20px;
    }

    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
}

/* Utility Classes */
.text-orange {
    color: var(--orange);
}

.placeholder-img {
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}