/* ===== RESPONSIVE STYLES ===== */

/* Tablet Landscape & Desktop Small (1024px and below) */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }
    
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    .section-subtitle {
        font-size: 0.875rem;
        letter-spacing: 2px;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Mobile Small (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero-controls,
    .scroll-indicator,
    .back-to-top,
    .mobile-menu-toggle,
    .header-actions,
    .newsletter {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    img {
        max-width: 100% !important;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images for retina displays */
    .product-image,
    .category-image,
    .collection-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

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

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for touch devices */
    .btn {
        min-height: 48px;
        padding: 1rem 2rem;
    }
    
    .header-action-btn {
        min-width: 48px;
        min-height: 48px;
    }
    
    .nav-menu > li > a {
        padding: 1rem 0;
    }
    
    /* Remove hover effects on touch devices */
    .product-card:hover,
    .category-card:hover,
    .collection-card:hover {
        transform: none;
    }
    
    .product-actions {
        opacity: 1;
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }
}