@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(15px, 2.8vw, 18px);
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 400;
}

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 Serif TC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #faf7f0;
  color: #3f3f3f;
}

.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%;
  -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: #a3c585;
}
.cta-link a.tel .label {
  color: #333;
}
.cta-link a.tel svg #background {
  fill: #a3c585;
}
.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;
}

.h2-box {
  margin-bottom: 3rem;
  text-align: center;
  color: #3f3f3f;
}
@media (max-width: 768px) {
  .h2-box {
    margin-bottom: 2rem;
  }
}
.h2-box span {
  font-family: sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
}
.h2-box h2 {
  font-family: "Noto Sans TC", sans-serif;
}

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

a {
  text-decoration: none;
  color: #a3c585;
  transition: all 0.3s ease;
}
a:hover {
  color: #f5d76e;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.navbar.scrolled .container-fluid {
  align-items: center;
}
.navbar.scrolled .navbar-brand img {
  width: 80px;
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-brand img {
    width: 70px;
  }
}
.navbar.scrolled .navbar-brand span {
  opacity: 1;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .container-fluid {
  align-items: start;
  padding-left: 2rem;
}
@media (max-width: 768px) {
  .navbar .container-fluid {
    padding-left: 1rem;
  }
}
.navbar .navbar-brand {
  transition: 0.5s;
}
.navbar .navbar-brand img {
  width: 200px;
  transition: 0.5s;
}
.navbar .navbar-brand span {
  opacity: 0;
  transition: 1s;
  color: green;
  font-size: 1.5rem;
  font-weight: 600;
  padding-left: 0.5rem;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  padding: 1rem 1.5rem;
  color: #3f3f3f;
  transition: all 0.3s ease;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link:hover {
  color: #a3c585;
}
@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: #a3c585;
  border-radius: 25px;
  margin-left: 1rem;
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta .nav-link {
  color: red;
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta .nav-link:hover {
  color: red;
}

.swiper-button-prev,
.swiper-button-next {
  top: auto;
  bottom: 3rem;
  color: black;
  width: 50px;
  height: 50px;
  background: rgb(255, 255, 255);
  border-radius: 100%;
}
@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 35px;
    height: 35px;
    bottom: 1rem;
  }
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.5rem !important;
}
@media (max-width: 768px) {
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 1.2rem !important;
  }
}

.swiper-button-prev {
  left: 100px;
}
@media (max-width: 768px) {
  .swiper-button-prev {
    left: 20px;
  }
}

.swiper-button-next {
  right: 100px;
}
@media (max-width: 768px) {
  .swiper-button-next {
    right: 10px;
  }
}

#hero {
  margin-top: 5rem;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 8rem;
  }
}
#hero .swiper {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 100px 0 0 100px;
  background: red;
}
@media (max-width: 768px) {
  #hero .swiper {
    border-radius: 50px 0 0 50px;
  }
}
#hero .swiper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#hero .text {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: start;
  gap: 2rem;
  padding-top: 15rem;
  letter-spacing: 5px;
}
@media (max-width: 768px) {
  #hero .text {
    padding: 5rem 0;
  }
}
#hero .text p {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  margin: 0;
  padding: 0;
  background: #f5d76e;
  display: inline-block;
  padding: 1rem 0;
}
#hero .text p:last-child {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  padding: 1rem 0;
  margin: 0;
  margin-top: 5rem;
}

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

@media (max-width: 768px) {
  #about {
    padding-top: 0;
  }
}
#about h3 {
  margin-bottom: 2rem;
}
#about p {
  line-height: 2;
  margin-bottom: 1rem;
}
#about .mask {
  position: relative;
  width: 60%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 20px;
  transform: rotate(-5deg);
}
@media (max-width: 768px) {
  #about .mask {
    width: 80%;
    margin-bottom: 5rem;
  }
}
#about .mask img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  transform: translate(-50%, -50%) rotate(5deg);
}
@media (max-width: 768px) {
  #about .mask img {
    width: 350px;
  }
}

#menu .img-box {
  width: 100%;
  overflow: hidden;
  display: inline-block;
}
#menu .img-box:hover img {
  transform: scale(1.1);
}
#menu .img-box img {
  width: 100%;
  height: 100%;
  transition: 1s;
}

#services {
  background: #fffbf5;
}
#services .service-card {
  text-align: center;
}
#services .service-card .img-box {
  text-align: center;
  position: relative;
}
#services .service-card .img-box .coming-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #f5d76e;
  color: #3f3f3f;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 5;
  pointer-events: none;
}
#services .service-card .img-box img {
  width: 80%;
  aspect-ratio: 1/1;
  border-radius: 5%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 8px solid #a3c585;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#services .service-card .text h3 {
  color: #a3c585;
  color: #3f3f3f;
  margin: 1.5rem 0 1rem;
}
#services .service-card .text p {
  color: #3f3f3f;
  color: rgb(118, 116, 116);
  text-align: start;
}

.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: 480px;
  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;
}

#contact {
  background: red-coffee;
}
@media (max-width: 768px) {
  #contact {
    padding-bottom: 1rem;
  }
}
#contact .contact-box {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}
#contact .contact-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
}
@media (max-width: 768px) {
  #contact .contact-box {
    margin-bottom: 1rem;
  }
}
#contact .contact-box:last-child {
  margin-bottom: 0;
}
#contact .contact-box h3 {
  color: #a3c585;
  color: black;
  margin-bottom: 0.5rem;
}
#contact .contact-box .icon-box {
  background: #a3c585;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
#contact .contact-box .icon-box i {
  color: white;
  font-size: 1.5rem;
}
#contact .contact-box a {
  color: #a3c585;
  font-weight: 600;
  background: rgba(245, 215, 110, 0.5);
  color: #333;
}
#contact .contact-box a.small {
  font-size: 0.9rem;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

footer {
  background: red-coffee;
  padding: 2rem 0 1rem;
}
footer a {
  text-decoration: underline;
  color: #3f3f3f;
}/*# sourceMappingURL=all.css.map */