.body {
  margin: 0;
  font-family: sans-serif;
}
.main-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #412f23, #4b362d); /* Gradient for the header */
  color: white;
  z-index: 1000;
  transition: transform 0.3s ease-out; /* Transition for showing/hiding */
}

.main-header.hidden {
  transform: translateY(-100%); /* Moves header out of view */
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}

.header-top .logo img {
  height: 50px;
}

.header-top nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.header-top nav ul li {
  margin: 0 15px;
}

.header-top nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

.header-top nav ul li a:hover {
  color: #FFD700; /* Gold hover effect */
}

.header-banner {
  height: 100vh; /* Fullscreen height */
  background-image: url('../images/background.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: white;
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}


.header-banner h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.header-banner p {
  font-size: 18px;
  margin-bottom: 30px;
  color: white;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
}

.site-card {
  border: 1px solid #ddd;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease; /* Smooth hover effect */
}

.site-card:hover {
  transform: scale(1.05);
}



/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* Center the modal */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Adjust width as needed */
  max-height: 80vh; /* Limit modal height */
  overflow-y: auto; /* Enable scrolling within modal */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.house-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 10px;
}

.house-card img {
    width: 100%;
    height: 50%;
    display: block;
    margin-bottom: 10px;
}
.product-card {
  background-color: #525050;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* house sections*/
.products-section {
  padding: 50px 5%;
  background-color: #fff;
  
}


.products-section h2 {
  text-align: center;
  font-size: 36px;
  color: #4B0082;
  margin-bottom: 10px;
}

.products-section p {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}


.product-card .tag {
  display: inline-block;
  background-color: #e76711;
  color: #4B0082;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 18px;
  color: #4B0082;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.product-card a {
  display: inline-block;
  background-color: #4B0082;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.product-card a:hover {
  background-color: #6A5ACD;
}


.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo img {
  max-width: 400px; /* Adjust logo size */
}


.sort-container {
  position: relative;
  display: inline-block; /* Allows the container to be inline */
}

.sort-button {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px; /* Adjust width as needed */
}

.sort-button::after {
  content: '\25B2'; /* Up arrow */
  margin-left: 10px;
}

.sort-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 10;
}

.sort-options.show {
  display: block;
}

.sort-options button {
  width: 100%;
  padding: 10px 15px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.sort-options button:hover {
  background-color: #f0f0f0;
}

.selected-sort {
  font-weight: bold;
}
.whatsapp-icon {
position: fixed; /* Or absolute, depending on your layout */
bottom: 20px; /* Adjust position as needed */
right: 20px; /* Adjust position as needed */
width: 60px; /* Adjust size as needed */
height: 60px; /* Adjust size as needed */
background-color: #25D366; /* WhatsApp Green */
border-radius: 50%; /* Make it circular */
display: flex;
align-items: center;
justify-content: center;
z-index: 1000; /* Ensure it's above other content */
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
}

.whatsapp-icon img {
width: 80%; /* Adjust image size within the circle */
height: 80%; /* Adjust image size within the circle */
}

/* Optional: Add a hover effect */
.whatsapp-icon:hover {
transform: scale(1.1); /* Slightly enlarge on hover */
opacity: 0.9;
}
.sidebar {
  width: 250px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  left: -250px; /* Initially hidden */
  top: 0;
  overflow-y: auto; /* For scrollable content */
  transition: transform 0.3s ease-in-out; /* Smooth animation */
  z-index: 1000; /* Ensure it's above other content */
  }
  
  .sidebar a {
  display: block;
  color: black;
  padding: 20px;
  text-decoration: none;
  }
  
  .sidebar a:hover {
  background-color: #555;
  color: white;
  }
  
  .content {
  margin-left: 0; /* Adjust when sidebar is open */
  padding: 20px;
  transition: margin-left 0.3s ease-in-out; /* Smooth animation */
  }
  
  .hamburger {
  position: fixed ;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 1001; /* Above the sidebar */
  }
  
  .hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  }
  
  .sidebar.open {
  transform: translateX(250px); /* Show the sidebar */
  }
  
  .content.open {
  margin-left: 250px; /* Adjust content margin */
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 999; /* Below the sidebar but above other content */
    display: none; /* Initially hidden */
    }
    
    .overlay.open {
    display: block;
    }
    .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: black; /* Or any color you prefer */
    }
  .search-container {
    position: relative;
    display: inline-block;
}

#searchInput {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px; /* Adjust as needed */
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
}

#searchResults a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
}

#searchResults a:hover {
    background-color: #f0f0f0;
}