/* ===== NEWSPAPER RESPONSIVE DESIGN ===== */

/* Large Screens */
@media screen and (max-width: 1100px) {
    :root {
        --section-padding: 60px;
        --column-gap: 32px;
    }

    /* Navigation */
    #desktop-nav {
        display: none;
    }

    #hamburger-nav {
        display: flex;
    }

    /* Hero */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-main {
        border-right: none;
        padding-right: 0;
    }

    .hero-sidebar {
        display: grid;
        grid-template-columns: 200px 1fr 1fr;
        gap: 24px;
        align-items: start;
    }

    /* About */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Experience */
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .experience-card:last-child {
        border-bottom: none;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skills-category {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .skills-category:last-child {
        border-bottom: none;
    }

    /* Education */
    .education-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    :root {
        --section-padding: 48px;
    }

    html {
        font-size: 16px;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero-sidebar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-portrait img {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .hero-lede::first-letter {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Section Headers */
    .section-header::before,
    .section-header::after {
        display: none;
    }

    /* Contact */
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    :root {
        --section-padding: 40px;
    }

    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

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

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

    .hero-lede::first-letter {
        font-size: 2.5rem;
        margin-right: 8px;
    }

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

    .hero-quick-facts {
        padding: 16px;
    }

    /* Experience */
    .experience-card {
        padding: 24px 20px;
    }

    .experience-bullets li {
        font-size: 0.85rem;
    }

    /* Projects */
    .project-content {
        padding: 20px;
    }

    .project-title {
        font-size: 1.125rem;
    }

    /* Skills */
    .skills-category {
        padding: 24px 20px;
    }

    /* Education */
    .education-main {
        padding: 24px;
    }

    .education-stats {
        flex-direction: column;
        gap: 16px;
    }

    .accolade-item {
        padding: 16px;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print Styles - for actual newspaper feel */
@media print {
    body {
        background: white;
        color: black;
    }

    #hamburger-nav,
    .hero-buttons,
    .projects-filter,
    .availability-badge,
    .footer-socials {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}