/* General Styles */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #fff8e2;
  font-family: roboto;
  margin: 0;
}

h1 {
  margin: 20px 0px 0px;
}

h1, h2 {
  color: #255e46;
}

h2 {
  margin: 0;
}

p {
  max-width: 400px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 10px;
}

.header p {
  max-width: 500px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-style: italic;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

.nav {
  margin: 10px 0 0;
  border-radius: 5px;
  padding: 5px;
  border: 2px solid #255e46;
  color: white;
  background-color: #255e46;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow */
  transform: scale(1.01); /* Slightly enlarges the button */
}

.subheader {
  font-size: 11px;
  margin: -1px 0 0;
  font-style: italic;
}

/* Listings and Properties */
.listings {
  max-width: 50%;
}

.property {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  margin: 20px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
}

.property:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.copy {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Airbnb Mock Iframe */
.airbnb-mock-iframe {
  width: 100%;
  max-width: 500px;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  height: auto;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.top-image {
  height: 65%;
  overflow: hidden;
}

.top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.middle-title {
  height: 30%;
  text-align: left;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.middle-title .property-title {
  font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.28571em;
  color: rgb(72, 72, 72);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.middle-title .property-location {
  font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.28571em;
  color: rgb(140, 140, 140);
}

.middle-title .review-stars {
  display: flex;
  justify-content: left;
  padding: 8px 0 0;
  margin: 0;
  font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.33333em;
  color: rgb(100, 100, 100);
}

.middle-title .review-stars img {
  width: 12px;
  padding: 0 4px 0 0;
}

.middle-title .review-stars p {
  padding: 0;
  margin: 0;
}

.bottom-links {
  border-top: 1px solid rgb(240, 240, 240);
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.bottom-links img {
  max-width: none;
  width: auto;
  height: auto;
  padding: 0 10px;
}

span.view-on-airbnb {
  color: #008489;
  font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  font-size: 12px;
  padding: 0 10px;
}

/* Airbnb Embed Frame */
.airbnb-embed-frame {
  margin: 0;
  width: 450px;
  height: 300px;
}

/* Footer */
.copyright {
  text-align: center;
  font-size: 10px;
  color: #555;
  margin: 20px 0;
}

/* Responsive Styles */
@media (max-width: 1500px) {
  .property {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .copy,
  .airbnb-mock-iframe {
    max-width: 500px;
    flex: none;
  }

  .listings {
    max-width: 100%;
  }
}
