/* ============================================
   JAX NIGHT MARKET — Shared stylesheet
   Light, warm, minimalist — Florida cream + honey amber
   ============================================ */

:root {
  --bg: #faf6ec;
  --bg-elevated: #ffffff;
  --bg-surface: #f3edde;
  --text: #1a1812;
  --text-dim: rgba(26, 24, 18, 0.65);
  --text-faint: rgba(26, 24, 18, 0.42);
  --amber: #c8893d;
  --amber-deep: #a86b1f;
  --amber-soft: rgba(200, 137, 61, 0.12);
  --coral: #d96a4a;
  --border: rgba(26, 24, 18, 0.09);
  --border-strong: rgba(26, 24, 18, 0.18);
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --shadow-soft: 0 14px 40px rgba(26, 24, 18, 0.08);
  --shadow-strong: 0 30px 80px rgba(26, 24, 18, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle warm grain */
body::before {
  content: ""; position: fixed; inset: 0;
  pointer-events: none; z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1400px; margin: 0 auto; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 236, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 0.85rem; }
.nav-logo img {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #000;
}
.nav-logo-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}

.nav-links {
  display: flex; gap: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--amber);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(168, 107, 31, 0.3);
}
.btn-amber {
  background: var(--amber);
  color: var(--bg-elevated);
}
.btn-amber:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(168, 107, 31, 0.3);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(26, 24, 18, 0.04);
}
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 500;
}
.section-label::before {
  content: ""; width: 24px; height: 1px; background: var(--amber-deep);
}

/* ===== PAGE HEADER (non-home) ===== */
.page-header {
  padding: 10rem 2.5rem 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 137, 61, 0.18) 0%, transparent 60%);
  top: -100px; right: -100px;
  filter: blur(40px);
  pointer-events: none;
}
.page-header-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.page-header h1 em { color: var(--amber-deep); font-weight: 300; }
.page-header p {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-logo img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #000;
}
.footer-logo-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
}
.footer-brand p {
  color: var(--text-dim);
  max-width: 360px;
  line-height: 1.7;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber-deep); }
.footer-col a .ext { font-size: 0.75rem; opacity: 0.5; margin-left: 0.4rem; }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ===== RESPONSIVE NAV/FOOTER ===== */
@media (max-width: 900px) {
  .nav { padding: 0.85rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { padding: 0.5rem 1rem; font-size: 0.78rem; }
  .nav-logo img { width: 38px; height: 38px; }
  .nav-logo-text { font-size: 0.95rem; }
  .page-header { padding: 8rem 1.25rem 4rem; }
  .footer { padding: 4rem 1.25rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
