@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap");
:root {
  font-size: clamp(16px, 2.8vw, 18px);
}

h1 {
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.35rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  font-weight: 500;
}

h5 {
  font-size: clamp(1.125rem, 1.7vw, 1.2rem);
  font-weight: 400;
}

h6 {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
}

p,
a,
span {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
}

small {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  font-weight: 400;
}

li {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.4;
}

body {
  background-color: #f8f6f4;
  color: #333333;
  font-family: "Noto Sans TC", sans-serif;
  line-height: 1.8;
  background-image: radial-gradient(circle at 10% 20%, rgba(199, 154, 142, 0.03) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(214, 195, 165, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #c79a8e;
}
@media (max-width: 768px) {
  a:hover {
    color: inherit;
  }
}

/* CSS */
[data-aos=blur-up] {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(10px);
  transition: all 0.1s ease;
}

[data-aos=blur-up].aos-animate {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

h2.section-title {
  font-family: "Playfair Display", "Noto Serif TC", serif;
  font-size: 2.5rem;
  color: #333333;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  letter-spacing: 0.05em;
  font-weight: 600;
}
@media (max-width: 768px) {
  h2.section-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
}
h2.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c79a8e, #d6c3a5);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}
h2.section-title::before {
  content: attr(data-en);
  display: block;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 0.85rem;
  color: #c79a8e;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

h2 {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}

.split {
  display: inline-block;
  overflow: hidden;
  text-shadow: 0 1.3em currentColor; /* 和 JS 位移一致 */
  will-change: transform;
  padding: 1 1rem;
}

.char {
  display: inline-block;
  position: relative;
}

section {
  padding: 8rem 0rem;
}
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

a {
  text-decoration: none;
  color: #c79a8e;
}

img {
  -o-object-fit: cover;
     object-fit: cover;
}

.all-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  opacity: 0.7;
}
.all-bg img {
  width: 100%;
  height: 100%;
}

.cta-link {
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 999;
  flex-direction: column;
  display: flex;
  gap: 1rem;
  /* 避免子項目被等寬拉伸，同時維持靠右貼齊 */
  align-items: flex-end;
}
@media (max-width: 768px) {
  .cta-link {
    bottom: 1rem;
    right: 0.5rem;
  }
}
.cta-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 2rem;
  overflow: hidden;
}
.cta-link a.line {
  background: #39cd00;
}
.cta-link a.tel {
  background: #c79a8e;
}
.cta-link a.tel svg #background {
  fill: #c79a8e;
}
.cta-link a.tel svg #icon {
  fill: white;
  fill: #333;
}
.cta-link a .icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.cta-link a .icon svg {
  width: 50px;
}
.cta-link a .label {
  white-space: nowrap;
  overflow: hidden;
  color: white;
  /* 用可動畫屬性取代 display */
  opacity: 0;
  visibility: hidden;
  max-width: 0; /* 或用 width，依喜好 */
  margin-left: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.cta-link a:hover {
  gap: 0.5rem;
}
.cta-link a:hover .label {
  opacity: 1;
  visibility: visible;
  max-width: 200px;
  margin-left: 0rem;
  padding-right: 1rem;
  transform: translateX(0);
  transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease, visibility 0s;
}
.cta-link .dropdown-menu {
  margin-right: 0.25rem;
  margin-left: 0;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background: #ebebeb;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .navbar-brand span {
  font-size: 1.5rem;
  font-weight: 500;
  color: #c79a8e;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .navbar .navbar-brand span {
    font-size: 1.2rem;
  }
}
.navbar .navbar-brand span i {
  font-weight: 400;
  font-size: 1rem;
}
.navbar .navbar-brand .img-box {
  width: 120px;
  height: 110px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .navbar .navbar-brand .img-box {
    width: 90px;
    height: 70px;
  }
}
.navbar .navbar-brand .img-box img {
  transform: scale(1.4);
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  transition: 0.5s;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse {
    padding-top: 1rem;
  }
}
.navbar .navbar-collapse .navbar-nav {
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse .navbar-nav {
    gap: 0.5rem;
  }
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #c79a8e;
}

.parallax-fixed {
  position: relative;
  height: 100vh; /* 可自行調整高度 */
  overflow: hidden;
}
.parallax-fixed .parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 120%;
}
.parallax-fixed .parallax-img img {
  width: 100%;
  height: 100%;
}

