.navbar {
  background-color: #fff !important;
}

section#title {
  padding: 110px 0 80px;
}

.title-wrap {
  background-color: #141a26;
  border-radius: 48px;
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.title-wrap h1 {
  color: #fff;
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  max-width: 30%;
}

.title-wrap p {
  color: #fff;
  letter-spacing: 0.5px;
}

.title-wrap img {
  position: absolute;
  width: 70%;
  top: 10%;
  right: -10%;
}

section#intro {
  margin-bottom: 80px;
}

#intro .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#intro .work-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#intro .work-intro h3 {
  font-weight: 900;
  margin-bottom: 0;
}

#intro .work-intro .title {
  max-width: 60%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#intro .work-intro p {
  max-width: 60%;
  line-height: 2rem;
  margin-bottom: 0;
}

#intro .work-intro a {
  border: none;
  background-color: var(--dark-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  max-width: 60%;
}

#intro .work-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: none;
}

#intro .work-info div {
  font-weight: 700;
  letter-spacing: 0.2px;
}

#intro .work-info div span {
  font-weight: 400;
  margin-left: 30px;
  letter-spacing: 0.2px;
}

@media (max-width: 1199.9px) {
  .title-wrap {
    padding: 110px 65px;
  }
  .title-wrap h1 {
    max-width: 38%;
  }
  .title-wrap img {
    width: 70%;
    top: 12%;
    right: -12%;
  }
}

@media (max-width: 990.9px) {
  .title-wrap {
    padding: 100px 50px;
  }
  .title-wrap h1 {
    font-size: 2.2rem;
    max-width: 40%;
  }
  #intro .work-intro .title {
    max-width: 80%;
  }
  #intro .work-intro p {
    max-width: 80%;
  }
}

@media (max-width: 767.9px) {
  section#title {
    padding: 110px 0 50px;
  }
  section#intro {
    margin-bottom: 50px;
  }
  .title-wrap {
    padding: 50px 30px 0;
    border-radius: 30px;
  }
  .title-wrap h1 {
    font-size: 2rem;
    max-width: 100%;
  }
  .title-wrap img {
    position: unset;
    width: 100%;
    transform: translate(10%, 10%);
  }
  #intro .container {
    flex-direction: column;
    gap: 20px;
  }
  #intro .work-intro .title {
    max-width: 100%;
  }
  #intro .work-intro p {
    max-width: 100%;
  }
  #image .container {
    grid-template-columns: repeat(1, 1fr);
  }
  #image .left div,
  #image .right {
    padding: 20px;
    border-radius: 20px;
  }
}

@media (max-width: 578.9px) {
  .title-wrap {
    padding: 40px 30px 0;
  }
  .title-wrap h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .title-wrap p {
    margin-bottom: 30px;
  }
  .title-wrap img {
    transform: translate(0%, 2%);
  }
}

section#more-works {
  margin-top: 70px;
}

#more-works h3 {
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  font-weight: 900;
  font-size: 1.5rem;
}

.product-card {
  margin-bottom: 30px;
}

.product-item {
  position: relative;
  display: block;
  box-shadow: 0px 4px 40px 0px #001f2326;
  border-radius: 25px;
  cursor: pointer;
}

.product-item .img-wrap {
  width: 100%;
  aspect-ratio: 10 / 11;
  background-color: #dbdbdb;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.product-item img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
}

.product-item .info {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 155px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: #068394;
  border-radius: 0 0 25px 25px;
  backdrop-filter: blur(8px);
  transition: height 0.3s ease;
}

.product-item:hover .info {
  height: 180px; /* hover 時變高 */
}

.product-item h4 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin: 0px;
  letter-spacing: 0.5px;
}

.product-item p {
  font-size: 1rem;
  color: #fff;
  margin: 0px;
  letter-spacing: 0.2px;
  line-height: 2rem;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item .label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.8rem;
  padding: 10px 30px;
  border-radius: 30px;
  letter-spacing: 0.2px;
}

.splide__slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 30px;
  background-color: var(--dark-color);
}

.splide__arrow {
  background: transparent;
  opacity: 1;
  border: none;
}

.splide__arrow svg {
  fill: #c5c2c1;
  width: 1.5rem;
  height: 1.5rem;
}
