/**
* Template Name: Day - v4.7.0
* Template URL: https://bootstrapmade.com/day-multipurpose-html-template-for-free/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  background: #0E0E0E;
  margin: 0;
  padding: 0;
}

a {
  color: #cc1616;
  text-decoration: none;
}

a:hover {
  color: #e82d2d;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

.light-gray {
  color: #D7D7D7;
}


img {
  -webkit-user-drag: none;
  user-select: none;
}
/*--------------------------------------------------------------
# Back to top button（黑金玻璃發光版）
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 996;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  /* 玻璃質感 */
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);

  border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.25);

  transition: all 0.4s ease;

  /* 初始微光 */
  box-shadow:
    0 0 10px rgba(212,175,55,0.2),
    inset 0 0 8px rgba(255,255,255,0.05);
}

/* Icon */
.back-to-top i {
  font-size: 22px;
  color: rgba(255,255,255,0.8);
  transition: 0.3s;
}

/* 顯示 */
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Hover（重點：金屬發光） */
.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);

  background: linear-gradient(
    135deg,
    #8a6a1f,
    #d4af37,
    #fff3b0,
    #d4af37,
    #8a6a1f
  );

  box-shadow:
    0 0 15px rgba(212,175,55,0.8),
    0 0 30px rgba(212,175,55,0.5);
}

/* Hover icon 變深 */
.back-to-top:hover i {
  color: #111;
}

/* 點擊感 */
.back-to-top:active {
  transform: scale(0.95);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
 display: none !important;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #cc1616;
  border-top-color: #efefef;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Top Bar（隱藏）
--------------------------------------------------------------*/
#topbar {
  display: none !important;
  margin-bottom: 0 !important;
}


/*--------------------------------------------------------------
# Header（透明 + 滾動變深色）
--------------------------------------------------------------*/

#header {
  height: 80px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,120,0.15);
  transition: all 0.4s ease;
  z-index: 999;
  margin-bottom: 0 !important;
}

#header.header-scrolled {
  height: 60px;
  background: rgba(0,0,0,0.9);
}

/* Logo質感 */
#header .logo a {
  color: #f6e27a;
  letter-spacing: 3px;
  font-weight: 500;
  text-shadow:
    0 0 10px rgba(246,226,122,0.4),
    0 0 20px rgba(246,226,122,0.2);
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo img {
  max-height: 60px;
}

#header.fixed-top {
  background: rgba(25, 25, 25, 0.9);
}

.scrolled-offset {
  margin-top: 0 !important;
}

/*--------------------------------------------------------------
# Hero 修正（因為拿掉 topbar）
--------------------------------------------------------------*/
#hero {
  height: calc(100vh - 70px);
}


/*--------------------------------------------------------------
# 避免內容被 fixed header 蓋住
--------------------------------------------------------------*/
.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

/* 主選單 */
.navbar a {
  position: relative;
  display: inline-block;
  padding: 10px 18px;

  color: rgba(255,255,255,0.85);
  font-size: 15px;
  letter-spacing: 1px;

  transition: all 0.35s ease;
}

/* ✨ 金色底線動畫 */
.navbar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;

  width: 0;
  height: 2px;

  background: linear-gradient(90deg, #d4af37, #f5e6b3);
  transform: translateX(-50%);
  transition: 0.35s ease;
}

/* ✨ Hover */
.navbar a:hover {
  color: #d4af37;

  text-shadow:
    0 0 8px rgba(212,175,55,0.6),
    0 0 20px rgba(212,175,55,0.3);
}

.navbar a:hover::after {
  width: 60%;
}

/* Active */
.navbar .active {
  color: #d4af37;
}

.navbar .active::after {
  width: 60%;
}

/* =========================
   📱 MOBILE（穩定）
========================= */

.mobile-nav-toggle {
  font-size: 28px;
  cursor: pointer;
  display: none;
  color: #fff;
}

@media (max-width: 991px) {

  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar.navbar-mobile {
    position: fixed;
    inset: 0;
    height: 100dvh;
    overflow-y: auto;
    background: #000;
  }

  .navbar.navbar-mobile ul {
    display: block;
    margin-top: 100px;
    text-align: center;
  }

  .navbar.navbar-mobile li {
    margin: 18px 0;
  }

  .navbar.navbar-mobile a {
    font-size: 20px;
    color: #fff;
  }
}



/* =========================
   🔥 HERO（保留你原設計）
========================= */

#hero {
  height: calc(100vh - 70px);
  position: relative;

  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
    url("../img/hero-bg.jpg") center center / cover;
}

#hero h1 {
  color: #fff;
  text-shadow:
    0 0 10px rgba(212,175,55,0.4),
    0 0 25px rgba(212,175,55,0.2);
}

#hero .btn-get-started {
  transition: all 0.4s ease;
}



/* =========================
   🔥 卡片 Hover 修復（共用）
========================= */

.service-card,
.why-us .box,
.feature-item {
  transition: all 0.35s ease;
}


/* =========================
   🔥 按鈕統一修復
========================= */

.btn-main,
.cta-btn,
.btn-gold {
  transition: all 0.3s ease;
}


/* =========================
   手機版（完全修正版）
========================= */

