@import url("timeline.css");
/* Reset + Base setup */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  padding-top: 70px;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

/* Navbar */
.custom-navbar {
  background-color: #2A2B2D !important;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
}

.custom-navbar .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

.navbar-brand:hover, .navbar-brand:focus {
  text-decoration: none;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* Dropdown */
.dropdown-toggle {
  white-space: nowrap;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
  margin-left: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}

.nav-link:hover, .nav-link:focus {
  text-decoration: none;
}

/* Video */
.body-video {
  height: 100%;
  margin: 0px;
  width: 100%;
  object-fit: cover;
}

#bgVideo {
  position: relative;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100;
}
/* online */
.online-icons {
  margin: 20px 0;
}

.online-icons .store-icon {
  width: 80px;      /* ICON 大小 */
  height: 80px;
  margin: 0 15px;   /* 間距 */
  transition: transform 0.3s ease;
}

.online-icons .store-icon:hover {
  transform: scale(1.1); /* 滑鼠移上放大效果 */
}


/* Sections */
.ob-hero, .ob-zoom, .ob-h5 {
  background-color: #FFFFFF;
}

.ob-h5 {
  text-align: center;
  padding-top: 12px;
  padding-bottom: 100px;
}

.travel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.text-block-padding {
  padding-left: 50px;
  padding-right: 50px;
}

/* Footer */
.ob-footer {
  background-color: #2A2B2D;  
}

.text-footer {
  color: #FFFFFF;
  font-size: 15px;
  text-align: left;
}

.text-footerl {
  color: #FFFFFF;
  text-align: right;
  font-size: 15px;
  margin-bottom: 1rem;

  /* 加入 Flex 排版與對齊設定 */
  display: flex;
  align-items: center;      /* 垂直置中 */
  justify-content: flex-end; /* 整段靠右 */
  gap: 8px; /* 圖與文字間距，可調整 */
}
@media (min-width: 992px) {
  .footer-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
}

.text-designed {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .text-designed {
    justify-content: flex-end;
    text-align: right;
  }
}
/* 左側 Contact us、Email、版權縮進（Logo不動） */
.ob-footer .col-lg-6 h4.text-footer,
.ob-footer .col-lg-6 p.text-footer:nth-of-type(n+2) {
  padding-left: 10px !important;
}

/* 手機板時，右側 Designed in California 也縮進對齊 */
@media (max-width: 991.98px) {
  .ob-footer .footer-right .text-designed {
    padding-left: 10px !important;
    justify-content: flex-start !important; /* 手機版靠左對齊 */
    text-align: left !important;
  }
}


/* Headings */
h3 {
  color: #FFFFFF;
  text-align: center;
}

h4 {
  color: #681203;
  font-size: 25px;
  text-align: center;
}

/* Image Zoom on Hover */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 3s ease-in-out;
}

.image-container img:hover {
  transform: scale(1.1);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.ob-h5 h4 {
  margin-top: 20px; /* 根據需求調整 */
}

/* Carousel */
.ob-carousel {
  background-color: #FFFFFF;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

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

.carousel-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  background-color: white !important;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 5px;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: green !important;
}

/* Carousel Caption */
.custom-caption {
  position: absolute;
  top: 30%;
  left: 25%;
  text-align: left;
  padding: 15px 20px;
  border-radius: 5px;
}

.custom-caption h5 {
  color: white;
  margin-bottom: 15px;
  font-size: 40px;
  font-weight: normal;
}
@media (max-width: 768px) {
  .custom-caption {
    top: 20%;
    left: 10%;
    padding: 10px;
  }
}

/* Button */
.btn-dark {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-dark:hover {
  background-color: #333;
}

/*  Display utility */
.d-block {
  display: block !important;
}
.col-lg-gray {
    background-color: #FFFFFF;
	padding: 0; 
}
.row-3 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.combo-box {
  background-color: #d6d6d6;
  border-radius: 25px;
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  flex-shrink: 0;
}


/* Reduced motion media query  */
@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-item {
    transition: none;
  }
}
/* Responsive tweaks */
@media (max-width: 768px) {
  .custom-caption h5 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .btn-dark {
    font-size: 12px;
    padding: 8px 16px;
  }

  .carousel-indicators {
    display: none;
  }
/* Layout column spacing */
}.col-lg-6.d-flex {
  padding-top: 20px;
  padding-bottom: 20px;
}
/* Grid layout for images or users */
.user-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 30px auto 0;

  /* 關鍵補充 */
  line-height: 0;
  font-size: 0;
}

