@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");

body {
  margin: 0;
  background-color: #f5f3ef;
  color: #1a1a1a;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.3);
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 184px;
  color: #ffffffdd;
  padding-left: 16px;
  padding-right: 8px;
  box-sizing: border-box;
  white-space: normal;
  overflow: hidden;
}

.content-place {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-title-1,
.content-title-2 {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  font-family: "Oswald", sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.content-start {
  width: 30px;
  height: 5px;
  border-radius: 99px;
  background-color: #ffffffdd;
}

.details {
  z-index: 22;
  position: absolute;
  top: 130px;
  left: 100px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 2px 12px rgba(0,0,0,0.18);
}

.details .place-box {
  height: 72px;
  overflow: hidden;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.7)) drop-shadow(0 2px 16px rgba(0,0,0,0.5));
}

.details .place-box .text {
  padding-top: 16px;
  font-size: 28px;
  position: relative;
  color: #ffffff;
}

.details .place-box .text:before {
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}

.details .title-1,
.details .title-2 {
  font-weight: 600;
  font-size: 64px;
  font-family: "Oswald", sans-serif;
  line-height: 1;
  color: #ffffff;
}

.details .title-box-1 {
  margin-top: -3px;
  height: 72px;
  overflow: hidden;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.7)) drop-shadow(0 2px 16px rgba(0,0,0,0.5));
}

.details .title-box-2 {
  display: none;
}

.content-title-2:empty {
  display: none;
}

.details > .desc {
  margin-top: 16px;
  width: 500px;
  font-size: 18px;
  color: #ffffffdd;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 20px rgba(0,0,0,0.75);
}

.details > .cta {
  width: 500px;
  margin-top: 24px;
  display: flex;
  align-items: center;
}

.details > .cta > .bookmark {
  border: none;
  background-color: #ecad29;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.details > .cta > .bookmark svg {
  width: 20px;
  height: 20px;
}

