/* ==========================================================
   Park Shanghai — Premium Oriental Theme
   Color palette: Deep Red #8B0000 | Gold #D4AF37 | Cream #FDF5E6 | Dark #1a1a1a
   Fonts: Noto Serif (headings) | Inter (body)
   ========================================================== */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --red:        #8B0000;
  --red-mid:    #a50000;
  --red-light:  #c41230;
  --gold:       #D4AF37;
  --gold-light: #e8c84a;
  --gold-pale:  #fdf6dc;
  --cream:      #FDF5E6;
  --dark:       #1a1a1a;
  --dark-mid:   #2a2a2a;
  --ink:        #2c2c2c;
  --muted:      #6b6b6b;
  --border:     #e2d0b0;
  --bg:         #FDF5E6;
  --bg-card:    #ffffff;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 2px 12px rgba(0,0,0,.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,.11);
  --transition: .2s ease;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-mid); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', Georgia, serif;
  line-height: 1.25;
  color: var(--dark);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }

/* ── Site Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-hanzi {
  font-family: 'Noto Serif SC', 'Noto Serif', serif;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}

.logo-sub {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav-link {
  padding: .4rem .8rem;
  font-size: .87rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(212,175,55,.1);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--dark-mid);
    border-bottom: 2px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .4rem 0;
    display: none;
  }

  .site-nav.open { display: flex; }

  .nav-link {
    padding: .8rem 1.5rem;
    border-radius: 0;
    font-size: .95rem;
    border-left: 3px solid transparent;
  }

  .nav-link:hover,
  .nav-link.active {
    border-left-color: var(--gold);
    background: rgba(212,175,55,.08);
  }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #5a0000 0%, var(--red) 45%, #6b0000 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(212,175,55,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(212,175,55,.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero .container { position: relative; z-index: 1; }

.hero-hanzi {
  display: block;
  font-family: 'Noto Serif SC', 'Noto Serif', serif;
  font-size: clamp(3.5rem, 12vw, 6rem);
  color: rgba(212,175,55,.2);
  line-height: 1;
  margin-bottom: .4rem;
  font-weight: 900;
  letter-spacing: .08em;
  user-select: none;
}

.hero h1 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-subtitle {
  font-size: clamp(.92rem, 2.2vw, 1.1rem);
  color: rgba(255,255,255,.78);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 100px;
  font-size: .82rem;
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
}

/* Search bar */
.search-bar { max-width: 540px; margin: 0 auto; }

