cat << 'EOF' > ~/cardelearship/public/css/style.css
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: #f4f4f4;
}

header {
    background: #0d6efd;
    color: white;
    text-align: center;
    padding: 20px;
}

.car-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    margin: 0;
}

.price {
    color: green;
    font-size: 20px;
    font-weight: bold;
}

button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #084298;
}

footer {
    text-align: center;
    padding: 15px;
    background: #222;
    color: white;
}
EOF