@media (max-width: 991px) {

  .mobile-nav-toggle {
    display: block;
  }

  /* 預設隱藏 */
  .navbar ul {
    display: none;
  }

  /* 整個遮罩 */
 .navbar.navbar-mobile {
  position: fixed;
  inset: 0;
  height: 100dvh; /* ⭐ iPhone 專用 */

  overflow-y: auto; /* ⭐關鍵 */
  -webkit-overflow-scrolling: touch; /* ⭐關鍵 */
}

  /* 選單容器（關鍵） */
.navbar.navbar-mobile ul {
  display: block;
  margin-top: 100px;
  width: 100%;
  text-align: center;
}

.navbar.navbar-mobile ul {
  padding-bottom: 100px;
}

  /* 每一項 */
  .navbar.navbar-mobile ul li {
    margin: 18px 0;
  }

  .navbar.navbar-mobile ul li a {
    color: #fff;
    font-size: 20px;
    letter-spacing: 2px;
    display: block;
    padding: 10px 0;
  }

  .navbar.navbar-mobile ul li a:hover,
  .navbar.navbar-mobile .active {
    color: #d4af37;
  }

  /* X 按鈕 */
  .navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
/*--------------------------------------------------------------
# Hero Section（黑金玻璃・建商級）
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: calc(100vh - 70px);
  position: relative;

  /* 高級暗色濾鏡 + 圖片 */
  background: 
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
    url("../img/hero-bg.jpg") center center;

  background-size: cover;
  background-attachment: fixed;
}

/* 疊加光影（質感關鍵） */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at 70% 30%,
    rgba(212,175,55,0.15),
    transparent 60%
  );

  pointer-events: none;
}

/* 文字區塊 */
#hero .container {
  position: relative;
  z-index: 2;
}

/* 主標題（高級發光） */
#hero h1 {
  margin-bottom: 15px;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #fff;

  text-shadow:
    0 0 10px rgba(212,175,55,0.4),
    0 0 25px rgba(212,175,55,0.2);
}

/* 副標題 */
#hero h2 {
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  font-size: 22px;
  letter-spacing: 1px;
}

/* =========================
   CTA 按鈕（黑金發光）
========================= */
#hero .btn-get-started {
  display: inline-block;
  padding: 12px 32px;

  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #fff;

  border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.4);

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);

  transition: all 0.4s ease;

  box-shadow:
    0 0 10px rgba(212,175,55,0.2);
}

/* Hover（金屬流光） */
#hero .btn-get-started:hover {
  color: #111;

  background: linear-gradient(
    120deg,
    #8a6a1f,
    #d4af37,
    #fff3b0,
    #d4af37,
    #8a6a1f
  );

  box-shadow:
    0 0 15px rgba(212,175,55,0.8),
    0 0 35px rgba(212,175,55,0.5);

  transform: translateY(-2px);
}

/* =========================
   響應式
========================= */
@media (max-width: 768px) {

  #hero {
    text-align: center;
    background-attachment: scroll;
  }

  #hero .container {
    padding-top: 60px;
  }

  #hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  #hero h2 {
    font-size: 16px;
  }
}/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding: 30px 0;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #191919;
  position: relative;
  z-index: 2;
}
.section-title span {
  position: absolute;
  top: 30px;
  color: #f4f4f4;
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 0;
  margin-bottom: 6px; /* 新增 */
}
.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin: 5px 0; /* 10 → 5 */
    line-height: 1.2; /* 新增 */
  }
  .section-title span {
    font-size: 38px;
  }
}

/* ===== 黑金背景 ===== */
.section-dark {
  background: #0d0d0d;
  color: #fff;
  padding: 100px 0 10px;
}

/* 標題 */
.about .title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;

  /* 金色漸層 */
  background: linear-gradient(90deg, #d4af37, #f5e6b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 副標 */
.about .subtitle {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ===== 卡片列表 ===== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  padding: 18px 20px;
  border-radius: 12px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.15);

  color: rgba(255,255,255,0.85);
  font-size: 15px;

  display: flex;
  align-items: center;
  gap: 15px;

  transition: 0.3s;
}

/* 編號（金色） */
.feature-item span {
  color: #d4af37;
  font-weight: 600;
}

/* Hover（高級感） */
.feature-item:hover {
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.4);

  transform: translateX(5px);
}

/* ===== 圖片 ===== */
.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* 圖片暗化 */
.image-box img {
  width: 100%;
  display: block;
  filter: brightness(0.7) contrast(1.1);
}

/* 金色光暈 */
.image-box::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(212,175,55,0.15),
    transparent 40%
  );
}
/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
  position: relative;
  background: #0a0a0a; /* 主黑 */

  padding: 20px 0 100px;
  overflow: hidden;
}.why-us .box {
  padding: 50px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
}
.why-us .box span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #D88200;
}
.why-us .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #191919;
}
.why-us .box p {
  color: #878787;
  font-size: 15px;
  margin: 0;
  padding: 0;
}
.why-us .box {
  position: relative;
  padding: 30px;
  border-radius: 16px;

  /* 玻璃感 */
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 邊框金屬感 */
  border: 1px solid rgba(212, 175, 55, 0.25);

  /* 陰影 */
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  /* 動畫 */
  transition: all 0.4s ease;
  overflow: hidden;
}

