/**
 * 首頁樣式 (index.php)
 *
 * 此檔案包含首頁的所有特定樣式
 * 引入順序：依賴於 component.css

 *
 * @package
 */

/* 首頁首圖 */
.hero-image {
  width: 100%;
}

/* moving company section */
.home-about-section {
  padding: 78px 0;
  position: relative;
}

.home-about-section .home-btn {
  margin-top: 30px;
}

/* relocation area section */
.relocation-area-section {
  position: relative;
  padding: 68px 0 60px;
  background-image: url("../../images/company-section-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.relocation-area-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 66px;
  text-align: left;
  color: #fff;
  font-family: Inter;
  margin: 35px auto 29px;
}
.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.area-info-item {
  width: 146px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
}

.area-info-item h3 {
  color: #fff;
}
.green-bg-title-wrapper {
  flex-shrink: 0;
  align-self: stretch;
  height: 146px;
  border-radius: 83px;
  background-color: #53bf6f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.orange-title-wrapper {
  flex-shrink: 0;
  align-self: stretch;
  height: 146px;
  border-radius: 83px;
  background-color: #ffac27;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.area-info-text {
  text-align: center;
}

/* service plan */

.service-plan-section {
  padding: 86px 0 0;
}
.service-plan-section .slider-dots {
  display: none;
}
.service-plan-section .slider-dot {
  border-color: #53bf6f;
}
.service-plan-section .slider-dot.active {
  background-color: #53bf6f;
}
.service-plan-items {
  position: relative;
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 78px;
  color: #fff;
  font-family: Inter;
  justify-content: center;
  margin: 30px auto 33px;
}
.service-item {
  max-width: 214px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-des-wrapper {
  align-self: stretch;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.plan-title-wrapper {
  align-self: stretch;
  height: 42px;
  border-radius: 0px 0px 4px 4px;
  background-color: #53bf6f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.plan-title {
  color: #fff;
}

.plan-text {
  text-align: center;
}
.icon {
  width: 100%;
  height: auto;
  position: relative;
  border-radius: 4px 4px 0px 0px;
}

.highlight-title {
  color: #ff942b;
  font-weight: 700;
  font-size: 1.5rem;
}
.plan {
  margin-bottom: 35px;
}

.service-highlights-items {
  width: 100%;
  max-width: 936px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 50px;
  align-items: flex-start;
  align-content: flex-start;
  gap: 20px 84px;
  text-align: left;
  font-family: Inter;
}
.highlights-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.charmcircle-tick-icon {
  width: 30px;
  position: relative;
  max-height: 100%;
}

.highlight-title {
  white-space: nowrap;
}
.highlight-text {
  white-space: nowrap;
}

/* Moving return */
.moving-return-section {
  padding: 149px 0;
  position: relative;
}
.moving-return-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.moving-return {
  margin: 30px auto;
}
.service-features {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
  text-align: left;
  font-family: Inter;
  justify-content: center;
  margin-bottom: 39px;
}
.service-features-items {
  max-width: 508px;
  width: 100%;
  border-radius: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.service-features-item {
  align-self: stretch;
  height: 56px;
  box-shadow: 0px 4px 23px rgba(0, 0, 0, 0.25);
  border-radius: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
  box-sizing: border-box;
}

/* waste removal */

.waste-removal-section {
  padding: 88.71px 0 78.71px;
  background-image: url(../../images/removal-section-bg.webp);
  position: relative;
}

.wast-section-bg {
  position: absolute;
  top: calc(10px + 3vw);
  left: 0;
  width: clamp(180px, 32%, 610px);
  z-index: -1;
}
.waste-removal-items {
  width: 100%;
  max-width: 1275px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 30px 36px;
  text-align: center;
  font-family: Inter;
  margin: 30px auto 58px;
}
.waste-removal-item {
  width: 478px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
.wast-green-title-wrapper {
  width: 156px;
  height: 42px;
  background-color: #53bf6f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  box-sizing: border-box;
}
.waste-orange-title-wrapper {
  width: 156px;
  height: 42px;
  background-color: #ff942b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  box-sizing: border-box;
}

.wast-title {
  color: #fff;
}

.wast-text {
}

.blue-highlight-title {
  color: #0b2341;
  font-family: Inter;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 2.8px;
  margin-bottom: 30px;
}

/* truck */

.truck-section {
  padding: 65px 0;
}
.truck-items {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 128px;
  text-align: center;
  font-family: Inter;
  justify-content: center;
  margin: 30px auto 48px;
}
.truck-item {
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 29px;
}
.truck-weight {
  align-self: stretch;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.target-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.truck-icon {
  position: relative;
  object-fit: contain;
}
.truck-green-title {
  font-weight: 700;
  align-self: stretch;
  flex: 1;
  position: relative;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a8164;
}
.truck-orange-title {
  color: #ff942b;
  font-weight: 700;
}
.target-audience {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.truck-note-text {
  align-self: stretch;
  position: relative;
  line-height: 40px;
  font-size: 1.25rem;
  font-weight: 700;
}

.target-mobile-hr {
  display: none;
}
.truck-text {
  align-self: stretch;
  position: relative;
  line-height: 24px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.truck-orange-title {
  width: 160px;
  flex: 1;
  position: relative;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*============
 news section
==============*/
.home-news-section {
  padding: 84px 0 157px;
  background: linear-gradient(180deg, #eee 0%, rgba(238, 238, 238, 0) 100%);
}

.home-news-section .home-btn {
  align-self: center;
  position: absolute;
  bottom: -15px;
}
.home-news-outer-container {
  width: 100%;
  max-width: 1359px;
  margin: 30px auto 0;
  position: relative;
}

.home-news-slider-wrapper {
  overflow: hidden;
  padding: 25px 25px 40px 25px;
}

.home-news-slider {
  display: flex;
  gap: 86px;
}

.home-news-card-item {
  flex: 0 0 379px;
  width: 379px;
}

.home-news-card-body {
  background: #fff;
  box-shadow: 0 4px 21.4px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 21px 21px 33px;
  position: relative;
}

.home-news-img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.home-news-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 12px;
}
.home-news-title {
  color: #53bf6f;
  margin: 0;
  font-weight: 600;
  flex: 1;
}
.home-news-date {
  font-weight: 600;
  color: #000;
}
.home-news-excerpt {
  height: 4.8em;
  overflow: hidden;
  margin-bottom: 20px;
}
.home-news-more {
  margin: 0 20px 25px;
  display: inline-block;
  font-weight: bold;
  text-decoration: underline;
  color: #000;
}

.home-news-section .slider-dots {
  display: flex;
  justify-content: center;
  gap: 27px;
  margin-top: 40px;
}

.home-news-more-btn {
  display: none;
}

@media (max-width: 1700px) {
  .wast-section-bg {
    top: calc(10px + 13vw);
    width: clamp(180px, 32%, 610px);
  }
}

@media (max-width: 1440px) {
  .home-news-outer-container {
    max-width: 894px;
  }

  .wast-section-bg {
    top: calc(10px + 21vw);
    width: clamp(180px, 25%, 610px);
  }
}

/* --- 手機版 RWD 調整 --- */

@media (max-width: 480px) {
  .home-about-section {
    padding: 24px 0 32px;
  }
  .home-about-section .home-btn {
    margin-top: 20px;
  }

  .highlight-title {
    font-size: 1rem !important;
    font-weight: 500;
  }
  /* relocation area */
  .relocation-area-section {
    padding: 32px 0 36px;
    background-image: url(../../images/company-section-bg-rwd.webp);
  }

  .relocation-area-wrapper {
    flex-direction: column;
    gap: 16px;
    margin: 20px auto 16px;
    max-width: 297px;
  }

  .area-info-item {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    align-items: center;
  }

  .green-bg-title-wrapper,
  .orange-title-wrapper {
    width: 73px;
    min-width: 73px;
    height: 73px;
    align-self: auto;
  }

  .area-info-text {
    text-align: left;
  }

  /* service */
  .service-plan-section {
    padding: 28px 0 0;
  }
  .service-plan-items {
    gap: 24px;
    margin: 27.5px auto 19.5px;
    align-items: flex-start;
  }
  .service-plan-slider {
    flex-wrap: nowrap;
  }
  .service-plan-slide {
    flex-shrink: 0;
    width: 214px;
  }
  .service-plan-section .slider-dots {
    display: flex;
    margin-top: 0;
    margin-bottom: 28px;
  }
  .plan-des-wrapper {
    gap: 8px;
    height: auto;
  }

  .plan-title-wrapper {
    height: 28px;
  }
  .service-highlights-items {
    margin: 16px auto 28px;
    gap: 16px;
    grid-template-columns: repeat(1, 1fr);
  }

  .highlight-title {
    margin-bottom: 0;
  }
  .highlights-item {
    gap: 12px;
  }
  .charmcircle-tick-icon {
    width: 18px;
    height: auto;
  }

  /* moving retrun */
  .moving-return-section {
    padding: 104px 0 32px;
  }

  .moving-return {
    margin: 20px auto 0;
  }

  .service-features {
    margin: 8px auto 28px;
    gap: 12px;
    flex-direction: column;
    max-width: 300px;
  }
  .service-features-items {
    gap: 12px;
  }
  .service-features-item {
    height: 24px;
    padding: 0;
  }

  /* waste */
  .waste-removal-section {
    padding: 32px 0 41px;
    background-image: url(../../images/removal-section-bg-rwd.webp);
  }

  .wast-section-bg {
    display: none;
  }
  .waste-removal-items {
    margin: 20px auto 28px;
    justify-content: center;
    gap: 20px;
  }
  .waste-removal-item {
    width: 100%;
    align-items: center;
    gap: 8px;
  }
  .waste-orange-title-wrapper,
  .wast-green-title-wrapper {
    height: 24px;
    padding: 0;
  }

  .wast-title {
    font-size: 1rem !important;
    line-height: 1.3;
    font-weight: 400;
  }
  .blue-highlight-title {
    font-size: 1rem !important;
    margin-bottom: 28px;
  }

  .waste-removal-item:nth-child(1) {
    order: 1;
  }

  .waste-removal-item:nth-child(2) {
    order: 2;
  }

  .waste-removal-item:nth-child(3) {
    order: 4;
  }

  .waste-removal-item:nth-child(4) {
    order: 3;
  }

  /* truck */
  .truck-section {
    padding: 23px 0 32px;
  }
  .truck-items {
    flex-direction: column;
    gap: 28px;
    margin: 22px auto 28px;
    align-items: center;
  }
  .truck-item {
    gap: 15.5px;
    width: 100%;
  }
  .truck-weight {
    height: auto;
    gap: 4px;
  }

  .truck-icon {
    width: 74px;
  }

  .truck-green-title {
    line-height: normal;
    font-weight: 500;
  }

  .target-wrap {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .target-audience {
    gap: 8px;
  }
  .truck-note-text {
    font-size: 1rem;
    line-height: normal;
  }

  .target-mobile-hr {
    display: block;
    width: 1px;
    height: 46px;
    background: #656565;
  }

  .truck-text {
    font-size: 12px;
    line-height: normal;
    max-width: 132px;
    text-align: center;
    white-space: normal;
  }

  .home-news-section {
    padding: 32px 0 36px;
  }

  .home-news-outer-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto 0;
  }

  .home-news-card-body {
    padding: 13px 14.25px 17px;
  }

  .home-news-meta-row {
    align-items: center;
    padding: 13px 0 12px;
  }

  .home-news-img-box img {
    height: auto;
  }

  .home-news-title {
    font-size: 0.875rem !important;
    font-weight: 500;
  }
  .home-news-date {
    font-size: 10px;
    font-weight: 400;
  }
  .home-news-excerpt {
    font-size: 12px;
    margin-bottom: 17px;
  }
  .home-news-section .home-btn {
    position: relative;
    bottom: auto;
  }
  .home-news-slider {
    flex-wrap: nowrap;
    gap: 28px;
  }

  .home-news-card-item {
    flex: 0 0 217px;
    width: 217px;
  }

  .home-news-section .slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 0;
  }
  .home-news-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin: 20px auto 0;
    background: #53bf6f;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    width: 112px;
    height: 26px;
    margin-top: 20px;
  }
  .home-news-more-btn-icon {
    width: auto;
    height: auto;
  }
}
