@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;
  background: #8b9f80;
}

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 #3d5243;
  border-bottom: 1px solid #3d5243;
  color: #3d5243;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}
h2 span:last-child {
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  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: 8rem 0rem;
}
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

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

img {
  -o-object-fit: cover;
     object-fit: cover;
}

.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: #e7c87e;
}
.cta-link a.tel .label {
  color: #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 svg.phone #background {
  fill: #e7c87e;
}
.cta-link svg.phone #icon {
  fill: white;
  fill: #333;
}
@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: white;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .navbar-brand img {
  width: 120px;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 80px;
  }
}
.navbar .navbar-brand span {
  font-size: 1.2rem;
  font-weight: 500;
  background: linear-gradient(90deg, #c9a64d 0%, #e7c87e 25%, #f3de9f 50%, #e0bb64 75%, #b8943a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 增加陰影以拉出文字輪廓 */
}
.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: #bac8ba;
}

.parallax-section {
  position: relative;
  height: 100vh; /* 可自行調整高度 */
  overflow: hidden;
  margin-top: 65.25px;
  width: 100%;
}
@media (max-width: 768px) {
  .parallax-section {
    height: 30vh;
    margin-top: 50px;
  }
}
.parallax-section .text {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 5rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .parallax-section .text {
    padding-left: 2.5rem;
    padding-bottom: 0;
    padding-top: 1rem;
  }
}
.parallax-section .text img {
  width: 400px;
}
@media (max-width: 768px) {
  .parallax-section .text img {
    width: 80px;
  }
}
.parallax-section .text ul {
  padding: 0;
  list-style: none;
  gap: 1rem;
  display: flex;
  align-items: center;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .parallax-section .text ul {
    margin-top: 1rem;
    gap: 0.5rem;
    flex-direction: column;
    align-items: start;
  }
}
.parallax-section .text ul li {
  font-size: 2rem;
  font-family: "Noto Serif TC", serif;
  color: #be9a62;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 4px rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
  .parallax-section .text ul li {
    font-size: 1rem;
  }
}

.parallax-img {
  position: absolute;
  top: -10%; /* 往上預留位移空間 */
  left: 0;
  width: 100%;
  height: 110%; /* 比容器高一點，避免露白 */
  background-image: url("../images/banner/img-1.jpg");
  background-size: cover;
  background-position: bottom;
  will-change: transform;
}

.product {
  color: white;
}
.product .cta-box {
  padding-left: 8rem;
  padding-top: 3rem;
}
@media (max-width: 768px) {
  .product .cta-box {
    padding-left: 0;
    padding-bottom: 3rem;
    padding-top: 0;
  }
}
.product .cta-box .title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.product .cta-box p {
  margin-bottom: 2rem;
  line-height: 2;
}
.product .cta-box .btn-box {
  display: flex;
  gap: 1rem;
  justify-content: start;
  align-items: center;
}
.product .cta-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) {
  .product .cta-box .btn-box a {
    padding: 0.5rem 1rem;
  }
}
.product .cta-box .btn-box a i {
  padding-left: 0.5rem;
  font-size: 1.3rem;
}
.product .cta-box .btn-box a:first-child {
  background: #bac8ba;
  background: #55675c;
  color: white;
}
.product .cta-box .btn-box a:first-child svg {
  fill: white;
}
.product .cta-box .btn-box a:last-child {
  color: gray;
  background: white;
}
.product .cta-box .btn-box a:last-child:hover {
  background: white;
  color: #bac8ba;
}
.product .img-box {
  transform: translateY(-20%);
  padding-left: 2rem;
}
@media (max-width: 768px) {
  .product .img-box {
    transform: translateY(-15%);
    padding-left: 0;
    text-align: center;
  }
}
.product .img-box img {
  width: 80%;
}
@media (max-width: 768px) {
  .product .img-box img {
    width: 80%;
  }
}

#news {
  background: rgba(255, 255, 255, 0.688);
}
#news .news-card {
  display: inline-block;
  position: relative;
}
#news .news-card i {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  font-size: 2rem;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.4);
}

#about h2 {
  border-color: white;
  color: white;
}
#about h4 {
  color: white;
}
#about h5 {
  color: white;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #e7c87e 70%, white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}
#about img {
  width: 100%;
}
#about .text {
  background: rgba(255, 255, 255, 0.805);
  background: white;
  padding: 2rem;
}
@media (max-width: 768px) {
  #about .text {
    padding: 1rem;
  }
}
#about p {
  margin-bottom: 1rem;
  line-height: 2;
}
#about .icon-box {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e7c87e;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e7c87e, rgba(255, 255, 255, 0.8));
  border: 2px solid white;
}
#about .icon-box i {
  font-size: 3rem;
  margin-bottom: 1rem;
}
#about .icon-box p {
  margin-bottom: 0;
}

#services {
  background: rgb(255, 255, 255);
}
#services .service-card img {
  width: 100%;
  height: 400px;
  border-radius: 1rem;
}
@media (max-width: 768px) {
  #services .service-card img {
    height: 300px;
  }
}
#services .service-card .text {
  border-radius: 1rem;
  margin-top: 3rem;
  border: 1.5px solid #e7c87e;
  padding: 5rem 3rem 2rem;
  position: relative;
}
@media (max-width: 768px) {
  #services .service-card .text {
    padding: 5rem 2rem 2rem;
  }
}
#services .service-card .text .title {
  position: absolute;
  top: -2rem;
  left: 2rem;
  padding: 0.5rem 1rem;
  border: 10px solid white;
  background: #e7c87e;
  background: #bac8ba;
  border-radius: 2rem 0 2rem 0;
}
@media (max-width: 768px) {
  #services .service-card .text .title {
    left: 1rem;
  }
}
#services .service-card .text .title p {
  margin-bottom: 0;
}
#services .service-card .text .content h6 {
  font-weight: 500;
  margin: 2rem 0 1rem;
}
#services .service-card .text .content ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
#services .service-card .text .content ul li {
  display: inline-block;
  background: #f0e1cf;
  padding: 0.5rem 0.8rem;
  border-radius: 2rem;
  font-size: clamp(0.8rem, 1.1vw, 0.875rem);
  font-weight: 400;
}

#price .nav-pills .nav-link.active,
#price .nav-pills .show > .nav-link {
  background: #bac8ba;
  background: white;
  color: #3d5243;
}
#price .nav-pills .nav-link {
  color: white;
  border: 1px solid white;
}
#price img {
  width: 100%;
}
#price h2 {
  color: white;
  border-color: white;
}
#price .price-box {
  position: relative;
  display: inline-block;
}
#price .price-box:hover .title {
  opacity: 0;
}
#price .price-box .title {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  display: flex;
  color: white;
  gap: 0rem;
  transition: 0.5s;
  text-align: center;
}
#price .price-box .title h4 {
  background: #3d5243;
  background: linear-gradient(to right, rgba(61, 82, 67, 0), #3d5243, #3d5243, #3d5243, rgba(61, 82, 67, 0));
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
#price .price-box .title h4 i {
  font-size: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.4);
}

@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: #bac8ba;
  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: #bac8ba;
  color: #3d5243;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

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