/* Tablet Styles */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
    }
    
    .nav-container {
        padding: var(--spacing-sm);
    }
    
    .hero-content {
        padding: 6rem var(--spacing-sm) var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .featured-grid,
    .catalog-grid,
    .materials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .catalog-filters {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .about-image .image-placeholder {
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .image-placeholder {
        height: 200px;
    }
}

/* High Resolution Displays */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 150vh;
    }
    
    .hero-content {
        padding-top: 8rem;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover {
        transform: none;
    }
    
    .featured-item:hover,
    .catalog-item:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .nav-link::after {
        display: none;
    }
}

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