/* ✨ 金色流光（關鍵） */
.why-us .box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(212, 175, 55, 0.25),
    transparent
  );

  transform: rotate(25deg);
  opacity: 0;
  transition: all 0.6s ease;
}

/* Hover 主效果 */
.why-us .box:hover {
  transform: translateY(-10px) scale(1.02);

  background: rgba(10, 10, 10, 0.85);

  border: 1px solid rgba(212, 175, 55, 0.6);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 20px rgba(212,175,55,0.25);
}

/* ✨ 流光掃過 */
.why-us .box:hover::before {
  opacity: 1;
  left: 100%;
}

/* 文字 */
.why-us .box span,
.why-us .box h4,
.why-us .box p {
  color: rgba(255,255,255,0.75);
  transition: 0.3s;
}

/* Hover 文字 */
.why-us .box:hover span,
.why-us .box:hover h4 {
  color: #d4af37; /* 金色 */
}

.why-us .box:hover p {
  color: #ffffff;
}
.why-us::before {
  content: "";
  position: absolute;
  inset: 0;

  /* 深黑漸層 */
  background: radial-gradient(
    circle at 30% 30%,
    rgba(212,175,55,0.08),
    transparent 40%
  );

  pointer-events: none;
}
/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  background: #000;
  padding: 15px 0;
  text-align: center;
}
.clients img {
  width: 50%;
  filter: grayscale(100);
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
}
.clients img:hover {
  filter: none;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .clients img {
    width: 40%;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
/* ===== 區塊背景 ===== */
.services.section-dark {
  background: #0a0a0a;
  padding: 25px 0;
  color: #fff;
}

/* 標題 */
.section-title.dark span {
  color: rgba(212,175,55,0.7);
  letter-spacing: 2px;
}

.section-title.dark h2 {
  font-size: 42px;
  font-weight: 600;
  margin: 10px 0;

  background: linear-gradient(90deg, #d4af37, #f5e6b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title.dark p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;   /* 原本偏小 */
}

/* ===== 卡片 ===== */
.service-card {
  position: relative;
  width: 100%;
  padding: 50px 40px; /* 增加呼吸感 */
  border-radius: 16px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.15);

  transition: all 0.4s ease;
  overflow: hidden;
}

/* 金色流光 */
.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.25),
    transparent
  );

  transform: rotate(25deg);
  opacity: 0;
  transition: 0.6s;
}

/* 編號 */
.service-card .number {
  color: rgba(212,175,55,0.6);
  font-size: 16px;
  margin-bottom: 15px;
}

/* 標題 */
.service-card h4 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* 文字 */
.service-card p {
  font-size: 16px;   /* 原本 14 → 太小 */
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

/* Hover */
.service-card:hover {
  transform: translateY(-10px);

  background: rgba(10,10,10,0.85);
  border: 1px solid rgba(212,175,55,0.5);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 20px rgba(212,175,55,0.2);
}

/* 流光 */
.service-card:hover::before {
  opacity: 1;
  left: 100%;
}

/* hover 文字 */
.service-card:hover h4 {
  color: #d4af37;
}

.service-card:hover p {
  color: #fff;
}
/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
/* ===== CTA 區塊 ===== */
.cta-dark {
  position: relative;
  padding: 140px 0;
  background: #0a0a0a;
  overflow: hidden;
}

/* 背景氛圍（關鍵） */
.cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(212,175,55,0.12),
    transparent 60%
  );
}
/* 內容容器 */
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* 小標 */
.cta-label {
  display: block;
  color: rgba(212,175,55,0.7);
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* 主標（氣勢關鍵） */
.cta-dark {
  position: relative;
  padding: 140px 0;

  background:
    linear-gradient(
      rgba(10,10,10,0.85),
      rgba(10,10,10,0.95)
    ),
    url("../img/cta-bg.jpg") center center / cover no-repeat;

  background-attachment: fixed; /* 視差感 */
  overflow: hidden;
}
/* 說明 */
.cta-dark p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.highlight-h3 {
  color: #FFD700; /* 金色文字 */
  text-shadow: 0 0 0px #fff, 0 0 0px ; /* 發光效果 */
  font-weight: bold; /* 粗體更顯眼 */
  font-size: 2rem; /* 可依需求調整大小 */
}

/* ===== 按鈕（重點） ===== */
.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;

  border: 1px solid rgba(212,175,55,0.5);
  color: #d4af37;

  letter-spacing: 2px;
  font-size: 14px;

  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* 金色流光 */
.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.4),
    transparent
  );

  transition: 0.5s;
}

