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

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --zuker-gold: #c9a472;
  --zuker-gold-glow: rgba(201,164,114,0.3);
  --zuker-dark: #0a0a0a;
  --zuker-dark-secondary: #111111;
  --zuker-dark-tertiary: #1a1a1a;
  --white-dim: rgba(255,255,255,0.7);
  --white-muted: rgba(255,255,255,0.5);
  --white-10: rgba(255,255,255,0.1);
  --white-5: rgba(255,255,255,0.05);
  --header-h: 72px;
  --maxw: 1200px;
}

html {
  font-size: clamp(14px, calc(14px + 4 * ((100vw - 768px) / 1152)), 18px);
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Noto Sans TC', 'Hiragino Sans', sans-serif;
  background: var(--zuker-dark);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(201,164,114,0.3); color: white; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== TYPOGRAPHY ========== */
.font-display { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
.font-heading { font-family: 'Montserrat', sans-serif; }

.text-t1 { font-size: clamp(60px, 8vw, 140px); line-height: 1.05; letter-spacing: -0.03em; }
.text-t2 { font-size: clamp(36px, 5vw, 82px); line-height: 1.1; letter-spacing: -0.02em; }
.text-t3 { font-size: clamp(28px, 3vw, 48px); line-height: 1.2; }
.text-t4 { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; }
.text-t5 { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; }
.text-t6 { font-size: clamp(11px, 0.9vw, 13px); line-height: 1.5; letter-spacing: 0.05em; }

/* ========== LAYOUT ========== */
.container-zuker { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding-top: clamp(3rem, 7vw, 7rem); padding-bottom: clamp(3rem, 7vw, 7rem); }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  background: var(--zuker-gold); color: var(--zuker-dark);
  border-radius: 100px; border: none; cursor: pointer;
  padding: max(8px, 0.6vw) max(16px, 1.1vw);
  font-size: clamp(14px, 1.1vw, 16px);
  transition: all 0.2s ease;
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 0 40px rgba(201,164,114,0.2); }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 500;
  background: transparent; color: #fff;
  border-radius: 100px; border: 1px solid var(--white-10); cursor: pointer;
  padding: max(8px, 0.6vw) max(16px, 1.1vw);
  font-size: clamp(14px, 1.1vw, 16px);
  transition: all 0.2s ease;
}
.btn-ghost:hover { background: var(--white-5); border-color: rgba(255,255,255,0.3); }

.btn-lg { padding: max(12px, 0.8vw) max(24px, 1.5vw); font-size: clamp(16px, 1.3vw, 20px); }

