@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;
}

/* 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;
}
@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: #ffd400;
}

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: #ffd400;
  background: #2b3642;
  background: white;
}
.cta-link a.tel .label {
  color: #333;
}
.cta-link a.tel svg #background {
  fill: #ffd400;
}
.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: #ffd400;
  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: 2rem;
  font-weight: 800;
  color: white;
}
@media (max-width: 768px) {
  .navbar .navbar-brand span {
    font-size: 1.5rem;
  }
}
.navbar .navbar-brand img {
  width: 130px;
  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: #ffd400;
}

#hero {
  width: 100%;
  height: calc(100vh - 148.32px);
  position: relative;
  overflow: hidden;
  margin-top: 148.32px;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 90px;
    height: auto;
  }
}
#hero .swiper {
  position: absolute;
  top: -10%; /* 往上預留位移空間 */
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
}
@media (max-width: 768px) {
  #hero .swiper {
    top: 0;
    height: 100%;
    position: relative;
  }
}
#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;
}
#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: #ffd400;
  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: #ffd400;
}

#about {
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.16) 0%, #ffffff 55%);
  position: relative;
  overflow: hidden;
}
#about::before, #about::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.22;
  pointer-events: none;
}
#about::before {
  left: -220px;
  top: -220px;
  background: #ff5a8a;
}
#about::after {
  right: -240px;
  bottom: -260px;
  background: #2a73ff;
}
#about .about-copy p {
  margin: 0 0 16px 0;
  line-height: 1.9;
  color: rgba(34, 34, 34, 0.86);
  font-size: 1rem;
}
#about .about-copy .lead {
  font-weight: 900;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: #222222;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}
#about .about-copy .signature {
  margin-top: 18px;
  padding-top: 16px;
  color: rgba(34, 34, 34, 0.72);
  font-weight: 800;
  position: relative;
}
#about .about-copy .signature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 10px;
  border-radius: 999px;
  background: #ffd400;
  opacity: 0.95;
}
#about .about-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(34, 34, 34, 0.12);
}
#about .about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 35%, rgba(34, 34, 34, 0.02) 100%);
  pointer-events: none;
}
#about .about-media img {
  width: 100%;
  height: auto;
  display: block;
  height: 700px;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
@media (max-width: 768px) {
  #about .about-media img {
    height: 500px;
  }
}
@media (hover: hover) {
  #about .about-media:hover img {
    transform: scale(1.08);
  }
}
@media (max-width: 991.98px) {
  #about .about-media img {
    aspect-ratio: 16/10;
  }
}

#services {
  padding: clamp(60px, 7vw, 110px) 0;
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.14) 0%, #ffffff 52%);
  position: relative;
  overflow: hidden;
}
#services .service-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffd400;
  color: #222222;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 10px 28px rgba(255, 212, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
@media (hover: hover) {
  #services .service-cta:hover {
    transform: translateY(-1px);
    background: #e0bb00;
    box-shadow: 0 14px 36px rgba(255, 212, 0, 0.45);
  }
}
#services::before, #services::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.16;
  pointer-events: none;
}
#services::before {
  left: -260px;
  top: -300px;
  background: #ff5a8a;
}
#services::after {
  right: -300px;
  bottom: -320px;
  background: #2a73ff;
}
#services .service-item {
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 64px rgba(34, 34, 34, 0.1);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}
@media (hover: hover) {
  #services .service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 76px rgba(34, 34, 34, 0.12);
  }
}
#services .service-media {
  position: relative;
  overflow: hidden;
}
#services .service-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
#services .service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 0%, rgba(34, 34, 34, 0.08) 100%);
  pointer-events: none;
}
@media (hover: hover) {
  #services .service-item:hover .service-media img {
    transform: scale(1.08);
  }
}
#services .service-body {
  padding: 16px 18px 18px 18px;
}
#services .service-body h3 {
  margin: 0 0 10px 0;
  font-weight: 950;
  color: #222222;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  line-height: 1.25;
}
#services .service-body p {
  margin: 0;
  color: rgba(34, 34, 34, 0.78);
  line-height: 1.85;
}
#services .service-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(34, 34, 34, 0.78);
  line-height: 1.85;
}
#services .service-list li {
  margin: 6px 0;
}
#services .service-list strong {
  color: #222222;
  font-weight: 900;
}
#services .service-item--wide {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}
#services .service-item--wide .service-media img {
  -o-object-fit: contain;
     object-fit: contain;
}
#services .service-item--wide .service-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 22px 22px 22px;
}
@media (max-width: 991.98px) {
  #services .service-item--wide {
    grid-template-columns: 1fr;
  }
}

