/**
* 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;
}

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;
}
/*--------------------------------------------------------------
# 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;
}


/*--------------------------------------------------------------
# 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;
}

#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: 70px;
}

/*--------------------------------------------------------------
# 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.webp") 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;
}

/* 標題 */
.a.png .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;
  }
}





/* ===== SECTION ===== */

.luxury-section{

background:
  radial-gradient(
    circle at top,
    rgba(198,165,90,0.18) 0%,
    rgba(198,165,90,0.06) 18%,
    transparent 42%
  ),

  linear-gradient(
    180deg,
    #000000 100%
  );

  padding:120px 0;

  color:#fff;

  font-family:'Noto Sans TC',sans-serif;

  position:relative;

  overflow:hidden;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    inset 0 120px 180px rgba(198,165,90,0.04);
}

.container{
  width:90%;
  max-width:1280px;
  margin:auto;
}

.section-header{
  margin-bottom:70px;
}

.section-header span{
  color:#4aa3ff;
  letter-spacing:3px;
  font-size:13px;
}

.section-header h2{
  font-size:48px;
  margin:15px 0;
  font-weight:700;
}

.section-header p{
  color:#9aa9b8;
  font-size:18px;
}

/* ===== PRICING ===== */

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-bottom:80px;
}

.plan-card{
  background:linear-gradient(
    145deg,
    #0d1f2e,
    #132b3f
  );
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  padding:40px;
  position:relative;
  transition:.35s;
  cursor:pointer;
  overflow:hidden;
}

.plan-card:hover{
  transform:translateY(-10px);
  border-color:#2d8cff;
}

.plan-card input{
  position:absolute;
  top:20px;
  right:20px;
  transform:scale(1.4);
}

.plan-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.tag{
  background:#1f78ff;
  padding:6px 12px;
  border-radius:30px;
  font-size:12px;
}

.gold{
  background:#caa45f;
}

.blue{
  background:#00a2ff;
}

.plan-card h4{
  font-size:28px;
  line-height:1.5;
  margin-bottom:25px;
}

.price{
  font-size:42px;
  font-weight:700;
  margin-bottom:30px;
  color:#fff;
}

.price span{
  font-size:16px;
  color:#9aa9b8;
}

.plan-card ul{
  padding:0;
  margin:0;
  list-style:none;
}

.plan-card ul li{
  margin-bottom:16px;
  color:#d6dde5;
  border-bottom:1px solid rgba(255,255,255,0.06);
  padding-bottom:12px;
}

/* ===== FORM ===== */

.order-form-wrap{
  background:#0d1f2e;
  border-radius:28px;
  padding:60px;
  border:1px solid rgba(255,255,255,0.08);
}

.form-title{
  margin-bottom:40px;
}

.form-title h3{
  font-size:36px;
  margin-bottom:10px;
}

.form-title p{
  color:#9aa9b8;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:25px;
}

.form-group{
  margin-bottom:25px;
}

.form-group.full{
  width:100%;
}

.form-group label{
  display:block;
  margin-bottom:10px;
  color:#d9e3ee;
}

.luxury-form input,
.luxury-form select{
  width:100%;
  height:58px;
  border:none;
  background:#13293d;
  border-radius:14px;
  padding:0 18px;
  color:#fff;
  font-size:15px;
}

.luxury-form input:focus,
.luxury-form select:focus{
  outline:none;
  border:1px solid #2d8cff;
}

.submit-btn{
  width:100%;
  height:64px;
  border:none;
  border-radius:16px;
  background:linear-gradient(
    90deg,
    #005bab,
    #009dff
  );
  color:#fff;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
  margin-top:20px;
}

.submit-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(0,91,171,.35);
}

/* ===== RWD ===== */

@media(max-width:992px){

  .pricing-grid{
    grid-template-columns:1fr;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .section-header h2{
    font-size:34px;
  }

  .order-form-wrap{
    padding:35px;
  }

}



/* ======================================================
   新版方案卡片（高級黑金豪宅風）
====================================================== */

:root{

  --gold:#c6a55a;
  --gold-soft:#a98a45;
  --gold-light:#e5c97a;

  --black:#050505;
  --black2:#0b0b0b;
  --black3:#111111;

  --text:#f5f5f5;
  --text-soft:#b9b9b9;

}

/* ======================================================
   方案區
====================================================== */

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:60px;
}

/* 卡片 */

.plan-card{

  position:relative;

  padding:42px 38px;

  border-radius:22px;

background:
  linear-gradient(
    180deg,
    #161616 0%,
    #050505 100%
  );

  backdrop-filter:blur(14px);

  border:
    1px solid rgba(198,165,90,0.14);

  overflow:hidden;

  transition:.4s ease;

  cursor:pointer;

 box-shadow:
  inset 0 1px 0 rgba(255,255,255,0.05),
  0 20px 45px rgba(0,0,0,0.65),
  0 0 25px rgba(198,165,90,0.08);
}

