/* =========================================
   VEGAS HERO — main.css
   Global styles, CSS variables, reset
   ========================================= */

/* ── CSS VARIABLES ──────────────────────── */
:root {
  /* Colors */
  --color-bg:          #0a0a0f;
  --color-header-bg:   #0d0d14;
  --color-footer-bg:   #080810;
  --color-surface:     #13131f;
  --color-border:      rgba(255,255,255,0.08);

  --color-text:        #e8e8f0;
  --color-text-muted:  #6b6b88;
  --color-nav-text:    #c8c8dc;

  --color-accent:      #4ade80;
  --color-accent-hover:#22c55e;

  /* Typography */
  --font-body:  'Inter', system-ui, sans-serif;
  --font-nav:   'Barlow Condensed', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  /* Layout */
  --header-height: 64px;
  --content-max:   1200px;
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

ul, ol {
  padding-left: 1.25rem;
}

/* ── LAYOUT ─────────────────────────────── */
main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* ── TYPOGRAPHY ─────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1rem; margin-top: 2.5rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 0.75rem; margin-top: 2rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }

p { margin-bottom: 1rem; }

/* ── CONTENT BLOCKS ─────────────────────── */
.content-section {
  margin-bottom: 2.5rem;
}

/* ── TABLES ─────────────────────────────── */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.styled-table th,
.styled-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.styled-table th {
  background: var(--color-surface);
  color: var(--color-accent);
  font-family: var(--font-nav);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.styled-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* ── BREADCRUMB ─────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

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

.breadcrumb span { color: var(--color-text-muted); }

/* ── ACCORDION (FAQ) ────────────────────── */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  text-align: left;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ── UTILITY ─────────────────────────────── */
.text-accent   { color: var(--color-accent); }
.text-muted    { color: var(--color-text-muted); }
.text-center   { text-align: center; }

@media (max-width: 600px) {
  main {
    padding: 2rem 1rem;
  }
}
