html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  padding-bottom: 100vh;
}

.row {
  padding: 0;
}

.horizontal_976 {
  padding: 0;
}

.header-index.-white header nav {
  background: #ffffff;
  transition: 0.5s;
}

header ul li,
button {
  font-size: 1.1rem;
  padding: 0.3rem 1rem;
  transition: 0.5s;
  font-weight: 400;
  border-radius: 1rem;
  letter-spacing: 1px;
}
header ul li:hover {
  background: #d9b77d;
}
header ul li:hover a {
  color: #fff !important;
}

.window_show {
  display: block;
  background: #eee;
  /* background: center bottom / cover no-repeat url("../img/banner/bg.jpg"); */
}

/* banner */
.banner {
  display: block;
  height: 100vh;
  padding: 0px;
}
@media (max-width: 990px) {
  .banner {
    margin-top: 60px;
  }
}
.banner .container {
  height: 100%;
  padding: 0;
  margin: 0;
}
.banner .row {
  height: 100%;
  background: center / 800px no-repeat url("../img/banner/logo3.png");
}
@media (max-width: 1440px) {
  .banner .row {
    background: center / 90% no-repeat url("../img/banner/logo3.png");
  }
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 2;
  display: inline-block;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  padding-top: 80px;
}

.scroll-down:hover {
  opacity: 0.5;
}

.scroll-down .arrow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}

.scroll-down .arrow:nth-of-type(1) {
  animation-delay: 0s;
}

.scroll-down .arrow:nth-of-type(2) {
  top: 16px;
  animation-delay: 0.15s;
}

.scroll-down .arrow:nth-of-type(3) {
  top: 32px;
  animation-delay: 0.3s;
}

@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* window_show */
.window_show .carousel-item img {
  height: calc(100vh - 80px);
  object-fit: cover;
  filter: blur(4px);
}
.carousel-inner::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: #00000090;
  position: absolute;
  z-index: 1;
}
.b-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 300px;
}
@media (max-width: 991px) {
  .b-logo {
    width: 40vw;
    max-width: 240px;
  }
}

section {
  margin: 0px !important;
  padding: 0px !important;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  background: #1a1a1a;
}

/* about */
section.about .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* 佔據螢幕高度的 80% */
  height: auto; 
}

section.about .content h5 {
  line-height: 200%;
  width: fit-content;
}
section.about .content img {
  height: 82px;
  width: auto;
  transform: translateX(5%) scaleX(1.1);
}
section.about .bg-box {
  /* min-height: 80vh;  */
  position: relative;
  overflow: hidden;
}
section.about .bg {
  width: 62vw;
  height: 100%;
  background: url(../img/2-about/bg.webp) center/cover;
  position: absolute;
  left: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* 針對手機版 RWD 調整 (Bootstrap md 斷點為 768px) */
@media (max-width: 767.98px) {
  /* 1. 移除可能存在的高度限制，讓內容自然撐開 */
  section.about {
    height: auto !important;
    min-height: auto;
    overflow: visible; /* 確保內容不被切掉 */
  }

  /* 2. 調整文字區塊：增加留白防止擁擠 */
  section.about .content {
    padding: 80px 20px;
    height: auto !important; /* 覆蓋原本可能的 h-100 */
  }

  /* 3. 調整圖片區塊 */
  section.about .bg-box {
    position: relative; 
    height: 50vh;      
    width: 100%;
    overflow: hidden;
  }

  section.about .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120vw;
    height: 100%;
  }
}

/* 針對極小螢幕微調高度，避免手機上圖片比例太長 */
@media (max-width: 576px) {
  section.about .bg-box {
    height: 50vh; 
  }
}

section.product {
  background: #0d0608;
  overflow: visible;
  width: 100%;
  height: 300vh !important;
  position: relative;
}

section#product .scroll-wrap {
  padding-top: 8.2rem !important;
  padding-bottom: 2rem !important;
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
  height: 100vh;
}


.center-main-slider{
  height: 100vh;
}

.slick-list,
.slick-track,
.slick-slide,
.slick-slide > div{
  height: 100%;
}

section.light-bg {
  background: #F1F1EF;
  height: 100vh !important;
}

.center-main-slider {
  width: 100%;
  cursor: grab;
}
.center-main-slider:active {
  cursor: grabbing;
}