/* 柔金光 */

.plan-card::before{

  content:"";

  position:absolute;

  width:320px;
  height:320px;

background:
  radial-gradient(
    circle,
    rgba(198,165,90,0.10),
    rgba(0,0,0,0) 72%
  );

  top:-160px;
  right:-160px;

  opacity:0;

  transition:.45s;
}

.plan-card:hover::before{
  opacity:1;
}

/* hover */

.plan-card:hover{

  transform:
    translateY(-10px);

  border-color:
    rgba(198,165,90,0.38);

  box-shadow:
    0 0 50px rgba(198,165,90,0.08),
    inset 0 0 30px rgba(255,255,255,0.02);
}

/* 中間推薦 */

.plan-card.premium{

  border:
    1px solid rgba(198,165,90,0.22);

  background:
    linear-gradient(
      180deg,
      rgba(22,22,22,0.96) 0%,
      rgba(8,8,8,0.98) 100%
    );

  box-shadow:
    0 18px 50px rgba(0,0,0,0.65),
    0 0 28px rgba(198,165,90,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* radio */

.plan-card input[type=radio]{

  position:absolute;

  top:24px;
  right:24px;

  transform:scale(1.2);

  accent-color:#C6A55A;

  filter:
    drop-shadow(0 0 6px rgba(198,165,90,0.35));
}

/* ======================================================
   卡片標題
====================================================== */

.plan-top{

  display:flex;

  justify-content:space-between;

  align-items:center;

  margin-bottom:26px;
}

.plan-top h3{

  font-size:14px;

  color:var(--gold);

  letter-spacing:3px;

  font-weight:500;
}

/* tag */

.tag{

  padding:8px 14px;

  border-radius:50px;

  font-size:10px;

  letter-spacing:2px;

  background:
    rgba(198,165,90,0.08);

  border:
    1px solid rgba(198,165,90,0.16);

  color:var(--gold-light);
}

/* premium */

.tag.gold{

  background:
    linear-gradient(
      135deg,
      #8f6f31,
      #d9bb73
    );

  color:#111;
}

/* startup */

.tag.blue{

  background:
    rgba(198,165,90,0.08);

  color:var(--gold-light);

  border:
    1px solid rgba(198,165,90,0.16);
}

/* ======================================================
   方案名稱
====================================================== */

.plan-card h4{

  font-size:30px;

  line-height:1.5;

  margin-bottom:32px;

  font-weight:600;

  color:#f8f8f8;
}

/* ======================================================
   價格
====================================================== */

.plan-card .price{

  font-size:54px;

  font-weight:700;

  color:var(--gold);

  margin-bottom:32px;

  text-shadow:
    0 0 14px rgba(198,165,90,0.18);
}

.plan-card .price span{

  font-size:15px;

  color:#8b8b8b;

  margin-left:6px;
}

/* ======================================================
   功能列表
====================================================== */

.plan-card ul{

  list-style:none;

  padding:0;

  margin:0;
}

.plan-card ul li{

  position:relative;

  padding:15px 0 15px 24px;

  border-bottom:
    1px solid rgba(255,255,255,0.04);

  color:#d6d6d6;

  letter-spacing:.5px;
}

.plan-card ul li::before{

  content:"";

  position:absolute;

  left:0;
  top:50%;

  width:6px;
  height:6px;

  border-radius:50%;

  background:var(--gold);

  transform:translateY(-50%);
}

/* ======================================================
   表單區
====================================================== */

.order-form-wrap{

  margin-top:100px;

  padding:75px;

  border-radius:24px;

background:
  linear-gradient(
    180deg,
    rgba(32,26,18,0.98) 0%,
    rgba(14,14,14,0.97) 45%,
    rgba(0,0,0,1) 100%
  );

  backdrop-filter:blur(14px);

  border:
    1px solid rgba(198,165,90,0.14);

  box-shadow:
    0 0 70px rgba(198,165,90,0.04);
}

/* ======================================================
   表單標題
====================================================== */

.form-title{

  text-align:center;

  margin-bottom:55px;
}

.form-title h3{

  font-size:46px;

  font-weight:600;

  background:
    linear-gradient(
      90deg,
      #ffffff,
      #d8bb72
    );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  margin-bottom:14px;

  text-shadow:
    0 0 20px rgba(198,165,90,0.08);
}

.form-title p{

  color:#8c8c8c;

  letter-spacing:1px;
}

/* ======================================================
   表單排列
====================================================== */

.form-grid{

  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:26px;
}

.form-group{
  margin-bottom:26px;
}

.form-group.full{
  grid-column:1 / -1;
}

/* label */

.form-group label{

  display:block;

  margin-bottom:12px;

  color:var(--gold);

  font-size:13px;

  letter-spacing:2px;
}

/* ======================================================
   input
====================================================== */

.luxury-form input,
.luxury-form select{

  width:100%;

  height:62px;

  background:
    rgba(255,255,255,0.025);

  border:
    1px solid rgba(255,255,255,0.05);

  border-radius:14px;

  padding:0 18px;

  color:#f2f2f2;

  transition:.35s;

  font-size:15px;
}

/* focus */

.luxury-form input:focus,
.luxury-form select:focus{

  outline:none;

  border-color:
    rgba(198,165,90,0.45);

  box-shadow:
    0 0 18px rgba(198,165,90,0.10);
}

/* placeholder */

.luxury-form input::placeholder{
  color:#666;
}

/* option */

.luxury-form select option{

  background:#111;

  color:#fff;
}

/* ======================================================
   按鈕
====================================================== */

.submit-btn{

  width:100%;

  height:70px;

  border:none;

  border-radius:60px;

  background:
    linear-gradient(
      135deg,
      #8d6d2f,
      #d6b56a
    );

  color:#111;

  font-size:18px;

  font-weight:700;

  cursor:pointer;

  margin-top:25px;

  transition:.4s;

  letter-spacing:1px;

  box-shadow:
    0 8px 30px rgba(198,165,90,0.12);
}

/* hover */

.submit-btn:hover{

  transform:
    translateY(-3px);

  box-shadow:
    0 0 38px rgba(198,165,90,0.24);
}

/* ======================================================
   RWD
====================================================== */

@media(max-width:992px){

  .pricing-grid{
    grid-template-columns:1fr;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .order-form-wrap{
    padding:45px 28px;
  }

  .plan-card h4{
    font-size:24px;
  }

  .section-header h2{
    font-size:42px;
  }

  .form-title h3{
    font-size:34px;
  }

}



/* ======================================================
   強制覆蓋黑金配色
====================================================== */

/* radio 強制黑金 */

.plan-card input[type=radio]{
  accent-color:#c6a55a !important;
}

/* 所有藍色tag取消 */

.tag.blue{
  background:rgba(198,165,90,0.08) !important;
  color:#e5c97a !important;
  border:1px solid rgba(198,165,90,0.18) !important;
}

/* 一般tag */

.tag{
  background:rgba(198,165,90,0.08) !important;
  color:#e5c97a !important;
  border:1px solid rgba(198,165,90,0.18) !important;
}

/* premium tag */

.tag.gold{
  background:linear-gradient(
    135deg,
    #8f6f31,
    #d9bb73
  ) !important;

  color:#111 !important;
}

/* 卡片 hover */

.plan-card:hover{

  border-color:
    rgba(198,165,90,0.38) !important;

  box-shadow:
    0 0 50px rgba(198,165,90,0.08),
    inset 0 0 30px rgba(255,255,255,0.02) !important;
}

/* 按鈕 */

.submit-btn{

  background:
    linear-gradient(
      135deg,
      #8d6d2f,
      #d6b56a
    ) !important;

  color:#111 !important;
}

/* select focus */

.luxury-form input:focus,
.luxury-form select:focus{

  border-color:
    rgba(198,165,90,0.45) !important;

  box-shadow:
    0 0 18px rgba(198,165,90,0.10) !important;
}




/* ===== 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;
}

/* 背景圖層 */
.luxury-hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    url("../img/luxury-banner-wide.png") center center / cover no-repeat;

  opacity:0.45;   /* ← 半透明圖片 */
  transform:scale(1.05);
}

/* 黑色遮罩 */
.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;
}






/* LINE 浮動按鈕（圓角方形 + 白色邊框） */
.line-float {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 996;

  width: 48px;
  height: 48px;
  border-radius: 10px;

  background: linear-gradient(135deg, #3D3D3D, #000000);
  color: #ffffff;
  font-size: 28px;
  text-decoration: none;

  /* 邊框設定 */
  border: 1px solid rgba(116, 99, 49, 0.95);

  /* 陰影 */
  box-shadow:
    0 8px 20px rgba(6, 199, 85, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.06);

  transition: all 0.3s ease;
  animation: linePulse 2.5s infinite;
}

/* Hover（黑金玻璃金屬發光效果） */
.line-float:hover {
  /* 浮起效果 */
  transform: translateY(-4px) scale(1.06);

  /* 黑金金屬漸層 */
  background: linear-gradient(
    135deg,
    #8a6a1f 0%,
    #d4af37 20%,
    #fff3b0 50%,
    #d4af37 80%,
    #8a6a1f 100%
  );

  /* 邊框改為金色 */
  border: 2px solid rgba(255, 243, 176, 0.9);

  /* Hover 時文字變深色 */
  color: #111111;

  /* 金屬發光效果 */
  box-shadow:
    0 0 15px rgba(212, 175, 55, 0.85),
    0 0 30px rgba(212, 175, 55, 0.55),
    0 0 45px rgba(212, 175, 55, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

/* Hover 時 LINE Icon 顏色變深 */
.line-float:hover i {
  color: #111111;
}

/* 點擊效果 */
.line-float:active {
  transform: translateY(-2px) scale(0.96);
}
/* Icon 置中 */
.line-float i {
  line-height: 1;
}

/* 黑金呼吸光芒動畫 */
@keyframes linePulse {
  0% {
    box-shadow:
      /* 按鈕本體陰影 */
      0 8px 20px rgba(0, 0, 0, 0.45),

      /* 金色外光暈 */
      0 0 0 0 rgba(212, 175, 55, 0.55);
  }

  70% {
    box-shadow:
      /* 按鈕本體陰影 */
      0 8px 20px rgba(0, 0, 0, 0.45),

      /* 向外擴散的金色光圈 */
      0 0 0 16px rgba(212, 175, 55, 0);
  }

  100% {
    box-shadow:
      /* 按鈕本體陰影 */
      0 8px 20px rgba(0, 0, 0, 0.45),

      /* 回到初始狀態 */
      0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* 手機版 */
@media (max-width: 768px) {
  .line-float {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 24px;
    right: 20px;
    bottom: 75px;
    border-width: 2px;
  }
}


/*--------------------------------------------------------------
# Footer LINE QR Code 黑金玻璃卡片
--------------------------------------------------------------*/
.footer-line-card {
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 30px 20px;
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.08),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.footer-line-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.25),
    0 0 40px rgba(212, 175, 55, 0.12);
}

.footer-line-card h4 {
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-line-card p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 15px;
  margin-bottom: 20px;
}

/* QR Code */
.footer-line-qrcode {
  width: 170px;
  max-width: 100%;
  padding: 12px;
  background: radial-gradient(circle, #111 0%, #000 100%);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow:
    0 0 20px rgba(212,175,55,0.12),
    inset 0 0 12px rgba(255,255,255,0.03);
  transition: all 0.4s ease;
}

.footer-line-qrcode:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 25px rgba(212,175,55,0.35),
    0 0 45px rgba(212,175,55,0.15);
}

/* 金色按鈕 */
.btn-line-gold {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
  background: linear-gradient(
    135deg,
    #8a6a1f,
    #d4af37,
    #fff3b0,
    #d4af37,
    #8a6a1f
  );
  box-shadow:
    0 0 12px rgba(212,175,55,0.35);
  transition: all 0.3s ease;
}

.btn-line-gold:hover {
  transform: translateY(-2px) scale(1.03);
  color: #000;
  box-shadow:
    0 0 18px rgba(212,175,55,0.6),
    0 0 35px rgba(212,175,55,0.25);
}


/*--------------------------------------------------------------
# Social Links（黑金玻璃風格）
--------------------------------------------------------------*/
.footer-info .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.footer-info .social-links a {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;

  /* 黑色玻璃背景 */
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(8px);

  /* 金色邊框 */
  border: 1px solid rgba(212, 175, 55, 0.35);

  /* 初始微光 */
  box-shadow:
    0 0 10px rgba(212, 175, 55, 0.10),
    inset 0 0 8px rgba(255, 255, 255, 0.02);

  transition: all 0.35s ease;
}

/* Icon */
.footer-info .social-links a i {
  font-size: 24px;
  color: #d4af37;
  transition: all 0.35s ease;
}

/* Hover */
.footer-info .social-links a:hover {
  transform: translateY(-4px) scale(1.08);

  background: linear-gradient(
    135deg,
    #8a6a1f 0%,
    #d4af37 25%,
    #fff3b0 50%,
    #d4af37 75%,
    #8a6a1f 100%
  );

  border-color: rgba(255, 243, 176, 0.8);

  box-shadow:
    0 0 15px rgba(212, 175, 55, 0.6),
    0 0 35px rgba(212, 175, 55, 0.25);
}

/* Hover icon 變深 */
.footer-info .social-links a:hover i {
  color: #111;
}

/* 點擊效果 */
.footer-info .social-links a:active {
  transform: scale(0.95);
}

/* 手機版 */
@media (max-width: 768px) {
  .footer-info .social-links {
    justify-content: center;
  }

  .footer-info .social-links a {
    width: 48px;
    height: 48px;
  }

  .footer-info .social-links a i {
    font-size: 22px;
  }
}

/* SVG icon 樣式 */
.footer-info .social-links a .social-svg {
  width: 22px;
  height: 22px;
  color: #d4af37;
  transition: all 0.35s ease;
}

/* Hover 時 SVG 顏色 */
.footer-info .social-links a:hover .social-svg {
  color: #111;
}

.captcha-wrap{
  margin-top:20px;
  display:flex;
  justify-content:center;
}

