/* ---------- Global ---------- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
}

/* Page Title */
h1 {
  text-align: center;
  margin: 2rem 0 1.5rem;
  font-weight: 600;
  color: #222;
}

/* ---------- Listing Card ---------- */
.listing {
  max-width: 900px;
  margin: 0 auto 3rem;
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Listing Image */
.listing img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

/* ---------- Details ---------- */
.details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  color: #444;
}

.details li strong {
  color: #222;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.d-flex {
  justify-content: flex-start;
}

.btn-dark {
  background-color: #222;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 500;
}

.btn-danger {
  border-radius: 30px;
  padding: 10px 22px;
}

.btn:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Divider */
hr {
  margin: 2.5rem 0;
}

/* ---------- Review Section ---------- */
.col-8.offset-3 {
  margin: 0 auto;
}

h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}

/* Review Form */
.needs-validation {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 15px;
}

.form-label {
  font-weight: 500;
  color: #333;
}

/* Range Slider */
input[type="range"] {
  width: 100%;
}

/* Textarea */
textarea.form-control {
  border-radius: 10px;
  resize: none;
}

/* Submit Review Button */
.needs-validation button {
  margin-top: 1rem;
  border-radius: 30px;
  padding: 10px 26px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .listing {
    padding: 1.3rem;
    margin: 1rem;
  }

  .listing img {
    height: 260px;
  }

  .col-8.offset-3 {
    width: 100%;
    margin: 0;
  }
}


/* map css */

.map-container {
  display: flex;
  justify-content: center;
}

#map {
  height: 400px;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}




