@font-face {
  font-family: Rubik;
  src: url(FONTSS/Rubik-VariableFont_wght.ttf);
}

@font-face {
  font-family: Poppins;
  src: url(FONTSS/Poppins-Thin.ttf);
}

@font-face {
  font-family: Poppins Bold;
  src: url(FONTSS/Poppins-Bold.ttf);
}


@font-face {
  font-family: Catamaran;
  src: url(FONTS/DMSans-VariableFont_opsz\,wght.ttf);
}

@font-face {
  font-family: reeler;
  src: url(FONTS/Reeler_PersonalUse.ttf);
}

@font-face {
  font-family: Rubik Italic;
  src: url(FONTS/Rubik-Italic-VariableFont_wght.ttf);
}

/* --- Global Styles --- */
body {
  /* Old browsers */
  background: #dfd6cb;
  /* Chrome 10-25, Safari 5.1-6 */
  background: #ededed;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: #ededed;
  margin: 0;
  padding: 0;
}


/* --- Header and Navigation --- */
header {
  background-color: #fcf6f0;
  padding: 10px 0;
  text-align: center;
  z-index: 1;
}
nav {
  background-color: #fcf6f0;
}
nav img {
  display: block;
  width: 20%;
  margin: 0 auto;
  padding: 5px 0;
}
nav img:hover {
  opacity: 0.8;
}

/* --- Property Details Container --- */
.property-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.property-listing {
  max-width: 1000px;   /* Reduce width to make it more centered and narrower */
  margin: 0 auto;      /* Keep it centered within the page */
  padding: 20px 40px;  /* Add horizontal padding for extra side space */
}

/* --- Gallery Section --- */
.property-gallery {
  flex: 1 1 400px;
  padding: 10px;
}
.featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.property-thumbnails {
  display: flex;
  flex-wrap: wrap; /* Allows the thumbnails to wrap into new lines */
  justify-content: center; /* Centers thumbnails horizontally */
  gap: 10px; /* Adds uniform spacing between thumbnails */
  margin-top: 10px;
}

.property-thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #e7ccab;
  border-radius: 4px;
  cursor: pointer;
}

/* Optional hover effect */
.property-thumbnails img:hover {
  opacity: 0.8;
}



/* --- Details Section --- */
.property-details {
  flex: 1 1 400px;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}
.property-title {
  font-family: 'Poppins Bold', sans-serif;
  font-size: 2em;
  margin-bottom: 10px;
  color: #353232;
}
.property-location,
.property-price,
.property-size {
  font-family: Rubik;
  font-size: 1.2em;
  font-weight: 300;
  color: #353232;
  margin-bottom: 10px;
}

.property-bono {
  display: inline-block;
  text-decoration: none;
  background-color: #e7ccab;
  color: #353232;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Poppins Bold', sans-serif;
  font-size: 1em;
  transition: background-color 0.3s ease;
}
.property-description {
  font-family: Poppins;
  font-weight: 700;
  font-size: 1em;
  color: #555;
  margin: 20px 0;
  line-height: 1.6;
}

/* --- Contact Button --- */
.contact-button {
  display: inline-block;
  text-decoration: none;
  background-color: #e7ccab;
  color: #353232;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Poppins Bold', sans-serif;
  font-size: 1em;
  transition: background-color 0.3s ease;
}
.contact-button:hover {
  background-color: #d2bba0;
}

/* --- Footer --- */
footer {
  background-color: #2e1c0c;
  margin-top: 20px;
  height: 100px;
}
footer span {
  text-align: center;
  display: block;
  position: relative;
  top: 40px;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font-size: 15px;
  font-family: Poppins, sans-serif;
}

.footerbutton {
  font-family: Poppins;
  color: #c0b79b;
  padding: 0px 40px;
  border-radius: 2px;
  font-family: 'Poppins Bold', sans-serif;
  font-size: 1em;
  transition: background-color 0.3s ease;
}
.footerbutton:hover {
  opacity: 50%;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .property-container {
    flex-direction: column;
  }
  .property-details {
    padding: 10px;
  }
}
