/* ============================================================
   NAP HOSTEL & NAPartman - Colors & Type
   Hand-drawn, black-on-paper, punk-zine aesthetic.
   ============================================================ */

/* Betűk saját tárhelyről (2026-10-19): a Google Fonts közvetlen betöltése
   a látogató IP-címét a Google-nek adja át, ez GDPR-kockázat. */
@import url('assets/fonts.css');

:root {
  /* ---------- COLOR TOKENS ----------
     The brand is functionally monochrome: ink on paper.
     A single warm-paper tint and a single accent (cherry-red rubber-stamp ink)
     are the only deviations. Use sparingly. */

  /* Core ink + paper */
  --ink:        #111111;   /* primary ink - almost-but-not-quite black */
  --ink-soft:   #2a2a2a;   /* secondary ink, body text */
  --ink-muted:  #555555;   /* captions, metadata */
  --ink-faint:  #b5b1a8;   /* hairline rules on paper */

  --paper:      #f4ecd8;   /* warm cream, the default page */
  --paper-deep: #e8dec3;   /* slightly darker cream - cards-on-paper */
  --paper-bright:#fdf8ea;  /* highlight cream - modals, sheets */
  --paper-pure: #ffffff;   /* sticker / cutout white */

  /* Accent - used like a rubber stamp, never as a fill on large areas */
  --stamp:      #c8362c;   /* cherry-red ink, for stamps + emphasis */
  --stamp-deep: #8e1f17;

  /* Semantic mapping - almost everything is ink-on-paper */
  --fg-1: var(--ink);
  --fg-2: var(--ink-soft);
  --fg-3: var(--ink-muted);
  --fg-4: var(--ink-faint);

  --bg-1: var(--paper);
  --bg-2: var(--paper-deep);
  --bg-3: var(--paper-bright);

  --accent: var(--stamp);
  --accent-ink: var(--stamp-deep);

  --border: var(--ink);             /* borders are bold and inky */
  --border-faint: var(--ink-faint);

  /* ---------- TYPE TOKENS ---------- */

  /* Hand-cursive - stand-in for the cursive "nap hostel" wordmark.
     SUBSTITUTION: real wordmark is a custom hand-letter; Caveat is the closest free match. */
  --font-script: 'Caveat', 'Bradley Hand', 'Segoe Script', cursive;

  /* Chunky display - stand-in for the bold sans on "TAKE A NAP AT NAP HOSTEL" arc.
     SUBSTITUTION: source uses an unidentified rounded compressed sans; Bowlby One SC is the closest. */
  --font-display: 'Bowlby One SC', 'Impact', 'Arial Black', sans-serif;

  /* Body - clean, modern, geometric - pairs well with hand-drawn marks. */
  --font-body: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Mono - receipts, tickets, key codes */
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Type scale - generous, zine-like */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  48px;
  --fs-4xl:  64px;
  --fs-5xl:  88px;
  --fs-6xl:  128px;

  /* Line heights */
  --lh-tight:  1.05;
  --lh-snug:   1.2;
  --lh-normal: 1.45;
  --lh-loose:  1.6;

  /* Letter spacing - display arc & badges run wide */
  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.12em;
  --tracking-widest:  0.22em;

  /* ---------- SPACING / RADII / SHADOWS ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radii - mostly square; very small radius on chips. Cutouts are sharp. */
  --r-none: 0;
  --r-xs:   2px;
  --r-sm:   4px;
  --r-md:   8px;
  --r-pill: 999px;

  /* Borders - bold black ink, often thick */
  --bw-1: 1px;
  --bw-2: 2px;
  --bw-3: 3px;
  --bw-4: 4px;

  /* Shadows - flat, hard-offset, not feathered (sticker-on-paper feel) */
  --shadow-stamp:  3px 3px 0 0 var(--ink);
  --shadow-stamp-lg: 6px 6px 0 0 var(--ink);
  --shadow-soft:   0 2px 0 0 rgba(17,17,17,0.08);
  --shadow-paper:  0 8px 20px -8px rgba(17,17,17,0.25);
}

/* ============================================================
   SEMANTIC ELEMENT STYLES
   ============================================================ */

html, body {
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-1);
  margin: 0 0 var(--space-5);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-1);
  margin: 0 0 var(--space-4);
}

h3, .h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-3);
}

h4, .h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-lg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin: 0 0 var(--space-2);
}

.script, .h-script {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: var(--fs-3xl);
  line-height: 0.95;
  color: var(--fg-1);
  transform: rotate(-3deg);
  display: inline-block;
}

p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--fg-2);
  margin: 0 0 var(--space-4);
}

small, .caption {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fg-3);
}

code, kbd, pre, .mono {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--fg-1);
}

a {
  color: var(--fg-1);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); }

hr {
  border: 0;
  border-top: 2px dashed var(--ink);
  margin: var(--space-6) 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.stamp-card {
  background: var(--paper-bright);
  border: var(--bw-3) solid var(--ink);
  box-shadow: var(--shadow-stamp);
  padding: var(--space-5);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-size: var(--fs-base);
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border: var(--bw-3) solid var(--ink);
  box-shadow: var(--shadow-stamp);
  cursor: pointer;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--stamp { background: var(--accent); border-color: var(--accent-ink); color: var(--paper-bright); box-shadow: 3px 3px 0 0 var(--ink); }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 4px 10px;
  border: var(--bw-2) solid var(--ink);
  background: var(--paper-bright);
}

.dashed-rule {
  border-top: 2px dashed var(--ink);
}

/* Subtle paper texture via repeating linear-gradient noise */
.paper-bg {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(17,17,17,0.04) 1px, transparent 1px),
    radial-gradient(rgba(17,17,17,0.03) 1px, transparent 1px);
  background-size: 24px 24px, 17px 17px;
  background-position: 0 0, 12px 8px;
}