/* Hover */
.cta-btn:hover {
  color: #000;
  background: linear-gradient(90deg, #d4af37, #f5e6b3);
  border: none;

  box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.cta-btn:hover::before {
  left: 100%;
}
/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
/* =========================
   Portfolio 黑金科技感修正版
========================= */

.portfolio {
  position: relative;
  background:
    radial-gradient(circle at top center, rgba(212,175,55,0.08) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(180deg, #040404 0%, #0a0a0a 45%, #111111 100%);
  padding: 90px 0;
  overflow: hidden;
}

/* ====== 背景 ====== */
.portfolio-header {
  position: relative;
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,0.12), transparent 40%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
  overflow: hidden;
}

/* 微科技格線（低調） */
.portfolio-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.2;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.18;
}

.portfolio {
  text-align: center;
  margin-bottom: 55px;
  position: relative;
  z-index: 2;
}

/* ====== 標題 ====== */

.section-title {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* 上方小字（英文更有質感） */
.section-subtitle {
  color: #cfa64a;
  font-size: 13px;
  letter-spacing: 6px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* 主標題 */
.section-title h2 {
  font-size: 56px;
  font-weight: 800;
  color: #f5e7bf;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2 {
  position: relative;
  overflow: hidden;
}

/* 光掃過效果 */
.section-title h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}




/* 金色底線（重點） */
.title-line {
  display: block;
  width: 80px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #b8860b, #f3d98b);
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}

/* 副標 */
.section-title p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 6px; /* 新增 */
}

.portfolio .section-title span {
  display: block;
  position: static !important; /* 關鍵 */
  color: #878069;
  margin-bottom: 12px;
}



/* =========================
   Portfolio 建商頂級版本
========================= */

.portfolio {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,0.15), transparent 40%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #0f0f0f 100%);
  overflow: hidden;
}

/* 科技格線 */
.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.2;
}

/* ===== 標題 ===== */
.portfolio .section-title h2 {
  font-size: 52px;
  font-weight: 800;
  color: #f5e7bf;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.portfolio .section-title p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
}

/* ===== 卡片 ===== */
.portfolio-card {
  position: relative;
  height: 720px;
  border-radius: 20px;
  overflow: hidden;

  background: #111;
  border: 1px solid rgba(212,175,55,0.2);

  transition: all 0.5s ease;
  transform-style: preserve-3d;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

/* 滑鼠景深 */
.portfolio-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.9),
    0 0 30px rgba(212,175,55,0.15);
}

/* ===== 圖片 ===== */
.portfolio-img-wrapper {
  position: absolute;
  inset: 0;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(0.65) contrast(1.05);
  transition: all 0.8s ease;
}

/* hover 放大 */
.portfolio-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.8) contrast(1.1);
}

/* 黑色漸層 */
.portfolio-img-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
  z-index: 1;
}

/* ===== 金色流光（重點） ===== */
.portfolio-img-wrapper::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -120%;
  width: 60%;
  height: 200%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.5),
    transparent
  );

  transform: skewX(-20deg);
  transition: 1s;
  z-index: 3;
}

.portfolio-card:hover .portfolio-img-wrapper::after {
  left: 140%;
}

/* ===== 玻璃資訊卡 ===== */
.portfolio-info {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;

  padding: 25px;
  border-radius: 10px;

  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(212,175,55,0.3);

  z-index: 5;
  transition: 0.4s;
}

/* hover 微浮 */
.portfolio-card:hover .portfolio-info {
  transform: translateY(-5px);
}

/* 標題 */
.portfolio-info h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

/* 標籤 */
.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  color: #000;
  background: linear-gradient(135deg, #d4af37, #f5e6b3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* 按鈕 */
.portfolio-links a {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  color: #d4af37;

  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.05);

  transition: 0.4s;
}

/* Hover */
.portfolio-links a:hover {
  background: linear-gradient(135deg, #d4af37, #fff3b0);
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

/* ===== 手機 ===== */
@media (max-width: 991px) {
  .portfolio-card {
    height: 320px;
  }

  .portfolio .section-title h2 {
    font-size: 28px;
  }
}


/* ====== RWD ====== */
@media (max-width: 768px) {
  .portfolio-header {
    padding: 80px 0 50px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .portfolio {
    padding: 70px 0;
  }

  .portfolio .section-title h2 {
    font-size: 28px;
  }

  .portfolio-card {
    height: 280px;
  }

  .portfolio-info {
    left: 16px;
    right: 16px;
    bottom: 16px !important;
    padding: 18px 18px;
  }

  .portfolio-info h4 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .portfolio-tag {
    font-size: 11px;
    padding: 7px 14px;
    margin-bottom: 14px;
  }
}




/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
/* ===== 黑金主題 ===== */


.luxury-section {
  background: radial-gradient(circle at top, #111 0%, #050505 60%, #000 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* subtle 金色光暈 */
.luxury-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
  top: -200px;
  right: -200px;
}

/* ===== 標題（更高級） ===== */

.section-header {
  position: relative;
  margin-bottom: 60px;
}

/* 上方科技線 */
.section-header::before {
  content: "";
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4af37, transparent);
  display: block;
  margin: 0 auto 20px;
  opacity: 0.6;
}


.section-header span {
  color: #d4af37;
  letter-spacing: 8px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 20px; /* 控制主卡片距離 */
}

.section-header h2 {
  font-size: 64px;
  font-weight: 600;
  background: linear-gradient(90deg, #fff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 10px 0 15px; /* 壓縮標題上下 */
  text-shadow: 0 0 20px rgba(212,175,55,0.2);
  animation: glowFade 3s ease-in-out infinite alternate;

}

/* 副標 */
.section-header p {
  color: #aaa;
  margin-top: 15px;
  letter-spacing: 1px;
}

@keyframes glowFade {
  from {
    text-shadow: 0 0 10px rgba(212,175,55,0.2);
  }
  to {
    text-shadow: 0 0 25px rgba(212,175,55,0.5);
  }
}

/* ===== 主方案（玻璃卡片 + 發光） ===== */
.main-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px; /* 原本80太大 */
  padding: 70px;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 16px;

  box-shadow:
    0 0 40px rgba(212,175,55,0.08),
    inset 0 0 20px rgba(255,255,255,0.02);
}

/* hover 微發光 */
.main-plan:hover {
  box-shadow:
    0 0 60px rgba(212,175,55,0.15),
    inset 0 0 30px rgba(255,255,255,0.05);
}

/* ===== 左側 ===== */
.main-left {
  width: 60%;
}

.main-left h3 {
  font-size: 34px;
  margin-bottom: 10px;
}

.subtitle {
  color: #bbb;
  margin-bottom: 25px;
}

/* 清單更科技感 */
.main-left ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  padding-left: 20px;
}

.main-left ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #d4af37;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ===== 右側 ===== */
.main-right {
  width: 35%;
  text-align: right;
}

.price-label {
  color: #777;
  font-size: 13px;
}

.price {
  font-size: 56px;
  font-weight: 600;
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212,175,55,0.4);
  margin: 15px 0 35px;
}

/* ===== 按鈕（科技金） ===== */
.btn-main {
  display: inline-block;
  padding: 14px 42px;
  border-radius: 40px;

  border: 1px solid #d4af37;
  color: #d4af37;
  text-decoration: none;

  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

/* hover 發光流動 */
.btn-main::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(212,175,55,0.4), transparent);
  top: 0;
  left: -100%;
  transition: 0.6s;
}

