/* Balaji Associates — public site.
   Identity: warm ivory ground, deep evergreen accent, Fraunces display over
   Public Sans body. One accent, quiet everything else. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ground: #FAF7F0;
  --surface: #FFFFFF;
  --ink: #22302B;
  --ink-soft: #48564F;
  --muted: #74807A;
  --line: rgba(34, 48, 43, 0.13);
  --accent: #14584A;
  --accent-deep: #0E4238;
  --accent-wash: rgba(20, 88, 74, 0.08);
  --gold: #B98A2F;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(24, 34, 30, 0.05), 0 10px 30px rgba(24, 34, 30, 0.06);
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; text-wrap: balance; }
a { color: var(--accent); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ── Nav ── */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--ground);
  position: sticky; top: 0; z-index: 20;
}
/* padding-top/bottom only -- .nav shares its div with .wrap (class="wrap nav"),
   same bug class as .hero above: a horizontal 0 here would win over .wrap's
   side padding and pin the logo/menu to the screen edge. */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; position: relative; }
.brand { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--accent); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 500;
  padding: 9px 12px; border-radius: 7px; min-height: 40px; display: flex; align-items: center;
}
.nav-links a:hover { background: var(--accent-wash); color: var(--accent-deep); }
.nav-links a.active { color: var(--accent-deep); background: var(--accent-wash); }

@media (max-width: 680px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ground); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 6px 0 14px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  header.site { position: sticky; }
}

/* ── Hero ── */
/* padding-top/bottom only, deliberately -- .hero is always paired with .wrap on
   the same element (class="wrap hero"), and a shorthand `padding: Tpx 0 Bpx`
   here would set left/right to 0 and win over .wrap's horizontal padding
   (same specificity, later in the cascade) -- which is exactly the bug that
   had every page's hero text flush against the screen edge on top of. */
.hero { padding-top: 72px; padding-bottom: 56px; }
.hero .eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; max-width: 18ch; }
.hero p.lede { margin-top: 18px; font-size: 18px; color: var(--ink-soft); max-width: 58ch; }
.hero .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 680px) {
  /* 22px reads as ample on a desktop-width mockup; on an actual phone, next to
     a full-width filled button, the same inset reads as text sitting flush
     against the glass. A real phone needs more of a margin, not the same one. */
  .wrap { padding: 0 20px; }
  .hero { padding-top: 36px; padding-bottom: 32px; }
  section.band { padding: 40px 0; }
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .hero .actions { flex-direction: column; align-items: stretch; }
}

.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 15px;
  font-weight: 600; padding: 11px 20px; border-radius: 8px;
}
.btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-deep); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--accent-wash); outline-offset: 2px; }

/* ── Sections ── */
section.band { padding: 56px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 62ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: 21px; }
.card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.card .go { font-weight: 600; text-decoration: none; font-size: 14px; }
.card .kicker {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

/* ── Listings ── */
.listing {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 26px;
}
.listing .gallery { display: flex; gap: 6px; overflow-x: auto; background: var(--accent-wash); }
.listing .gallery img, .listing .gallery video { height: 240px; width: auto; flex: none; object-fit: cover; }
.listing .body { padding: 24px 26px; }
.listing h3 { font-size: 22px; }
.listing .loc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.listing .desc { margin-top: 12px; color: var(--ink-soft); max-width: 70ch; }
.listing .price { margin-top: 14px; font-weight: 700; color: var(--accent-deep); }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.amenities span {
  background: var(--accent-wash); color: var(--accent-deep); font-size: 13px;
  font-weight: 500; padding: 4px 11px; border-radius: 999px;
}

.seat-types { margin-top: 16px; border-top: 1px solid var(--line); }
.seat-type-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.seat-type-row .name { font-weight: 600; flex: 1; }
.seat-type-row .count { color: var(--muted); font-size: 13px; }
.seat-type-row .price { font-weight: 700; color: var(--accent-deep); }
.empty-note {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 34px;
  text-align: center; color: var(--muted);
}

/* ── Forms ── */
form.inquiry { max-width: 520px; display: grid; gap: 14px; }
form.inquiry label { font-size: 13px; font-weight: 600; color: var(--ink-soft); display: grid; gap: 6px; }
form.inquiry input, form.inquiry textarea, form.inquiry select {
  font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%;
}
form.inquiry input:focus, form.inquiry textarea:focus, form.inquiry select:focus {
  outline: none; border-color: var(--accent);
}
.form-note { font-size: 14px; min-height: 20px; }
.form-note.ok { color: var(--accent-deep); }
.form-note.err { color: #A2402F; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-facts p { margin-bottom: 12px; color: var(--ink-soft); }
.contact-facts b { color: var(--ink); display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Footer ── */
footer.site {
  border-top: 1px solid var(--line); padding: 34px 0 46px; margin-top: 40px;
  color: var(--muted); font-size: 14px;
}
footer.site .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--accent-deep); }
.footer-social:empty { display: none; }

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 16px rgba(20,20,20,0.25); z-index: 30;
}
.whatsapp-fab:hover { background: #1EBE5A; }
.whatsapp-fab.hidden { display: none; }
@media (max-width: 680px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .listing { transition: transform 0.15s ease; }
  .card:hover { transform: translateY(-2px); }
}
