/* Wspólny styl patrykbialas.pl – kolorystyka grafik ATC2 / Euro-Centrum:
   morski gradient, limonkowy akcent, Poppins (serwowany lokalnie). */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg-top: #144f5d;
  --bg-bottom: #09323d;
  --surface: rgb(255 255 255 / .06);
  --surface-solid: #11434f;
  --border: rgb(255 255 255 / .14);
  --text: #ffffff;
  --muted: #a9c3c8;
  --lime: #a6d017;
  --lime-soft: rgb(166 208 23 / .16);
  --radius: 14px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg-bottom); scroll-padding-top: 72px; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  border-bottom: 10px solid var(--lime);
}
a { color: var(--lime); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- nawigacja: zakładki --- */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(16 69 82 / .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav .inner { max-width: 1040px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 12px; min-height: 60px; }
.site-nav .brand { color: var(--text); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 1.05rem; margin-right: auto; }
.site-nav .brand span { color: var(--lime); }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a.tab {
  display: block; padding: 18px 10px 16px; color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: .9rem; white-space: nowrap; border-bottom: 3px solid transparent;
}
.site-nav a.tab:hover { color: var(--text); }
.site-nav a.tab[aria-current="page"] { color: var(--text); border-bottom-color: var(--lime); }
.site-nav a.tab .ext { color: var(--lime); font-size: .8em; }
@media (max-width: 520px) {
  .site-nav .inner { flex-wrap: wrap; gap: 0; }
  .site-nav .brand { width: 100%; padding-top: 12px; }
  .site-nav ul { width: 100%; justify-content: space-between; }
  .site-nav a.tab { padding: 10px 4px 10px; }
}

/* --- elementy wspólne --- */
.kicker { color: var(--lime); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; margin: 0 0 6px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid var(--lime);
}
.btn.primary { background: var(--lime); color: #0b3945; }
.btn.primary:hover { background: #b8e02a; border-color: #b8e02a; }
.btn.ghost { color: var(--text); }
.btn.ghost:hover { background: var(--lime-soft); }

.site-footer { max-width: 1040px; margin: 0 auto; padding: 32px 16px 40px; color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); }
.site-footer .social { display: flex; gap: 10px; }
.site-footer .social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text);
}
.site-footer .social a { text-decoration: none; }
.site-footer .social a:hover { border-color: var(--lime); color: var(--lime); }
.site-footer .social b { font-size: .85rem; }
.site-footer p { margin: 0; }
.site-footer .social svg { width: 18px; height: 18px; fill: currentColor; }
