@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@400;600;700&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary-gold: #c5a059;
  --light-gold: #e5c483;
  --dark-gold: #9e7e3f;
  --bg-dark: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text-light: #f9f8f6;
  --text-muted: #cccccc;
  --text-dark: #333333;
  --bronze-dim: #3a301e;
  --gold-glow: rgba(197, 160, 89, 0.25);
  
  /* Fonts */
  --font-serif-en: 'Cinzel', serif;
  --font-sans-en: 'Montserrat', sans-serif;
  --font-serif-zh: 'Noto Serif TC', serif;
  --font-sans-zh: 'Noto Sans TC', sans-serif;
  
  /* Layout */
  --container-max-width: 1440px;
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans-zh), var(--font-sans-en), sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--light-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-zh), var(--font-serif-en), serif;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 1px;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.3;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background: var(--primary-gold);
}

h2[data-reveal]::after {
  width: 0;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

h2[data-reveal].revealed::after {
  width: 50px;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--primary-gold) 0.3s;
}

a:hover {
  color: var(--light-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   PRELOADER ANIMATION
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: auto;
  transition: visibility 1s ease;
}

.preloader.split-active {
  visibility: hidden;
  pointer-events: none;
}

.preloader-panel-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 50vh;
  background: var(--bg-dark);
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
  z-index: 1;
}

.preloader-panel-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 50vh;
  background: var(--bg-dark);
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
  z-index: 1;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.preloader.split-active .preloader-panel-top {
  transform: translateY(-100%);
}

.preloader.split-active .preloader-panel-bottom {
  transform: translateY(100%);
}

.loader-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 35px;
  transform: translateY(-60px);
  animation: logoImgGlow 2s ease-in-out infinite alternate;
}

@keyframes logoImgGlow {
  0% { filter: drop-shadow(0 0 2px rgba(197, 160, 89, 0.2)); opacity: 0.7; }
  100% { filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.7)); opacity: 1; }
}

.loader-bar {
  width: 100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 3;
}

.preloader.split-active .loader-bar {
  display: none !important;
}

.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--primary-gold);
  animation: loadProgress 1.2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

@keyframes loadProgress {
  to { width: 100%; }
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.1s ease;
}

.custom-cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary-gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover Interactive States */
.custom-cursor-ring.hover {
  width: 40px;
  height: 40px;
  background-color: rgba(197, 160, 89, 0.1);
  border-color: var(--light-gold);
}

.custom-cursor-ring[data-label]::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.custom-cursor-ring.hover[data-label] {
  background-color: var(--primary-gold);
}

.custom-cursor-dot.hover {
  transform: translate3d(-50%, -50%, 0) scale(0);
}

/* Slider Custom Cursor Arrows */
.custom-cursor-ring::after {
  content: '→';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  color: var(--primary-gold);
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.custom-cursor-ring.cursor-prev,
.custom-cursor-ring.cursor-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  border-color: var(--primary-gold);
}

.custom-cursor-ring.cursor-prev::after {
  transform: translate(-50%, -50%) scale(1) rotate(180deg);
  opacity: 1;
}

.custom-cursor-ring.cursor-next::after {
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  opacity: 1;
}

.custom-cursor-dot.cursor-prev,
.custom-cursor-dot.cursor-next {
  transform: translate3d(-50%, -50%, 0) scale(0) !important;
}

/* ==========================================================================
   BACKGROUND NOISE OVERLAY
   ========================================================================== */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3e%3cfilter id='noiseFilter'%3e%3cfeTurbulence type='turbulence' baseFrequency='0.99' numOctaves='1' stitchTiles='stitch'/%3e%3c/filter%3e%3crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3e%3c/svg%3e");
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-smooth);
  background: transparent;
}

.site-header.sticky {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 35px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.site-header.sticky .nav-logo-img {
  height: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 400;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--primary-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-light);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-nav-cta {
  border: 1px solid var(--primary-gold);
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--primary-gold);
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.btn-nav-cta:hover {
  background: var(--primary-gold);
  color: #000;
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Language Switcher */
.lang-switcher-wrap {
  display: flex;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 15px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 8px;
  transition: var(--transition-smooth);
}

.lang-btn.active, .lang-btn:hover {
  color: var(--primary-gold);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-overlay-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
  pointer-events: none;
  will-change: opacity;
}

.hero-bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/frames_1600/frame_0192.webp');
  background-size: cover;
  background-position: center;
  z-index: 2;
  will-change: opacity;
  pointer-events: none;
}

/* Dynamic glow effect in background */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 850px;
}