.btn-main:hover::before {
  left: 100%;
}

.btn-main:hover {
  background: #d4af37;
  color: #000;
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
}

/* ===== 成效區（卡片化） ===== */
.case-section {
  display: flex;
  gap: 30px;
  margin-top: 80px;
}

.case-box {
  flex: 1;
  padding: 30px;
  border-radius: 12px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,175,55,0.2);

  text-align: center;
  transition: 0.3s;
}

.case-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(212,175,55,0.2);
}

.case-box .number {
  font-size: 36px;
  color: #d4af37;
  margin: 10px 0;
}

/* ===== 流程（科技線條） ===== */
.process {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  color: #bbb;
  position: relative;
}

.step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #d4af37, transparent);
}

.step:last-child::after {
  display: none;
}

/* ===== CTA ===== */
.final-cta {
  margin-top: 100px;
}

.final-cta h3 {
  font-size: 36px;
  margin-bottom: 10px;
}

.final-cta p {
  color: #aaa;
  margin-bottom: 30px;
}

/* ===== RWD ===== */
@media (max-width: 992px) {

  .main-plan {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .main-left, .main-right {
    width: 100%;
  }

  .main-right {
    margin-top: 40px;
    text-align: center;
  }

  .case-section {
    flex-direction: column;
  }

  .process {
    flex-direction: column;
    gap: 20px;
  }

  .step::after {
    display: none;
  }
}





/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/

.team {
  background: #0a0a0a;
  padding: 100px 0;
}

/* 標題 */
.team .section-title span {
  color: #c9a96e;
  letter-spacing: 3px;
  font-size: 13px;
}

.team .section-title h2 {
  color: #fff;
}

.team .section-title p {
  color: #888;
}

/* 卡片 */
.team .member {
  padding: 30px;
  background: linear-gradient(145deg, #0f0f0f, #0a0a0a);
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

/* 微光效果 */
.team .member::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(201,169,110,0.25), transparent 60%);
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.3s;
}

.team .member:hover::before {
  opacity: 1;
}

/* 圖片（長方形重點） */
.team .member-img {
  margin-bottom: 25px;
  overflow: hidden;
  position: relative;
}

/* ⭐ 關鍵：建商用直式比例 */
.team .member-img img {
  width: 100%;
  height: 420px;           /* ← 調整這個就能控制比例 */
  object-fit: cover;
  object-position: center top; /* 人臉偏上比較專業 */

  /* 高級感 */
  filter: grayscale(10%) contrast(105%);
  transition: 0.5s;
}

/* hover 微互動（很關鍵） */
.team .member:hover .member-img img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(110%);
}

/* 文字 */
.team .member-info h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 5px;
}

.team .member-info span {
  display: block;
  color: #c9a96e;
  font-size: 13px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.team .member-info p {
  color: #aaa;
  line-height: 1.7;
}

/* 建案 hover 顯示 */
.projects {
  margin-top: 15px;
  color: #c9a96e;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}

.member:hover .projects {
  opacity: 1;
  transform: translateY(0);
}

.team .member-img::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

/* ===== 整體背景 ===== */
.contact {
  background: radial-gradient(circle at top, #111 0%, #050505 100%);
  color: #fff;
  padding: 10px 0;
  font-family: 'Noto Sans TC', sans-serif;
}

/* ===== 標題 ===== */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  color: #c9a96e;
  letter-spacing: 3px;
  font-size: 14px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  margin: 10px 0;
}

.section-title p {
  color: #aaa;
}

/* ===== 資訊卡片 ===== */
.contact-info .info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.2);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 40px 20px;
  transition: 0.4s;
  position: relative;
}

.contact-info .info-box:hover {
  transform: translateY(-8px);
  border: 1px solid #c9a96e;
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.2);
}