.parallax-dynamic {
  position: relative;
  /* 高度交給圖片本身決定 */
}
.parallax-dynamic .parallax-media {
  overflow: hidden;
  line-height: 0; /* 移除 img 作為 inline 元素的行高縫隙 */
}
.parallax-dynamic .parallax-media img {
  display: block;
  width: 100%;
  height: auto;
  /* 關鍵：先往上、並放大一點，避免上下兩端出現空白 */
  transform: translateY(-12%) scale(1.12);
  transform-origin: center;
  will-change: transform;
}

#hero {
  width: 100%;
  height: calc(100vh - 139.25px);
  position: relative;
  overflow: hidden;
  margin-top: 139.25px;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 96px;
    height: 40vh;
  }
}
#hero .swiper {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}
#hero .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
#hero .swiper .swiper-slide-active img {
  transform: scale(1.1); /* 只要變 active 就開始放大 */
}
#hero .cta-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: start;
}
@media (max-width: 768px) {
  #hero .cta-box {
    padding: 1rem;
  }
}
#hero .cta-box .cta-content {
  color: #7a5a42;
  padding: 2rem 3rem;
  border-radius: 1rem;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content {
    padding: 0;
  }
}
#hero .cta-box .cta-content h1 {
  margin-bottom: 1rem;
}
#hero .cta-box .cta-content p {
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content p {
    padding-right: 8rem;
  }
}
#hero .cta-box .cta-content .btn-box {
  display: flex;
  gap: 1rem;
  align-items: center;
}
#hero .cta-box .cta-content .btn-box a {
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10rem;
  transition: 0.5s;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .btn-box a {
    padding: 0.5rem 1rem;
  }
}
#hero .cta-box .cta-content .btn-box a i {
  padding-left: 0.5rem;
  font-size: 1.3rem;
}
#hero .cta-box .cta-content .btn-box a:first-child {
  background: #c79a8e;
  color: white;
}
#hero .cta-box .cta-content .btn-box a:last-child {
  color: gray;
  background: white;
}
#hero .cta-box .cta-content .btn-box a:last-child:hover {
  background: white;
  color: #c79a8e;
}

#about .single-cert-section {
  margin-top: 5rem;
  position: relative;
  padding-top: 3rem;
  border-top: 1px solid rgba(227, 199, 191, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#about .single-cert-section .section-subtitle {
  font-family: "Playfair Display", serif;
  color: #7a5a42;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
#about .single-cert-section .section-subtitle i {
  color: #d6c3a5;
  font-size: 1.4rem;
}
#about .honor-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(199, 154, 142, 0.15);
  border: 1px solid rgba(227, 199, 191, 0.3);
  max-width: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  #about .honor-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}
#about .honor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(199, 154, 142, 0.2);
  border-color: #d6c3a5;
}
#about .honor-card .honor-img-box {
  flex: 0 0 100%;
  position: relative;
  padding: 8px;
  border: 1px solid #e3c7bf;
  border-radius: 4px;
}
@media (max-width: 768px) {
  #about .honor-card .honor-img-box {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
  }
}
#about .honor-card .honor-img-box img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05);
}
#about .honor-card .honor-content {
  flex: 1;
}
#about .honor-card .honor-content h4 {
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
#about .honor-card .honor-content .honor-org {
  font-size: 0.95rem;
  color: #d6c3a5;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: "Noto Sans TC", sans-serif;
}
#about .honor-card .honor-content p {
  font-size: 0.95rem;
  color: #7a5a42;
  line-height: 1.6;
  margin-bottom: 0;
}
#about .honor-card .honor-content .stamp-icon {
  margin-top: 1rem;
  color: rgba(199, 154, 142, 0.2);
  font-size: 3rem;
}
@media (max-width: 768px) {
  #about .honor-card .honor-content .stamp-icon {
    display: none;
  }
}
#about .about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-right: 3rem;
}
@media (max-width: 992px) {
  #about .about-content {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
}
#about .about-text {
  font-size: 1.1rem;
  color: rgb(76.5, 76.5, 76.5);
  margin-bottom: 2rem;
  text-align: justify;
}
@media (max-width: 768px) {
  #about .about-text {
    text-align: left;
  }
}
#about .image-wrapper {
  position: relative;
  padding: 20px;
  width: 100%;
  height: 350px;
}
#about .image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border: 1px solid #d6c3a5;
  border-radius: 12px;
  z-index: 0;
}
#about .image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background-color: rgba(227, 199, 191, 0.3);
  border-radius: 12px;
  z-index: 0;
}
#about .image-wrapper img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px -10px rgba(199, 154, 142, 0.15);
  transition: transform 0.5s ease;
}
#about .image-wrapper img:hover {
  transform: translateY(-5px);
}

