/*
 * City listing pages (/properties/*) - shared stylesheet
 * Generated from the CSS that used to be copy-pasted (twice over, with duplicates) into every city view.
 */

/* ---- Listing section ---- */

.tent-section {
  padding: 110px 0px 60px;
  background: rgb(247, 247, 247);
  font-family: Poppins, sans-serif;
}

.tent-section h1 {
  font-size: 2.5rem;
  color: rgb(51, 51, 51);
  margin-bottom: 40px;
  font-weight: 700;
}

/* ---- Card grid ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ---- Property card ---- */

.tent-card {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px;
  padding: 20px;
  background: rgb(255, 255, 255);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
  cursor: pointer;
  border: 2px solid;
  position: relative;
}

.tent-card:hover {
  transform: translateY(-10px);
  border: 2px solid rgb(255, 102, 0);
  box-shadow: rgb(255, 102, 0) 0px 0px 20px, rgba(255, 102, 0, 0.6) 0px 0px 40px;
}

.like-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
  transition: 0.3s;
  z-index: 5;
}

.like-icon i {
  color: rgb(187, 187, 187);
  transition: 0.3s;
}

.like-icon.active i {
  color: red;
}

.like-icon:hover {
  transform: scale(1.1);
}

.tent-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.tent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.tent-card:hover .tent-img img {
  transform: scale(1.1);
}

.tent-content {
  padding: 20px;
  text-align: center;
}

.tent-content h3 {
  font-size: 1.3rem;
  color: rgb(51, 51, 51);
  font-weight: 600;
  margin-bottom: 10px;
}

.tent-content p.location {
  font-size: 0.9rem;
  color: rgb(102, 102, 102);
  margin-bottom: 15px;
}

.tent-content p.location i {
  color: rgb(245, 124, 0);
  margin-right: 5px;
}

.tent-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tent-buttons .btn {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.tent-buttons .whatsapp-btn {
  background: rgb(37, 211, 102);
  color: rgb(255, 255, 255);
}

.tent-buttons .whatsapp-btn:hover {
  background: rgb(30, 190, 93);
}

.desc-btn {
  background: rgb(255, 152, 0);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}

.desc-btn:hover {
  background: rgb(230, 137, 0);
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .tent-card {
    margin-bottom: 20px;
  }
  .tent-section h1 {
    font-size: 2rem;
  }
}

/* ---- Floating social icons (right edge) ---- */

.social-fixed {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
}

.tiktok {
  background: rgb(0, 0, 0);
}

.facebook {
  background: rgb(24, 119, 242);
}

.instagram {
  background: linear-gradient(45deg, rgb(240, 148, 51), rgb(230, 104, 60), rgb(220, 39, 67), rgb(204, 35, 102), rgb(188, 24, 136));
}

.whatsapp {
  background: rgb(37, 211, 102);
}

/* ---- Page heading ---- */

.products-heading {
  display: inline-block;
  position: relative;
}

.products-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: var(--underline-width, 80px);
  height: 4px;
  background: orange;
  border-radius: 5px;
}

/* ---- "Submit property" modal - selected image thumbnails ---- */

#imagePreview {
  display: flex;
  flex-wrap: wrap;
}