/* ========== HEADER ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h); background: var(--zuker-dark);
  border-bottom: 1px solid var(--white-10);
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
}
.site-header .container-zuker { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 2px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; }
.logo-dot { color: var(--zuker-gold); font-size: 1.1rem; }

.nav-desktop { display: none; }
@media (min-width: 1024px) { .nav-desktop { display: flex; align-items: center; gap: 2rem; } }
.nav-desktop a { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: var(--text-t6); color: var(--white-muted); transition: color 0.2s; letter-spacing: 0.05em; }
.nav-desktop a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Language switch (中文 / EN) */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--white-10); border-radius: 100px; padding: 2px; background: rgba(255,255,255,0.03); }
.lang-switch a { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.04em; color: var(--white-muted); padding: 5px 11px; border-radius: 100px; line-height: 1; transition: all 0.2s ease; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: var(--zuker-dark-tertiary); color: #fff; }
.burger { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: #fff; background: none; border: none; cursor: pointer; }
@media (min-width: 1024px) { .burger { display: none; } }

/* Mobile Menu */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 59; background: var(--zuker-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay a { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(32px, 5vw, 56px); color: #fff; transition: color 0.2s; }
.mobile-overlay a:hover { color: var(--zuker-gold); }

/* ========== HERO ========== */
.hero { position: relative; height: 100dvh; overflow: hidden; margin-top: calc(-1 * var(--header-h)); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 1; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 0 1.5rem; }
.hero-content h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; color: #fff; max-width: 12em; text-shadow: 0 2px 40px rgba(0,0,0,0.6); }
.hero-content p { color: var(--white-dim); max-width: 34em; margin-top: 1.5rem; }
.hero-cta { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; }
.scroll-line { width: 1px; height: 40px; background: var(--white-muted); position: relative; overflow: hidden; }
.scroll-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--white-dim); position: absolute; left: 50%; transform: translateX(-50%); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot {
  0% { top: 0; opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { top: 35px; opacity: 0; }
}

/* ========== LISTING CARDS ========== */
.listing-card { display: block; background: var(--zuker-dark-secondary); border: 1px solid var(--white-10); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.4); transition: all 0.3s ease; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.2); }
.listing-card:hover .card-img img { transform: scale(1.04); }
.card-img { position: relative; aspect-ratio: 20/19; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-tag { position: absolute; top: 12px; left: 12px; background: var(--zuker-gold); color: var(--zuker-dark); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--text-t6); padding: 4px 10px; border-radius: 4px; }
.card-heart { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; color: var(--white-muted); cursor: pointer; border: none; transition: all 0.2s; }
.card-heart:hover { color: #fff; background: rgba(0,0,0,0.5); }
.card-heart.liked { color: #ef4444; }
.card-body { padding: 1rem; }
.card-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.card-title-row h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t4); color: #fff; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: var(--text-t5); color: #fff; font-weight: 600; flex-shrink: 0; }
.card-rating svg { fill: var(--zuker-gold); color: var(--zuker-gold); width: 14px; height: 14px; }
.card-location { font-size: var(--text-t5); color: var(--white-muted); margin-top: 4px; }
.card-meta { font-size: var(--text-t6); color: var(--white-muted); margin-top: 2px; }
.card-price { font-size: var(--text-t4); color: #fff; margin-top: 8px; }
.card-price strong { font-weight: 700; }
.card-price span { color: var(--white-muted); font-size: var(--text-t5); font-weight: 400; }

/* ========== GRIDS ========== */
.grid-4 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ========== SECTIONS ========== */
.section-header { margin-bottom: 2.5rem; }
.eyebrow { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t6); color: var(--zuker-gold); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; }

/* Stats Band */
.stats-band { display: flex; flex-direction: column; align-items: center; gap: 0; }
@media (min-width: 768px) { .stats-band { flex-direction: row; justify-content: center; } }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 1rem 2.5rem; }
.stat-item .number { font-family: 'Cormorant Garamond', serif; font-weight: 300; color: var(--zuker-gold); font-size: clamp(60px, 8vw, 140px); line-height: 1.05; }
.stat-item .label { font-size: var(--text-t5); color: var(--white-dim); }
.stat-divider { width: 80px; height: 1px; background: var(--white-10); }
@media (min-width: 768px) { .stat-divider { width: 1px; height: 64px; } }

/* Feature Cards */
.feature-card { background: var(--zuker-dark-tertiary); border: 1px solid var(--white-10); border-radius: 8px; padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.feature-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--zuker-dark); border: 1px solid var(--white-10); display: flex; align-items: center; justify-content: center; color: #fff; }
.feature-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t4); color: #fff; margin-top: 1.5rem; }
.feature-card p { font-size: var(--text-t5); color: var(--white-dim); margin-top: 0.5rem; line-height: 1.7; }

/* Brand Chips */
.brand-chip { display: block; background: var(--zuker-dark-secondary); border: 1px solid var(--white-10); border-radius: 8px; padding: 1.5rem; transition: all 0.2s ease; }
.brand-chip:hover { background: var(--zuker-dark-tertiary); border-color: rgba(255,255,255,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.4); transform: translateY(-3px); }
.brand-chip h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t4); color: #fff; }
.brand-chip p { font-size: var(--text-t6); color: var(--white-muted); margin-top: 6px; }

/* CTA Band */
.cta-band { position: relative; background: var(--zuker-dark-secondary); text-align: center; overflow: hidden;
  background-image: radial-gradient(circle, rgba(201,164,114,0.04) 1px, transparent 1px); background-size: 32px 32px; }

/* ========== FOOTER ========== */
.site-footer { background: var(--zuker-dark-secondary); border-top: 1px solid var(--white-10); padding-top: 5rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t5); color: #fff; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: var(--text-t5); color: var(--white-muted); padding: 4px 0; transition: all 0.2s; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-tagline { font-size: var(--text-t5); color: var(--white-dim); line-height: 1.7; margin: 1rem 0; }
.footer-contact { font-size: var(--text-t6); color: var(--white-muted); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--white-10); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: var(--text-t6); color: var(--white-muted); }

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--zuker-dark-tertiary); border: 1px solid var(--white-10); display: flex; align-items: center; justify-content: center; color: var(--white-muted); cursor: pointer; z-index: 50; opacity: 0; pointer-events: none; transition: all 0.25s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--zuker-gold); color: var(--zuker-dark); }

/* ========== BREADCRUMB ========== */
.breadcrumb { font-size: var(--text-t6); color: var(--white-muted); padding: 1rem 0; }
.breadcrumb a { color: var(--white-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { color: var(--white-10); margin: 0 0.5rem; }

/* ========== PAGE HEAD ========== */
.page-head { background: var(--zuker-dark-secondary); padding-top: 4rem; padding-bottom: 2.5rem; text-align: center; }
.page-head h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; color: #fff; }
.page-head p { font-size: var(--text-t5); color: var(--white-dim); max-width: 40em; margin: 0.5rem auto 0; }

/* ========== TABS (Search) ========== */
.tab-bar { position: sticky; top: var(--header-h); z-index: 50; background: var(--zuker-dark); border-bottom: 1px solid var(--white-10); }
.tab-bar-inner { display: flex; gap: 0.5rem; padding: 0.75rem 0; overflow-x: auto; scrollbar-width: none; }
.tab-bar-inner::-webkit-scrollbar { display: none; }
.tab-btn { flex: none; padding: 8px 18px; border-radius: 100px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t5); cursor: pointer; transition: all 0.2s; border: 1px solid var(--white-10); background: transparent; color: var(--white-muted); white-space: nowrap; }
.tab-btn:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.tab-btn.active { background: #fff; color: var(--zuker-dark); border-color: #fff; }

/* ========== PROPERTY DETAIL ========== */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 8px; border-radius: 12px; overflow: hidden; max-height: 480px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; } }
.gallery-grid .main-img { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }

