@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background-color: #fafafa;
  color: #333;
}

/* ---------------- Header ---------------- */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px;
  background: #2f4f4f;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-container i {
  font-size: 48px;
  color: #f5a623;
}

.header-container h1 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
}

/* ---------------- Navbar ---------------- */
.navbar ul {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 15px 0;
  background: #3a5a5a;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  gap: 10px;
}

.navbar a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar a:hover {
  background-color: #f5a623;
  color: #2f4f4f;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

.navbar a.active {
  background-color: #f5a623;
  color: #2f4f4f;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

/* ---------------- Search Bar ---------------- */
.search-bar-container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.search-bar-container input,
.search-bar-container select {
  flex: 1 1 180px;
  min-width: 150px;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.search-bar-container input:focus,
.search-bar-container select:focus {
  border-color: #f5a623;
  outline: none;
  box-shadow: 0 0 8px #f5a623aa;
}

.search-bar-container button {
  background-color: #f5a623;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex: 0 0 auto;
}

.search-bar-container button:hover {
  background-color: #e59400;
}

/* ---------------- Property Card ---------------- */
.mini-property-card {
  display: block;
  width: 100%;
  max-width: 300px;
  max-height: 400px;
  margin: 20px auto;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.mini-property-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.mini-property-card input {
  display: none;
}

.mini-property-card:hover {
  transform: translateY(-6px);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-info {
  padding: 15px;
  font-family: 'Roboto Condensed', sans-serif;
}

.card-title {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: #2f4f4f;
}

.card-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.card-tags li {
  margin-bottom: 4px;
}

.card-price {
  font-weight: bold;
  color: #f5a623;
  font-size: 1.1rem;
}

.property-card {
  max-width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 20px auto;
  font-family: 'Roboto Condensed', sans-serif;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.property-card-large {
  max-width: 600px;
  margin: 30px auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: Roboto, sans-serif;
}

.property-info {
  padding: 16px;
  color: #444;
  font-size: 0.95rem;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.property-details {
  padding: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 15px;
}

.property-details.active {
  max-height: 1000px;
}

.property-price {
  color: #f5a623;
  margin: 0 0 12px 0;
  font-weight: 700;
  font-size: 1.4rem;
}

.property-price span {
  font-weight: 400;
  color: #666;
  font-size: 1rem;
}

.property-details p {
  margin: 6px 0;
  font-size: 0.9rem;
  color: #444;
}

.property-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.property-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2f4f4f;
  text-align: center;
}

/* ---------------- Toggle Button ---------------- */
.toggle-button {
  padding: 12px 24px;
  background-color: #2f4f4f;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 auto;
  display: block;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  background-color: #1f3333;
}

/* ---------------- House Detail Page ---------------- */
.house-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  justify-content: center;
  background-color: #f8f9fa;
}

.house-detail-container {
  padding-bottom: 0;
}

.house-image-container img {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.house-info {
  max-width: 600px;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: Roboto, sans-serif;
}

.house-info h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2f4f4f;
}

.house-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.house-info-table th {
  text-align: left;
  width: 40%;
  padding: 10px;
  background-color: #f0f0f0;
  color: #333;
}

.house-info-table td {
  padding: 10px;
  background-color: #fafafa;
}

.house-description h3 {
  margin-top: 10px;
  color: #2f4f4f;
}

/* ---------------- Contact ---------------- */
.contact-btn {
  display: inline-block;
  margin-top: 25px;
  background-color: darkslategray;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #1e3636;
}

.contact-us {
  text-align: center;
}

/* ---------------- Features List ---------------- */
.features-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.features-list li {
  margin-bottom: 6px;
  color: #444;
}

/* ---------------- Gallery ---------------- */


.gallery-slider {
  display: flex;
  height: 500px;
  transition: transform 0.4s ease-in-out;
}

.gallery-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 6px;
}

.gallery-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.gallery-buttons button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.gallery-buttons button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 8px;
}

.gallery-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.gallery-thumbnails img:hover {
  transform: scale(1.05);
}

.gallery-thumbnails img.active {
  border-color: #f5a623;
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.5);
}


/* ---------------- Responsive ---------------- */
@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 8px;
  }

  .navbar ul {
    flex-wrap: wrap;
    gap: 12px;
  }

  .search-bar-container {
    flex-direction: column;
  }

  .search-bar-container input,
  .search-bar-container select,
  .search-bar-container button {
    flex: 1 1 100%;
    min-width: unset;
  }
}