#cta {
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0;
  overflow: hidden;
  color: #ffffff;
}
#cta .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#cta .cta-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(0.6);
}
#cta .cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.45) 0%, rgba(34, 34, 34, 0.65) 100%);
}
#cta .container {
  position: relative;
  z-index: 1;
}
#cta .cta-content {
  max-width: 760px;
}
#cta .section-title {
  color: #ffffff;
}
#cta .section-title::after {
  background: #ffd400;
}
#cta .section-title small {
  color: rgba(255, 255, 255, 0.6);
}
#cta .cta-text {
  margin-top: 18px;
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}
#cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
#cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
#cta .cta-btn--primary {
  background: #ffd400;
  color: #222222;
  box-shadow: 0 14px 36px rgba(255, 212, 0, 0.45);
}
#cta .cta-btn--line {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
@media (hover: hover) {
  #cta .cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(255, 212, 0, 0.6);
  }
  #cta .cta-btn--line:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
  }
}

/* ✅ 共用 H2 樣式：之後每個區塊都可以直接用 <h2 class="section-title"> */
.section-title {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 26px;
  font-weight: 950;
  letter-spacing: 0.6px;
  color: #222222;
  line-height: 1.1;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 128px;
  height: 12px;
  border-radius: 999px;
  background: #ffd400;
  opacity: 0.9;
}
.section-title small {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(34, 34, 34, 0.5);
  text-transform: uppercase;
  transform: translateY(2px);
}

.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: #ffd400;
  color: #222222;
  border: none;
}
#works .nav-pills .nav-link {
  color: #ff6b00;
  color: #ff8a00;
  border: 1px solid #ff8a00;
}
#works .icon {
  background: #ffd400;
  border-radius: 100%;
  padding: 1rem;
}
#works img {
  width: 100%;
  height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 768px) {
  #works img {
    height: 200px;
  }
}
#works .speed-alert {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  background: rgba(255, 138, 0, 0.1);
  background: #ff8a00;
  border: 2px solid rgba(255, 212, 0, 0.6);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@media (max-width: 768px) {
  #works .speed-alert {
    padding: 1rem 1rem;
  }
}
#works .speed-alert svg {
  width: 70px;
}
@media (max-width: 768px) {
  #works .speed-alert svg {
    width: 40px;
  }
}
#works .speed-alert:hover {
  transform: translateX(5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(255, 212, 0, 0.25);
}
#works .speed-alert:hover .rocket-svg {
  animation: shake 0.5s infinite;
}
#works .speed-alert .badge-icon {
  width: 40px;
  height: 40px;
  background: #ffd400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  margin-right: 15px;
  z-index: 2;
}
#works .speed-alert .rocket-svg {
  width: 20px;
  height: 20px;
}
#works .speed-alert .alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
#works .speed-alert .alert-content .highlight-text {
  color: #ff8a00;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  color: white;
}
@media (max-width: 768px) {
  #works .speed-alert .alert-content .highlight-text {
    font-size: 1.5rem;
    font-weight: 700;
  }
}
#works .speed-alert .alert-content .divider {
  width: 1px;
  height: 14px;
  background: #ddd;
}
#works .speed-alert .alert-content .main-text {
  color: #222222;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
#works .speed-alert::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}
@keyframes shake {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-2px) translateX(1px);
  }
  75% {
    transform: translateY(2px) translateX(-1px);
  }
  100% {
    transform: translateY(0);
  }
}
@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: #ff8a00;
  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: #ff8a00;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

@keyframes continuous-fly {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes continuous-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 138, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
  }
}
footer {
  padding-bottom: 1rem;
}
footer a {
  text-decoration: underline;
  color: #ff8a00;
}/*# sourceMappingURL=all.css.map */