.machine-shop-wrapper {
  height: 100%;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  gap: 2rem;
}

.machine-shop-wrapper h1 {
  font-size: 4rem;
}

.parts-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  gap: 1rem;
  width: 80%;
  background-color: #e6e6e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.part-card {
  width: calc(33% - 1rem);
  text-align: center;
}

.part-card img {
  width: 100%;
}

.part-card p {
  margin-top: 1rem;
}

.machine-shop-container {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.machine-shop-card {
  display: block;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: calc(33% - 1rem);
  border-radius: 1rem;
  background: #e6e6e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.machine-shop-img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.machine-shop-card h3 {
  font-size: 1.3rem;
}

.machine-shop-card-text {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.custom-title {
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  color: #a3a3a3;
  text-align: center;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .machine-shop-wrapper {
    margin-top: 100px;
    height: 100%;
    padding: 60px 1rem 1rem 1rem;
  }

  .machine-shop-wrapper h1 {
    font-size: 2.5rem;
  }

  .parts-container {
    flex-direction: column;
    padding: 1rem;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  .part-card {
    width: 100%;
  }

  .part-card p {
    font-size: 1.5rem;
    margin: 1rem 0 2rem 0;
  }

  .machine-shop-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .machine-shop-card {
    width: 100%;
  }

  .custom-title {
    letter-spacing: 0.4rem;
  }
}
