@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=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&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.8rem, 3vw, 2.5rem);
  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;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 3rem 0.5rem;
  justify-content: center;
  align-items: center;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}
h2 span:last-child {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  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;
}
section {
  padding: 10rem 0rem 4rem;
}
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

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

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.6;
}
.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: #000000;
}
.cta-link a.tel .label {
  color: #e8bfc8;
}
.cta-link a .icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.cta-link a .icon svg {
  width: 50px;
}
@media (max-width: 768px) {
  .cta-link a .icon svg {
    width: 45px;
  }
}
.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 svg.phone #background {
  fill: #000000;
}
.cta-link svg.phone #icon {
  fill: white;
  fill: #e8bfc8;
}
@media (max-width: 768px) {
  .cta-link svg {
    width: 43px;
  }
}
.cta-link .dropdown-menu {
  margin-right: 0.25rem;
  margin-left: 0;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background: #ffffff;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.navbar .navbar-brand img {
  width: 100px;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 70px;
  }
}
.navbar .navbar-brand span {
  font-size: 1.5rem;
  font-weight: 500;
  color: #d9a7a0;
}
@media (max-width: 768px) {
  .navbar .navbar-brand span {
    font-size: 1.3rem;
  }
}
.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: #000000;
}

.parallax-section {
  position: relative;
  height: 100vh; /* 可自行調整高度 */
  overflow: hidden;
}

.parallax-img {
  position: absolute;
  top: -10%; /* 往上預留位移空間 */
  left: 0;
  width: 100%;
  height: 120%; /* 比容器高一點，避免露白 */
  background-size: cover;
  background-position: center;
  will-change: transform;
}

#hero {
  margin-top: 129.36px;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 96.07px;
  }
}
#hero .row {
  height: 70vh;
}
@media (max-width: 768px) {
  #hero .row {
    height: 80vh;
  }
}
#hero .col-12 {
  height: 100%;
}
@media (max-width: 768px) {
  #hero .col-12 {
    height: 50%;
  }
}
#hero .text-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}
@media (max-width: 768px) {
  #hero .text-box {
    padding: 0;
  }
}
#hero .text-box h1 {
  margin-bottom: 2rem;
}
#hero .text-box p {
  margin-bottom: 1rem;
}
#hero .text-box .btn-box {
  display: flex;
  gap: 1rem;
  align-items: center;
}
#hero .text-box .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 .text-box .btn-box a {
    padding: 0.5rem 1rem;
  }
}
#hero .text-box .btn-box a i {
  padding-left: 0.5rem;
  font-size: 1.3rem;
}
#hero .text-box .btn-box a:first-child {
  background: #000000;
  background: #000;
  color: white;
}
#hero .text-box .btn-box a:last-child {
  color: gray;
  background: white;
}
#hero .text-box .btn-box a:last-child:hover {
  background: white;
  color: #000000;
}
#hero .img-box {
  width: 100%;
  height: 100%;
  -webkit-clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%);
          clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%);
}
@media (max-width: 768px) {
  #hero .img-box {
    -webkit-clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
            clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
  }
}
#hero .img-box img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: left;
     object-position: left;
}

#about {
  background: #ffffff;
  background: rgb(46, 46, 46);
  color: white;
}
#about p {
  line-height: 2;
  margin-bottom: 2rem;
}
#about ul {
  margin-top: -1rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}
#about ul li + li {
  margin-top: 0.5rem;
}
#about ul li {
  background: #e8bfc8;
  padding: 0.5rem;
  color: #333333;
  border-radius: 0.5rem;
}

#services h2 {
  border-color: #333333;
}
#services .service-card {
  background: white;
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
#services .service-card img {
  width: 100%;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 1rem;
}
@media (max-width: 768px) {
  #services .service-card img {
    height: auto;
  }
}
#services .service-card .text {
  padding: 1rem;
  padding-bottom: 0;
}
#services .service-card .text h3 {
  margin: 1rem 0;
  background: #d9a7a0;
  color: white;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0 1rem 0 1rem;
}
#services .service-card .text ul {
  letter-spacing: 0;
  padding-left: 1rem;
  list-style: square;
  color: rgb(76, 76, 76);
}
#services .service-card .text ul li + li {
  margin-top: 0.5rem;
}

#works {
  background: #f5f5f5;
}
#works h2 {
  border-color: #333333;
}
#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #000000;
  background: #d9a7a0;
  color: #333333;
}
#works .nav-pills .nav-link {
  color: #999999;
  border: 1.5px solid #d9a7a0;
}
#works img {
  width: 100%;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  #works img {
    height: 300px;
    border-radius: 0.5rem;
  }
}

#contact h2 {
  border-color: #333333;
}
@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: #000000;
  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: #000000;
  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 */