.contact-info i {
  font-size: 34px;
  color: #c9a96e;
  margin-bottom: 15px;
}

.contact-info h3 {
  color: #fff;
  margin-bottom: 10px;
}

.contact-info p {
  color: #aaa;
  font-size: 14px;
}

/* ===== 地圖 ===== */
.map-box {
  border: 1px solid rgba(201, 169, 110, 0.3);
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  filter: grayscale(100%) brightness(0.6);
}

/* ===== 表單 ===== */
.contact-form {
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 15px;
  margin-bottom: 15px;
  color: #fff;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c9a96e;
  outline: none;
  box-shadow: 0 0 10px rgba(201,169,110,0.3);
}

/* ===== 按鈕 ===== */
.contact-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #c9a96e, #a8894f);
  border: none;
  color: #000;
  font-weight: bold;
  letter-spacing: 2px;
  transition: 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #e5c88c, #c9a96e);
  box-shadow: 0 0 20px rgba(201,169,110,0.5);
}

/* ===== RWD ===== */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(180deg, #0a0a0a, #000);
  color: #ccc;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* 上半部 */
#footer .footer-top {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(212,175,55,0.15);
}

/* 公司資訊卡片 */
.footer-info {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,175,55,0.2);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
}

.footer-info h3 {
  font-size: 26px;
  color: #d4af37;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-info span {
  color: #888;
  font-size: 12px;
  margin-right: 6px;
}

/* 社群 */
.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  color: #d4af37;
  transition: 0.3s;
}

.social-links a:hover {
  background: #d4af37;
  color: #000;
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
}

/* 標題 */
#footer h4 {
  color: #d4af37;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 連結 */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  padding: 8px 0;
  color: #aaa;
  transition: 0.3s;
}

.footer-links li:hover {
  color: #d4af37;
  transform: translateX(4px);
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

/* 訂閱區 */
.footer-newsletter form {
  display: flex;
  margin-top: 15px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  overflow: hidden;
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 15px;
  color: #fff;
}

.footer-newsletter button {
  background: linear-gradient(45deg, #d4af37, #f5d77a);
  border: none;
  padding: 0 20px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

/* 按鈕 */
.btn-gold {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  border-radius: 30px;
  background: linear-gradient(45deg, #d4af37, #f5d77a);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-gold:hover {
  box-shadow: 0 0 15px rgba(212,175,55,0.6);
  transform: translateY(-2px);
}

/* 下方 */
.footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 20px 0;
  font-size: 13px;
  color: #777;
}

/* 響應式 */
@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }
}



/* ==========================================
   仰柏開發 黑金豪宅專案頁（直接貼到你CSS最底部）
   與你現有 Day Template 完全相容
========================================== */

/* ===== 主區塊 ===== */
.luxury-project-section{
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.08), transparent 35%),
    linear-gradient(180deg,#050505 0%,#0b0b0b 45%,#111 100%);
  color:#fff;
  overflow:hidden;
}

/* ===== Hero Banner ===== */
.luxury-hero{
  position:relative;
  min-height:780px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  margin-top: 0 !important;
  padding-top: 120px; /* 視 header 高度調整 */
}

/* 背景圖層 */
.luxury-hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    url("../img/luxury-banner-wide3.png") center center no-repeat;
  opacity:0.45;   /* ← 半透明圖片 */
  transform:scale(1.05);
  background-size: cover;
  background-attachment: fixed;
 min-height: 100vh;

  display: flex;
  align-items: center;
}

/* 黑色遮罩 */
.luxury-hero::after{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.78)
    );
}

/* 內容浮上來 */
.luxury-hero .container{
  position:relative;
  z-index:5;
}

.luxury-hero .container{
  position:relative;
  z-index:2;
}

.gold-subtitle{
  display:block;
  color:#d4af37;
  letter-spacing:6px;
  font-size:13px;
  margin-bottom:18px;
}

.luxury-hero h1{
  font-size:62px;
  font-weight:800;
  margin-bottom:18px;
  color:#fff;
  text-shadow:
    0 0 15px rgba(212,175,55,.35),
    0 0 35px rgba(212,175,55,.18);
}

.luxury-hero p{
  color:rgba(255,255,255,.78);
  font-size:20px;
  line-height:1.9;
}

/* ===== 區塊標題 ===== */
.section-title-left span,
.luxury-project-section .section-title span{
  position:static !important;
  display:block;
  color:#d4af37;
  font-size:13px;
  letter-spacing:4px;
  margin-bottom:10px;
}

.section-title-left h2,
.luxury-project-section .section-title h2{
  color:#fff !important;
  font-size:44px;
  font-weight:700;
  margin-bottom:20px;
  background:linear-gradient(90deg,#fff,#d4af37);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* ===== 內文 ===== */
.luxury-text{
  color:rgba(255,255,255,.72);
  line-height:2;
  font-size:16px;
}

/* ===== 清單 ===== */
.luxury-list{
  margin-top:28px;
  padding:0;
  list-style:none;
}

.luxury-list li{
  padding:12px 0;
  color:#e8d39a;
  border-bottom:1px solid rgba(255,255,255,.06);
  letter-spacing:.5px;
}

/* ===== 圖片 ===== */
.luxury-img{
  width:100%;
  border-radius:18px;
  overflow:hidden;

  border:1px solid rgba(212,175,55,.18);

  box-shadow:
    0 25px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.02);

  transition:all .45s ease;
}

.luxury-img:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:
    0 35px 80px rgba(0,0,0,.75),
    0 0 18px rgba(212,175,55,.12);
}

