/* Responsive Design - Mobile First Approach */

/* Mobile adjustments */
@media (max-width: 767px) {
    .hero__logo {
        top: calc(var(--header-height-mobile) + var(--spacing-sm));
        left: var(--spacing-sm);
        z-index: 10;
    }

    .hero__logo img {
        height: 50px;
        max-width: 140px;
        display: block;
    }

    .hero__title {
        display: none;
    }

    .hero__subtitle {
        margin-bottom: 0;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .intro-section {
        padding: 0 var(--spacing-lg);
    }

    .footer__container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .hero {
        min-height: 600px;
    }

    .home-researcher__grid {
        grid-template-columns: 1fr 1fr;
    }

    .two-column-list {
        gap: var(--spacing-xl);
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    :root {
        --font-size-base: 18px;
    }

    .container {
        max-width: 1400px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav__toggle,
    .btn {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero::before {
        background-color: rgba(0,0,0,0.3);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-text-dark: #000;
        --color-background: #fff;
        --color-primary: #d32f2f;
    }

    .btn {
        border-width: 3px;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Uncomment and customize if dark mode is desired
    :root {
        --color-background: #1a1a1a;
        --color-text-dark: #f5f5f5;
        --color-background-alt: #2d2d2d;
    }
    */
}
