#info-button {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 2; /* Ensure button is on top */
  background-color: orange;
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#info-button:hover {
  background-color: black;
  color: white;
}

/* Responsive button size */
@media (max-width: 767px) {
  #info-button {
    font-size: 16px;
    padding: 10px 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #info-button {
    font-size: 18px;
    padding: 12px 17px;
  }
}

@media (min-width: 1024px) {
  #info-button {
    font-size: 20px;
    padding: 14px 22px;
  }
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* Hide scrollbars */
}

#virtual-tour-iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1; /* Ensure iframe is behind the logo */
}

#logo-container {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2; /* Ensure logo is on top */
}

#logo {
  height: auto;
  z-index: 2;
}

/* Responsive logo size */
@media (min-width: 768px) {
  #logo {
    width: 230px; /* Adjust as needed for tablets */
  }
}

@media (min-width: 1024px) {
  #logo {
    width: 280px; /* Adjust as needed for desktops */
  }
}

/* Mobile styles - smaller logo */
#logo {
    width: 200px;
}

#popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  z-index: 3; /* Above everything else */
  overflow-y: auto; /* Enable scrolling if content overflows */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

.popup-hidden {
  display: none;
}

.popup-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  width: 80%; /* Adjust as needed */
  max-width: 800px; /* Maximum width */
  margin: 50px auto; /* Add margin for better spacing */
  position: relative; /* For close button positioning */
  max-height: 90vh; /* Limit maximum height */
  overflow-y: auto; /* Enable vertical scrolling */
}

/* Mobile Styles for Popup */
@media (max-width: 767px) {
  .popup-content {
    width: 95%;
    margin: 10px auto;
    max-height: 95vh;
  }
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: black;
  background: none;
  border: none;
  padding: 0;
}

.popup-image {
  width: 100%;
  display: block;
}

.black-section {
  background-color: black;
  color: white;
  padding: 20px;
  text-align: center;
}

.black-section h3 {
  margin-top: 0;
  font-size: 24px;
  font-family: sans-serif;
}

.black-section p {
  font-size: 16px;
  line-height: 1.5;
  font-family: sans-serif;
}

.location-button {
  display: inline-block;
  background-color: black;
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  font-family: sans-serif;
}

.location-button:hover {
  background-color: grey;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-family: sans-serif;
}

.property-features div {
  text-align: center;
  width: calc(50% - 20px); /* Two items per row on larger screens */
}

.property-features i {
  margin-right: 5px;
  font-size: 1.5em; /* Increased icon size */
  vertical-align: middle;
}

.price {
  font-size: 20px;
  margin-top: 20px;
  font-family: sans-serif;
}

.orange-section {
  background-color: orange;
  color: black;
  padding: 20px;
  text-align: center;
  font-family: sans-serif;
}

.orange-section h4 {
  margin-top: 0;
  font-size: 20px;
  font-family: sans-serif;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.contact-buttons a {
  display: inline-flex;
  align-items: center;
  background-color: black;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-family: sans-serif;
}

.contact-buttons a i {
  margin-right: 5px;
}

.contact-buttons a:hover {
  background-color: grey;
  transform: scale(1.1);
}

.black-strip {
  background-color: black;
  color: white;
  padding: 10px 20px;
  text-align: center;
  font-family: sans-serif;
}

.black-strip p {
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background-color: black;
  color: white;
  border: 1px solid white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 5px;
  font-family: sans-serif;
}

.whatsapp-button i {
  margin-right: 5px;
}

.whatsapp-button:hover {
  background-color: grey;
}

/* Mobile Styles for Property Features */
@media (max-width: 767px) {
  .property-features div {
    width: 100%; /* One item per row on mobile */
  }

  .property-features div {
    font-size: 1.2em; /* Increased font size for mobile */
  }
}

/* Tablet Styles for Property Features */
@media (min-width: 768px) and (max-width: 1023px) {
  .property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 10px;
  }

  .property-features div {
    width: 100%; /* Occupy full width within the column */
    text-align: center;
  }

  .property-features div {
    font-size: 1.2em; /* Increased font size for tablet */
  }
}

/* PC Styles for Property Features */
@media (min-width: 1024px) {
  .property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 10px;
  }

  .property-features div {
    width: 100%; /* Occupy full width within the column */
    text-align: center;
  }
}