/* ---------------- Header ---------------- */
header {
  background: #fff;               /* White background */
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header img {
  width: auto;
  max-width: 150px;              /* Maximum size on desktop */
  height: auto;
  display: block;
  margin-bottom: 10px;           /* Spacing below logo */
}

header h1 {
  font-size: 1.6em;
  font-weight: bold;
  color: #007BFF;
  margin: 0;
  text-align: center;
}

/* Responsive header */
@media screen and (max-width: 768px) {
  header img { max-width: 120px; }
  header h1 { font-size: 1.4em; }
}
@media screen and (max-width: 480px) {
  header img { max-width: 100px; }
  header h1 { font-size: 1.2em; }
}

/* ---------------- Container ---------------- */
.container {
  padding: 20px;
  max-width: 600px;
  margin: auto;
}

/* ---------------- Form Elements ---------------- */
select, button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  background: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #218838;
  transform: translateY(-2px);
}

/* ---------------- Map ---------------- */
#map {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* ---------------- Parking Cards ---------------- */
.parking {
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.parking:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.parking b {
  font-size: 1.1em;
  color: #007BFF;
  text-decoration: underline;
}

.parking span {
  display: block;
  margin-top: 5px;
  color: #555;
}

/* ---------------- Loading Text ---------------- */
#loading {
  text-align: center;
  color: #666;
  font-style: italic;
  margin: 15px 0;
}

/* ---------------- Responsive ---------------- */
@media screen and (max-width: 480px) {
  .parking { padding: 10px; }
  select, button { font-size: 14px; padding: 8px; }
}
