@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.5rem, 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 {
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: radial-gradient(900px 520px at 18% 8%, rgba(217, 164, 65, 0.1), rgba(217, 164, 65, 0) 60%), radial-gradient(700px 520px at 85% 20%, rgba(139, 94, 60, 0.1), rgba(139, 94, 60, 0) 55%), #faf4ed;
  color: #3a2e2a;
}
@media (max-width: 768px) {
  body {
    background: radial-gradient(520px 420px at 18% 8%, rgba(217, 164, 65, 0.1), rgba(217, 164, 65, 0) 60%), #faf4ed;
  }
}

/* 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);
}

.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: #8b5e3c;
}

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.35;
}
.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: #8b5e3c;
  border: 2px solid white;
}
.cta-link a.tel svg #background {
  fill: #8b5e3c;
}
.cta-link a.tel svg #icon {
  fill: white;
}
.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: white;
  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: 600;
  padding-left: 1rem;
  color: #3a2e2a;
}
@media (max-width: 768px) {
  .navbar .navbar-brand span {
    font-size: 1.3rem;
    padding-left: 0.5rem;
  }
}
.navbar .navbar-brand img {
  width: 120px;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 80px;
  }
}
.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: #8b5e3c;
}

.section-title {
  position: relative;
  margin-bottom: 2.25rem;
  color: #3a2e2a;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
}
@media (max-width: 768px) {
  .section-title {
    margin-bottom: 1.5rem;
  }
}
.section-title[data-en]::after {
  content: attr(data-en);
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122, 90, 66, 0.45);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .section-title[data-en]::after {
    position: static;
    display: block;
    margin-top: 0.35rem;
    bottom: auto;
    right: auto;
    font-size: 0.78rem;
  }
}

.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: 100vh;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  #hero {
    height: 50vh;
    margin-top: 101.39px;
  }
}
#hero .swiper {
  position: absolute;
  top: -10%; /* 往上預留位移空間 */
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
}
#hero .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 8s ease; /* 控制漸進放大 */
}
#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: center;
  background: rgba(0, 0, 0, 0.438);
}
#hero .cta-box .cta-content {
  text-align: center;
  color: white;
  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;
  text-align: center;
}
#hero .cta-box .cta-content p {
  margin-bottom: 2rem;
}
#hero .cta-box .cta-content .btn-box {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .btn-box {
    flex-direction: column;
  }
}
#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: #8b5e3c;
  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: #8b5e3c;
}

#about .about-visual {
  position: relative;
  padding: 0.75rem;
}
@media (max-width: 768px) {
  #about .about-visual {
    padding: 0.25rem;
  }
}
#about .about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(232, 217, 196, 0.9), rgba(250, 244, 237, 0.9));
  box-shadow: 0 18px 45px rgba(58, 46, 42, 0.14);
}
@media (max-width: 768px) {
  #about .about-visual::before {
    border-radius: 1rem;
    box-shadow: 0 12px 26px rgba(58, 46, 42, 0.12);
  }
}
#about .about-photo {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #e8d9c4;
}
@media (max-width: 768px) {
  #about .about-photo {
    border-radius: 1rem;
  }
}
#about .about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  #about .about-photo img {
    min-height: 260px;
  }
}
#about .about-photo.is-main {
  box-shadow: 0 18px 40px rgba(58, 46, 42, 0.16);
  transform: translateZ(0);
}
@media (max-width: 768px) {
  #about .about-photo.is-main {
    box-shadow: 0 14px 28px rgba(58, 46, 42, 0.14);
  }
}
#about .about-photo.is-sub {
  position: absolute;
  right: -0.25rem;
  bottom: -6rem;
  width: 46%;
  aspect-ratio: 1/1;
  border: 8px solid rgba(250, 244, 237, 0.9);
  box-shadow: 0 18px 45px rgba(58, 46, 42, 0.18);
  transform: rotate(2deg);
}
@media (max-width: 768px) {
  #about .about-photo.is-sub {
    display: none;
  }
}
#about .about-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(58, 46, 42, 0.88);
  color: rgba(250, 244, 237, 0.95);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 16px 30px rgba(58, 46, 42, 0.22);
}
@media (max-width: 768px) {
  #about .about-badge {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.62rem 0.8rem;
  }
}
#about .about-badge i {
  font-size: 1.2rem;
  color: #d9a441;
}
@media (max-width: 768px) {
  #about .about-badge i {
    font-size: 1.1rem;
  }
}
#about .about-badge span {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  #about .about-badge span {
    font-size: 0.9rem;
  }
}
#about .about-card {
  position: relative;
  border-radius: 1.25rem;
  background: rgba(250, 244, 237, 0.72);
  border: 1px solid rgba(232, 217, 196, 0.9);
  box-shadow: 0 18px 45px rgba(58, 46, 42, 0.1);
  padding: 1.5rem 1.6rem;
}
@media (max-width: 768px) {
  #about .about-card {
    border-radius: 1rem;
    padding: 1.15rem 1.1rem;
  }
}
#about .about-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.35), rgba(139, 94, 60, 0.1), rgba(217, 164, 65, 0));
  pointer-events: none;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  padding: 1px;
}
@media (max-width: 768px) {
  #about .about-card::before {
    inset: -1px;
  }
}
#about .about-kicker {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(232, 217, 196, 0.7);
  color: #7a5a42;
  font-weight: 700;
  font-size: 0.92rem;
}
@media (max-width: 768px) {
  #about .about-kicker {
    font-size: 0.88rem;
    margin: 0 0 0.85rem;
  }
}
#about .about-content p {
  margin: 0 0 0.75rem;
  color: #3a2e2a;
  line-height: 1.9;
  font-size: 1.02rem;
}
@media (max-width: 768px) {
  #about .about-content p {
    font-size: 0.98rem;
    line-height: 1.85;
  }
}
#about .about-content p:nth-child(2), #about .about-content p:nth-child(5) {
  color: #7a5a42;
}
@media (max-width: 768px) {
  #about .about-content p:nth-child(2), #about .about-content p:nth-child(5) {
    color: #7a5a42;
  }
}
#about .about-note {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px dashed rgba(139, 94, 60, 0.28);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #7a5a42;
}
@media (max-width: 768px) {
  #about .about-note {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
  }
}
#about .about-note i {
  font-size: 1.15rem;
  color: #d9a441;
  margin-top: 0.1rem;
}
@media (max-width: 768px) {
  #about .about-note i {
    font-size: 1.1rem;
  }
}
#about .about-note span {
  font-weight: 600;
  line-height: 1.7;
}
@media (max-width: 768px) {
  #about .about-note span {
    font-weight: 600;
  }
}

