/* NBA Fire Website - Shared styles */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --text: #e8e8e8;
  --text-muted: #9ca3af;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --border: #2d2d2d;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --space: 1rem;
  --max-width: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent-hover);
}

.nav {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--border);
  color: var(--accent);
}

main {
  flex: 1;
  padding: 2rem var(--space);
}

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

/* Typography */
h1, h2, h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.125rem; }

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Hero on home */
.hero {
  text-align: center;
  padding: 3rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* Content sections */
.section {
  margin-bottom: 2.5rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem var(--space);
  margin-top: auto;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space);
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Contact */
.contact-email {
  margin-bottom: 1.5rem;
}

.contact-email a {
  color: var(--accent);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
}

/* FAQ */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-list li:first-child {
  padding-top: 0;
}

.faq-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.faq-list p {
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}
