/* Responsive Design - Media Queries */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Hero */
    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Bio */
    .bio-content {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }

    /* Works Grid */
    .works-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1.5rem;
    }
    
    .content-wrapper {
        padding: 0 0.5rem;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Main Content */
    .main-content {
        padding-top: 70px;
    }

    /* Hero */
    .hero {
        height: 40vh;
        padding: 0 1.5rem;
    }

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

    .subtitle {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 2rem 0;
    }

    /* Bio */
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-image .image-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Statement */
    .statement-intro {
        font-size: 1.25rem;
    }

    .statement-content p {
        font-size: 1rem;
    }

    /* Works Grid */
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Button */
    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }
    
    /* Contact Page Mobile */
    .contact-intro {
        padding: 0 0.5rem;
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .contact-links-wrapper {
        padding: 1rem 0;
    }
    
    .contact-link-item {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-link-content h3 {
        font-size: 0.9rem;
    }
    
    .contact-link-content p {
        font-size: 1rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .logo a {
        font-size: 0.7rem;
        max-width: 65%;
    }
    
    .hamburger {
        padding: 0.25rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .statement-intro {
        font-size: 1.125rem;
    }
    
    /* Contact links for small mobile */
    .contact-link-item {
        padding: 1.5rem 1rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .contact-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-link-content h3 {
        font-size: 0.85rem;
    }
    
    .contact-link-content p {
        font-size: 0.95rem;
        word-break: break-all;
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .side-menu,
    .hamburger,
    .footer,
    .btn,
    .artwork-navigation {
        display: none;
    }

    body {
        background-color: #fff;
    }

    .main-content {
        padding-top: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .hero {
        page-break-after: always;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays if needed */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 60vh;
    }
}

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