/* General Styles */
body {
  font-family: "Playfair Display", serif;
  text-align: center;
  background-color: #f0f4f8;
  color: #2d3a3a;
  margin: 0;
  padding: 0;
}

header {
  background-color: #36454f;
  color: white;
  padding: 20px;
  font-size: 24px;
}

.home-button {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 15px;
  background: #2d3a3a;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
}

.home-button:hover {
  background: #4a6263;
}

/* Home Grid */
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 20px;
  padding: 20px;
  justify-items: center; /* Center cards on smaller screens */
}

/* Responsive: 2 columns on tablets */
@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on phones */
@media (max-width: 600px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* Home Cards */
.home-card {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  width: 100%;
  max-width: 300px;
}


.home-card:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  background-color: #dde8e2;
}

.home-card img {
  width: 100%;
  border-radius: 8px;
  transition: filter 0.3s;
}

.home-card:hover img {
  filter: brightness(85%) (1px);
}


.home-card2 {
  background-color: orange;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  width: 100%;
  max-width: 300px;
}


.home-card2:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  background-color: #dde8e2;
}

.home-card2 img {
  width: 100%;
  border-radius: 8px;
  transition: filter 0.3s;
}

.home-card2:hover img {
  filter: brightness(85%) (1px);
}


/* Buttons */
button,
.select-home {
  background-color: #0077ff;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

button:hover,
.select-home:hover {
  background-color: #0055cc;
}

/* Home Details Page */
.home-details {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.home-details img {
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  display: block;
  border-radius: 8px;
}

#base-price,
#total-price {
  font-size: 20px;
  margin: 15px 0;
}

label {
  display: block;
  margin: 8px 0;
  font-size: 16px;
}



<style>
  fieldset {
    border: 1px solid #ccc;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 6px;
  }

  legend {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
  }

  label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
    font-size: 16px;
  }

  input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2); /* Optional: makes checkboxes more visible */
  }
</style>