@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@400;500;600;700&family=Limelight&display=swap');

:root {
  --light-grey: #E1D4CA;
  --deep-grey: #524941;
  --deep-brown: #291610;
  --brown: #7B4431;
  --light-brown: #C5B9B4;
  --cameo-brown: #C88C74;
  --light-orange: #F8DCC4;
  --yellow: #FCE0CB;
  --light-yellow: #FFEFE2;
  --white: #F8F9FA;
}


/* 文字反白的狀況 */
::-moz-selection {
  /* Code for Firefox */
  color: var(--white);
  background: var(--light-brown);
}
::selection {
  color: var(--white);
  background: var(--light-brown);
}

/* 網頁捲軸【寬度】 */
::-webkit-scrollbar {
  width: 10px;
}

/* 網頁捲軸【背景】顏色 */
::-webkit-scrollbar-track {
  background: #212529;
}

/* 網頁捲軸【把手】顏色 */
::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

/* 網頁捲軸【滑過時】把手的顏色 */
::-webkit-scrollbar-thumb:hover {
  background: var(--light-yellow);
}


/* BS5修改預設 */
html,
body {
  overflow-x: hidden;
  margin: 0%;
}

html {
  height: 100%;
}

html,
body {
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  line-height: 1.75;
  letter-spacing: 1.5px;
  background-color: var(--light-yellow);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  letter-spacing: 2px;
}

.border-gray {
  border-color: var(--light-grey) !important;
}