.house-info input{
  display:none;
}


.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px;
  flex-wrap: wrap;
}

.gallery-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: border 0.3s ease;
}

.gallery-thumbnails img.active {
  border-color: #f5a623;
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.5);
}



.gallery-slider {
  display: flex;
  height: 100%;
  width:100%;
  transition: transform 0.4s ease-in-out;
}

.gallery-slider img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px;
  flex-wrap: wrap;
}

.gallery-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: border 0.3s ease;
}

.gallery-thumbnails img.active {
  border-color: #f5a623;
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.5);
}

.gallery-container {
  position: relative;
  max-width: 700px;
  height: 600px; /* Let it grow with thumbnails */
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px; /* Room for thumbnails */
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 10px;
  flex-wrap: wrap;
}


@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .card-title, .property-title, .house-info h2 {
    font-size: 1.2rem;
  }

  .card-price, .property-price {
    font-size: 1rem;
  }
}

/*  ------------- LOGO -------------- */



.site-header {
  text-align: center;
  padding: 0px 0;
  background-color: #2f4f4f; /* Optional background */
}

.header-logo {
  max-height: 100px;
  width: auto;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding-left: 0px; /* ← this is controlling how far from the left it sits */
  background-color: #2f4f4f; /* 🔧 set your desired header color */
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2f4f4f;
  padding: 10px 20px;
}

.header-section {
  flex: 1;
  text-align:"center";
}

.logo-side {
  display: flex;
  justify-content: flex-start;
  padding-left:250px;
}

.title-side {
  display: flex;
  justify-content: center;
  text-align:"center";
}

  
.header-logo {
  height: 100px;
  width: 110px;

}

h1{
  color:white;
  user-select: none;         /* Prevents text selection */
  pointer-events: none;      /* Disables interaction */
}

.header-title-link i {
  font-size: 1.8rem;
  user-select: none; /* 👈 Prevents text selection */
  pointer-events: none;

}

.site-footer {
  background-color: #222;
  color: #eee;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 40px;
}

.site-footer .footer-content {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.site-footer .footer-links a {
  color: #eee;
  text-decoration: none;
  margin: 0 8px;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}

/* ------------------------- Contact Agent ------------------- */

.property-contact-form {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 8px;
}

.property-contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.property-contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.property-contact-form input,
.property-contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.property-contact-form button {
  background-color: #007b5e;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.property-contact-form button:hover {
  background-color: #005f48;
}


.contact-agent-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: #007b5e;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.contact-agent-btn:hover {
  background-color: #005f48;
  transform: translateY(-2px);
}

.contact-agent-btn i {
  font-size: 1.1rem;
}




/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .house-detail-container {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .gallery-container {
    width: 100%;
    height: auto;
  }

  .gallery-slider {
    height: auto;
  }

  .house-info {
    width: 100%;
    box-sizing: border-box;
  }

  .header-bar {
    flex-direction: column;
    align-items: center;
  }

  .logo-side {
    justify-content: center;
    padding-left: 0;
  }

  .title-side {
    justify-content: center;
    margin-top: 10px;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .mini-property-card,
  .property-card {
    max-width: 90%;
    margin: 15px auto;
  }

  .search-bar-container {
    padding: 10px;
  }

  .search-bar-container input,
  .search-bar-container select,
  .search-bar-container button {
    width: 100%;
    margin-bottom: 10px;
  }

  .header-logo {
    height: 80px;
    width: auto;
  }

  .gallery-thumbnails img {
    width: 50px;
    height: 40px;
  }

  .contact-agent-btn {
    width: 100%;
    justify-content: center;
  }

  .house-info-table th,
  .house-info-table td {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem;
    text-align: center;
  }
}


.location-suggestions {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  z-index: 1000;
  width: 100%;
}

.location-suggestions li {
  padding: 8px 10px;
  cursor: pointer;
}

.location-suggestions li:hover {
  background-color: #f0f0f0;
}

.location-suggestions {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  width: 100%;
}

.location-suggestions li {
  padding: 8px 12px;
  cursor: pointer;
}

.location-suggestions li:hover {
  background-color: #f0f0f0;
}



.site-footer {
  background: #333;
  color: white;
  padding: 15px 20px;
  text-align: center;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.advertise-content {
  padding-left:20px;
}