:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.hidden { display: none !important; }

.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-header nav a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
}

.site-header nav a:hover { color: #fff; }

.hero {
  background: linear-gradient(135deg, var(--ink) 0%, #134e4a 100%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}

.hero h1 { font-size: 2.2rem; margin: 0 0 12px; }

.hero p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.section { padding: 40px 0; }

.section-title { font-size: 1.5rem; margin: 0 0 20px; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover { background: var(--teal-dark); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover { background: rgba(13, 148, 136, 0.08); }

.hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.hall-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hall-card h3 { margin: 0; font-size: 1.15rem; }

.hall-card .desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badges { display: flex; flex-wrap: wrap; gap: 6px; }

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink-soft);
}

.badge-ac { background: #ccfbf1; color: var(--teal-dark); }

.hall-card .address {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.hall-card .actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.hall-card .actions .btn { flex: 1; text-align: center; }

.hall-detail h2 { margin: 0 0 8px; font-size: 1.6rem; }

.hall-detail .desc { color: var(--ink-soft); font-size: 1rem; margin: 12px 0; }

.hall-detail .address { color: var(--muted); margin: 0; }

.hall-detail .map-link { display: inline-block; margin-top: 10px; color: var(--teal); }

.back-link a { color: var(--teal); text-decoration: none; font-weight: 600; }

.back-link a:hover { text-decoration: underline; }

.function-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.function-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
}

.function-item .name { font-weight: 600; }

.function-item .when { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

.enquiry-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }

.field input,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

.field-row { display: flex; gap: 14px; }

.form-status { margin: 0; font-size: 0.92rem; }

.form-status.ok { color: var(--teal-dark); }

.form-status.err { color: #b91c1c; }

.loading { color: var(--muted); padding: 8px 0; }

.site-footer {
  background: var(--ink);
  color: #94a3b8;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .hero h1 { font-size: 1.6rem; }
  .field-row { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 6px; }
}
