/* Tablet Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        height: 70vh;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Hero */
    .hero {
        height: 60vh;
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Forms */
    .form-container {
        margin: 80px 20px 40px;
        padding: 30px 20px;
    }
    
    /* Products */
    .products-grid,
    .gallery-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Checkout */
    .checkout-container {
        margin: 80px 20px 40px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .add-to-cart,
    .quantity-controls {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1a1a1a;
        --dark: #f5f5f5;
        --white: #2d2d2d;
        --gray: #b0b0b0;
    }
    
    body {
        background-color: #121212;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #0000ff;
        --secondary: #000000;
    }
}

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