/* css/style.css */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f7f6;
  color: #333;
  margin: 0;
  padding: 20px;
}
.container { max-width: 1200px; margin: 0 auto; }
header { text-align: center; margin-bottom: 40px; }
header h1 a { color: #2c3e50; text-decoration: none; }
header p { color: #7f8c8d; }
.search-wrapper { margin-bottom: 30px; text-align: center; }
#searchInput {
  width: 50%;
  padding: 12px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 12px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-content { padding: 15px; }
.card-content h2 { font-size: 1.2em; margin: 0 0 10px; }
.card-content p { font-size: 0.9em; line-height: 1.5; color: #666; }
.price { display: block; font-weight: bold; color: #27ae60; margin-top: 10px; font-size: 1.1em; }
.car-detail { display: flex; gap: 30px; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.car-detail img { max-width: 50%; border-radius: 8px; }
.back-button { display: inline-block; margin-top: 20px; text-decoration: none; background: #3498db; color: #fff; padding: 10px 15px; border-radius: 5px; }
footer { text-align: center; margin-top: 50px; color: #999; }

/* css/style.css - Add to bottom */

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.pagination-controls button {
  padding: 8px 16px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.pagination-controls button:hover:not(:disabled) {
  background-color: #f0f0f0;
}

.pagination-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

#pageInfo {
  font-weight: bold;
  color: #555;
}