/* 
 * Upglowy - Responsive Styles
 * Mobile-first responsive design
 */

/* ==================== Mobile Devices (up to 768px) ==================== */
@media screen and (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--pure-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left var(--transition-normal);
        overflow-y: auto;
        box-shadow: var(--shadow-md);
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-link {
        width: 100%;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Hero Section */
    .hero {
        min-height: 400px;
        padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-lg);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    /* Page Header */
    .page-header {
        padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-lg);
    }
    
    .page-title {
        font-size: var(--font-size-2xl);
    }
    
    .page-subtitle {
        font-size: var(--font-size-base);
    }
    
    /* Table */
    .data-table {
        font-size: var(--font-size-sm);
    }
    
    .data-table th,
    .data-table td {
        padding: var(--spacing-sm);
    }
    
    /* Filter Section */
    .filter-section {
        flex-direction: column;
    }
    
    .filter-input,
    .search-input {
        width: 100%;
        min-width: auto;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Section Padding */
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* News Section Mobile */
    .news-article h1 {
        font-size: var(--font-size-2xl);
    }
    
    .news-article p {
        font-size: var(--font-size-base);
    }
}

/* ==================== Tablets (769px to 1024px) ==================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .page-title {
        font-size: var(--font-size-3xl);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== Small Desktop (1025px to 1200px) ==================== */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

/* ==================== Large Screens (above 1200px) ==================== */
@media screen and (min-width: 1201px) {
    .container {
        max-width: 1200px;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .ad-placeholder,
    .filter-section,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
}
