:root {
  --text-color: #2D2824;
  --text-en-color: #CBB386;
  --primary-color: #523725;
  --primary-color-hover: #A17A25;
  --secondary-color: #957C66;
}

h1 {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Microsoft JhengHei', sans-serif;
  line-height: 1;
  font-size: 16px;
  background-image: linear-gradient(to right, #293134, #242d34, #1c262f);
}

a {
  text-decoration: none;
}

#About,
#Products,
#Contact {
  margin-top: -100px;
  padding-top: 100px;
}

/* 漢堡選單 */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 2.5px;
  background: var(--primary-color);
  border-radius: 25%;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}

.hamburger.active .line:nth-child(1) {
  transform: translateY(11.2px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }
}

/* menu */
.navbar-toggler,
.navbar-toggler:focus {
  border: none;
  color: #fff;
  box-shadow: none;
}

.logo {
  width: 110px;
  height: 50px;
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-size: 100%;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .logo {
    width: 150px;
    height: 60px;
  }
}

.nav-bg {
  transition: all 0.2s ease;
  background: #E5E5E5;
}

.nav-bg.sticky {
  background: var(--secondary-color);
  box-shadow: 0 0.125rem 0.25rem rgba(255, 255, 255, 0.075);
}

nav {
  transition: all 0.2s ease;
}

nav img {
  width: 100px;
}

nav .scroll a {
  font-size: 18px;
  letter-spacing: 2.2px;
  outline: 0;
  padding: 20px 15px;
  color: var(--primary-color);
  transition: all 0.2s ease;
  position: relative;
}



nav .nav-item+.nav-item {
  margin-left: 0;
}



nav .scroll a:hover {
  color: var(--primary-color-hover);
}

nav .scroll a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  width: 75%;
  height: 1px;
  background: var(--primary-color-hover);
  opacity: 0;
  transform: translate(0, -50%);
  transition: all 0.2s ease;
}

nav .scroll a:hover:before {
  opacity: 1;
}

@media (min-width: 992px) {
  nav .scroll a {
    padding: 50px 15px;

  }

  nav .nav-item+.nav-item {
    margin-left: 30px;
  }

  nav .scroll a::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: var(--primary-color-hover);
    opacity: 0;
    transform: translate(-50%);
    transition: all 0.2s ease;
  }
}

/* footer */
.footer {
  padding: 60px 0 0 0;
  background: #2e2923;
  color: #fff;
}

.footer img {
  width: 140px;
}

.footer .item {
  border-right: none;
  padding: 0 30px;
}

.footer .item p {
  font-size: 20px;
  font-weight: bolder;
  text-align: center;
  padding-top: 20px;
}

.footer .item a {
  color: #fff;
  text-align: center;
}

.footer .item a:hover {
  color: var(--text-en-color);
}

.footer .reserved {
  margin-top: 20px;
  padding: 20px 0;
  width: 100%;
  border-top: 1px solid #eee;
  text-align: center;
  padding-left: 0;
}

.footer .reserved p {
  margin-bottom: 0;
}


@media (min-width: 768px) {
  .footer {
    padding: 60px 0;
  }

  .footer .item p,
  .footer .item a {
    text-align: left;
  }

  .footer .item {
    border-right: 1px solid #ccc;

  }

  .footer .reserved {
    margin-top: 0;
    padding-left: 30px;
    border-top: none;
    width: auto;
  }
}

/* 輪播 */
.carousel-item {
  object-fit: cover;
  height: 100vh;
  position: relative;
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-left: 5px;
  margin-right: 5px;
}

.carousel-control-next,
.carousel-control-prev {
  top: 118px;
  width: 10%;
  display: none;
}

@media (min-width: 1200px) {

  .carousel-control-next,
  .carousel-control-prev {
    display: block;
  }
}

