:root {
  --primary-color: #38485f;
  --yellow-color: #dcbb49;
  --yellow-dark-color: #b0963a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#service-selection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
}

#service-selection .service-label {
  color: var(--primary-color);
  text-transform: uppercase;
  font: 30px bold;
}
#service-selection .service-label::after {
  content: "";
  display: block;
  width: 250px;
  margin: auto;
  height: 10px;
  background: url("../images/line.png") center / cover no-repeat;
  margin-top: 10px;
}
.service-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.service-container .service-option {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 20px;
  color: white;
  text-align: center;
  display: flex;
  align-items: end;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.service-container .service-option::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #2c2c2c3d;
}

.service-option > p {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
}

.service-container .service-option:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1024px) {
  .service-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 768px) {
  .service-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 600px) {
  .booking-container {
    min-height: fit-content !important;
  }
  .service-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .service-container .service-option {
    font-size: 1.1rem;
    align-items: start;
    padding-top: 10px;
    border-radius: 10px;
  }
  .service-option > p {
    bottom: 10px;
    margin-bottom: 0;
    padding-inline: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .booking-container {
    align-items: start !important;
    padding-top: 20px;
  }
  #service-selection .service-label {
    font-size: 21px !important;
  }
}
@media screen and (max-width: 400px) {
  .service-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 15px;
  }
}

.booking-container {
  min-height: calc(100vh - 80px);
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.booking-container .booking-content {
  flex-direction: column;
  max-width: 500px;
  width: 100%;
}

.booking-header {
  width: 100%;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  color: white;
  background-color: var(--yellow-color);
  border-radius: 20px 20px 0 0;
  padding: 10px;
}

.booking-content form {
  width: 100%;
}

.booking-content input {
  width: 100%;
  height: 40px;
  margin-bottom: 10px;
  border: none;
  padding: 10px;
}

.booking-button {
  background-color: var(--yellow-color);
  border: none;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
  color: white;
  width: 100%;
  height: 40px;
  font-size: 18px;
}

.booking-button:hover {
  cursor: pointer;
  background-color: var(--yellow-dark-color);
}

.booking-content input {
  width: 100%;
  height: 40px;
  margin-bottom: 10px;
  border: none;
  padding: 10px;
}

.booking-content input:focus {
  outline: none;
}