.hero-tag {
  font-family: var(--font-serif-en);
  font-size: 1.1rem;
  color: var(--primary-gold);
  letter-spacing: 6px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--text-light) 30%, var(--light-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-support {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0 40px;
}

.hero-support span {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  letter-spacing: 1px;
  font-weight: 400;
  transition: var(--transition-smooth);
}

.hero-support span:hover {
  border-color: var(--primary-gold);
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

/* Hero Event Card */
.hero-event-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(26, 26, 26, 0.55);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 8px;
  padding: 16px 30px;
  margin: 0 auto 35px auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 650px;
  width: calc(100% - 40px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-event-badge {
  font-family: var(--font-serif-zh), var(--font-serif-en), serif;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: #000000;
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--primary-gold) 100%);
  padding: 5px 16px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-event-details {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-sans-zh), var(--font-sans-en), sans-serif;
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 400;
}

.hero-event-time {
  font-weight: 400;
}

.mobile-only {
  display: none;
}

.hero-event-divider {
  color: rgba(197, 160, 89, 0.5);
  font-weight: 300;
}

.hero-event-loc {
  color: var(--light-gold);
  font-weight: 600;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
  .hero-event-card {
    padding: 14px 20px;
    margin-bottom: 25px;
  }
  .hero-event-details {
    font-size: 1rem;
    flex-direction: column;
    gap: 6px;
  }
  .hero-event-divider {
    display: none;
  }
  .mobile-only {
    display: inline;
  }
}

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(197, 160, 89, 0.5);
  color: #000;
}

/* ==========================================================================
   SCROLL REVEAL STYLES (Animations)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

[data-reveal="fade-in"] {
  transform: translateY(0);
}

[data-reveal="scale-up"] {
  transform: scale(0.9);
}

[data-reveal="blur-in"] {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(25px);
  transition: opacity 2.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 2.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="blur-in"].revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   SECTION DEFAULTS
   ========================================================================== */
.section-padding {
  padding: 140px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ==========================================================================
   GLOBAL FIXED VIDEO BACKGROUND & LAYOUT LAYERS
   ========================================================================== */
.global-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

/* Ensure subsequent sections cover the fixed background video */
.brand-section,
.spec-section,
.units-section,
.facilities-section,
.mm2h-section,
.faq-section,
.register-section,
.site-footer {
  position: relative;
  z-index: 3;
  background: var(--bg-dark);
}

.global-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Semi-transparent mask to ensure high text contrast */
.global-video-bg .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 10, 8, 0.00) 0%, rgba(10, 10, 8, 0.77) 0%, rgba(10, 10, 8, 0.30) 100%);
  pointer-events: none;
}

/* ==========================================================================
   SCROLLYTELLING VIDEO SECTION (SECTION 2 & 3 INTEGRATED)
   ========================================================================== */
.scrollytelling-section {
  position: relative;
  min-height: 140vh;
  background: transparent;
  overflow: visible;
}

