@import url("common.css");
/* * =================== text ==================== */

/* * =================== utility ==================== */
section {
  width: 100%;
  height: 100vh;
}
.column {
  background-color: rgb(240, 240, 240);
}
.content {
  border: 1px solid rgb(204, 204, 204);
  padding: 10px;
}
/* * =================== grid & Flex ==================== */
.rentals-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 1024px) {
  .rentals-container {
    grid-template-columns: 1fr;
    justify-content: center;
    padding: 0 10%;
  }
}
/* * =================== gallery ==================== */
@media only screen and (max-width: 790px) {
  .blueimp-gallery .prev,
  .blueimp-gallery .next {
    display: none !important;
  }
}
/* * =================== rental header ==================== */
.rental-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 10em;
  text-align: center;
}
.rental-header-img {
  width: 70%;
}
/* * =================== thumbnail ==================== */
/* Style the container div */
.thumbnail-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
/*^ Style the individual thumbnail links */
.thumbnail-links a {
  margin: 10px;
  text-decoration: none;
}
/*^ Style the thumbnail images */
.thumbnail-links img {
  max-width: 100px;
  border: 0.75px solid rgb(204, 204, 204);
  /* Set a maximum width for the thumbnails */
  border-radius: 3px;
}
/* ^ hover effect */
.thumb-img-container {
  height: 100%;
  max-height: 100px;
  border-radius: 3px;
  overflow: hidden;
}
.thumb-img-container img {
  transition: transform 0.75s ease-in-out;
}
.thumb-img-container:hover img {
  transform: scale(1.5);
}
@media (max-width: 790px) {
  .hidden-on-mobile {
    display: none;
  }
}
/* * ============== gallery-imgs-background =============== */
.blueimp-gallery > .prev,
.blueimp-gallery > .next,
.blueimp-gallery > .close,
.blueimp-gallery > .title,
.blueimp-gallery > .play-pause {
  display: block;
}
.blueimp-gallery {
  background-color: rgba(0, 0, 0, 0.9);
}
/* ^ ========= slide-img size ========= */
.blueimp-gallery > .slides > .slide > .slide-content,
.blueimp-gallery > .slides > .slide > .slide-content > img {
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 1;
}
/* * =================== rental description==================== */
.column-2 {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: rgb(226, 210, 192);
}

@media (max-width: 790px) {
  .rental-description-header {
    padding: 0 10%;
  }
}
.rental-description-header p {
  text-align: left;
}
.rental-description-header p::first-letter {
  font-size: 175%;
}
.gallery-btn,
.booking-btn {
  width: 100%;
  background-color: rgb(231, 236, 231);
  border: none;
  color: rgb(0, 0, 0);
  padding: 1em 2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.25rem;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}
.gallery-btn:hover,
.booking-btn:hover {
  background-color: rgb(209, 214, 209);
}
/* * ============== property facts =============== */
.property-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 90%;
  margin: 2em auto;
  border-top: 1px solid rgb(240, 240, 240);
  border-bottom: 1px solid rgb(240, 240, 240);
}

.property-fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25em 1em;
  border-right: 1px solid rgb(240, 240, 240);
}

.property-fact:last-child {
  border-right: none;
}

.property-fact-value {
  font-size: var(--fs-property-facts);
  font-weight: var(--fw-regular);
  margin-top: 0.35em;
}

.property-fact-label {
  font-size: var(--fs-property-facts);
  font-weight: var(--fw-semibold);
}

/* ^ ============== property facts mobile =============== */
@media (max-width: 790px) {
  .property-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-fact:nth-child(2) {
    border-right: none;
  }

  .property-fact:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(240, 240, 240);
  }
}

/* * ============== amenities =============== */
.amenities-header {
  text-align: center;
  border-top: rgb(240, 240, 240) 1px solid;
  padding-top: 2em;
  margin: 2.5em auto;
  width: 90%;
}
.amenities-container {
  justify-content: space-around;
  align-items: center;
  width: 50%;
  margin: 1em auto;
}
.amenities {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5em;
  padding: 1em;
}
.amenities p {
  font-size: 1rem;
  min-width: 90px;
}
.amenities-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
/* * ============== other rentals =============== */
.rental-description-header,
.other-rentals-header {
  width: 90%;
  text-align: center;
  border-top: rgb(240, 240, 240) 1px solid;
  margin: 2.5em;
  padding-top: 2.5em;
}
.rental-description-header h2 {
  text-align: center;
  margin-bottom: 1em;
}
.other-rentals-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  text-align: center;
  width: 100%;
}
.other-rental {
  display: flex;
  flex: 0 1 140px;
  flex-direction: column;
  align-items: center;
}
.other-rentals-container a {
  text-decoration: none;
  color: rgb(41, 41, 41);
}
.other-rentals-container a p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0.5rem 0 0;
  text-align: center;
}
.other-rentals-img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 3px;
}
.other-rental img {
  margin: 0 auto;
  border: solid rgb(204, 204, 204) 1.75px;
  transition: transform 0.75s ease-in-out;
}
@media (max-width: 790px) {
  .rental-description-header {
    width: 100%;
    margin: 2.5em 0;
  }
  .rentals-container {
    width: 100%;
    padding: 0;
  }
  .amenities-container {
    width: 100%;
  }
}
