/* ==========================================================================
   PAPARAZZI Bar & Kitchen — design system
   Concept: "Flashbulb Glamour" — dark, moody, caught in a camera flash.
   Monochrome logo (white on charcoal) + champagne gold + flash red accents.
   ========================================================================== */

:root {
  /* Brand palette */
  --charcoal: #0f0f0f;
  --charcoal-2: #161616;
  --charcoal-3: #1e1e1e;
  --paper: #f2ede4;         /* warm off-white text */
  --muted: #9a938a;         /* muted warm gray */
  --gold: #c9a24a;          /* champagne gold — primary accent */
  --gold-soft: #e0c47f;
  --red: #c0392b;           /* flash red — CTA accent */
  --red-dark: #a93226;

  /* Type */
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-soft); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.15);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 62px; width: auto; }
.logo-word { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .5px; color: var(--paper); }
.logo-word .amp { color: var(--gold); }

nav { display: flex; gap: 28px; align-items: center; }
nav a { color: var(--paper); font-size: 0.92rem; letter-spacing: .3px; opacity: .85; }
nav a:hover { color: var(--gold); opacity: 1; }
nav a.active { color: var(--gold); }

.btn {
  display: inline-block; background: var(--red); color: #fff;
  padding: 0.85rem 1.9rem; border-radius: 4px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; font-size: 0.82rem;
  border: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #0f0f0f; }
.btn.gold:hover { background: var(--gold-soft); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.alt { background: var(--charcoal-2); }

.kicker {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
h2.section-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.25rem; }
.section-lede { color: var(--muted); font-size: 1.12rem; max-width: 640px; }

/* ==========================================================================
   Hero — flashbulb
   ========================================================================== */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.55) saturate(.9);
}
.hero::after {
  /* radial flash spotlight behind the headline */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 40%, rgba(201,162,74,.22), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  letter-spacing: -0.5px; margin-bottom: 1.2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.hero h1 .gold { color: var(--gold); }
.hero-sub { color: #d8d2c8; font-size: 1.2rem; max-width: 560px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--charcoal-3); border: 1px solid rgba(201,162,74,.1);
  border-radius: 10px; overflow: hidden; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(201,162,74,.3); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Menu
   ========================================================================== */
.menu-cat { margin-bottom: 3rem; }
.menu-cat h3 {
  font-family: var(--serif); font-size: 1.7rem; color: var(--gold);
  padding-bottom: .6rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201,162,74,.2);
}
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dotted rgba(154,147,138,.25); }
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 500; color: var(--paper); }
.menu-item .desc { color: var(--muted); font-size: .88rem; margin-top: .15rem; max-width: 640px; }
.menu-item .price { color: var(--gold); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0a0a0a; border-top: 1px solid rgba(201,162,74,.12); padding: 4rem 0 2rem; }
.site-footer .grid { gap: 2rem; }
.site-footer h4 { color: var(--gold); font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.site-footer a, .site-footer p { color: var(--muted); font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(154,147,138,.15); margin-top: 3rem; padding-top: 1.5rem; text-align: center; color: #6b655d; font-size: .8rem; }

/* ==========================================================================
   Forms (reservations / contact)
   ========================================================================== */
.form-wrap { max-width: 640px; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--charcoal-3); border: 1px solid rgba(154,147,138,.3);
  border-radius: 6px; padding: .85rem 1rem; color: var(--paper); font-family: var(--sans); font-size: 1rem;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.form-response { display: none; padding: 1rem 1.25rem; border-radius: 6px; margin-top: 1rem; font-size: .95rem; }
.form-response.ok { display: block; background: rgba(52,168,83,.12); border: 1px solid rgba(52,168,83,.4); color: #81c995; }
.form-response.err { display: block; background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.4); color: #f0a49c; }

/* ==========================================================================
   Chat + voice widget (AI surfaces)
   ========================================================================== */
.chat-toggle, .voice-toggle {
  position: fixed; bottom: 24px; width: 58px; height: 58px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 9990; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.4); transition: transform .15s;
}
.chat-toggle { right: 24px; background: var(--red); font-size: 22px; }
.voice-toggle { left: 24px; background: var(--gold); color: #0f0f0f; font-size: 22px; }
.chat-toggle:hover, .voice-toggle:hover { transform: scale(1.08); }

.chat-window {
  position: fixed; bottom: 92px; right: 24px; width: 340px; max-width: calc(100vw - 48px);
  background: var(--charcoal-3); border: 1px solid rgba(201,162,74,.2); border-radius: 14px;
  overflow: hidden; z-index: 9991; display: none; flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.chat-header { background: var(--charcoal-2); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(201,162,74,.15); }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.chat-title { font-weight: 600; font-size: 14px; flex: 1; }
.chat-close { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.chat-messages { padding: 14px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.msg { font-size: 13.5px; line-height: 1.5; padding: 10px 12px; border-radius: 10px; max-width: 85%; }
.msg.user { align-self: flex-end; background: rgba(201,162,74,.18); color: var(--paper); }
.msg.bot { align-self: flex-start; background: var(--charcoal-2); color: #d8d2c8; }
.chat-input-row { display: flex; border-top: 1px solid rgba(201,162,74,.15); }
.chat-input-row input { flex: 1; background: transparent; border: none; padding: 14px; color: var(--paper); font-size: 14px; outline: none; }
.chat-input-row button { background: var(--red); color: #fff; border: none; padding: 0 18px; cursor: pointer; font-weight: 600; }

/* ==========================================================================
   Social icons
   ========================================================================== */
.social-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.social {
  display: flex; align-items: center; gap: 9px;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(201,162,74,.35);
  color: var(--paper); font-weight: 500; font-size: 0.9rem;
  background: var(--charcoal-3); transition: all .18s;
}
.social:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.social svg { color: var(--gold); }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