.scrolly-content-wrap {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.scrolly-container {
  display: flex;
  min-height: 140vh;
}

.scrolly-left-content {
  width: 50%;
  padding-top: 15vh;
  padding-bottom: 8vh;
  display: flex;
  flex-direction: column;
  gap: 10vh;
  pointer-events: auto;
}

/* Text Clear Shadowing (no card backgrounds) */
.scrolly-block {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.scrolly-left-content h2,
.scrolly-left-content p,
.scrolly-left-content .stat-num,
.scrolly-left-content .stat-label,
.scrolly-left-content .stat-sub,
.scrolly-left-content .section-subtitle {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 25px;
}

/* Bullet list style location list without card backgrounds */
.location-card {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.location-card p {
  position: relative;
  padding-left: 20px;
}

.location-card p::before {
  content: '•';
  color: var(--primary-gold);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

.stats-grid-scrolly {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 35px;
}

/* Minimalist border top list without card backgrounds */
.stat-item {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: left;
  border-radius: 0;
  position: relative;
  overflow: visible;
  transition: var(--transition-smooth);
}

.stat-item::before {
  display: none;
}

.stat-item:hover {
  border-top-color: var(--primary-gold);
  background: transparent;
}

.stat-num {
  font-family: var(--font-serif-en);
  font-size: 2.0rem;
  font-weight: 200;
  color: var(--primary-gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-light);
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.location-map-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/3;
  background: #222;
}

.rendering-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.rendering-placeholder:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .scrollytelling-section {
    min-height: auto;
  }
  .scrolly-container {
    flex-direction: column;
    min-height: auto;
  }
  .scrolly-left-content {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 60px;
  }
  .global-video-bg .video-overlay {
    background: rgba(10, 10, 8, 0.85);
  }
}

/* ==========================================================================
   SECTION 4: 品牌故事 CLOUTHAUS
   ========================================================================== */
.brand-section {
  background: #121212;
}

.brand-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.brand-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.brand-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-cat-item {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 15px;
}

.brand-cat-name {
  width: 150px;
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 0.95rem;
}

.brand-cat-desc {
  flex: 1;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   SECTION 6: 建築與規格 ARCHITECTURE & SPEC
   ========================================================================== */
.spec-section {
  position: relative;
  background-image: 
    linear-gradient(rgba(15, 15, 15, 0.4), rgba(15, 15, 15, 0.4)), 
    url('../img/KA2411_Facade_002_10K_HR-LIGHTROOM_HDR.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  padding: 200px 0;
}

.spec-details {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Blending gradients removed */

.spec-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  color: #ffffff;
}

.spec-grid p {
  color: #ffffff;
}

.spec-details h3 {
  color: var(--primary-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.spec-details h3::after {
  content: '→';
  font-family: var(--font-sans-en), sans-serif;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.spec-details ul {
  list-style: none;
  margin-bottom: 30px;
}

.spec-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.spec-details li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
}

.spec-brands-panel {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-marquee-container {
  position: absolute;
  top: -200px;
  bottom: -200px;
  right: 0;
  width: 42%;
  overflow: hidden;
  z-index: 1;
}

/* Overlays removed - blur is now handled dynamically in JavaScript */

.spec-marquee-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.marquee-vertical {
  height: 100%;
  width: 100%;
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: marquee-vertical-scroll 25s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  opacity: 0.7;
}

.marquee-item img {
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Fine-tune individual logo sizes for optimal visual weight balance */
.marquee-item img[alt="Gaggenau"] { max-height: 22px; max-width: 140px; }
.marquee-item img[alt="Legrand"] { max-height: 32px; max-width: 130px; }
.marquee-item img[alt="Teka"] { max-height: 35px; max-width: 110px; }
.marquee-item img[alt="Bosch"] { max-height: 28px; max-width: 130px; }
.marquee-item img[alt="Gessi"] { max-height: 46px; max-width: 70px; }
.marquee-item img[alt="Laufen"] { max-height: 32px; max-width: 120px; }
.marquee-item img[alt="Daikin"] { max-height: 28px; max-width: 130px; }
.marquee-item img[alt="Mitsubishi"] { max-height: 48px; max-width: 60px; }

@keyframes marquee-vertical-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 992px) {
  .spec-marquee-container {
    display: none;
  }
}

/* ==========================================================================
   SECTION 7: 戶型 UNIT TYPES (Tabs Layout)
   ========================================================================== */
.units-section {
  background: #121212;
}

.tabs-wrapper {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 12px 24px;
  font-family: var(--font-sans-zh);
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
  font-weight: 700;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

.unit-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.unit-render-wrap {
  position: relative;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  aspect-ratio: 16/10;
}

.unit-info-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-gold);
}

.unit-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-gold);
}

.unit-info-card p {
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 8: SKY FACILITIES
   ========================================================================== */
.facilities-section {
  background: var(--bg-dark);
  overflow: hidden;
  padding: 140px 0;
}

@media (max-width: 768px) {
  .facilities-section {
    padding: 80px 0;
  }
}

.facilities-section .giant-slider-container {
  margin-top: 0;
}

/* GIANT SLIDER */
.giant-slider-container {
  position: relative;
  width: 100%;
  margin-top: 50px;
}

.giant-slider-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding: 10px 0;
  /* Math: 7.5vw padding on left/right + 85vw active slide center width = 100vw total viewport */
  padding-left: calc(7.5vw);
  padding-right: calc(7.5vw);
}

.giant-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.giant-slide {
  flex: 0 0 85vw;
  height: 85vh;
  min-height: 650px;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  scroll-snap-align: center;
  border: none;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.35;
  transform: scale(0.94);
  cursor: pointer;
}

.giant-slide:hover {
  opacity: 0.55;
}

.giant-slide.active-fallback:hover {
  opacity: 1;
}



/* JS Fallback Active State */
.giant-slide.active-fallback {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75);
}

.giant-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}



/* Gradient overlay to ensure text contrast */
.giant-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Slider Metadata Area (Samara Style - Text overlay centered on slide) */
.giant-slider-meta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 90%;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  pointer-events: none; /* Let click events pass to background slides */
}

.giant-meta-item {
  display: none;
  opacity: 0;
  transform: translateY(15px);
}

.giant-meta-item.active {
  display: block;
  animation: fadeUpMeta 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeUpMeta {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.giant-meta-level {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
  padding-bottom: 4px;
}

.giant-meta-title {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.3);
}

.giant-meta-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* CONTROLS */
.giant-slider-controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 6;
  pointer-events: none; /* Let track receive click/drag */
}

.giant-slider-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--primary-gold);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto; /* Enable clicks */
}

