/* 🎨 全局變數設定 */
:root {
  --bg-color: #000000;       /* 背景顏色 */
  --text-color: #ffffff;     /* 主文字顏色 */
  --text-color2: #000000;    /* 次文字顏色 */
  --accent-color: #667eea;   /* 強調色 */
  --accent-color2: #a8c0ec;  /* hover 色 */
}

/* 🌈 背景漸層動畫 */
@keyframes bgShift {
  0% {
    background-position: 20% 50%, 80% 80%;
  }
  50% {
    background-position: 80% 20%, 20% 80%;
  }
  100% {
    background-position: 20% 50%, 80% 80%;
  }
}

/* 🧱 基本版面設定 */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ✨ 背景柔光動畫效果 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: bgShift 15s ease-in-out infinite;
}

/* 💫 Feature 卡片進場動畫 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo-box {
  flex: 1;
  display: flex;
  justify-content: center; /* 水平置中 */
  align-items: center;     /* 垂直置中 */
}

.logo img {
  max-height: 44px;
  display: block;
}

.feature {
  background-color: #000000;
  color: #a8c0ec;
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  animation: fadeInUp 1.2s ease forwards;
}

/* 多卡片依序浮現 */
.feature:nth-child(1) { animation-delay: 0s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.4s; }
.feature:nth-child(4) { animation-delay: 0.6s; }

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5),
              0 10px 25px rgba(102, 126, 234, 0.2);
  border-left-color: var(--accent-color2);
}

/* 🎯 Feature 圖示動畫 */
.feature-icon {
  font-size: 2.5em;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}
.feature:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
}

/* Feature 文字樣式 */
.feature h3 {
  color: var(--accent-color);
  margin-bottom: 8px;
  font-size: 1.2em;
}
.feature p {
  color: #dcdcdc;
  font-size: 0.95em;
  line-height: 1.6;
}

/* 🌠 CTA 區塊（流動漸層 + 呼吸光暈） */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.cta-section {
  position: relative;
  background: linear-gradient(135deg, #667eea, #764ba2, #6b8dd6, #9e6bba);
  background-size: 300% 300%;
  animation: gradientFlow 6s ease infinite;
  color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 30px;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: pulseGlow 5s infinite ease-in-out;
}

.cta-section h2 {
  margin-bottom: 15px;
  font-size: 1.8em;
}

/* 📦 其他內容樣式修正 */
.flat-property-detail .header-property-detail {
  padding: 30px 15px;
  background-color: #ffffff;
}
.flat-title-page .page-title {
    font-size: 50px;
      color: var(--text-color2);
}
.single-detail.ck-content p:not([class]) {
  font-size: 16px;
  line-height: 32px;
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* 圖示修正 .icon-ruler:before, */

.icon-mapPin:before {
    
  color: var(--text-color);
}
.icon-ruler:before {
       
  color: var(--text-color);
}

/* 響應式設定 */
@media only screen and (max-width: 991px) {
  .wrap-banner {
    /* 可視需求開啟 display:block */
  }
}

/* 動畫出現效果 */
.item-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s ease;
}
.item-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 其他文字樣式 */
.btn-view .text {
  color: var(--accent-color2);
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  position: relative;
}

.bg-surface {
  background-color: #070a15;
}

/* 圖片樣式 (4:3 比例) */
.images-style {
  width: 300px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 auto;
}
.images-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 內容顏色設定 */
.homeya-box .content .line-clamp-1 {
  color: var(--text-color);
}
.line-clamp-1, .line-clamp-2 {
  color: var(--text-color2);
}
.homeya-box .content .desc p {
    color: #d9ba3d;
}

.flat-pagination .page-numbers {
  color: var(--text-color);
}

.flag-tag, .flag-tag.style-1 {
  color: #e6b1b1;
  font-size: 16px;
}

h2.section-title {
  font-size: var(--h4-size);
  color: var(--text-color);
}
.homeya-box.list-style-1 .content {
  background-color: #000000;
  border: 0;
  flex-grow: 1;
  padding: 19px 20px;
}
.homeya-box.list-style-2 .content {
  background-color: #000000;
  border: 0;
  flex-grow: 1;
  padding: 19px 20px;
}
.text-variant-1 {
    color: #f4a4c6;
}
.nav-tab-filter .nav-link-item.active .icon {
    color: #216eff;
}

a {
    color: #e95034;
    cursor: pointer;
    display: inline-block;
}

.footer .content-footer-bottom .copyright {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}