/*
Theme Name: GK Trybuny
Theme URI: https://www.gadzetykibicowskie.pl/
Author: GadzetyKibicowskie.pl
Description: Lekki, responsywny motyw katalogowy dla produkcji gadzetow kibicowskich.
Version: 1.0.0
Text Domain: gk-trybuny
*/

:root {
  --ink: #101111;
  --paper: #f3f0e8;
  --white: #fff;
  --red: #e32119;
  --red-dark: #a80f0b;
  --lime: #d9ff42;
  --line: rgba(255, 255, 255, .16);
  --muted: #b7b7b2;
  --radius: 4px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .22;
  background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgba(16,17,17,.055) 22px 23px);
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 999; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 16px; clip: auto; color: #000; background: var(--lime); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand__mark {
  display: grid; width: 48px; height: 48px; place-items: center; flex: 0 0 auto;
  border: 2px solid var(--white); background: var(--red); transform: rotate(-3deg);
  font: 900 30px/1 Impact, "Arial Narrow", sans-serif; box-shadow: 5px 5px 0 rgba(0,0,0,.35);
}
.brand__name { display: block; font: 900 20px/.95 "Arial Narrow", Arial, sans-serif; letter-spacing: -.6px; text-transform: uppercase; }
.brand__tag { display: block; margin-top: 5px; color: #ddd; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--lime); }
.site-nav .nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.55); }