.bg-light-grey {
  background-color: var(--light-grey) !important;
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.bg-cameo-brown {
  background-color: var(--cameo-brown);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.bg-light-brown {
  background-color: var(--light-brown);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.bg-light-orange {
  background-color: var(--light-orange);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.border-cameo-brown {
  border-color: var(--cameo-brown) !important;
}


/* section 標題 副標 start */
.section-title {
  color: var(--cameo-brown);
  position: relative;
  z-index: 2 !important;
}

.section-subtitle span {
  position: relative;
  z-index: 2 !important;
}

.section-subtitle {
  color: var(--cameo-brown);
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  letter-spacing: 5px;
  font-weight: 500;
  margin-bottom: 0px;
  position: relative;
}

.section-subtitle::before {
  content: "";
  width: 45px;
  height: 120%;
  background: var(--light-brown);
  position: absolute;
  left: -25px;
  top: 60%;
  z-index: 1 !important;
}

.section-subtitle::after {
  content: "";
  width: 70%;
  height: 2px;
  background: var(--cameo-brown);
  position: absolute;
  right: -75%;
  top: 55%;
}
/* section 標題 副標 end */

.uppercase {
  text-transform: uppercase !important;
}

.hideme {
  opacity: 0;
}

.card-text {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4; /*行數*/
  -webkit-box-orient: vertical;
  white-space: normal;
  /* word-wrap: break-word;
  word-break: break-all; */
  hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}


/* navbar start */
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover{
  background-color: var(--light-brown) !important;
  color: var(--deep-brown) !important;
}

.navbar-nav .nav-link {
  color: var(--brown)
}

li.nav-item a {
  min-width: 12vw;
  font-weight: 700;
}

li.nav-item a:hover span:nth-child(1),
li.nav-item a span:nth-child(2) {
  display: none;
}

li.nav-item a:hover span:nth-child(2) {
  display: block;
}
/* navbar end */


/* 漢堡選單 start */
.mobile-but .lines,
.mobile-but .lines::after,
.mobile-but .lines::before {
  height: 2px;
  width: 25px;
}
.mobile-but .lines::after,
.mobile-but .lines::before {
  content: ' ';
  display: block;
}

.mobile-but .lines::after,
.mobile-but .lines::before {
  background: var(--cameo-brown);
}

.mobile-but .lines::after {
  transform: translate(0px, 4px) rotate(0deg);
  -webkit-transform: translate(0px, 4px) rotate(0deg);
  -ms-transform: translate(0px, 4px) rotate(0deg);
  -moz-transform: translate(0px, 4px) rotate(0deg);
}
.mobile-but .lines::before {
  transform: translate(0px, -4px) rotate(0deg);
  -webkit-transform: translate(0px, -4px) rotate(0deg);
  -ms-transform: translate(0px, -4px) rotate(0deg);
  -moz-transform: translate(0px, -4px) rotate(0deg);
}

.active .mobile-but .lines::after {
  transform: translate(0px, -1px) rotate(45deg);
  -webkit-transform: translate(0px, -1px) rotate(45deg);
  -ms-transform: translate(0px, -1px) rotate(45deg);
  -moz-transform: translate(0px, -1px) rotate(45deg);
}
.active .mobile-but .lines::before {
  transform: translate(0px, 1px) rotate(-45deg);
  -webkit-transform: translate(0px, 1px) rotate(-45deg);
  -ms-transform: translate(0px, 1px) rotate(-45deg);
  -moz-transform: translate(0px, 1px) rotate(-45deg);
}
/* 漢堡選單 end */


/* mouse scroll icon start */
.scroll {
  position: relative;
  bottom: -1.8rem;
  display: block;
  width: 20px;
  height: 20px;
  -webkit-animation: finger 1s infinite;
  animation: finger 1s infinite;
  z-index: 100;
  margin-left: auto;
  margin-right: auto;
}

.scroll::before {
  content: '';
  width: 0;
  height: 0;
  display: block;
  border-left: 10px solid transparent;
  border-top: 10px solid var(--cameo-brown);
  border-right: 10px solid transparent;
  position: absolute;
  bottom: 0;
  right: 0;
}

.scroll::after {
  content: '';
    width: 0;
    height: 0;
    display: block;
    border-left: 10px solid transparent;
    border-bottom: 10px solid var(--cameo-brown);
    border-right: 10px solid transparent;
    position: absolute;
    top: 0;
    right: 0;
}

@-webkit-keyframes finger {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
/* mouse scroll icon end */


/* header start */
.header-banner {
  position: relative;
}

#headerBottom {
  position: absolute;
  bottom: -3px;
  left: -3px;
  width: 103vw;
  /* min-height: 15vh; */
  object-fit: cover;
  object-position: center center;
  z-index: 10;
}

.header-banner img {
  height: 100%;
  max-height: 100vh;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

.header-box {
  position: relative;
}

.header-content {
  position: absolute;
  z-index: 10;
  color: var(--white);
  width: 85vw;
  padding: 1vw;
  text-align: center;
  left: calc(50% - 40vw);
  bottom: 3rem;
}

.header-content .next {
  position: absolute;
  width: 85vw;
  bottom: 1vh;
}


.header-title {
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  margin-bottom: 0px;
  font-size: 3.4375em;
  text-transform: none;
  line-height: 1.5em;
}

@media all and (max-width: 1160px) {
  .header-title {
    font-size: 3em;
  }
}

@media all and (max-width: 990px) {
  .header-title {
    font-size: 2.8125em;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .header-title {
    font-size: 1.8125em;
  }
  .header-subtitle {
    font-size: 0.6125em;
  }
}

@media only screen and (max-width: 479px) {
  .header-title {
    font-size: 1.4125em;
  }
  .header-subtitle {
    font-size: 0.6125em;
  }
}

.header-subtitle {
  font-family: 'Limelight', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  margin-bottom: 0px;
  font-size: 0.5vw;
}
/* header end */


/* about start */
/* #about {
  background-image: url(../../img/about-bg-1200w.jpg), url(../../img/pattern.png);
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
  background-position: center;
  background-blend-mode: darken;
  width: 100%;
  height: 100%;
}

@media (max-width:768px){
  #about {
    background-image: url(../../img/about-bg-768w.jpg), url(../../img/pattern.png);
  }
}

@media (max-width:540px) {
  #about {
    background-image: url(../../img/about-bg-540w.jpg), url(../../img/pattern.png);
  }
} */

.about-img img {
  border-radius: 50% 50% 0% 0% / 35% 35% 0% 0%;
  /* border-radius: 50% 20% / 10% 40%; */
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  position: relative;
  z-index: 3;
}

.about-img {
  position: relative;
  z-index: 2;
}

.about-img::before {
  content: ""; /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  right: -20px;
  top: -20px;
  width: 18vw;
  height: 18vw;  
  max-width: 150px;
  max-height: 150px;  
  background-color:#ffd28d;
  background-image: url(../../img/pattern.png);
  background-repeat: repeat;
  background-blend-mode: darken;
  border-radius:50%;
  z-index: 4;
}

.about-img::after {
  content: ""; /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  left: -23vw;
  bottom: -18vw;
  width: 40vw;
  height: 40vw; 
  max-width: 600px;
  max-height: 600px;  
  background-color: var(--light-orange);
  background-image: url(../../img/pattern.png);
  background-repeat: repeat;
  background-blend-mode: darken;
  border-radius:50%;
  z-index: -1;
}


/* about end */


/* environment | oil | branch start */
.nav-pills {
  overflow-x: auto;
  white-space: nowrap;
  webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.nav-pills .nav-link {
  color: var(--white);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: var(--cameo-brown);
}

.panes-box {
  position: relative;
  overflow: auto;
  background-color: var(--cameo-brown);
}

.panes-box .panes-info {
  display: none;
}

.panes-box:hover .panes-info {
  display: block;
  padding: 1rem;
  width: 100%;
  height: 100%;
  width: 100%;
  height: 100%;
  background-color: rgba(196,136,112,.95);
  color: var(--white);
  position: absolute;
  top: 0;
  transition: all 1s;
}


#branch img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  /* filter:blur(5px); */
}

/* #branch img:hover {
  filter:blur(0);
} */

#environment img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  /* filter:blur(5px); */
}

/* #environment img:hover {
  filter:blur(0);
} */


#oil img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  /* filter:blur(5px); */
}

/* #oil img:hover {
  filter:blur(0);
} */
/* oil end */



/* #offers {
  border-bottom: 10px var(--light-brown) solid;
  background-color: #EFEFEF;
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
} */

#offers {
  border-bottom: 10px var(--light-brown) solid;
  background-color: #EFEFEF;
  background-image: url(../../img/offer-left-top.png), url(../../img/offer-right-bottom.png), url(../../img/pattern.png);
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left 3vw top 0, right 5vw bottom 0, left top;
  background-size: auto 290px, auto 250px, auto;
  background-blend-mode: lighten;
}

#offers .container {
  border: 2px solid;
  border-top: 0;
  border-left: 0;
  border-bottom: 0;
  border-image: linear-gradient(to bottom, var(--light-grey) 30%, var(--light-brown) 100%) 1;
  position: relative;
}

#offers .adorn {
  width: 200px;
  height: auto;
  position: absolute;
  top: 0;
  right: -100px;
  background-color: #EFEFEF;
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  border: 2px var(--light-grey) solid;
  border-top: 0;
  border-radius: 0% 0% 20% 20%;
  padding: 0 3px 3px 3px;
}

#offers .adorn::after {
  content: "OFF";
  width: 180px;
  height: 180px;
  position: absolute;
  top: 250px;
  right: -100px;
  background-color: var(--light-brown);
  border-radius: 50%;
}




