@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");
@import url("https://fonts.googleapis.com/css2?family=Klee+One&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.7rem, 3vw, 2rem);
  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 Serif TC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #f7f5f0;
  color: #3e3e3e;
}

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

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

h2 {
  margin-bottom: 3rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0rem 0.5rem;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}
h2 span:first-child {
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1;
  text-transform: capitalize;
}
h2 span:last-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
h2 span:last-child::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #3e3e3e;
}

.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: #6ca6a3;
}

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: #6ca6a3;
}
.cta-link a.tel svg #background {
  fill: #6ca6a3;
}
.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.scrolled {
  background: rgba(247, 245, 240, 0.8);
}
@media (max-width: 768px) {
  .navbar.scrolled {
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
}
.navbar.scrolled .navbar-brand span {
  color: #3e3e3e;
  background: none;
}
.navbar.scrolled .navbar-toggler {
  border-color: rgba(138, 138, 138, 0.582);
}
.navbar.scrolled .navbar-toggler .navbar-toggler-icon {
  filter: invert(0);
}
.navbar.scrolled .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: #3e3e3e;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.582);
}
.navbar .navbar-toggler .navbar-toggler-icon {
  filter: invert(1);
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .navbar-brand span {
  color: #3e3e3e;
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-size: 1.5rem;
  background: rgba(247, 245, 240, 0.713);
  display: inline-block;
  padding: 0rem 0.5rem;
}
@media (max-width: 768px) {
  .navbar .navbar-brand span {
    font-size: 1.2rem;
  }
}
.navbar .navbar-brand img {
  width: 80px;
  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: 1rem 1rem;
  }
}
.navbar .navbar-collapse .navbar-nav {
  gap: 1.5rem;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: white;
  display: flex;
  align-items: center;
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #6ca6a3;
}

.parallax-fixed {
  position: relative;
  height: 400px; /* 可自行調整高度 */
  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;
  }
}
#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);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
#hero .cta-box .cta-content {
  text-align: center;
  color: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
}
#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;
}
#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: #6ca6a3;
  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: #6ca6a3;
}

#about .title {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
}
#about p {
  line-height: 2;
  margin-bottom: 2rem;
}

.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: 350px;
}
@media (max-width: 768px) {
  .auto-carousel .swiper .swiper-slide {
    width: 150px;
  }
}
.auto-carousel .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.auto-carousel.auto-carousel-2 {
  padding-top: 8rem;
}
@media (max-width: 768px) {
  .auto-carousel.auto-carousel-2 {
    padding-top: 2rem;
  }
}
.auto-carousel.auto-carousel-2 .swiper, .auto-carousel.auto-carousel-3 .swiper {
  width: 100%;
  transform: rotate(0deg);
  position: relative;
}
.auto-carousel.auto-carousel-2 .swiper .swiper-wrapper, .auto-carousel.auto-carousel-3 .swiper .swiper-wrapper {
  transition-timing-function: linear !important; /* 平滑線性移動 */
}
.auto-carousel.auto-carousel-2 .swiper .swiper-slide, .auto-carousel.auto-carousel-3 .swiper .swiper-slide {
  width: 300px;
  aspect-ratio: 3/4;
}
@media (max-width: 768px) {
  .auto-carousel.auto-carousel-2 .swiper .swiper-slide, .auto-carousel.auto-carousel-3 .swiper .swiper-slide {
    width: 150px;
  }
}
.auto-carousel.auto-carousel-2 .swiper .swiper-slide img, .auto-carousel.auto-carousel-3 .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

#services {
  margin: 10rem 0 5rem;
  background: rgba(108, 166, 163, 0.3);
}
@media (max-width: 768px) {
  #services {
    margin: 5rem 0 3rem;
  }
}
#services .service-card {
  background: white;
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
#services .service-card .parallax-fixed {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 1rem;
}
@media (max-width: 768px) {
  #services .service-card .parallax-fixed {
    height: 200px;
  }
}
#services .service-card .parallax-fixed .parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 120%;
}
#services .service-card .parallax-fixed .parallax-img img {
  width: 100%;
  height: 100%;
}
#services .service-card h3 {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  #services .service-card h3 {
    margin-top: 1rem;
  }
}
#services .service-card p {
  line-height: 2;
  color: rgb(125, 125, 125);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
}
#services .service-card a {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid #6ca6a3;
  transition: 0.5s;
}
#services .service-card a:hover {
  background: #6ca6a3;
  color: white;
}
#services .service-card ul {
  list-style: none;
  padding: 0;
}
#services .service-card ul li {
  line-height: 2;
  color: rgb(125, 125, 125);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
}

#process {
  position: relative;
}
#process::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #f7f5f0 100%), url("../images/assets/louts.avif") no-repeat center/cover;
  z-index: -1;
  opacity: 0.6;
}
@media (max-width: 768px) {
  #process::after {
    background-position: 20% center;
    background-size: cover;
  }
}
#process h2 span {
  color: white;
}
#process h2 span:last-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#process h2 span:last-child::before {
  background: rgb(255, 255, 255);
}
#process .process-card {
  height: 100%;
  border: 1px solid #b88b5d;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.952);
}
#process .process-card i {
  display: flex;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #b88b5d;
}
#process .process-card h3 {
  text-align: center;
}
#process .process-card p {
  margin-bottom: 0;
  color: rgb(125, 125, 125);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
}

#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #6ca6a3;
}
#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: #6ca6a3;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
@media (max-width: 768px) {
  #contact .contact-box .icon-box {
    width: 40px;
    height: 40px;
  }
}
#contact .contact-box .icon-box i {
  color: white;
  font-size: 2rem;
}
@media (max-width: 768px) {
  #contact .contact-box .icon-box i {
    font-size: 1.8rem;
  }
}
#contact .contact-box a {
  color: #6ca6a3;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

footer {
  padding-bottom: 1rem;
}
footer a {
  text-decoration: underline;
}

@media (max-width: 1023.98px) {
  .swiper {
    touch-action: pan-y;
  } /* 垂直滾動優先，降低橫向干擾 */
  .swiper img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
}/*# sourceMappingURL=all.css.map */