/* 父層單元 */
section.product .center-item {
  width: 38vw; /* 略微調大寬度，增加滑動手感 */
  margin: 0 40px;
  outline: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  transform: scale(0.82);
  opacity: 0.35;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slick-track {
  display: flex;
  align-items: center;
}

section.product .slick-arrow {
  z-index: 26;
}

@media (max-width: 420px) {
  section.product .slick-arrow {
  display: none !important;
  }
  section.product h5 {
    font-size: 2rem !important;
  }
}

section.product .slick-prev {
  left: 1.6rem;
}

section.product .slick-next {
  right: 1.6rem;
}

/* 中間 Highlight 狀態：這裡不使用 important 以免干擾 Slick 計算 */
section.product .center-item.slick-center {
  transform: scale(1.06);
  opacity: 1;
  z-index: 10;
}

section.light-bg .center-item.slick-center {
  transform: scale(1) !important;
}

section.light-bg {
  padding: 0px !important;
}

section.light-bg .ig-center-main-slider {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 子層縮圖 */
section.product .inner-slider, section.light-bg .inner-slider {
  width: 17.5rem;
  height: 50vh;
  margin-bottom: 1.5rem;
  background: #000;
  /* 預設禁止所有事件，確保滑鼠可以順利拖拽父層 */
  pointer-events: none;
}

section.light-bg .ig-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* 只有中間焦點項才允許子層的點擊與 Slick 操作 */
section.product .slick-center .inner-slider {
  pointer-events: auto;
}

section.product .inner-slide img {
  height: 50vh;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* 文字樣式 */
section.product h5 {
  color: #fff;
  font-size: 2.2rem;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  margin-top: 1rem;
}

section.light-bg h5 {
  color: #2d2b2a;
  margin-top: 3rem;
}
section.light-bg .text {
  margin-left: -1rem;
}

section.product p {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.8;
  text-align: center;
  font-weight: 600;
}

section.light-bg p {
  color: #2d2b2a;
}

.ig-wrap .instagram-media {
  margin-bottom: 0px !important;
}

/* Slick 控制點 */
section.product .slick-dots li button:before {
  color: #fff;
  opacity: 0.2;
}
section.product .slick-dots li.slick-active button:before {
  opacity: 1;
}

@media (max-width: 768px) {
  section.product .center-item {
    width: 85vw;
    margin: 0 10px;
  }
}

/* Contact Section 主容器 */
.orange-bg {
  background: #b84500 !important;
  transition: .62s;
}

section.contact {
  background: #0d0608;
  position: fixed;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* 確保背景撐滿全螢幕高度 */
  transition: .62s;
}

/* Logo 自適應調整 */
section.contact img.logo {
  /* 手機版：寬度佔螢幕 70%，高度自動 */
  width: 70%;
  height: auto;
  /* 電腦版：最大寬度限制在 400px，避免太大 */
  max-width: 400px;
  object-fit: contain;
}

/* 裝飾線 */
section.contact .link .dec {
  display: inline-block;
  height: 1.5rem;
  width: 0.5rem;
  background: url(../img/4-contact/dec.svg) center / contain no-repeat;
}

/* 連結文字樣式 */
section.contact .link a {
  padding: 0.5rem 2.6rem;
  color: #ffffff;
  transition: opacity 0.3s;
}

section.contact .link a:hover {
  opacity: 0.7;
}

/* 頁腳樣式 */
footer {
  height: 6.2rem;
  /* 修正：原本 translateY(-100%) 可能會導致跑位，若要貼底可依需求調整 */
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #ffffffc6;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

footer a {
  letter-spacing: 0.08em;
}

/* RWD 響應式微調 */
@media (max-width: 768px) {
  /* 手機版 Logo 稍微縮小最大值 */
  section.contact img.logo {
    max-width: 280px;
  }

  section.contact .dec {
    transform: rotate(90deg);
  }
  
  /* 手機版連結垂直排列時，增加上下間距 */
  section.contact .link a {
    padding: 1rem 0;
  }

  .copyright {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 420px) {
  h2 {
    font-size: 1.4rem !important;
    padding-bottom: 1rem !important;
  }
  h5 {
    font-size: 1rem !important;
  }
}
/*# sourceMappingURL=main.css.map */