/* team start */
/* #team {
  background-image: url(../../img/team-bg-1200w.jpg?v=1), url(../../img/pattern.png);
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
  background-position: left top;
  background-blend-mode: darken;
  width: 100%;
  height: 100%;
}

@media (max-width:768px){
  #team {
    background-image: url(../../img/team-bg-768w.jpg?v=1), url(../../img/pattern.png);
  }
}

@media (max-width:540px) {
  #team {
    background-image: url(../../img/team-bg-540w.jpg?v=1), url(../../img/pattern.png);
  }
} */

.team-list {
  width: 90vw;
}

.team-list .team-img {
  background-color: var(--light-brown);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  border-radius: 60% 60% 60% 60% / 80% 50% 70% 20% ;
  background-blend-mode: darken;
  margin: 1.5rem;
}

.team-list img {
  position: relative;
  left: -8px;
  top: -5px;
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 60% 60% 60% 60% / 80% 50% 70% 20% ;
}

/* team end */


/* service start */
#service {
  position: relative;
  z-index: 5;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* .service-item {
  margin-right: auto;
  max-width:850px;
}

.service-img {
  position: absolute;
  right: 6.5vw;
  bottom: -20px;
} */

.service-img::before {
  content: ""; /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  right: -5vw;
  top: -4vw;
  width: 10vw;
  height: 10vw;  
  border: 1px var(--cameo-brown) solid;
  border-radius: 60% 80% 50% 60% / 30% 50% 40% 30%;
  z-index: 3;
}

