/* style.css */

/* ===== Reset (lekki) ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: rgb(10, 10, 12);
  color: gainsboro;
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 12px;
  background: rgb(20, 20, 24);
  color: gainsboro;
  border: 1px solid rgb(80, 80, 90);
  border-radius: 10px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;

  /* Twoje tło */
  background-image: url("tlo.jpg");
  background-size: cover;
  background-position: left 5%;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Przyciemnienie + kontrola kontrastu (filmowy półcień) */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 70% 45%,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.65) 55%,
      rgba(0, 0, 0, 0.80) 100%
    );
}

/* Delikatne “ziarno” (bez instagramu, bardziej film) */
.hero__grain {
  position: absolute;
  inset: -40%;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      rgba(0, 0, 0, 0.00) 2px,
      rgba(0, 0, 0, 0.00) 4px
    );
  transform: rotate(-8deg);
  pointer-events: none;
}

/* Kontener treści */
.hero__wrap {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

/* Pozycja tekstu jak na plakacie: prawa strona, nie centralny “startup” */
.hero__content {
  margin-left: auto;
  width: min(560px, 100%);
  text-align: center;

  /* subtelna “mgła” pod tekstem dla czytelności */
  background: rgba(10, 10, 12, 0.25);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(140, 140, 150, 0.10);
  border-radius: 18px;

  padding: 46px 32px;
}

/* Kicker */
.hero__kicker {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.hero__kicker-line {
  height: 1px;
  background: rgba(190, 190, 200, 0.35);
}
.hero__kicker-text {
  font-size: 16px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: silver;
}

/* Tytuł */
.hero__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 1.02;
  color: gainsboro;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.60);
}

/* Tagline */
.hero__tagline {
  margin: 18px 0 0;
  font-size: clamp(16px, 2.1vw, 22px);
  letter-spacing: 1px;
  color: rgb(190, 190, 196);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.60);
}

/* CTA */
.hero__cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(210, 210, 220, 0.25);
  color: gainsboro;

  text-decoration: none;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.30);
  border-color: rgba(230, 230, 240, 0.35);
}
.btn:active {
  transform: translateY(0px);
}

.btn__arrow {
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
}

/* Mała notka na dole hero (opcjonalnie) */
.hero__note {
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(200, 200, 210, 0.70);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  margin-top: -1px;
  padding: 18px 0 28px;
  background: rgb(10, 10, 12);
  border-top: 1px solid rgba(120, 120, 130, 0.18);
}
.footer__text {
  margin: 0;
  text-align: center;
  color: rgba(200, 200, 210, 0.65);
  font-size: 13px;
  letter-spacing: 1px;
}

/* ===== RWD ===== */
@media (max-width: 900px) {
  .hero__wrap { padding: 56px 0; }
  .hero__content {
    margin-left: 0;
    text-align: center;
    padding: 40px 24px;
  }
}

@media (max-width: 520px) {
  .hero__wrap { width: calc(100% - 26px); }
  .hero__content { padding: 34px 18px; border-radius: 16px; }
  .hero__kicker-text { letter-spacing: 4px; font-size: 14px; }
  .btn { width: 100%; justify-content: center; }
}