/* Base Styles */
body {
  font-family: Poppins, Arial, sans-serif;
  background-color: #121212; /* Dark background */
  color: #e0e0e0; /* Light text */
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Links */
a {
  color: #bb86fc;
  text-decoration: none;
}

a:hover {
  color: #d0a9ff;
  text-decoration: underline;
}

/* Centered Content */
.container {
  margin: 0 auto;
}

/* Gallery Images */
.gallery img {
  border: 2px solid #333;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
footer p {
  color: #888;
  font-size: 0.9rem;
}

.items-for-sale {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* Adjust spacing between cards */
}

.items-for-sale .col-md-4 {
  display: flex;
  flex: 1 1 calc(33.333% - 1.5rem); /* Adjust width and spacing */
  max-width: calc(33.333% - 1.5rem);
}

.items-for-sale .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensures all cards are the same height */
}

.card.sold {
  position: relative;
}

.card.sold::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* Adjust size */
  height: 80%; /* Adjust size */
  background: url('../img/sold.png') center center / contain no-repeat;
  opacity: 1; /* Adjust transparency */
  pointer-events: none; /* Ensures the overlay doesn't block interactions */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .items-for-sale .col-md-4 {
    flex: 1 1 100%; /* Make each item take up the full width */
    max-width: 100%; /* Ensure no extra spacing */
  }
}