/* Break Room Miami — Vision Rebuild
   Shared styles. Tailwind is loaded via CDN in each page head;
   this file layers custom fonts, palette, and neon effects. */

:root {
  --ink: #0B0B0B;
  --bone: #FAF7F2;
  --red: #E63946;
  --red-hot: #FF2E3A;
  --yellow: #FFD43B;
  --neon: #39FF14;
  --grey: #2A2A2A;
  --grey-soft: #8A8A8A;

  /* Vision deck accents (used sparingly to unify with the pitch infographic) */
  --navy: #0E1B2C;
  --gold: #D4A93A;
}

html { scroll-behavior: smooth; }

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

.font-display { font-family: 'Anton', 'Bebas Neue', Impact, sans-serif; letter-spacing: 0.01em; }
.font-script  { font-family: 'Caveat Brush', 'Permanent Marker', cursive; }

/* Neon headline */
.neon {
  color: #fff;
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 16px rgba(255, 46, 58, 0.75),
    0 0 34px rgba(255, 46, 58, 0.55),
    0 0 72px rgba(255, 46, 58, 0.35);
}
.neon-yellow {
  color: #fff;
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 16px rgba(255, 212, 59, 0.75),
    0 0 34px rgba(255, 212, 59, 0.55);
}
.neon-green {
  color: #fff;
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 16px rgba(57, 255, 20, 0.75),
    0 0 34px rgba(57, 255, 20, 0.5);
}

/* Neon button — primary CTA */
.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: var(--red);
  color: #fff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid #fff;
  box-shadow:
    0 0 0 3px var(--red),
    0 0 18px rgba(255, 46, 58, 0.55),
    0 8px 0 #000;
  transition: transform .12s ease, box-shadow .2s ease;
}
.btn-neon:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    0 0 0 3px var(--red),
    0 0 32px rgba(255, 46, 58, 0.85),
    0 12px 0 #000;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: transparent;
  color: #fff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #fff;
  transition: background .15s ease, color .15s ease;
}
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* AI feature badge — marks sections that preview the Vision Infographic roadmap */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--neon);
  color: #000;
  border-radius: 2px;
}
.ai-badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #000;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* Grain texture overlay on dark sections */
.grain::before {
  content: "";
  position: absolute; inset: 0;
  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.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.6;
}

/* Service tile */
.tile {
  position: relative;
  overflow: hidden;
  border: 3px solid #000;
  transition: transform .25s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile .tile-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #111;
}
.tile .tile-body {
  background: #0B0B0B;
  color: #fff;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 3px solid var(--red);
}

/* Marquee strip */
.marquee {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Chatbot bubble */
.chatbot-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
}
.chatbot-fab button {
  background: var(--red);
  color: #fff;
  border: 2px solid #fff;
  padding: 0.85rem 1.1rem;
  font-family: 'Anton', Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 46, 58, 0.7), 0 6px 0 #000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.chatbot-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  width: min(360px, calc(100vw - 2.5rem));
  background: #fff;
  border: 3px solid #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: none;
  flex-direction: column;
  z-index: 60;
  max-height: 70vh;
}
.chatbot-panel.open { display: flex; }
.chatbot-header {
  background: #000;
  color: #fff;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-log {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
  background: #FAF7F2;
}
.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.6rem;
  border: 2px solid #000;
  font-size: 0.9rem;
  line-height: 1.4;
}
.chat-msg.bot  { background: #FFD43B; margin-right: auto; }
.chat-msg.user { background: #fff;   margin-left: auto;  }
.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 2px solid #000;
  background: #fff;
}
.chat-input input {
  flex: 1;
  padding: 0.55rem 0.7rem;
  border: 2px solid #000;
  font-family: inherit;
}
.chat-input button {
  background: #000;
  color: #FFD43B;
  border: none;
  padding: 0 1rem;
  font-family: 'Anton', Impact, sans-serif;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Step wizard (book.html) */
.wizard-step { display: none; }
.wizard-step.active { display: block; }

/* Comic "BOOK NOW" style burst — optional legacy accent */
.burst {
  background: var(--yellow);
  display: inline-block;
  padding: 1.25rem 1.75rem;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.4rem;
  color: var(--red);
  clip-path: polygon(
    0% 20%, 8% 0%, 22% 15%, 35% 0%, 50% 14%, 65% 0%, 78% 15%, 92% 0%, 100% 20%,
    90% 35%, 100% 50%, 90% 65%, 100% 80%, 90% 100%, 78% 85%, 65% 100%, 50% 86%,
    35% 100%, 22% 85%, 8% 100%, 0% 80%, 10% 65%, 0% 50%, 10% 35%
  );
  border: none;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Utility */
.section { padding: 5rem 1.5rem; }
.section-tight { padding: 3rem 1.5rem; }
.container-lg { max-width: 1240px; margin: 0 auto; }
.divider-red { height: 6px; background: var(--red); }
.kbd {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: #000; color: var(--neon);
  padding: 0.1rem 0.4rem; font-size: 0.8em; border-radius: 3px;
}

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}