#services {
  position: relative;
  background-color: #f8f6f4;
  background-image: radial-gradient(circle at 10% 20%, rgba(199, 154, 142, 0.03) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(214, 195, 165, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}
#services .service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(227, 199, 191, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
#services .service-card:hover {
  box-shadow: 0 15px 35px -10px rgba(199, 154, 142, 0.25);
  transform: translateY(-5px);
  border-color: #d6c3a5;
}
#services .service-card:hover .service-img img {
  transform: scale(1.05);
}
#services .service-card .service-img {
  height: 500px;
  overflow: hidden;
}
#services .service-card .service-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s ease;
}
#services .service-card .service-body {
  padding: 2rem;
  flex-grow: 1;
}
#services .service-card h3 {
  font-size: 1.35rem;
  color: #333333;
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(199, 154, 142, 0.2);
  padding-bottom: 0.8rem;
}
#services .service-card p {
  color: rgb(89.25, 89.25, 89.25);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
#services .service-card .service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
#services .service-card .service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #333333;
}
#services .service-card .service-features li i {
  color: #c79a8e;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}
#services .category-header {
  text-align: center;
  margin: 4rem 0 2rem;
  color: #c79a8e;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
#services .category-header i {
  color: #d6c3a5;
  font-size: 1.8rem;
}
#services .service-list-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 3px solid #e3c7bf;
  height: 100%;
  transition: 0.3s;
}
#services .service-list-item:hover {
  background: #ffffff;
  border-left-color: #c79a8e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
#services .service-list-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#services .service-list-item .service-title {
  font-weight: 500;
}
#services .service-list-item .service-price {
  font-size: 1rem;
  font-weight: 700;
  color: #c79a8e;
  letter-spacing: 1px;
}

#process .process-step {
  position: relative;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(227, 199, 191, 0.4);
  height: 100%;
  transition: 0.3s;
  overflow: hidden;
}
#process .process-step:hover {
  border-color: #c79a8e;
  box-shadow: 0 10px 30px -10px rgba(199, 154, 142, 0.15);
}
#process .process-step:hover .step-number {
  color: #c79a8e;
  transform: scale(1.1);
}
#process .process-step:hover .step-icon {
  background: #c79a8e;
  color: #ffffff;
}
#process .process-step .step-number {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(227, 199, 191, 0.2);
  font-family: "Playfair Display", "Noto Serif TC", serif;
  line-height: 1;
  transition: 0.3s;
  z-index: 0;
}
#process .process-step .step-icon {
  width: 50px;
  height: 50px;
  background: rgba(227, 199, 191, 0.2);
  color: #c79a8e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}
#process .process-step h3 {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
#process .process-step p,
#process .process-step ul {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgb(89.25, 89.25, 89.25);
}
#process .process-step ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}
#process .process-step ul li {
  margin-bottom: 0.3rem;
  padding-left: 1rem;
  position: relative;
}
#process .process-step ul li::before {
  content: "•";
  color: #d6c3a5;
  position: absolute;
  left: 0;
}

.auto-carousel {
  padding: 0;
}
.auto-carousel .swiper {
  width: 100%;
  transform: rotate(0deg);
  position: relative;
}
.auto-carousel .swiper .swiper-wrapper {
  transition-timing-function: linear !important; /* 平滑線性移動 */
}
.auto-carousel .swiper .swiper-slide {
  width: 600px;
  aspect-ratio: 3/2;
}
@media (max-width: 768px) {
  .auto-carousel .swiper .swiper-slide {
    width: 300px;
  }
}
.auto-carousel .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #c79a8e;
}
#works .nav-pills .nav-link {
  color: #ff6b00;
}

#contact {
  background-color: #f8f6f4;
  background-image: radial-gradient(circle at 10% 20%, rgba(199, 154, 142, 0.03) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(214, 195, 165, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}
@media (max-width: 768px) {
  #contact {
    padding-bottom: 1rem;
  }
}
#contact .contact-box {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #contact .contact-box {
    margin-bottom: 1rem;
  }
}
#contact .contact-box:last-child {
  margin-bottom: 0;
}
#contact .contact-box .icon-box {
  background: #c79a8e;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
#contact .contact-box .icon-box i {
  color: white;
  font-size: 2rem;
}
#contact .contact-box a {
  color: #c79a8e;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

footer {
  background-color: #f8f6f4;
  background-image: radial-gradient(circle at 10% 20%, rgba(199, 154, 142, 0.03) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(214, 195, 165, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  padding-bottom: 1rem;
}
footer a {
  text-decoration: underline;
}/*# sourceMappingURL=all.css.map */