* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Source Sans Pro", sans-serif;
  color: #fbfbfd;
}

.hero-container {
  background: url("../../Images/Index/home-page-photo.jpg") center / cover
    no-repeat;
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ 主要區域 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
.main {
  background: #333;
}

/* 標題 */
.slogan-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  padding: 20px 8%;
}
.slogan-first {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: lighter;
  line-height: 24px;
  letter-spacing: 7.2px;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.slogan-second {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: bold;
  line-height: 60px;
  letter-spacing: 7.2px;
  text-transform: capitalize;
  text-align: right;
}

/* 服務卡片 */
.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 強制兩列排列 */
  gap: 30px 20px; /* 設定間距 */
  padding: 20px;
  justify-content: center;
  max-width: 400px;
  margin: auto;
  margin-bottom: 70px;
}
/* 單張卡片樣式 */
.service-card-content {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: visible;
  z-index: 2;
}

/* 卡片內的圖片 */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}
/* 卡片底部內容區塊 */
.card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  background: rgba(251, 251, 253, 0.75);
  backdrop-filter: blur(2px);
  text-align: center;
  padding: 20px 10px 10px;
  clip-path: path(
    "M0 9.33333C71.3806 9.40062 109.579 7.27692 175 0V70H0V9.33333Z"
  );
  border-radius: 0px 0px 5px 5px;
}
/* 文字標題 */
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
}
/* 文字副標題 */
.card-subtitle {
  font-size: 8px;
  font-weight: 700;
  color: #8a99c7;
}
/* 讓右半邊卡片全數下移 */
.right-card {
  transform: translateY(50px);
}

/* 毛玻璃背景 */
.card-blur {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  backdrop-filter: blur(8px);
  z-index: -1;
}
.right-card .card-blur {
  transform: translate(15px, -15px);
}
.left-card .card-blur {
  transform: translate(-15px, -15px);
}

/* 大張服務卡片 */
.services-container-big {
  display: grid;
  padding: 20px;
  justify-content: center;
  max-width: 400px;
  margin: auto;
  margin-bottom: 40px;
}
.service-card-content-big {
  position: relative;
  width: 369px;
  height: 254px;
  overflow: visible;
  z-index: 2;
}

/* 大張卡片底部內容區塊 */
.card-content-big {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  background: rgba(251, 251, 253, 0.75);
  backdrop-filter: blur(2px);
  text-align: center;
  padding: 20px 10px 10px;
  clip-path: path(
    "M0 9.33333C150.511 9.40062 231.055 7.27692 369 0V70H0V9.33333Z"
  );
  border-radius: 0px 0px 5px 5px;
}

/* 品牌介紹 */
.brand-intro-container {
  background: url(../../Images/Index/brand-image.jpg) lightgray 50% / cover
    no-repeat;
  position: relative;
  width: 100%;
  height: 275px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
}
.brand-intro-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: 0;
}
.brand-intro-tital {
  font-size: 20px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.brand-intro-content {
  font-size: 10px;
  position: relative;
  z-index: 1;
  line-height: 20px;
  padding: 20px 0;
}
/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ 主要區域 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

@media (max-width: 429px) {
  /* 服務卡片 */
  .services-container {
    gap: 30px 15px;
  }

  /* 單張卡片樣式 */
  .service-card-content {
    width: 100%;
  }
  .card-title {
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  /* 標題 */
  .slogan-container {
    padding: 40px 8%;
  }
  .slogan-first {
    font-size: 60px;
    margin-bottom: 70px;
  }
  .slogan-second {
    font-size: 90px;
    line-height: 120px;
  }

  /* 服務卡片 */
  .services-container {
    gap: 60px 40px;
  }
  /* 單張卡片樣式 */
  .service-card-content {
    width: 320px;
    height: 650px;
  }
  .card-content {
    height: 90px;
    padding: 24px 16px 12px;

    clip-path: path(
      "M0 9.33333 C130.6 9.40062, 200.4 7.27692, 320 0 V90 H0 V9.33333 Z"
    );
  }
  .card-title {
    font-size: 22px;
  }
  .card-subtitle {
    font-size: 12px;
  }

  /* 大張服務卡片 */
  .service-card-content-big {
    width: 730px;
    height: 504px;
  }
  .card-content-big {
    height: 90px;
    clip-path: path(
      "M0 9.33333 C297.6 9.40062 457.1 7.27692 730 0 V90 H0 V9.33333 Z"
    );
  }

  /* 品牌介紹 */
  .brand-intro-container {
    height: 550px;
    padding: 0 40px;
  }
  .brand-intro-tital {
    font-size: 40px;
  }
  .brand-intro-content {
    font-size: 20px;
    line-height: 40px;
    padding: 40px 0;
  }
}
