/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #111827;
}

/* Header Bar */
header {
  background-color: #1f2937;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  margin-right: 15px;
}

header h1 {
  font-size: 20px;
  color: white;
  margin: 0;
}

/* Search Section */
.container {
  text-align: center;
  margin-top: 50px;
}

.container h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

input[type="text"] {
  padding: 12px;
  font-size: 16px;
  width: 300px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus {
  border-color: #2563eb;
}

button {
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background-color: #2563eb;
  color: white;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1d4ed8;
}

/* Search Results Styling */
#results {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.result-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.result-item a:hover {
  text-decoration: underline;
}

.result-meta {
  font-size: 14px;
  color: #6b7280;
}
/* Specs Card */
.specs-card {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

/* Listing Cards */
.listing-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease;
}

.listing-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.listing-card a {
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
    font-size: 16px;
}

.listing-card a:hover {
    text-decoration: underline;
}

.price {
    margin-top: 8px;
    color: #111827;
    font-weight: bold;
}
/* Reset basics */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.hero {
  position: relative;
  height: 400px;
  background-image: url('header-image.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.top-bar {
  display: flex;
  justify-content: flex-end; /* Push content to the right */
  align-items: center;
  padding: 20px;
  gap: 20px;
  position: absolute;
  top: 0;
  right: 0;
}

.logo {
  height: 50px;
  margin-right: 30px;
}

.top-buttons {
  display: flex;
  gap: 10px;
}

.header-btn {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.header-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.search-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.search-bar {
  width: 300px;
  padding: 12px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.search-btn {
  background-color: #007BFF;
  border: none;
  padding: 12px 20px;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #0056b3;
}