/* 主視覺 */
.main-bg1,
.main-bg2,
.main-bg3,
.main-bg4 {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.main-bg1 {
  background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg1-phone.jpg") no-repeat center center /cover scroll;
}

.main-bg2 {
  background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg2-phone.jpg") no-repeat center center /cover scroll;
}

.main-bg3 {
  background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg3-phone.jpg") no-repeat center center /cover scroll;
}

.main-bg4 {
  background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg4-phone.jpg") no-repeat center center /cover scroll;
}

@media (min-width: 768px) {
  .main-bg1 {
    background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg1.jpg") no-repeat center center /cover scroll;
  }

  .main-bg2 {
    background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg2.jpg") no-repeat center bottom /cover scroll;
  }

  .main-bg3 {
    background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg3.jpg") no-repeat center center /cover scroll;
  }

  .main-bg4 {
    background: linear-gradient(to right, #52372596, #52372500), url("../img/main-bg4.jpg") no-repeat center bottom /cover scroll;
  }
}


.slogan {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding-bottom: 40px;
  color: #fff;
  font-size: 24px;
  letter-spacing: 2.2px;
  line-height: 1.5;
  display: inline-block;
  z-index: 1;
}

.slogan::after {
  content: '';
  position: absolute;
  width: 300%;
  height: 1px;
  background-color: #fff;
  left: -200%;
  bottom: 0;

}

@media (min-width: 992px) {
  .slogan {
    font-size: 32px;
  }
}

/* 產品系列 */
.section-products {
  background: #fff;
}

.section-products .bg-style {
  background: #EFEFEF;
  margin-bottom: 90px;
  position: relative;
  z-index: 1;
  /* box-shadow: 0rem 2rem 3rem rgba(0, 0, 0, 0.15); */
}

.section-products .bg-style::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
}



.first::before {
  content: '';
  background: var(--primary-color-hover);
}

.second::before {
  content: '';
  background: var(--primary-color);
}

.third::before {
  content: '';
  background: var(--secondary-color);
}

.section-products .style-shadow {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 10%;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: 0rem 1rem 2rem rgba(0, 0, 0, 0.212);
  /* z-index: 1; */
}

.section-products .title {
  padding: 40px 0;
  color: var(--text-color);
  text-align: center;
  letter-spacing: 10px;
  font-size: 28px;
  font-weight: bolder;
}



.section-products .title .title-en {
  padding-top: 10px;
  letter-spacing: 5px;
  display: block;
  color: var(--text-en-color);
  font-family: 'Noto Serif TC', serif;
}

.section-products .item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 60px 0;
  position: relative;
}



.section-products .item-text h3,
.section-wall .item-text h3 {
  font-size: 28px;
  color: #7A6C63;
  font-weight: bolder;
  letter-spacing: 5px;
}

.section-products .item-text p,
.section-wall .item-text p {
  color: var(--text-en-color);
  font-size: 20px;
  padding: 10px 0;
  font-weight: bolder;
}



.section-products .item-text ul,
.section-wall .item-text ul {
  padding-left: 20px;
  margin: 0;
}

.section-products .item-text li,
.section-wall .item-text li {
  color: #7A6C63;
  font-size: 18px;
  line-height: 1.5;
}

.section-products .item-text li+li,
.section-wall .item-text li+li {
  padding-top: 15px;
}

@media (min-width: 992px) {

  .section-products .item-text h3,
  .section-wall .item-text h3 {
    font-size: 30px;
  }

  .section-products .bg-style::before {
    width: 10px;
  }

  .section-products .item-text p,
  .section-wall .item-text p {
    font-size: 26px;
    padding: 20px 0;

  }

  .section-products .item-text li,
  .section-wall .item-text li {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  .section-products .title {
    padding: 100px 0;
    letter-spacing: 20px;
    font-size: 45px;
  }

  .section-products .title .title-en {
    padding-top: 20px;
  }

  .section-products .item-text h3,
  .section-wall .item-text h3 {
    font-size: 34px;
  }
}

/* 打造專屬牆 */
.section-wall {
  width: 100%;
  height: 100vh;
  background: url("../img/wall.jpg") no-repeat center right /cover scroll;
  position: relative;
}



.section-wall .item-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffffee;
  box-shadow: 0rem 1rem 2rem rgba(0, 0, 0, 0.212);
  padding: 1.5rem;
  width: 100%;

}

@media (min-width: 992px) {
  .section-wall {
    height: 100vh;
    background: url("../img/wall.jpg") no-repeat center left /cover scroll;
  }

  .section-wall .item-text {
    width: auto;
  }

  .section-wall .item-text {
    padding: 60px 4.5rem;

  }
}

/* 娛樂天地 */
.section-entertainment {
  background: #efefef;
  margin-bottom: 80px;
  padding: 60px 0;
}

.section-entertainment h2 {
  text-align: center;
  letter-spacing: 10px;
  font-size: 28px;
  font-weight: bolder;
  color: #7A6C63;
  padding: 90px 0 60px 0;
}

.section-entertainment .entertainment-link {
  padding: 30px 0;
  color: #796b62;
  display: inline-block;
  font-size: 20px;
  letter-spacing: 5px;
  transition: all 0.2s ease-in-out;
}

.section-entertainment .entertainment-link:hover {
  color: var(--primary-color-hover);
}

