/* Load this one first in index.html — every other CSS file uses the
   color/font/spacing variables (var(--...)) defined here in :root. */

/* ================================================================
   PBP_26_01 — Piłkarski Bazar Praga — stylesheet
   ================================================================
   HOW THIS FILE IS ORGANIZED (search for these ALL-CAPS headers,
   e.g. Ctrl/Cmd+F "SECTION 4", to jump straight to a part of the site):

     Design tokens (colors, fonts, spacing — the :root variables)
     Placeholder blocks (.ph — the colored "stand-in" boxes for
       photos/video you'll eventually replace with real images)
     HEADER
     NAV MENU (the full-screen hamburger menu)
     SLIDES / VIEWPORT (the scroll-hijack mechanics — see js/main.js
       for how slides/steps actually get switched)
     SECTION 1 ... SECTION 7 (one block per slide)
     FOOTER
     MODAL (the shared popup style used by every modal on the site)
     Reduced motion (accessibility: turns off animations on request)

   Every place a value depends on the viewport being narrow uses a
   `@media (max-width: ...)` block placed right after the desktop
   rules for that same section, so mobile overrides are always easy
   to find next to what they're overriding.
   ================================================================ */

/* ============================================================
   PBP_26_01 — Piłkarski Bazar Praga
   Design tokens
   ============================================================ */
:root {
  --burgundy: #7c1128;
  --burgundy-dark: #4a0a18;
  --burgundy-light: #a32438;
  --ink: #16110e;
  --paper: #f2ebdc;
  --paper-2: #e9dfc9;
  --gold: #c99a2e;
  --gold-light: #e4c069;
  --orange: #ff6a1f;
  --pitch: #223523;
  --white: #ffffff;
  --line: rgba(22, 17, 14, 0.16);

  --display: "Rubik", Impact, sans-serif;
  --body: "Work Sans", -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.65, 0.05, 0.2, 1);
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  background: var(--paper);
  overflow: hidden;
  height: 100%;
} /* iOS Safari can keep scrolling html even when body is locked — lock both */
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* hijack mode default */
  overscroll-behavior: none;
  touch-action: none; /* let our own touch handler drive navigation, not the browser's native gestures */
}
body[data-mode="free"] {
  overflow: auto;
  touch-action: auto;
}
body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
img,
svg {
  display: block;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ============================================================
   Placeholder blocks (video / image stand-ins)
   ============================================================ */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0 2px,
    transparent 2px 14px
  );
  color: inherit;
}

/* .ph::after{
  content:attr(data-label);
  font-family:var(--body); font-weight:600; font-size:.72rem;
  letter-spacing:.06em; opacity:.55; text-transform:uppercase;
  padding:.4em .7em; border:1px solid currentColor; border-radius:2px;
  white-space:nowrap;
} */
.ph.tone-burgundy {
  background-color: var(--burgundy);
  color: var(--paper);
}
.ph.tone-gold {
  background-color: var(--gold);
  color: var(--ink);
}
.ph.tone-pitch {
  background-color: var(--pitch);
  color: var(--paper);
}
.ph.tone-paper {
  background-color: var(--paper-2);
  color: var(--ink);
}
.ph.tone-ink {
  background-color: var(--ink);
  color: var(--paper);
}
.ph.tone-white {
  background-color: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
