/* ============================================================
   ENZOPIZZA HAJMÁSKÉR — base.css
   Design tokens, reset, typography
   ============================================================ */

:root {
  /* --- Color tokens --- */
  --color-char: #0E0C0A;        /* charcoal base — torn-paper black */
  --color-char-soft: #1C1815;   /* card surface, slightly warmer */
  --color-char-line: #2C2620;   /* hairline borders on dark */
  --color-cream: #F5EFE4;       /* baked-crust cream — primary text on dark */
  --color-cream-dim: #C9C0AF;   /* secondary text on dark */
  --color-tomato: #C8472E;      /* tomato-sauce red — sole strong accent */
  --color-tomato-dim: #9C3722;
  --color-cheese: #C99A4B;      /* cheese-gold — secondary accent */
  --color-paper: #FBF8F2;       /* light card / paper surface */
  --color-paper-shadow: #E7DFCF;

  /* --- Type tokens --- */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Karla', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', monospace;

  --fs-hero: clamp(3.2rem, 8vw, 6.4rem);
  --fs-h2: clamp(2rem, 4.5vw, 3.2rem);
  --fs-h3: clamp(1.3rem, 2.4vw, 1.6rem);
  --fs-body: 1.05rem;
  --fs-small: 0.875rem;

  /* --- Layout tokens --- */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 14px;
  --header-h: 84px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--color-char);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 0.98;
}

p { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-cheese);
  outline-offset: 3px;
}

/* --- Shared type utilities --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cheese);
  margin: 0 0 0.6rem;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-head h2 { font-size: var(--fs-h2); }

.section-sub {
  margin-top: 0.9rem;
  color: var(--color-cream-dim);
  font-size: 0.95rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease-out), background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-tomato);
  color: var(--color-paper);
}
.btn-primary:hover { background: #d6512f; }

.btn-ghost {
  background: transparent;
  border-color: var(--color-char-line);
  color: var(--color-cream);
}
.btn-ghost:hover { border-color: var(--color-cheese); color: var(--color-cheese); }