.section-about {
  width: 100%;
  height: 100%;
  background: linear-gradient(#00000000, rgba(0, 0, 0, 0)), url(../img/about-1.jpg) no-repeat left center/cover scroll;
  margin-top: 80px;
  position: relative;
  margin-top: 80px;
  position: relative;
}

.section-about .item-text {
  padding: 1.5rem;
  color: #fff;
  background-color: #cbb386be;
  margin-bottom: 80px;

}

@media (min-width: 1200px) {
  .section-about .item-text {
    padding: 180px;
  }
}

.section-about .item-text h2 {
  letter-spacing: 10px;
  font-size: 28px;
  font-weight: bolder;
}

.section-about .item-text .title-en {
  padding-top: 20px;
  letter-spacing: 5px;
  display: block;
  font-size: 30px;
  font-family: 'Noto Serif TC', serif;

}

.section-about .item-text p {
  color: var(--primary-color);
  font-size: 20px;
  text-align: justify;
  letter-spacing: 1px;
  line-height: 1.8;
}

.section-about2 {
  width: 100%;
  height: 100%;
  background: linear-gradient(#00000000, rgba(0, 0, 0, 0)), url(../img/about-3.jpg) no-repeat left center/cover fixed;
  position: relative;
}


.section-about2 .item-text {
  padding: 1.5rem 1.5rem 0 1.5rem;
  color: #fff;
}

.section-about2 .item-text h2 {
  letter-spacing: 10px;
  font-size: 28px;
  font-weight: bolder;
}



.section-about2 .item-text .title-en {
  padding-top: 20px;
  letter-spacing: 5px;
  display: block;
  font-size: 30px;
  color: var(--primary-color-hover);
  font-family: 'Noto Serif TC', serif;


}

.section-about2 .item-text p {
  font-size: 20px;
  text-align: justify;
  letter-spacing: 1px;
  line-height: 1.8;
}

@media (min-width: 992px) {

  .section-about .item-text p,
  .section-about2 .item-text p {
    letter-spacing: 2px;
    font-size: 24px;

  }
}

.about-img {
  margin-top: 60px;
  margin-left: 0;
  margin-bottom: 60px;
}

@media (min-width: 1200px) {

  .section-entertainment h2,
  .section-about .item-text h2,
  .section-about2 .item-text h2 {
    font-size: 45px;
    letter-spacing: 20px;

  }

  .section-about2 .item-text {
    padding: 120px 120px 0 120px;
  }
}

@media (min-width: 1400px) {
  .section-about {
    height: 100vh;
    background: linear-gradient(#00000000, rgba(0, 0, 0, 0)), url(../img/about-1.jpg) no-repeat left center/50% 100% scroll, url(../img/about-2.jpg) no-repeat right bottom/50% 100% scroll;
  }

  .section-about .item-text,
  .section-about2 .item-text {
    padding: 80px 180px;
  }

  .section-about2 {
    height: 100vh;
    background: linear-gradient(#00000000, rgba(0, 0, 0, 0)), url(../img/about-3.jpg) no-repeat left center/50% 100% fixed, url(../img/about-4.jpg) no-repeat right bottom/50% 100% scroll;
  }

  .about-img {
    margin-top: 140px;
    margin-left: -120px;
  }
}

/* 六大堅持 */
.section-six {
  position: relative;
  background-color: #F4F4F4;
  padding-top: 180px;
  padding-bottom: 60px;

}

.section-six h2 {
  position: absolute;
  text-align: center;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  font-size: 45px;
  letter-spacing: 10px;
  font-weight: bolder;
}

@media (min-width: 992px) {
  .section-six {
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-six h2 {
    top: 120px;
  }

}

.section-six .six {
  color: var(--primary-color-hover);
}

.section-six p {
  font-size: 24px;
  font-weight: bolder;
  color: var(--text-color);
  padding-top: 20px;
  padding-bottom: 30px;
}

.section-six span {
  color: var(--primary-color-hover);
}

/* contact */
.section-contact {
  background: var(--secondary-color);
  padding: 60px 0;
}

.section-contact h2 {
  color: #fff;
  font-size: 45px;
  letter-spacing: 10px;
  font-weight: bolder;
  text-align: center;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}


.form-label {
  color: #f0efeb;
  font-weight: bolder;
  margin-top: 30px;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-size: 20px;
}

.form-control {
  border-radius: 0;
  background: #f0efeb;
}

.btn-send {
  background-color: transparent;
  color: #fff;
  outline: none;
  border: none;
  font-weight: bolder;
  letter-spacing: 2px;
  font-size: 20px;
  transition: all 0.2s ease-in-out;
}

.btn-send:hover {
  color: var(--primary-color);
  text-decoration: underline
}

/* scrollTop */
.arrow-up {
  position: fixed;
  bottom: 50px;
  right: 15px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.arrow-up.active {
  top: auto;
  bottom: 60px;
  opacity: 1;
  visibility: visible;
}

.arrow-up div {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #ccc;
  border-radius: 50%;
  border: 1px solid #eee;
  cursor: pointer;
  color: #fff;
  font-weight: bolder;
  transition: all 0.3s ease;
}

.loading {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 100%);
  z-index: 9999;
  opacity: 0.9;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.sk-chase {
  width: 40px;
  height: 40px;
  position: relative;
  animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot:before {
  content: '';
  display: block;
  width: 25%;
  height: 25%;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
  animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
  animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes sk-chase {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot {

  80%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot-before {
  50% {
    transform: scale(0.4);
  }

  100%,
  0% {
    transform: scale(1.0);
  }
}