.giant-slider-btn:hover {
  background: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.giant-slider-dots {
  display: none;
  gap: 10px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto; /* Enable clicks */
}

.giant-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.giant-dot.active {
  background: var(--primary-gold);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--primary-gold);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .giant-slider-track {
    padding-left: calc(5vw);
    padding-right: calc(5vw);
  }
  .giant-slide {
    flex: 0 0 90vw;
    height: 70vh;
    min-height: 500px;
    border-radius: 0;
  }
  .giant-slider-meta {
    width: 95%;
  }
  .giant-meta-title {
    font-size: 2.2rem;
  }
  .giant-meta-desc {
    font-size: 1.15rem;
  }
  .giant-slider-controls {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .giant-slider-track {
    padding-left: calc(2.5vw);
    padding-right: calc(2.5vw);
    gap: 0;
  }
  .giant-slide {
    flex: 0 0 95vw;
    height: 60vh;
    min-height: 400px;
    border-radius: 0;
  }
  .giant-slider-meta {
    width: 95%;
    padding: 0 10px;
  }
  .giant-meta-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  .giant-meta-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .giant-slider-controls {
    padding: 0 10px;
    bottom: 25px;
  }
  .giant-slider-btn {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   SECTION 9: PARADOX 酒店式服務
   ========================================================================== */
.service-section {
  background: #121212;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.service-box:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.service-box h3 {
  color: var(--primary-gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item-text {
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 10: 開發商背書 TA GLOBAL
   ========================================================================== */
.developer-section {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.developer-section .container {
  position: relative;
  z-index: 2;
}

/* Background Slider for Developer Section */
.dev-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.dev-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.8);
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.dev-bg-slide.active {
  opacity: 0.65;
}

.dev-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.dev-info h2 {
  font-weight: 200;
}

.dev-info h3 {
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.dev-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.dev-stat-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: left;
  border-radius: 0;
  backdrop-filter: none;
  transition: var(--transition-smooth);
}

.dev-stat-card:hover {
  border-top-color: var(--primary-gold);
}

.dev-stat-num {
  font-family: var(--font-serif-en);
  font-size: 2.2rem;
  color: var(--primary-gold);
  font-weight: 200;
  line-height: 1.2;
}

/* Right-side Slide Container and Slides */
.dev-slider-wrap {
  position: relative;
  overflow: hidden;
}

.dev-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease-in-out;
  pointer-events: none;
  z-index: 1;
  transform: scale(1.02);
}

.dev-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1.08); /* subtle zoom-in animation when active */
}

/* ==========================================================================
   SECTION 11: 投資價值 & MM2H
   ========================================================================== */
.invest-section {
  background: #121212;
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.invest-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition-smooth);
}

.invest-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.invest-card h3 {
  color: var(--primary-gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invest-icon {
  color: var(--primary-gold);
  flex-shrink: 0;
}

/* MM2H Sub-layout */
.mm2h-box {
  background: radial-gradient(circle at top right, var(--bronze-dim) 0%, var(--bg-card) 70%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 8px;
  padding: 40px;
  margin-top: 50px;
}

.mm2h-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.mm2h-header h3 {
  font-size: 1.8rem;
  color: var(--primary-gold);
}

.mm2h-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mm2h-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

/* MM2H & AI ADVISOR WRAPPER */
.invest-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.invest-bottom-container .mm2h-box {
  margin-top: 0;
}

/* Looping image box */
.loop-image-box {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: var(--bg-card);
}

.loop-image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: imageFadeLoop 15s infinite ease-in-out;
}

.loop-image-slide:nth-child(1) { animation-delay: 0s; }
.loop-image-slide:nth-child(2) { animation-delay: 5s; }
.loop-image-slide:nth-child(3) { animation-delay: 10s; }

.loop-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.loop-image-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
  color: var(--text-light);
}

.caption-tag {
  display: inline-block;
  font-family: var(--font-serif-en), serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--primary-gold);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.caption-title {
  font-size: 1.4rem;
  font-family: var(--font-serif-zh), serif;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

@keyframes imageFadeLoop {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  6.67% {
    opacity: 1;
  }
  26.67% {
    opacity: 1;
  }
  33.33% {
    opacity: 0;
    transform: scale(1.06);
  }
  100% {
    opacity: 0;
  }
}

/* Desktop styles for side-by-side and offset */
@media (min-width: 992px) {
  .invest-bottom-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 60px;
  }

  .invest-bottom-container .mm2h-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .invest-bottom-container .loop-image-box {
    height: 100%;
    transform: none;
  }
}

/* ==========================================================================
   SECTION 12: 說明會報名 FORM
   ========================================================================== */
.register-section {
  background: var(--bg-dark);
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.register-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-details-card {
  background: var(--bg-card);
  border-left: 4px solid var(--primary-gold);
  padding: 24px;
  border-radius: 6px;
  margin: 25px 0;
}

.event-detail-item {
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-light);
}

.event-detail-item span {
  flex-shrink: 0;
}

.event-detail-item strong {
  color: var(--primary-gold);
}

.register-benefits {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.register-benefits li {
  margin-bottom: 10px;
}

/* FORM STYLING */
.booking-form-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
  text-align: left;
}

.form-control {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-light);
  font-family: var(--font-sans-zh);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

select.form-control {
  cursor: pointer;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 4px;
}

.form-btn-submit {
  width: 100%;
  border: none;
  margin-top: 15px;
}

.form-feedback-message {
  margin-top: 20px;
  font-size: 0.95rem;
  text-align: center;
}

.form-feedback-message.error {
  color: #ff5555;
}

.form-feedback-message.success {
  color: #55ff55;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  position: relative;
  background-image: 
    linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)), 
    url('../img/Lobby_Lounge.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 24px;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-gold);
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--primary-gold);
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer-inner {
  padding: 0 24px 24px calc(24px + 1.6em);
  text-indent: -1.6em;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  background: #0d0d0d;
  padding: 80px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-sans-en), sans-serif;
  color: var(--text-light);
}


.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 12px;
  filter: brightness(0) invert(1); /* 將 Logo 轉為全白 */
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.6;
  max-width: 100%;
}