/* ===== 數據區 ===== */
.luxury-data-section{
  padding:90px 0;
  background:
    linear-gradient(180deg,#0b0b0b,#111);
  border-top:1px solid rgba(212,175,55,.08);
  border-bottom:1px solid rgba(212,175,55,.08);
}

.data-box{
  padding:30px 15px;
  border-radius:16px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(212,175,55,.12);
  transition:.35s;
}

.data-box:hover{
  transform:translateY(-8px);
  border-color:rgba(212,175,55,.35);
  box-shadow:0 20px 45px rgba(0,0,0,.45);
}

.data-box h3{
  font-size:52px;
  color:#d4af37;
  margin-bottom:10px;
  font-weight:800;
}

.data-box p{
  color:#aaa;
  margin:0;
  letter-spacing:1px;
}

/* ===== CTA ===== */
.luxury-cta{
  position:relative;
  padding:120px 0;
  background:
    linear-gradient(rgba(0,0,0,.72),rgba(0,0,0,.9)),
    url("../img/cta-bg.jpg") center center/cover no-repeat;
  background-attachment:fixed;
}

.luxury-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center, rgba(212,175,55,.12), transparent 45%);
}

.luxury-cta .container{
  position:relative;
  z-index:2;
}

.luxury-cta h2{
  font-size:54px;
  font-weight:800;
  color:#fff;
  margin-bottom:18px;
  text-shadow:0 0 18px rgba(212,175,55,.25);
}

.luxury-cta p{
  color:rgba(255,255,255,.72);
  font-size:18px;
  margin-bottom:35px;
}

/* ===== 按鈕 ===== */
.btn-luxury{
  display:inline-block;
  padding:15px 42px;
  border-radius:50px;
  color:#111;
  font-weight:700;
  letter-spacing:2px;

  background:linear-gradient(
    135deg,
    #8a6a1f,
    #d4af37,
    #fff3b0,
    #d4af37,
    #8a6a1f
  );

  box-shadow:0 0 18px rgba(212,175,55,.28);
  transition:.35s;
}

.btn-luxury:hover{
  color:#000;
  transform:translateY(-4px) scale(1.03);
  box-shadow:
    0 10px 35px rgba(212,175,55,.35),
    0 0 30px rgba(212,175,55,.35);
}

/* ===== 手機版 ===== */
@media (max-width:991px){

  .luxury-hero{
    min-height:620px;
    background-attachment:scroll;
  }

  .luxury-hero h1{
    font-size:38px;
    line-height:1.35;
  }

  .luxury-hero p{
    font-size:16px;
  }

  .section-title-left h2,
  .luxury-project-section .section-title h2{
    font-size:30px;
  }

  .luxury-cta{
    background-attachment:scroll;
    padding:80px 0;
  }

  .luxury-cta h2{
    font-size:32px;
    line-height:1.4;
  }

  .data-box{
    margin-bottom:20px;
  }
}








/* ======= 黑金豪華案例區 ======= */
.luxury-case-section{
  background:#050505;
  padding:100px 0;
  color:#fff;
  position:relative;
}

.luxury-case-section .section-title span{
  color:#c8a86b;
  letter-spacing:3px;
  font-size:14px;
}

.luxury-case-section .section-title h2{
  font-size:42px;
  font-weight:700;
  color:#fff;
  margin-top:10px;
}

.luxury-case-section .section-title p{
  color:#aaa;
  margin-top:15px;
}

/* 主視覺 */
.hero-case-box{
  position:relative;
  height:520px;
  border-radius:20px;
  overflow:hidden;
  background:url("../img/nightluxury.jpg") center center/cover no-repeat;
  box-shadow:0 0 40px rgba(201,167,96,.18);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.85),rgba(0,0,0,.2));
}

.hero-content{
  position:absolute;
  left:60px;
  bottom:60px;
  z-index:2;
  max-width:550px;
}

.hero-content h3{
  font-size:42px;
  font-weight:700;
  margin-bottom:20px;
}

.hero-content p{
  color:#ddd;
  font-size:18px;
  line-height:1.8;
  margin-bottom:25px;
}

.btn-gold{
  display:inline-block;
  padding:14px 34px;
  background:linear-gradient(135deg,#d4af37,#8f6b1f);
  color:#fff;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:.4s;
}

.btn-gold:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 30px rgba(212,175,55,.35);
  color:#fff;
}

/* 卡片 */
.lux-card{
  background:#111;
  border:1px solid rgba(212,175,55,.12);
  border-radius:18px;
  overflow:hidden;
  transition:.4s;
}

.lux-card img{
  height:260px;
  width:100%;
  object-fit:cover;
}

.lux-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(212,175,55,.18);
}

.lux-info{
  padding:25px;
}

.lux-info span{
  color:#c8a86b;
  font-size:13px;
  letter-spacing:2px;
}