.hero {
  position: relative; min-height: 720px; display: grid; align-items: end; overflow: hidden; color: #fff;
  background: #111 center 35% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,4,4,.95) 0%, rgba(4,4,4,.73) 43%, rgba(4,4,4,.18) 80%), linear-gradient(0deg, rgba(4,4,4,.9), transparent 45%); }
.hero::after { content: ""; position: absolute; inset: auto -8% -75px -8%; height: 140px; background: var(--paper); transform: rotate(-2.3deg); transform-origin: center; }
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: 190px 0 150px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 42px; height: 4px; background: var(--red); }
.hero h1, .section-title, .entry-title {
  margin: 0; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-weight: 900; letter-spacing: -.025em; line-height: .92; text-transform: uppercase;
}
.hero h1 { max-width: 820px; font-size: clamp(58px, 9.3vw, 120px); text-wrap: balance; text-shadow: 0 5px 30px rgba(0,0,0,.35); }
.hero h1 span { color: var(--red); }
.hero__lead { max-width: 610px; margin: 26px 0 32px; color: #eee; font-size: clamp(18px, 2vw, 22px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border: 2px solid var(--red); color: #fff; background: var(--red); font-size: 13px; font-weight: 900; letter-spacing: 1.2px; text-decoration: none; text-transform: uppercase; box-shadow: 7px 7px 0 rgba(0,0,0,.26); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translate(3px,3px); box-shadow: 3px 3px 0 rgba(0,0,0,.3); background: var(--red-dark); }
.button--light { border-color: #fff; color: #111; background: #fff; box-shadow: 7px 7px 0 rgba(0,0,0,.22); }

.trust-strip { position: relative; z-index: 3; margin-top: -50px; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.trust-item { min-height: 112px; padding: 24px 30px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; margin-bottom: 3px; color: var(--lime); font: 900 22px/1.1 "Arial Narrow", Arial, sans-serif; text-transform: uppercase; }
.trust-item span { color: var(--muted); font-size: 14px; }

.offer { padding: 120px 0 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-title { max-width: 720px; font-size: clamp(48px, 7vw, 82px); }
.section-copy { max-width: 390px; margin: 0 0 5px; color: #555; }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 20px; }
.product-card { position: relative; grid-column: span 4; min-height: 480px; overflow: hidden; color: #fff; background: #202020; }
.product-card:nth-child(1), .product-card:nth-child(5) { grid-column: span 8; }
.product-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__image { transform: scale(1.035); }
.product-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: repeating-linear-gradient(-45deg,#1d1d1d 0 28px,#252525 28px 56px); color: rgba(255,255,255,.07); font: 900 260px/1 Impact, sans-serif; }
.product-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.94), rgba(0,0,0,0) 68%); }
.product-card__content { position: absolute; inset: auto 0 0; padding: 28px; }
.product-card__num { display: block; margin-bottom: 10px; color: var(--lime); font: 900 12px/1 Arial, sans-serif; letter-spacing: 2px; }
.product-card h3 { margin: 0; font: 900 clamp(34px,4vw,52px)/.95 Impact, "Arial Narrow", sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
.product-card p { max-width: 470px; margin: 12px 0 0; color: #ddd; font-size: 15px; }
.product-card__link { position: absolute; inset: 0; z-index: 2; }
.product-card__arrow { position: absolute; z-index: 1; right: 26px; bottom: 29px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.5); font-size: 24px; }

.process { padding: 105px 0; color: #fff; background: var(--ink); }
.process .section-heading { margin-bottom: 55px; }
.process .section-copy { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.step { position: relative; padding: 38px 38px 0 0; }
.step + .step { padding-left: 38px; border-left: 1px solid var(--line); }
.step__number { display: block; margin-bottom: 28px; color: var(--red); font: 900 44px/1 Impact, sans-serif; }
.step h3 { margin: 0 0 12px; font: 900 23px/1.1 "Arial Narrow", Arial, sans-serif; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.cta { position: relative; overflow: hidden; padding: 96px 0; color: #fff; background: var(--red); }
.cta::before { content: "GK"; position: absolute; right: -30px; top: -95px; color: rgba(0,0,0,.11); font: 900 330px/1 Impact, sans-serif; transform: rotate(-8deg); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 760px; margin: 0; font: 900 clamp(44px,7vw,82px)/.92 Impact, "Arial Narrow", sans-serif; text-transform: uppercase; }
.cta p { margin: 20px 0 0; font-weight: 700; }

.site-footer { padding: 55px 0 35px; color: #fff; background: #080808; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 35px; padding-bottom: 42px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: #ccc; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: #777; font-size: 12px; }

.inner-hero { position: relative; min-height: 390px; display: flex; align-items: end; padding: 170px 0 70px; overflow: hidden; color: #fff; background: #111 center/cover no-repeat; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.93),rgba(0,0,0,.44)), linear-gradient(0deg,rgba(0,0,0,.7),transparent); }
.inner-hero .wrap { position: relative; }
.entry-title { max-width: 920px; font-size: clamp(52px,8vw,96px); }
.entry-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 80px 0 110px; }
.entry-content { font-size: 18px; }
.entry-content > h1:first-child { display: none; }
.entry-content h2, .entry-content h3 { margin-top: 2em; font-family: "Arial Narrow",Arial,sans-serif; line-height: 1.15; text-transform: uppercase; }
.entry-content a { color: var(--red-dark); font-weight: 700; }
.entry-content img { margin: 36px auto; box-shadow: 12px 12px 0 #151515; }
.entry-featured { width: 100%; max-height: 620px; margin: 0 0 46px; object-fit: contain; background: #fff; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--red-dark); font-size: 13px; font-weight: 900; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.not-found { min-height: 75vh; display: grid; place-items: center; padding-top: 100px; text-align: center; }
.not-found .entry-title { margin-bottom: 22px; }

@media (max-width: 850px) {
  .site-header__inner { min-height: 78px; }
  .brand__tag { display: none; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 650px; }
  .hero__content { padding: 160px 0 125px; }
  .trust-strip__inner, .steps { grid-template-columns: 1fr; }
  .trust-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading, .cta__inner { align-items: start; flex-direction: column; }
  .product-card, .product-card:nth-child(1), .product-card:nth-child(5) { grid-column: span 6; min-height: 420px; }
  .step, .step + .step { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .wrap, .entry-shell { width: min(calc(100% - 28px), var(--max)); }
  .brand__mark { width: 42px; height: 42px; font-size: 27px; }
  .brand__name { font-size: 16px; }
  .site-nav .nav-cta { padding: 9px 11px; font-size: 11px; }
  .hero { min-height: 610px; }
  .hero__content { padding-top: 145px; }
  .hero__lead { font-size: 17px; }
  .trust-strip { margin-top: -30px; }
  .offer, .process { padding: 80px 0; }
  .product-grid { display: block; }
  .product-card { min-height: 410px; margin-bottom: 14px; }
  .product-card__content { padding: 23px; }
  .product-card__arrow { display: none; }
  .cta { padding: 72px 0; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .inner-hero { min-height: 340px; padding-top: 145px; }
  .entry-shell { padding: 58px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
