/* RESPONSIVE E-COMMERCE - EL GALLO PIZZERÍA */
/* ======================================== */

/* Mobile First Approach */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-gallery {
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-gallery {
        height: 300px;
    }
}

/* Desktop Small */
@media (min-width: 769px) and (max-width: 1024px) {
    .promotions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop Large */
@media (min-width: 1025px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Print Styles */
@media print {
    .header,
    .cart-sidebar,
    .btn,
    .footer {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #333;
        --text-color: #000;
        --border-color: #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

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

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1a1a1a;
        --text-color: #e0e0e0;
        --dark-color: #ffffff;
        --border-color: #333;
    }
    
    body {
        background-color: #121212;
    }
    
    .card,
    .promotion-card,
    .product-card {
        background: #1e1e1e;
        border: 1px solid #333;
    }
    
    .header {
        background: #1e1e1e;
        border-bottom: 1px solid #333;
    }
    
    .footer {
        background: #0a0a0a;
    }
}