.footer-title {
  font-family: var(--font-serif-en), serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gold);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-info {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-light);
}

.footer-link-hover {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link-hover:hover {
  color: var(--primary-gold);
  opacity: 1;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item.items-start {
  align-items: flex-start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--primary-gold);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  color: var(--text-light);
}

.contact-value,
.contact-phones a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 40px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-col-contact {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-bottom {
  text-align: center;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
}

.footer-bottom-logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.footer-bottom-logo-img {
  height: 50px;
  width: auto;
  opacity: 1;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.4;
  max-width: 800px;
  margin: 0 auto 16px;
  letter-spacing: 0.02em;
}

.footer-copyright {
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-copyright a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.footer-copyright a:hover {
  border-bottom-color: currentColor;
}

/* ==========================================================================
   DRAGGABLE SLIDER DEFAULTS
   ========================================================================== */
.slider-container {
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding: 10px 40px;
}

.slider-track::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

@media (max-width: 768px) {
  .slider-track {
    padding: 10px 16px;
  }
}

@media (min-width: 1440px) {
  .slider-track {
    padding-left: calc((100vw - var(--container-max-width)) / 2 + 40px);
    padding-right: calc((100vw - var(--container-max-width)) / 2 + 40px);
  }
}

.slider-track.dragging {
  scroll-behavior: auto;
  cursor: grabbing;
}

.slider-slide {
  flex: 0 0 350px;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition-smooth);
}

.slider-slide:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
}

.slider-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: #222;
  background-size: cover;
  background-position: center;
}

.slider-info {
  padding: 24px;
}

