.title2 {text-align: center;
  font-size: 48px;
  padding: 2em 0em 1em 0em;
  background-color: hwb(84 78% 18%);
  margin: 0px;
}

.intros {
  display: flex;
  align-self: center;
  text-align: center;
  max-width: 100vw;
  padding: 0em 8em;
  font-size: 25px;
  line-height: 1.5;
}

/* OBJECTEN TE KOOP */
/* OBJECTEN TE KOOP - GRID 3 */

.object-gallery {
  background-color: hwb(84 78% 18%);
  padding: 80px 15%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Card */

.object-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden; /* zorgt dat foto netjes in de rounded corners valt */
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.object-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* FOTO — geen margins, vult volledig */

.object-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Nummer */

.object-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  font-family: 'Poiret One', sans-serif;
  color: white;
  background-color: rgba(0,0,0,0.4);
  padding: 6px 12px;
  border-radius: 50px;
}

/* Tekstgedeelte met margin/padding */

.object-info {
  padding: 25px;
}

.object-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
  font-family: 'Poiret One', sans-serif;
}

.price {
  font-size: 18px;
  font-family: 'Noto Sans Display', sans-serif;
  color: hwb(113 18% 73%);
}

/* CONTACT FORM */

.contactform-wrapper {
  display: flex;
  justify-content: center;
  padding: 4% 20% 8% 20%;
  background-color: hwb(84 78% 18%);
}

.contactform {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Poiret One', sans-serif;
}

.contactform label {
  font-size: 18px;
  color: #202218;
}

.contactform input,
.contactform textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-family: 'Noto Sans Display', sans-serif;
  transition: all 0.3s ease;
}

.contactform input:focus,
.contactform textarea:focus {
  outline: none;
  border: 1px solid hwb(113 18% 73%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.contactform button {
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 50px;
  background-color: hwb(113 18% 73%);
  color: hwb(84 78% 18%);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contactform button:hover {
  background-color: hwb(84 78% 18%);
  color: black;
  border: 2px solid hwb(113 18% 73%);
}

/* Section */


.objects-container {
    padding: 40px 10%;
}

.objects-container h2 {
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}

.objects-container h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80vw;
  height: 2px;
  background-color: #ddd;
  transform: translateX(-50%);
}

@media screen and (max-width: 1024px) {
  .object-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .object-gallery {
    grid-template-columns: 1fr;
  }
}