@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.75rem, 3.5vw, 2.5rem);
  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;
}

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

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

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

.all-bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: -10;
  opacity: 0.3;
}
.all-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(0.5);
}

.cta-link {
  display: flex;
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 100;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 768px) {
  .cta-link {
    gap: 0.7rem;
    bottom: 1rem;
    right: 0.7rem;
  }
}
.cta-link a {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  background: #f5a623;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
@media (max-width: 768px) {
  .cta-link a {
    width: 50px;
    height: 50px;
  }
}
.cta-link a i {
  color: white;
  color: #2b2b2b;
  font-size: 2.3rem;
}
.cta-link a svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.navbar.scrolled {
  background: #4a4a4a;
}
.navbar.scrolled .navbar-brand {
  opacity: 1;
}
.navbar.scrolled .navbar-collapse {
  flex-grow: 0;
}
.navbar.scrolled .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: white;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1049;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar {
    background: #4a4a4a;
  }
}
.navbar .navbar-toggler-icon {
  filter: invert(1);
}
.navbar .navbar-brand {
  opacity: 0;
  display: inline-block;
  text-decoration: none;
  font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  background: linear-gradient(100deg, #d3d8de, #e6e9ed 55%, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 提升對比：柔灰外暈 */
  text-shadow: 0 0 10px rgba(68, 67, 67, 0.15), 0 2px 6px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .navbar .navbar-brand {
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 1;
  }
}
.navbar .navbar-brand:hover {
  filter: brightness(1.06);
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  padding: 0.5rem 1.5rem;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
    padding: 1rem 1em;
  }
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #b23a48;
}

#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  #hero {
    height: 40vh;
    margin-top: 59.27px;
  }
}
#hero .content {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
  background: rgb(152, 152, 152);
  background: linear-gradient(to bottom, #4a4a4a, gray);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: auto;
  color: white;
}
#hero .content h1 {
  padding-top: 5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  #hero .content h1 {
    display: none;
  }
}
#hero .content p {
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #hero .content p {
    margin-top: 2rem;
  }
}
#hero .content .btn-box {
  display: flex;
  gap: 1rem;
}
#hero .content .btn-box a {
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
}
@media (max-width: 768px) {
  #hero .content .btn-box a {
    padding: 0.5rem 1.5rem;
  }
}
#hero .content .btn-box a:first-child {
  background: #f5a623;
  color: white;
  color: #2b2b2b;
}
#hero .content .btn-box a:last-child {
  border: 1px solid #f4f4f4;
  color: white;
}
#hero .content .btn-box a:last-child:hover {
  background: white;
  color: #2b2b2b;
}
#hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}
#hero .bg {
  z-index: 3;
  -o-object-position: top;
     object-position: top;
  pointer-events: none;
}
#hero .shutter {
  will-change: transform;
  z-index: 2;
  -o-object-position: top;
     object-position: top;
  pointer-events: none;
  animation: upDown 8s ease-in-out infinite;
}
@media (max-width: 768px) {
  #hero .shutter {
    animation: upDown 4s ease-in-out infinite;
  }
}

#about p {
  line-height: 2;
  margin-bottom: 1rem;
}

#services {
  background: #4a4a4a;
}
#services h2 {
  color: white;
}
#services .service-card {
  background: white;
}
#services .service-card img {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  #services .service-card img {
    height: 250px;
  }
}
#services .service-card .text {
  padding: 1.5rem 2rem 1rem;
  border-left: 10px solid #b23a48;
}
#services .service-card .text h3 {
  color: #b23a48;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

@media (max-width: 1920px) {
  @keyframes upDown {
    0% {
      transform: translateY(-900px);
    }
    50% {
      transform: translateY(-500px);
    }
    100% {
      transform: translateY(-900px);
    }
  }
}
/* 預設動畫 (一般桌機) */
@keyframes upDown {
  0% {
    transform: translateY(-450px);
  }
  50% {
    transform: translateY(-500px);
  }
  100% {
    transform: translateY(-450px);
  }
}
/* 手機版 (≤768px) */
@media (max-width: 768px) {
  @keyframes upDown {
    0% {
      transform: translateY(-150px);
    }
    50% {
      transform: translateY(-190px);
    }
    100% {
      transform: translateY(-150px);
    }
  }
}
/* 大螢幕 (≥1200px) */
@media (min-width: 1900px) {
  @keyframes upDown {
    0% {
      transform: translateY(-600px);
    }
    50% {
      transform: translateY(-650px);
    }
    100% {
      transform: translateY(-600px);
    }
  }
}
#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #b23a48;
}
#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: #b23a48;
  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: #b23a48;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

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

#process {
  background: #f4f4f4;
}
#process .process-card {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.25rem 1.25rem;
  border-radius: 1rem;
  box-shadow: rgba(149, 157, 165, 0.15) 0px 6px 20px;
  height: 100%;
}
#process .process-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #b23a48;
  background: #4a4a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#process .process-card .icon-circle i {
  color: white;
  font-size: 26px;
}
#process .process-card .content .step {
  display: inline-block;
  font-weight: 700;
  color: #b23a48;
  margin-bottom: 0.25rem;
}
#process .process-card .content p {
  margin: 0;
  line-height: 1.8;
  color: #2b2b2b;
}/*# sourceMappingURL=all.css.map */