/* styles.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #96c75570;
}


header {
  background-color: #4CAF50;
  color: white;
  padding: 1.5rem; /* Increased padding for a more spacious header */
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Added shadow for depth */
}

h1 {
  margin: 0; /* Remove default margin for the title */
  font-size: 2.5rem; /* Make the title larger */
}

h2 {
  color: #4CAF50;
  margin-top: 1.5rem; /* Add spacing above section titles */
}

#map {
  width: 100%;
  height: 500px; /* Increased height for better visibility */
  margin: 20px 0;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Added shadow for depth */
}

.housing-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.housing-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s; /* Smooth scaling on hover */
}

.housing-card:hover {
  transform: scale(1.02); /* Slightly enlarge card on hover */
}

.popup-content {
  font-size: 0.9rem; /* Smaller font size for pop-up content */
  line-height: 1.4; /* Improved line spacing for readability */
}

.popup-content h3 {
  margin-top: 0;
  color: #4CAF50;
}
.popup-content p {
  margin: 5px 0;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #4CAF50;
  color: white;
  position: relative;
  bottom: 0;
  width: 100%;
}

button {
  background-color: #4CAF50; /* Match header color */
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s; /* Transition for hover effect */
}

button:hover {
  background-color: #45a049; /* Darker shade on hover */
}

input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: calc(100% - 22px); /* Full width minus padding */
  margin-bottom: 10px; /* Space below input */
}

.popup-content {
  display: flex;
  flex-direction: column;
}

.popup-content p {
  margin: 2px 0; /* Adjust spacing as needed */
  line-height: 1.2;
}

.popup-content img {
  vertical-align: middle; /* Aligns icons with text */
  margin-right: 5px; /* Space between icon and text */
}