.chip { display: inline-flex; background: var(--zuker-dark-tertiary); border: 1px solid var(--white-10); border-radius: 100px; padding: 6px 14px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t6); color: var(--white-muted); }

.booking-card { background: var(--zuker-dark-secondary); border: 1px solid var(--white-10); border-radius: 12px; padding: 1.5rem; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.booking-card .price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.booking-card .price-row .price { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: var(--text-t3); color: #fff; }
.booking-card .price-row .unit { font-size: var(--text-t5); color: var(--white-muted); }
.booking-card .subnote { font-size: var(--text-t6); color: var(--white-muted); margin-bottom: 1rem; }
.booking-info-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--white-5); }
.booking-info-line:last-child { border-bottom: none; }
.booking-info-line .label { font-size: var(--text-t5); color: var(--white-dim); }
.booking-info-line .value { font-size: var(--text-t5); color: #fff; }

.roommate-card { display: flex; align-items: center; gap: 12px; background: var(--zuker-dark-tertiary); border-radius: 8px; padding: 14px; }
.roommate-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(201,164,114,0.15); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--text-t4); color: var(--zuker-gold); flex-shrink: 0; }

/* ========== ACCORDION ========== */
.accordion-item { border-bottom: 1px solid var(--white-10); background: var(--zuker-dark-secondary); }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 1.25rem 1.5rem; cursor: pointer; border: none; background: none; }
.accordion-trigger span { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--text-t4); color: #fff; text-align: left; }
.accordion-trigger .icon { width: 28px; height: 28px; border-radius: 50%; background: var(--zuker-dark-tertiary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: var(--text-t5); transition: all 0.3s ease; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .icon { background: #fff; color: var(--zuker-dark); transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body.open { max-height: 400px; }
.accordion-body > div { padding: 0 1.5rem 1.25rem; }
.accordion-body p { font-size: var(--text-t5); color: var(--white-dim); line-height: 1.7; }

/* ========== FORMS ========== */
.form-input, .form-textarea {
  width: 100%; background: var(--zuker-dark-tertiary); border: 1px solid var(--white-10); border-radius: 8px;
  color: #fff; font-size: var(--text-t5); padding: 14px 16px; transition: all 0.2s;
  font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--white-muted); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--zuker-gold); box-shadow: 0 0 0 3px rgba(201,164,114,0.15); }
.form-textarea { resize: vertical; }
.form-label { display: block; font-size: var(--text-t6); color: var(--white-dim); font-weight: 600; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
.form-error { font-size: var(--text-t6); color: #ef4444; margin-top: 4px; }
.form-success { background: rgba(201,164,114,0.1); border: 1px solid rgba(201,164,114,0.3); border-radius: 8px; padding: 14px 18px; font-size: var(--text-t5); color: var(--zuker-gold); margin-bottom: 1rem; }

/* ========== PROSE ========== */
.prose { max-width: 780px; margin: 0 auto; }
.prose p { font-size: var(--text-t5); color: var(--white-dim); line-height: 1.7; margin-bottom: 1.5rem; }
.prose h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: var(--text-t3); color: #fff; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose strong { color: #fff; font-weight: 600; }
.prose ul { font-size: var(--text-t5); color: var(--white-dim); line-height: 1.7; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.prose ul li { margin-bottom: 0.5rem; }
.prose ul li::marker { color: var(--zuker-gold); }

/* ========== AUTH ========== */
.auth-card { width: 100%; max-width: 440px; background: var(--zuker-dark-secondary); border: 1px solid var(--white-10); border-radius: 12px; padding: 2.5rem; box-shadow: 0 8px 40px rgba(0,0,0,0.5); margin: 0 auto; }

/* ========== GOLD DOT ========== */
.gold-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zuker-gold); flex-shrink: 0; }

/* ========== ANIMATIONS ========== */
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== UTILITY ========== */
.bg-dark { background: var(--zuker-dark); }
.bg-dark-secondary { background: var(--zuker-dark-secondary); }
.bg-dark-tertiary { background: var(--zuker-dark-tertiary); }
.text-gold { color: var(--zuker-gold); }
.text-dim { color: var(--white-dim); }
.text-muted-custom { color: var(--white-muted); }
.border-white-10 { border-color: var(--white-10); }

/* Scrollbar hide */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
