/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* DESKTOP 992px - 1199px */
@media (max-width: 1199px) {
    .container { max-width: 960px; }
    .hero h1 { font-size: 36px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
}

/* TABLET LANDSCAPE 768px - 991px */
@media (max-width: 991px) {
    .container { max-width: 100%; padding: 0 16px; }

    /* Navbar mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--primary-dark);
        padding: 12px 16px;
        gap: 2px;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 14px; font-size: 15px; }
    .nav-links .btn-nav { border-radius: var(--radius); text-align: center; justify-content: center; }
    .menu-toggle { display: block; }
    .navbar { position: relative; }

    /* Kolom tablet */
    .col-4 { width: 50%; }
    .col-8 { width: 100%; }
    .col-3 { width: 50%; }
    .col-9 { width: 100%; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 30px; }
    .hero p  { font-size: 16px; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .journal-header-inner { flex-direction: column; }
}

/* TABLET PORTRAIT / MOBILE BESAR 576px - 767px */
@media (max-width: 767px) {
    .container { padding: 0 14px; }

    /* Semua kolom full width */
    [class*="col-"] { width: 100%; }
    .row { flex-direction: column; }

    /* Brand lebih kecil */
    .navbar-brand { font-size: 15px; }
    .navbar-brand .brand-subtitle { display: none; }
    .logo-wrapper { width: 42px; height: 42px; }

    /* Sembunyikan info header-top di mobile */
    .header-top-info { display: none; }

    /* Hero */
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 26px; }
    .hero p  { font-size: 15px; margin-bottom: 20px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Stats */
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
    .stat-item .stat-number { font-size: 24px; }
    .stat-item .stat-label  { font-size: 11px; }

    /* Section */
    .section    { padding: 40px 0; }
    .section-sm { padding: 28px 0; }
    .section-title    { font-size: 22px; }
    .section-subtitle { font-size: 14px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .site-footer { padding: 36px 0 0; }

    /* Table */
    th, td { padding: 10px 12px; font-size: 13px; }

    /* Cards */
    .card-body { padding: 16px; }
    .article-card { padding: 14px; }
    .article-title { font-size: 15px; }

    /* Buttons */
    .btn-lg { padding: 12px 20px; font-size: 15px; }

    /* Journal header */
    .journal-cover-small { width: 80px; height: 110px; }
    .journal-info h1 { font-size: 20px; }
}

/* MOBILE KECIL < 480px */
@media (max-width: 479px) {
    .container { padding: 0 12px; }

    .navbar-brand { font-size: 13px; gap: 8px; }
    .logo-wrapper { width: 36px; height: 36px; }

    .hero { padding: 36px 0; }
    .hero h1 { font-size: 22px; }
    .hero p  { font-size: 14px; }

    .stats-bar { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
    .stat-item .stat-number { font-size: 20px; }

    .section-title    { font-size: 20px; }
    .section-subtitle { font-size: 13px; }

    .btn    { padding: 9px 16px; font-size: 13px; }
    .btn-sm { padding: 5px 10px; font-size: 12px; }

    th, td { padding: 8px 10px; font-size: 12px; }

    .footer-bottom { font-size: 12px; padding: 16px 0; }
}