/* stub/public/styles.css */

body { font-family: Arial, sans-serif; margin: 0; padding: 20px; background: #f8f9fa; }
header { text-align: center; margin-bottom: 30px; }

.search-bar {
    margin-top: 15px;
}

#searchInput { 
    width: 350px; 
    padding: 12px; 
    font-size: 16px; 
    border: 1px solid #ccc;
    border-radius: 4px;
}

button { 
    padding: 12px 20px; 
    font-size: 16px; 
    margin-left: 5px; 
    cursor: pointer; 
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background 0.2s;
}
button:hover { background-color: #0056b3; }

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.vehicle-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.15s, box-shadow 0.15s;
}
.vehicle-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.vehicle-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #eee;
}

.info {
    padding: 16px;
}
.info h3 { margin: 0 0 10px; font-size: 1.2em; }
.info p { margin: 6px 0; color: #444; font-size: 0.95em; }
.price { font-size: 1.3em; font-weight: bold; color: #e63946; margin-bottom: 12px !important; }