.details > .cta > .discover {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: linear-gradient(90deg, #c88b1a, #ecad29, #f5c842, #ecad29, #c88b1a);
  background-size: 300% 100%;
  background-position: right center;
  transition: background-position 0.2s ease;
  height: 36px;
  border-radius: 99px;
  color: #1a1a1a;
  padding: 4px 24px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 0;
  margin-right: 16px;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  order: -1;
}

.details > .cta > .discover:hover {
  background-position: left center;
}

/* Nav Logo */
.nav-hamburger { display: none; }
.mobile-menu { display: none; }
.mobile-menu-backdrop { display: none; }

.nav-logo {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav */
nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 500;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
nav.nav-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

nav .nav-icon {
  width: 20px;
  height: 20px;
  filter: invert(0);
  opacity: 0.6;
  transition: filter 0.3s;
}

/* White logo overlay (hero-only) — hidden by default, shown while nav is transparent */
.nav-logo-white {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-logo-dark {
  opacity: 1;
  transition: opacity 0.3s;
}
nav.nav-transparent .nav-logo-white {
  opacity: 1;
  pointer-events: auto;
}
nav.nav-transparent .nav-logo-dark {
  opacity: 0;
}
nav.nav-transparent a:not(.nav-cta) {
  color: #fff;
}
nav.nav-transparent a.active::after {
  background-color: #ecad29;
}
nav.nav-transparent .nav-icon {
  filter: invert(1);
}

/* 目前顯示的 Hero Slide 設為「黑色」導覽列時，蓋回深色文字/圖示/logo */
nav.nav-transparent.nav-force-dark a:not(.nav-cta) {
  color: #333;
}
nav.nav-transparent.nav-force-dark .nav-icon {
  filter: invert(0);
}
nav.nav-transparent.nav-force-dark .nav-logo-white {
  opacity: 0;
  pointer-events: none;
}
nav.nav-transparent.nav-force-dark .nav-logo-dark {
  opacity: 1;
}

nav .svg-container {
  width: 20px;
  height: 20px;
}

nav > div {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 15px;
}

nav > div:first-child {
  gap: 10px;
}

nav > div:nth-child(2) {
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s, -webkit-text-stroke 0.2s;
}

nav a:hover {
  color: #1a1a1a;
}

nav a.active {
  position: relative;
  color: #1a1a1a;
}


nav a.active::after {
  bottom: -8px;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  height: 3px;
  border-radius: 99px;
  background-color: #ecad29;
}

nav a.nav-cta {
  background-color: #ecad29;
  color: #1a1a1a !important;
  padding: 8px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 13px;
}

nav a.nav-cta:hover {
  background-color: #f0bc45;
}

.indicator {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 60;
  background-color: #ecad29;
}

.pagination {
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-flex;
}

.pagination > .arrow {
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pagination > .arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.pagination > .arrow:hover svg {
  color: #fff;
}

.pagination > .arrow.arrow-locked {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination > .arrow:nth-child(2) {
  margin-left: 20px;
}

.pagination > .arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: rgba(255, 255, 255, 0.9);
}

.pagination .progress-sub-container {
  margin-left: 24px;
  z-index: 60;
  width: 500px;
  height: 50px;
  display: flex;
  align-items: center;
}

.pagination .progress-sub-container .progress-sub-background {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.35);
}


.pagination .progress-sub-container .progress-sub-background .progress-sub-foreground {
  height: 3px;
  background-color: #ecad29;
}

.pagination .slide-numbers {
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 60;
  position: relative;
}

.pagination .slide-numbers .item {
  width: 50px;
  height: 50px;
  position: absolute;
  color: #ffffff;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: bold;
}

.slide-dots {
  display: none;
  align-items: center;
  gap: 7px;
  margin-left: 24px;
  z-index: 60;
  height: 50px;
}

.slide-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}

.slide-dots .dot:hover {
  transform: scale(1.5);
  background: rgba(255, 255, 255, 0.65);
}

.slide-dots .dot.dot-active {
  background: #ecad29;
  transform: scale(1.2);
}

.slide-dots .dot.dot-active:hover {
  background: #ecad29;
  transform: scale(1.5);
}

.pagination.dots-mode .progress-sub-container,
.pagination.dots-mode .slide-numbers,
.pagination.dots-mode .arrow {
  display: none;
}

.pagination.dots-mode .slide-dots {
  display: flex;
  margin-left: 0;
}

@media (max-width: 760px) {
  #pagination { display: none !important; }
  #hero-dots {
    position: absolute;
    bottom: 125px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    margin-left: 0;
    height: auto;
    z-index: 70;
  }
}

@media (max-width: 1240px) {
  .pagination > .arrow {
    width: 38px;
    height: 38px;
  }
  .pagination > .arrow svg {
    width: 18px;
    height: 18px;
  }
  .pagination .progress-sub-container {
    width: 150px;
    height: 38px;
  }
  .pagination .slide-numbers {
    width: 38px;
    height: 38px;
  }
  .pagination .slide-numbers .item {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

@media (max-width: 1460px) {
  .pagination > .arrow {
    width: 42px;
    height: 42px;
  }
  .pagination > .arrow svg {
    width: 20px;
    height: 20px;
  }
  .pagination .progress-sub-container {
    width: 380px;
    height: 42px;
  }
  .pagination .slide-numbers {
    width: 42px;
    height: 42px;
  }
  .pagination .slide-numbers .item {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}

@media (max-width: 930px) {
  .details > .desc,
  .details > .cta {
    width: 320px;
  }
  .details .place-box {
    height: auto;
    overflow: visible;
  }
  .details .place-box .text {
    font-size: 20px;
  }
  .details .title-box-1 {
    height: auto;
    overflow: visible;
  }
  .details .title-1,
  .details .title-2 {
    font-size: 32px;
    line-height: 1.2;
  }
}

@media (max-width: 540px) {
  .details {
    left: 10px;
  }
  .details .place-box {
    height: auto;
    overflow: visible;
  }
  .details .place-box .text {
    font-size: 20px;
  }
  .details .title-box-1 {
    height: auto;
    overflow: visible;
  }
  .details .title-1,
  .details .title-2 {
    font-size: 30px;
    line-height: 1.2;
  }
  .details > .desc {
    font-size: 16px;
  }
  .details > .cta > .discover {
    font-size: 10px;
  }
}

@media (max-width: 412px) {
  .details > .desc {
    font-size: calc(16px + (100vw - 412px) / 3);
  }
}

.cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f5f3ef;
  z-index: 100;
}

/* ── Floating social buttons ── */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px 0 0 10px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transform: translateX(calc(100% - 54px));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  box-shadow: -2px 2px 12px rgba(0,0,0,0.18);
}

.social-btn:hover {
  transform: translateX(0);
  box-shadow: -4px 4px 20px rgba(0,0,0,0.28);
}

.social-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.social-btn span {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.5px;
}

.social-btn--line { background: #06C755; }
.social-btn--fb   { background: #1877F2; }
.social-btn--ig   { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ── Site Footer ── */
.site-footer {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  justify-items: stretch;
  gap: 24px;
  padding: 4rem 32px 3rem;
  box-sizing: border-box;
  color: #d5d5d5;
  font-size: 14px;
  line-height: 1.9;
  overflow: hidden;
  background: #1a1a1a;
}

/* 頂部細漸層，讓 footer 與頁面自然銜接 */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(rgba(245,243,239,0.12), transparent);
  pointer-events: none;
}

.footer-backdrop { display: none; }

.footer-cards {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-self: stretch;
}

.footer-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  min-width: 0;
}

.footer-col2,
.footer-col3 {
  background: #2d2d2d;
  border-radius: 16px;
  align-self: stretch;
  justify-self: stretch;
  flex: 1;
}

.footer-col2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
  text-align: left;
  justify-items: start;
  line-height: 1.9;
}

.footer-col3-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  width: 100%;
}

.footer-studios-col,
.footer-legal-col {
  display: flex;
  flex-direction: column;
}

.footer-col3-title {
  display: inline;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-col2 a,
.footer-col3 a {
  text-decoration: none;
  color: #c8c4be;
  transition: color 0.2s;
  padding: 4px 0;
  display: block;
}

.footer-col2 a:hover,
.footer-col3 a:hover {
  color: #ecad29;
}

.footer-brand {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.footer-tagline {
  font-size: 12px;
  color: #ecad29;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.footer-copy {
  font-size: 11px;
  color: #888;
  margin: 14px 0 0;
}

.footer-contact {
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
  text-align: left;
}
.footer-contact p {
  margin: 0;
  font-size: 13px;
  color: #a0a0a0;
  line-height: 1.7;
}
.footer-meta-label {
  color: #ecad29;
  font-weight: 600;
  margin-right: 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.footer-notice {
  color: #888 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}

.footer-studios {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.footer-services-inline {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  line-height: 2;
  color: #c8c4be;
  text-align: left;
}

.footer-services-inline a {
  display: inline;
  text-decoration: none;
  color: #c8c4be;
  transition: color 0.2s;
}

.footer-services-inline a:hover {
  color: #ecad29;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.fsoc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.fsoc svg { width: 20px; height: 20px; position: relative; z-index: 2; }

.fsoc--line { background: #06C755; box-shadow: 0 4px 10px rgba(6,199,85,0.3); }
.fsoc--fb   { background: #1877F2; box-shadow: 0 4px 10px rgba(24,119,242,0.3); }
.fsoc--ig   { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); box-shadow: 0 4px 10px rgba(221,42,123,0.3); }

.fsoc::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0);
  border-radius: 8px;
  transform: translate(-50%, -50%) scale(2);
  transition: all 0.4s ease;
  z-index: 0;
}

.fsoc:hover::before {
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%) scale(0);
}

.fsoc:hover { transform: translateY(-4px) scale(1.05); }
.fsoc--line:hover { box-shadow: 0 8px 20px rgba(6,199,85,0.6); }
.fsoc--fb:hover   { box-shadow: 0 8px 20px rgba(24,119,242,0.6); }
.fsoc--ig:hover   { box-shadow: 0 8px 20px rgba(221,42,123,0.6); }

@media (max-width: 900px) {
  .site-footer { grid-template-columns: 1fr; padding: 3rem 4vw 2rem; }
  .footer-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-footer { grid-template-columns: 1fr; padding: 2.5rem 5vw 2rem; }
  .footer-cards { flex-direction: column; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
}

.social-btn svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
