@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

body {
  font-family: "Tajawal", sans-serif;
  background-color: #f5f5f5;
}

/* START SLIDE SHOW STYLE */
.carousel-item img {
  height: 700px;
  object-fit: fill;
}

/* END SLIDE SHOW STYLE */

/* START OVERLAY SLIDER SHOW STYLE */
.overlay {
  background: #00000045;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  flex-direction: column;
}

/* START Explore Categories STYLE */
.explor-categories h1,
.latest-properties h1 {
  border-bottom: 10px solid #3eb1aa;
  width: fit-content;
  margin: auto;
  padding: 0 0 15px;
}

.category-cards {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.category-card {
  position: relative;
  transition: 0.5s ease;
  border-radius: 5px;
  margin: 10px;
}

.category-card img {
  object-fit: cover;
  border-radius: 5px;
}

.category-card-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(0 0 0 / 42%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.category-card:hover {
  transform: scale(1.07);
  z-index: 1;
}

.category-card-overlay h3 {
  border-bottom: 3px solid;
}

/* PROPERTY CARD STYLE */
.properties {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.property-card {
  background-color: #fff;
  margin-bottom: 15px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 32%;
  padding: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

@media (max-width: 992px) {
  .property-card {
    width: 48%;
  }
}

@media (max-width: 576px) {
  .property-card {
    width: 100%;
  }
}

.property-card:hover {
  transform: scale(1.01);
  z-index: 1;
  box-shadow: 10px 10px 18px 6px rgba(0, 0, 0, 0.1);
}

.property-card img {
  object-fit: cover;
  border-radius: 10px;
}

.info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;
  width: fit-content;
  font-size: 13px;
  color: #787878;
  margin: 15px auto;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
}

.info-label {
  font-weight: bold;
}

.prop-desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  margin: 10px 0;
}

.prop-cat {
  color: #fff;
  background: #3eb1aa;
  position: absolute;
  top: 15px;
  padding: 10px;
  width: fit-content;
  border-radius: 5px;
  right: 15px;
}

#clickable-img {
  cursor: pointer;
}

.gallary-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gallary-overlay-image {
  max-width: 90%;
  max-height: 90%;
}

.prop-title {
  background: #ffff;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 10px;
  font-size: 25px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.prop-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffff;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 10px;
  align-items: flex-start;
  position: relative;
}

.prop-info-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
  flex-wrap: wrap;
}
p.prop_status {
  position: absolute;
  top: 15px;
  background: #3eb1aa;
  padding: 10px;
  border-radius: 5px;
  left: 25px;
  color: #fff;
}

.prop-info-container-item {
  display: flex;
  align-items: center; /* Align items vertically in the center */
  gap: 10px; /* This will add space between the icon and the text */
}

.prop-images {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 20px;
  justify-content: center;
}

.prop-images img {
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s;
}

.prop-images img:hover {
  transform: scale(1.05);
  border-radius: 10px;
}

.res-btn {
  position: absolute;
  width: 17%;
  font-size: 20px;
}
.form-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.form-overlay-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 500px;
  text-align: right; /* لجعل النصوص تتماشى مع اللغة العربية */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

.form-overlay .input-group {
  gap: 10px;
}

.footer {
  background-color: #343a40;
  color: white;
  padding: 20px 0;
  width: 100%;
  text-align: center;
}

.whatsapp:hover {
  transform: scale(1.3);
}

.whatsapp {
  z-index: 999;
  position: fixed;
  bottom: 0;
  color: #25d366;
  font-size: 75px;
  cursor: pointer;
  right: 20px;
  transition: all 0.3s;
}

@media (max-width: 1200px) {
  .carousel-item img {
    height: 600px;
  }
  .category-card img {
    width: 100%;
  }
  .whatsapp {
    font-size: 45px;
  }
  .info-container {
    gap: 7px;
    font-size: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .res-btn {
    position: static;
    width: 100%;
    margin-bottom: 15px;
  }
  .prop-info-container {
    flex-direction: column;
  }
  #clickable-img {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .carousel-item img {
    height: 500px;
  }
  .category-card img {
    width: 100%;
  }
  .property-card img {
    width: 100%;
  }
  .whatsapp {
    font-size: 45px;
  }
  .info-container {
    gap: 7px;
    font-size: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .res-btn {
    position: static;
    width: 100%;
    margin-bottom: 15px;
  }
  .prop-info-container {
    flex-direction: column;
  }
  #clickable-img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 400px;
  }
  .category-card img {
    width: 100%;
  }
  .whatsapp {
    font-size: 45px;
  }
  .property-card img {
    width: 100%;
  }
  .info-container {
    gap: 7px;
    font-size: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .res-btn {
    position: static;
    width: 100%;
    margin-bottom: 15px;
  }
  .prop-info-container {
    flex-direction: column;
  }
  #clickable-img {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .carousel-item img {
    height: 300px;
  }
  .category-card img {
    width: 100%;
  }
  .property-card img {
    width: 100%;
  }
  .whatsapp {
    font-size: 45px;
  }
  .info-container {
    gap: 7px;
    font-size: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .res-btn {
    position: static;
    width: 100%;
    margin-bottom: 15px;
  }
  .prop-info-container {
    flex-direction: column;
  }
  #clickable-img {
    width: 100%;
  }
  .gallary-overlay-image {
    max-width: 75%;
    max-height: 75%;
  }
}

.gallary-btn {
  background: transparent;
  outline: none;
  border: none;
  color: #fff;
  font-size: 50px;
  width: 100%;
  height: 100%;
}
