/* Add this to your existing styles.css */

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8; /* Background color for the entire page */
}

header {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

header h1,
h2 {
  color: #fff;
}

h1,
h2 {
  color: #333; /* Text color for headings */
}

.property-image img {
  max-width: 100%;
  max-height: 300px;
  border: 1px solid #ccc;
  padding: 10px;
}

/* Property Details */
.property-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.property-info {
  max-width: 400px;
  margin: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.property-info ul {
  list-style-type: none;
  padding: 0;
}

.property-info ul li {
  margin-bottom: 10px;
  color: #555; /* Text color for property details */
}

.property-info ul strong {
  color: #333; /* Text color for property details labels */
}

/* Image Gallery */
.image-gallery {
  text-align: center;
  margin-top: 20px;
  max-width: 950px;
  margin: 0 auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery > a {
  display: flex;
  width: 200px;
  height: 200px;
  justify-content: center;
  align-items: center;
  margin: 10px;
  border: 2px solid #555;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.2s;
}

.gallery > a:hover {
  transform: scale(1.05);
}

.gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Image Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  margin: 0 auto;
  display: block;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #f44336;
}

/* Contact Form */
.contact-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.contact-form .inner {
  max-width: 768px;
  margin: 0 auto;
}

.contact-form h2 {
  color: #333; /* Text color for headings */
}

.contact-form label {
  color: #333; /* Text color for labels */
}

.contact-form textarea,
.contact-form input {
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 5px;
}

.contact-form button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.contact-form button:hover {
  background-color: #555;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  border-top: 2px solid #555;
}