.service-img::after {
  content: ""; /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  right: -4.5vw;
  top: -3vw;
  width: 10vw;
  height: 10vw;  
  border: 1px var(--cameo-brown) solid;
  border-radius: 50% 20% 60% 30% / 80% 50% 40% 20%;
  z-index: 3;
}

/* @media (max-width:1600px) {
  .service-item {
    margin-left: auto;
    max-width: 1200px;
  }
  .service-img {
    display: none;
  }
} */

.service-img img {
  border-radius: 20% 0 0 0;
  /* border-radius: 10% 40% /50% 20%; */
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.service-item-img {
  position: relative;
  border-radius: 50% 20% / 10% 40%;
  height: 100%;
  /* overflow:hidden; */
}

.service-item-img::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50% 20% / 10% 40%;
  left: -5px;
  top: -7px;
  border: 1px var(--cameo-brown) solid;
  z-index: 10;
}

.service-item img {
  border-radius: 50% 20% / 10% 40%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* service end */

/* offer start */
.offer-item {
  width: 40vw;
}
@media (max-width:1600px) {
  .offer-item {
    width: 80vw;
  }
}
/* offer end */



/* clients start */
#clients {
  position: relative;
}

#clients {
  background-color: var(--light-grey);
  background-image: url(../../img/clients-topbg-1200w.jpg), url(../../img/pattern.png);
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
  background-blend-mode: darken;
  background-attachment: fixed;
  width: 100%;
  height: auto;
  min-height: 600px;
  position: relative;
}

@media (max-width:768px){
  #clients {
    background-image: url(../../img/clients-topbg-768w.jpg), url(../../img/pattern.png);
  }
}

@media (max-width:540px) {
  #clients {
    background-image: url(../../img/clients-topbg-540w.jpg), url(../../img/pattern.png);
  }
}

#clients .card {
  border-bottom: 5px var(--cameo-brown) solid;
  border-radius: 0 !important;
}

.clients-bottom {
  width: 100%;
  position: absolute;
  bottom: 20px;
}

.fa-star {
  color: #fecc00;
}
/* clients end */



/* price start */
.nav-pills .nav-link.active {
  background-color: transparent !important;
}

.nav-pills .nav-link.active img {
  width: 120% !important;
  margin-top: -10% !important;
  margin-left: -10% !important;
}

.block-content {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.service-title {
  position: relative;
  z-index: 3;
  background: #fff;
  top: -2px;
  padding-right: 0.125rem;
  display: inline-block;
}

.dots-price {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 2;
  background-image: radial-gradient(
    circle closest-side,
    var(--brown) 80%,
    #fff 10%
  );
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 4px 2px;
  display: block;
  height: 2px;
  margin: 0.957em 0;
}

.service-price {
  position: absolute;
  top: -2px;
  right: 0;
  font-size: 1.2rem;
  z-index: 2;
  padding-left: 0.125em;
  background: #fff;
  color: var(--brown);
}

/* price end */




/* top buttom start */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 3vw;
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  color: var(--yellow);
  background-color: var(--deep-brown);

  cursor: pointer;
  padding: 5px 15px;
  border-radius: 0px;
}

#topBtn:hover {
  color: var(--deep-brown);
  background-color: var(--yellow);
}
/* top buttom end */

