@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=Potta+One&family=Zen+Antique+Soft&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(1.05rem, 1vw, 1.2rem);
  font-weight: 400;
}

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

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

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

button,
input,
textarea,
select {
  font-size: clamp(1.05rem, 1vw, 1.2rem);
  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;
}

/* 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 {
  margin-bottom: 3rem;
  font-family: "Potta One", system-ui;
  font-weight: 400;
  text-align: center;
  border-top: 1px solid #2b2b2b;
  border-bottom: 1px solid #2b2b2b;
  padding: 1rem 3rem;
  display: inline-block;
}
@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: #f5b700;
}

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: 0rem;
  bottom: 2rem;
  z-index: 999;
  flex-direction: column;
  display: flex;
  gap: 1rem;
}
.cta-link a {
  display: inline-block;
  background: #d14900;
  padding: 1rem 0.9rem;
  color: white;
  writing-mode: vertical-lr;
  letter-spacing: 6px;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}
@media (max-width: 768px) {
  .cta-link a {
    padding: 1rem 0.7rem;
    letter-spacing: 4px;
  }
}
.cta-link a i {
  animation: slide 1s ease-in-out infinite alternate;
  display: inline-block;
}

.navbar.scrolled {
  background: #f5b700;
}
.navbar.scrolled .navbar-toggler {
  border-color: #333;
}
.navbar.scrolled .navbar-toggler .navbar-toggler-icon {
  filter: invert(0);
}
.navbar.scrolled .navbar-brand span {
  font-family: "Potta One", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  transform: translateX(0rem);
  z-index: -1;
  opacity: 1;
  transition: 1s;
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-brand span {
    display: inline-block;
    font-size: 1.2rem;
  }
}
.navbar.scrolled .navbar-brand img {
  width: 150px;
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-brand img {
    width: 100px;
  }
}
.navbar.scrolled .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: #2b2b2b;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-toggler {
  border-color: white;
}
.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 {
  font-family: "Potta One", system-ui;
  font-weight: 400;
  font-style: normal;
  color: #2b2b2b;
  font-size: 1.5rem;
  transform: translateX(-15rem);
  z-index: -1;
  opacity: 0;
  transition: 1s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand span {
    display: none;
  }
}
.navbar .navbar-brand img {
  width: 250px;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 150px;
  }
}
.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 .nav-link {
  color: white;
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #f5b700;
}

.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;
}
#hero .line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 10;
}
#hero .line svg {
  width: 100%;
  fill: #f5b700;
  height: 100%;
  transform: translateY(1rem);
}
#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;
  line-height: 2;
}
#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: #f5b700;
  color: #2b2b2b;
}
#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: #f5b700;
}

#about {
  background: #f5b700;
  position: relative;
}
#about p {
  line-height: 2;
  margin-bottom: 1rem;
}

#services img {
  width: 100%;
  height: 400px;
}
@media (max-width: 768px) {
  #services img {
    height: 250px;
  }
}
#services .service-card {
  background: white;
}
#services h3 {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  z-index: 5;
}
#services h3::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  z-index: -1;
  height: 70%;
  background: #f5b700;
}
.auto-carousel .slogan {
  line-height: 1.2;
  font-size: 2.5rem;
  margin-bottom: 5rem;
  color: #3c3c3c;
  color: black;
  position: relative;
  font-weight: 800;
  font-family: "Potta One", system-ui;
}
@media (max-width: 768px) {
  .auto-carousel .slogan {
    font-size: 1.5rem;
    padding-left: 2rem;
  }
}
.auto-carousel .slogan::after {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  background: #f5b700;
  width: 150px;
  height: 150px;
  border: 2px solid black;
  z-index: -1;
  border-radius: 100%;
}
@media (max-width: 768px) {
  .auto-carousel .slogan::after {
    width: 90px;
    height: 90px;
    left: 0.8rem;
    border: 1px solid black;
  }
}
.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: #f5b700;
}
#works .nav-pills .nav-link {
  color: #ff6b00;
}

#contact .branch-card {
  background: #ffffff;
  border-radius: 1.25rem; /* 圓角卡片設計 */
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.15) 0px 8px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
#contact .branch-card:hover {
  transform: translateY(-5px); /* 滑鼠游標移過去時會微微上浮 */
  box-shadow: rgba(149, 157, 165, 0.3) 0px 12px 32px;
}
#contact .branch-card .map-container {
  height: 280px; /* 控制地圖高度 */
  width: 100%;
  background-color: #eee;
}
#contact .branch-card .map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#contact .branch-card .branch-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#contact .branch-card .branch-info .branch-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
  border-left: 5px solid #d14900; /* 左側加入品牌色裝飾線 */
  padding-left: 0.75rem;
}
#contact .branch-card .branch-info .contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}
#contact .branch-card .branch-info .contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.5;
}
#contact .branch-card .branch-info .contact-list li i {
  color: #f5b700; /* icon 顏色 */
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.1rem;
}
#contact .branch-card .branch-info .contact-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
#contact .branch-card .branch-info .contact-list li a:hover {
  color: #d14900;
}
#contact .branch-card .branch-info .contact-list li a.map-link {
  font-size: 0.85rem;
  color: #d14900;
  display: inline-block;
  margin-top: 0.25rem;
}
#contact .branch-card .branch-info .contact-list li a.map-link:hover {
  text-decoration: underline;
}
#contact .branch-card .branch-info .btn-booking {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #d14900; /* 按鈕主色 */
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}
#contact .branch-card .branch-info .btn-booking:hover {
  background-color: rgb(158, 55.1866028708, 0); /* Hover 時顏色加深 */
}
#contact .branch-card .branch-info .btn-booking:active {
  transform: scale(0.98); /* 點擊時的微縮放回饋感 */
}

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