.slider-info h4 {
  font-size: 1.15rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .slider-controls {
    padding-right: 16px;
  }
}

@media (min-width: 1440px) {
  .slider-controls {
    padding-right: calc((100vw - var(--container-max-width)) / 2 + 40px);
  }
}

.slider-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--primary-gold);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-weight: bold;
}

.slider-btn:hover:not(.disabled) {
  background: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
}

.slider-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.lightbox-caption {
  margin-top: 15px;
  color: var(--primary-gold);
  font-family: var(--font-serif-zh);
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--text-light);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--primary-gold);
}

/* ==========================================================================
   STICKY STICKY BAR FOR MOBILE
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.sticky-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.sticky-bar-btn.left {
  background: var(--bg-card);
  color: var(--primary-gold);
}

.sticky-bar-btn.right {
  background: var(--primary-gold);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN (RWD)
   ========================================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spec-section {
    background-attachment: scroll;
  }

  .spec-marquee-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 40px;
    margin-bottom: 0;
    padding: 0;
  }

  /* Overlays handled in JavaScript */
  
  .unit-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fac-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dev-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .invest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions .btn-nav-cta {
    display: none; /* Hide header menus for simplicity on mobile, or implement hamburger */
  }

  .hero-h1 {
    font-size: 2.2rem;
  }

  .hero-support {
    padding: 0 10px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .mm2h-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .register-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-bar {
    display: block;
  }

  .site-footer {
    padding-bottom: 100px; /* Space for mobile sticky bar */
  }

  .spec-marquee-container {
    height: 250px;
  }
}

/* ==========================================================================
   POPUP BOOKING MODAL
   ========================================================================== */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.385);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.booking-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-modal-card {
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 45px 35px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}

.booking-modal-overlay.active .booking-modal-card {
  transform: scale(1) translateY(0);
}

.booking-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 300;
  transition: var(--transition-smooth);
}

.booking-modal-close:hover {
  color: var(--primary-gold);
}

.booking-modal-header {
  margin-bottom: 25px;
}

.booking-modal-header h3 {
  font-family: var(--font-serif-zh), serif;
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin: 10px 0;
}

.booking-modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RWD RESPONSE OPTIMIZATIONS (1366px, 768px, 414px, 375px)
   ========================================================================== */

@media (max-width: 1366px) {
  :root {
    --container-max-width: 1200px;
  }
  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-h1 {
    font-size: 2.5rem !important;
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  .two-col-layout {
    flex-direction: column;
    gap: 30px;
  }
  .developer-section .right-col {
    width: 100% !important;
    margin-top: 20px;
  }

  .slider-info,
  .invest-card,
  .mm2h-box,
  .service-box,
  .booking-form-box,
  .booking-modal-card,
  .spec-brands-panel,
  .event-details-card {
    padding: 12px !important;
  }

  .loop-image-box {
    height: 320px;
  }
  .loop-image-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  /* Force 12px gap for all main card containers/grids on mobile */
  .slider-track,
  .invest-grid,
  .mm2h-grid,
  .service-grid {
    gap: 12px !important;
  }

  .invest-card h3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 414px) {
  h1, .hero-h1 {
    font-size: 1.8rem !important;
    word-break: keep-all;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  .giant-slide-bg {
    aspect-ratio: 4/5 !important;
  }
  input, select, textarea {
    font-size: 16px !important;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 375px) {
  .hero-support span {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

/* ==========================================================================
   HORIZONTAL MARQUEE FOR SCREEN WIDTHS < 1280px
   ========================================================================== */
@media (max-width: 1280px) {
  .spec-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .spec-details h3 {
    justify-content: flex-start !important;
  }

  .spec-details h3::after {
    display: none !important;
  }

  .spec-marquee-container {
    display: block !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 100px !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: 2 !important;
  }

  .spec-marquee-wrap {
    height: 100px !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .marquee-vertical {
    height: 100% !important;
    width: 100% !important;
  }

  .marquee-track {
    flex-direction: row !important;
    width: max-content !important;
    height: 100% !important;
    gap: 40px !important;
    animation: marquee-horizontal-scroll 25s linear infinite !important;
    align-items: center !important;
  }

  .marquee-item {
    height: 100% !important;
    width: 150px !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .marquee-item img {
    opacity: 1 !important;
    filter: none !important;
  }
}

@keyframes marquee-horizontal-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