#services .service-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(250, 244, 237, 0.78);
  border: 1px solid rgba(232, 217, 196, 0.95);
  box-shadow: 0 18px 45px rgba(58, 46, 42, 0.1);
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
@media (max-width: 768px) {
  #services .service-card {
    border-radius: 1rem;
  }
}
#services .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(58, 46, 42, 0.14);
  border-color: rgba(217, 164, 65, 0.55);
}
@media (max-width: 768px) {
  #services .service-card:hover {
    transform: translateY(-4px);
  }
}
#services .service-card:hover .service-media img {
  transform: scale(1.04);
}
#services .service-card:hover .service-chip {
  background: rgba(58, 46, 42, 0.92);
}
#services .service-media {
  position: relative;
  width: 100%;
  height: 400px;
  background: #e8d9c4;
  overflow: hidden;
}
@media (max-width: 768px) {
  #services .service-media {
    width: 100%;
    height: 300px;
  }
}
#services .service-media .swiper {
  width: 100%;
  height: 100%;
}
#services .service-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1);
  transition: transform 280ms ease;
}
@media (max-width: 768px) {
  #services .service-media img {
    transform: scale(1);
  }
}
#services .service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 46, 42, 0) 35%, rgba(58, 46, 42, 0.45) 100%);
  pointer-events: none;
}
@media (max-width: 768px) {
  #services .service-media::after {
    background: linear-gradient(180deg, rgba(58, 46, 42, 0) 30%, rgba(58, 46, 42, 0.48) 100%);
  }
}
#services .service-chip {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(139, 94, 60, 0.9);
  color: rgba(250, 244, 237, 0.96);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 14px 26px rgba(58, 46, 42, 0.18);
  transition: background 220ms ease;
}
@media (max-width: 768px) {
  #services .service-chip {
    left: 0.75rem;
    top: 0.75rem;
    padding: 0.48rem 0.7rem;
    font-size: 0.75rem;
  }
}
#services .service-chip i {
  font-size: 1rem;
  color: #d9a441;
}
@media (max-width: 768px) {
  #services .service-chip i {
    font-size: 0.95rem;
  }
}
#services .service-body {
  padding: 1.2rem 1.25rem 0.95rem;
}
@media (max-width: 768px) {
  #services .service-body {
    padding: 1.05rem 1.05rem 0.85rem;
  }
}
#services .service-title {
  margin: 0 0 0.7rem;
  color: #3a2e2a;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.35;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  #services .service-title {
    font-size: 1.02rem;
  }
}
#services .service-text {
  margin: 0;
  color: #7a5a42;
  line-height: 1.85;
  font-size: 0.98rem;
}
@media (max-width: 768px) {
  #services .service-text {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}
#services .service-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem 1.2rem;
  border-top: 1px solid rgba(232, 217, 196, 0.75);
}
@media (max-width: 768px) {
  #services .service-foot {
    padding: 0.85rem 1.05rem 1.05rem;
  }
}
#services .service-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(232, 217, 196, 0.55);
  color: #3a2e2a;
  font-weight: 700;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  #services .service-meta {
    font-size: 0.83rem;
  }
}
#services .service-meta i {
  font-size: 1rem;
  color: rgba(139, 94, 60, 0.95);
}
@media (max-width: 768px) {
  #services .service-meta i {
    font-size: 0.95rem;
  }
}

.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: #8b5e3c;
}
#works .nav-pills .nav-link {
  color: #ff6b00;
}

@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: #8b5e3c;
  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: #8b5e3c;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

footer {
  padding-bottom: 1rem;
}
footer a {
  text-decoration: underline;
}/*# sourceMappingURL=all.css.map */