* {
    font-family: 'Inter';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

header {
    background-color: #131e26;
    border-bottom: 2px solid #1b262e;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

.main-text {
    color: white;
    font-weight: bold;
    font-size: 30px;
    line-height: 1;
}


body {
    background-color: #121a20;
    margin: 0;
    padding: 0;
}

.main-container {
    border: 2px solid #1b262e;
    border-radius: 8px;
    width: 95%;
    margin-left: 1.5rem;
    margin-top: 1rem;
   
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}

button {
    cursor: pointer;
}

.property-card {
  position: relative;
  background-color: #181c23;
  border-radius: 12px;
  overflow: hidden;
  width: 31.42%;
  max-height: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.6s ease;
}

.property-card:hover {
  cursor: pointer;
  transform: scale(1.05);
}

.property-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #007bff;
  color: white;
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 20px;
  font-weight: bold;
  z-index: 1;
}

.card-content {
  padding: 16px;
}

.card-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.card-content p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #ccc;
}

.icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #ccc;
}

.icons i {
  margin-right: 4px;
}

.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 26, 32, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.modal-content {
  background-color: #181c23;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  color: #ccc;
  font-size: 15px;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #007bff;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #0056b3;
}

.modal-content h2 {
  color: white;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 24px;
}

.modal-content p {
  margin-bottom: 10px;
  line-height: 1.3;
}

.modal-content p strong {
  color: #aaa;
  display: inline-block;
  width: 180px;
  font-weight: 600;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: white;
}

.filter-bar select {
  background-color: #181c23;
  border: 1px solid #1b262e;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.filter-bar select:focus {
  border-color: #007bff;
}

