/* ============================================
   PAKBLOG - RESPONSIVE STYLESHEET
   Mobile-First Media Queries
   ============================================ */

/* --- TABLET (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hero-image-wrapper {
        min-height: 250px;
        max-height: 350px;
    }
    
    .hero-title {
        font-size: var(--text-2xl);
    }
    
    .main-nav {
        gap: var(--space-2);
    }
    
    .nav-link {
        font-size: var(--text-xs);
        padding: var(--space-2);
    }
    
}

/* --- MOBILE (Max Width: 768px) --- */
@media (max-width: 768px) {
    
    /* Header */
    .header-container {
        min-height: 56px;
        flex-wrap: nowrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .site-logo-text {
        font-size: var(--text-lg);
    }
    
    .site-tagline-display {
        display: none;
    }
    
    /* Hero */
    .hero-section {
        padding: var(--space-4) 0;
    }
    
    .hero-content {
        border-radius: var(--radius-md);
    }
    
    .hero-image-wrapper {
        min-height: 200px;
    }
    
    .hero-text {
        padding: var(--space-4);
    }
    
    .hero-title {
        font-size: var(--text-xl);
        margin-bottom: var(--space-2);
    }
    
    .hero-excerpt {
        font-size: var(--text-sm);
        margin-bottom: var(--space-3);
    }
    
    .hero-meta {
        font-size: var(--text-xs);
        margin-bottom: var(--space-4);
    }
    
    /* Articles Grid */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .articles-section {
        padding: var(--space-4) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-4);
    }
    
    .section-title {
        font-size: var(--text-xl);
    }
    
    /* Article Card */
    .article-card-title {
        font-size: var(--text-base);
    }
    
    .article-card-excerpt {
        font-size: var(--text-xs);
    }
    
    /* Footer */
    .site-footer {
        padding: var(--space-6) 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        padding-bottom: var(--space-6);
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-link {
        justify-content: center;
    }
    
    /* Buttons */
    .btn {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-4);
    }
    
}

/* --- SMALL MOBILE (Max Width: 480px) --- */
@media (max-width: 480px) {
    
    .container {
        padding: 0 var(--space-3);
    }
    
    .site-logo-text {
        font-size: var(--text-base);
    }
    
    .hero-image-wrapper {
        min-height: 180px;
    }
    
    .hero-title {
        font-size: var(--text-lg);
    }
    
    .hero-excerpt {
        font-size: var(--text-xs);
    }
    
    .hero-badge {
        font-size: 10px;
        padding: var(--space-1) var(--space-2);
    }
    
    .article-card-body {
        padding: var(--space-3);
    }
    
    .article-card-title {
        font-size: var(--text-sm);
    }
    
    .article-card-meta {
        font-size: 10px;
    }
    
    .section-title {
        font-size: var(--text-lg);
    }
    
    .footer-logo {
        font-size: var(--text-lg);
    }
    
    .footer-text {
        font-size: 10px;
    }
    
}

/* --- LARGE SCREENS (Min Width: 1200px) --- */
@media (min-width: 1200px) {
    
    .container {
        padding: 0 var(--space-6);
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .articles-grid {
        gap: var(--space-6);
    }
    
}