/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .car-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        padding: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    .car-card,
    .filter-section,
    .cart-container {
        background-color: #1e1e1e;
        color: #e0e0e0;
    }
    
    .form-control {
        background-color: #2d2d2d;
        color: #e0e0e0;
        border-color: #444;
    }
}