.user-grid img {
  display: block; /* 讓圖片不再是 inline，去除底部空白 */
  width: 100%;
  height: auto;
  border-radius: 0;
  margin: 0;  /* 確保沒有多餘 margin */
  padding: 0; /* 確保沒有多餘 padding */
}


@media (max-width: 767px) {
  .user-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.h2 {
  margin-top: 40px;  
}
.white-on-black {
  background-color: black; /* 黑底 */
  color: white;            /* 白字 */
  padding: 6px 12px;       /* 可調整的內邊距 */
  display: inline-block;   /* 只包住文字寬度 */
  border-radius: 4px;      /* 可選：讓角落有一點圓弧 */
}
.accessories-section h4 {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #681203;
  text-align: center;
}

/* 限定 accessories 內的三欄設計 */
.accessories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.accessories-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 calc(33.333% - 1rem);
  box-sizing: border-box;
}

.accessories-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease;
}

.accessories-item img:hover {
  transform: scale(1.05);
}

.accessories-item p {
  margin: 0;
  line-height: 1.4;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .accessories-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .accessories-item img {
    width: 90%;
  }
}

@media (max-width: 576px) {
  .accessories-item {
    flex: 1 1 100%;
  }

  .accessories-item img {
    width: 70%;
  }
}
.celebrity-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

.celebrity-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.celebrity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.celebrity-item {
  text-align: center;
}

.celebrity-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.celebrity-item p {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
  .celebrity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .celebrity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* === 顏色選擇 === */
.variant-container {
  width: 100%;
  box-sizing: border-box;
  padding: 80px 20px 0;
}

.tab-switch {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: none;
  padding-bottom: 8px;
}

.tab-switch .tab {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #888;
  border-bottom: 3px solid transparent;
  padding-bottom: 4px;
  transition: all 0.2s ease;
}

.tab-switch .tab.active {
  color: #681203;
  border-bottom: 3px solid #681203;
}

.tab-switch .tab:not(.active) {
  border-bottom: 3px solid #ccc;
}

/* === 變體按鈕區 === */
.variant-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 10px;
  box-sizing: border-box;
}

.variant-section {
  flex: 1;
  max-width: 400px;
}

.preview-section {
  flex: 1;
  max-width: 600px;
  text-align: center;
}

.preview-section h2 {
  margin-bottom: 20px;
  padding-top: 10px;
}

#preview {
  max-width: 100%;
  height: auto;
}


.variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.variant-buttons img {
  width: 40px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.variant-buttons img.selected {
  border: 3px solid #EAEAEA;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  border-radius: 2px;
}

.variant-buttons img:hover {
  transform: scale(1.05);
}

.variant-section .variant-title {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.variant-section .variant-title.variant-subtitle {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #555;
}

.variant-toggle {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
}

.variant-toggle button {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
  color: #666666;
  border-bottom: 2px solid #ccc;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.variant-toggle button.active {
  color: #681203;
  border-bottom: 2px solid #681203;
}

/* === 響應式手機版樣式 === */
.mobile-layout {
  display: none; /* 預設隱藏，桌機不顯示 */
}

/* 手機版專用排版 */
@media screen and (max-width: 768px) {
  .variant-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .variant-section,
  .preview-section {
    max-width: 100%;
    width: 100%;
  }

  .mobile-layout {
    display: none; /* 完全移除手機專用區塊 */
  }
}
@media screen and (max-width: 768px) {
  .variant-buttons {
    transform: scale(0.8); /* 縮小到80% */
    transform-origin: top left;
  }
}


