/* LLMNetOps - Responsive Stylesheet */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--light-bg);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a.active::after {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 6rem 1.5rem 4rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    /* Sections */
    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Workshop */
    .workshop-header {
        flex-direction: column;
    }

    .workshop-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .topic-list {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    /* Page Header */
    .page-header {
        padding: 6rem 1.5rem 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Forms */
    .contact-form {
        padding: 0 1rem;
    }

    /* Deliverables */
    .deliverable-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .deliverable-title {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Resource filters */
    .resource-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    /* Hero */
    .hero h1 {
        font-size: 1.75rem;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    /* Cards */
    .card {
        padding: 1.25rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Badge */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    /* Resource Card */
    .resource-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    nav,
    .mobile-menu-btn,
    .btn,
    footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
        background: none;
        color: #000;
    }

    .hero h1,
    .hero p {
        color: #000;
    }

    section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --light-bg: #1e293b;
        --white: #0f172a;
        --text-color: #e2e8f0;
        --text-light: #94a3b8;
        --border-color: #334155;
    }

    .card,
    .workshop-card,
    .resource-card,
    .faq-item,
    .deliverable-card {
        background: #1e293b;
    }

    .deliverable-header {
        background: #0f172a;
    }
    */
}