.search-bar form {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.search-input {
  flex: 1;
  border: none;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}

.search-input::placeholder { color: #b0a898; }

.search-btn {
  padding: .9rem 1.4rem;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  transition: background var(--transition);
  white-space: nowrap;
}

.search-btn:hover { background: var(--red-mid); }

/* ── Filter Pills ───────────────────────────────────────── */
.filter-row {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-row::-webkit-scrollbar { display: none; }

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}

.filter-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.pill-icon { font-size: .95em; }

.pill-count {
  font-size: .7rem;
  background: rgba(0,0,0,.1);
  border-radius: 100px;
  padding: .1em .45em;
  line-height: 1.4;
}

.filter-pill.active .pill-count { background: rgba(255,255,255,.25); }

/* ── Section Header ─────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
}

.section-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── Tenant Grid & Cards ────────────────────────────────── */
.tenant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .tenant-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tenant-grid { grid-template-columns: repeat(3, 1fr); }
}

.tenant-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.tenant-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.tenant-card-img {
  height: 108px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.tenant-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.tipe-badge {
  position: absolute;
  top: .5rem;
  right: .5rem;
}

.tenant-card-body {
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tenant-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .5rem;
}

.tenant-card-name {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: .98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .35rem;
}

.tenant-card-desc {
  font-size: .81rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tenant-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .75rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
  gap: .5rem;
}

.tenant-hours {
  font-size: .78rem;
  color: var(--muted);
}

.btn-detail {
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  padding: .28rem .65rem;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-detail:hover {
  background: var(--red);
  color: #fff;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .2rem .55rem;
  border-radius: 100px;
  font-size: .71rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-halal     { background: #e8f5e9; color: #2e7d32; }
.badge-nonhalal  { background: #f3f3f3; color: #616161; }
.badge-mix       { background: #fff3e0; color: #e65100; }
.badge-zona      { background: #fff8e1; color: #7b6000; border: 1px solid rgba(212,175,55,.35); }
.badge-foodcourt { background: #ede7f6; color: #4527a0; }
.badge-landmark  { background: #e3f2fd; color: #0d47a1; }
.badge-kategori  { background: #fce4ec; color: var(--red); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-mid); color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-gold { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--dark); }

/* ── Empty State ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}

.es-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: .5rem; }
.empty-state p { font-size: .9rem; }

/* ── Map Preview ────────────────────────────────────────── */
.map-preview-section { background: #fff; }

.map-mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .4rem;
  max-width: 400px;
  margin: 1.5rem auto;
}

.map-mini-zone {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  transition: all var(--transition);
}

.map-mini-zone:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── Info Section ───────────────────────────────────────── */
.info-section {
  background: var(--dark);
  padding: 4rem 0;
  color: rgba(255,255,255,.78);
}

.divider-ornament {
  text-align: center;
  font-family: 'Noto Serif', Georgia, serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  padding: .5rem 0 1.5rem;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '◆';
  font-size: .5rem;
  opacity: .7;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.info-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.info-card:hover { border-color: rgba(212,175,55,.3); }

.ic-icon { font-size: 1.75rem; margin-bottom: .75rem; }

.info-card h3 {
  font-family: 'Noto Serif', Georgia, serif;
  color: var(--gold);
  font-size: .93rem;
  margin-bottom: .45rem;
}

.info-card p { font-size: .86rem; line-height: 1.65; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 2px solid var(--gold);
  color: rgba(255,255,255,.65);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1.5fr 1fr; } }

.footer-brand .site-logo { margin-bottom: .75rem; }

.footer-tagline {
  font-size: .84rem;
  line-height: 1.65;
  margin-top: .5rem;
}

.footer-info h3,
.footer-nav h3 {
  font-family: 'Noto Serif', Georgia, serif;
  color: var(--gold);
  font-size: .92rem;
  margin-bottom: .75rem;
}

.footer-info ul,
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }

.footer-info li {
  font-size: .84rem;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  line-height: 1.5;
}

.fi-icon { flex-shrink: 0; }

.footer-nav a {
  font-size: .84rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p { font-size: .77rem; }

.powered-by a { color: var(--gold); }
.powered-by a:hover { text-decoration: underline; }

/* ── Category Page ──────────────────────────────────────── */
.category-hero {
  background: linear-gradient(150deg, #5a0000 0%, var(--red) 100%);
  padding: 2.5rem 0;
  text-align: center;
  color: #fff;
}

.category-hero .cat-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: .5rem;
}

.category-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: .25rem;
}

.category-hero p {
  font-size: .92rem;
  color: rgba(255,255,255,.72);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 480px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.category-card .cat-icon { font-size: 2rem; }

.category-card .cat-name {
  font-family: 'Noto Serif', Georgia, serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
}

.category-card .cat-count { font-size: .77rem; color: var(--muted); }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: #ccc; }

.breadcrumb-light { color: rgba(255,255,255,.6); }
.breadcrumb-light a { color: rgba(255,255,255,.6); }
.breadcrumb-light a:hover { color: #fff; }
.breadcrumb-light .sep { color: rgba(255,255,255,.3); }

/* ── Tenant Detail Page ─────────────────────────────────── */
.tenant-detail-header {
  background: linear-gradient(150deg, #5a0000 0%, var(--red) 100%);
  padding: 2rem 0 2.25rem;
  color: #fff;
}

.tenant-detail-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.tenant-detail-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-detail-title {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #fff;
  margin-bottom: .5rem;
}

.tenant-detail-badges { display: flex; flex-wrap: wrap; gap: .35rem; }

.tenant-detail {
  padding: 2rem 0 3rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .detail-grid { grid-template-columns: 1fr 310px; }
}

.detail-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.detail-card h2 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.desc-text {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--ink);
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.detail-list li {
  display: grid;
  grid-template-columns: 22px 88px 1fr;
  gap: .5rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .86rem;
  align-items: start;
}

.detail-list li:last-child { border-bottom: none; }

.dl-icon { text-align: center; }
.dl-label { color: var(--muted); font-weight: 500; }
.dl-value { color: var(--ink); font-weight: 500; }
.dl-value a { color: var(--red); }
.dl-value a:hover { text-decoration: underline; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .7rem 1.4rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background var(--transition);
}

.whatsapp-btn:hover { background: #1da851; color: #fff; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: .65rem;
}

.related-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition);
}

.related-item:hover { border-color: var(--gold); }

.related-icon { font-size: 1.3rem; flex-shrink: 0; }
.related-name { font-size: .82rem; font-weight: 600; color: var(--dark); }
.related-meta { font-size: .71rem; color: var(--muted); }

/* ── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }
.hidden { display: none !important; }