.lux-info h4{
  font-size:24px;
  margin:10px 0;
  color:#fff;
}

.lux-info p{
  color:#aaa;
  line-height:1.8;
}

/* 手機版 */
@media (max-width:768px){

.hero-case-box{
  height:420px;
}

.hero-content{
  left:25px;
  right:25px;
  bottom:30px;
}

.hero-content h3{
  font-size:28px;
}

.hero-content p{
  font-size:15px;
}

.luxury-case-section .section-title h2{
  font-size:30px;
}

}












/* ===============================
黑金豪華風格 CASE 頁面
=============================== */

.case-luxury{
  background:#050505;
  color:#fff;
}

/* HERO */
.lux-hero{
  position:relative;
  height:95vh;
  background:url("../img/luxury-bg.jpg") center center/cover no-repeat;
}

.lux-hero .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to right, rgba(0,0,0,.82), rgba(0,0,0,.25));
}

.hero-content{
  position:relative;
  z-index:2;
  padding-top:220px;
  max-width:700px;
}

.mini-title{
  color:#d4af37;
  letter-spacing:4px;
  font-size:14px;
}

.hero-content h1{
  font-size:72px;
  font-weight:700;
  margin:18px 0;
  line-height:1.15;
}

.hero-content p{
  font-size:18px;
  color:#ddd;
  line-height:1.8;
}

.lux-btn{
  display:inline-block;
  margin-top:30px;
  padding:14px 38px;
  border-radius:60px;
  color:#fff;
  text-decoration:none;
  background:linear-gradient(135deg,#d4af37,#8d6b1f);
  transition:.4s;
}

.lux-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(212,175,55,.35);
  color:#fff;
}

/* 標題 */
.section-head span{
  color:#d4af37;
  letter-spacing:3px;
  font-size:13px;
}

.section-head h2{
  font-size:48px;
  margin-top:10px;
}

.section-head p{
  color:#999;
}

/* 卡片 */
.case-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#111;
}

.case-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:1s;
}

.case-card.large{
  height:520px;
}

.case-card.small{
  height:320px;
}

.case-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,.05));
}

.case-card .info{
  position:absolute;
  left:30px;
  bottom:28px;
  z-index:2;
}

.case-card .info span{
  color:#d4af37;
  font-size:12px;
  letter-spacing:2px;
}

.case-card .info h3{
  font-size:32px;
  margin-top:10px;
}

.case-card .info p{
  color:#ddd;
  margin-top:10px;
}

.case-card:hover img{
  transform:scale(1.08);
}

/* 手機版 */
@media(max-width:768px){

.hero-content{
  padding-top:150px;
}

.hero-content h1{
  font-size:42px;
}

.hero-content p{
  font-size:15px;
}

.section-head h2{
  font-size:32px;
}

.case-card.large,
.case-card.small{
  height:320px;
}

.case-card .info h3{
  font-size:24px;
}

}



/* 🔥 關鍵：讓 col 不被撐高 */
.col-lg-6 {
  height: auto !important;
}

/* 🔥 圖片容器 */
.overview-image {
  width: 100%;
  max-width: 520px;

  aspect-ratio: 3 / 4;
  overflow: hidden;

  border-radius: 20px;
  background: #000;

  position: relative; /* 避免 AOS 影響 */
}

/* 🔥 圖片 */
.overview-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}











/* ===== Slider 外框 ===== */
.overview-slider {
  width: 100%;
  max-width: 520px;

  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(212,175,55,0.2);
}

/* 圖片 */
.overview-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 高度比例（很重要） */
.overview-slider {
  aspect-ratio: 3 / 4;
}

/* 按鈕美化（黑金） */
.swiper-button-next,
.swiper-button-prev {
  color: #d4af37;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
}

.swiper-pagination-bullet-active {
  background: #d4af37;
}






/* 主圖 */
.project-main img {
  width: 100%;
  height: 660px;
  object-fit: cover;
  border-radius: 14px;
}

/* 縮圖 */
.project-thumbs img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}

.project-thumbs .swiper-slide-thumb-active img {
  opacity: 1;
  border: 2px solid #c9a96a;
}

/* 浮水印 */
.image-wrapper {
  position: relative;
}

.watermark {
  position: absolute;
  bottom: 350px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 25px;
  letter-spacing: 2px;
}

/* 防盜斜紋 */
.image-wrapper::after {
  content: "仰柏開發有限公司 YUNBO DEVELOPMENT CO.,LTD. 仰柏開發有限公司  YUNBO DEVELOPMENT CO.,LTD.";
  position: absolute;
  width: 200%;
  height: 500%;
  top: -50%;
  left: -50%;
  transform: rotate(-30deg);
  color: rgba(255,255,255,0.05);
  font-size: 42px;
  white-space: nowrap;
}

/* 進度條（高級感） */
.swiper-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  width: 100%;
}

.swiper-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#c9a96a,#fff);
  animation: progressBar 3s linear infinite;
}

@keyframes progressBar {
  0% { width: 0%; }
  100% { width: 100%; }
}


.luxury-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.luxury-list li {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  line-height: 1.8;
}

.luxury-list .label {
  width: 100px;
  flex-shrink: 0;
  font-weight: 600;
  letter-spacing: 1px;
}

.luxury-list .value {
  flex: 1;
}
