:root {
  --brand-bordo: #800000;
  --text: #111;
  --muted: #666;
  --max-width: 1100px;
}

/* RESET i GLOBALNE USTAWIENIA */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

/* --- HERO --- */
.hero {
  position: relative;
  text-align: center;
  padding: 64px 20px 30px;
  overflow: hidden;
    background-image: url(tl.jpg)
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
 background: rgba(255, 255, 255, 0.25); /* półprzezroczyste białe tło */
  backdrop-filter: blur(10px); /* efekt mlecznej szyby */
  -webkit-backdrop-filter: blur(10px); /* wsparcie dla Safari */
  color: #000;
border-radius: 5px;
    padding: 20px;

}

.hero-title {
  margin: 0 0 12px 0;
  font-size: 54px;
  line-height: 1.15;
  text-transform: uppercase;
  font-weight: 1200;
  font-family: 'Montserrat', sans-serif;

}

.hero-sub {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.5;
  color: var;
  font-family: 'Montserrat', sans-serif;
}

/* OBRAZEK W HERO */
.hero-image {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease;
  display: none;
}

/* --- SEKCJE FAKTÓW I DODATKOWE --- */
.facts-section {
  background-color: #f9f9f9;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 12px;
}

.facts-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #111;
}

.facts-section h4 {
  text-align: center;
  font-weight: 400;
  color: var(--muted);
}

.fact {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  padding: 25px;
  margin-bottom: 24px;
    margin-top: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.fact h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.fact p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* --- LINK POWROTNY --- */
.back-link {
  text-decoration: none;
  color: var(--brand-bordo);
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.back-link:hover {
  color: #c00;
}

/* --- FEATURES (4 karty w szerokości) --- */
.features {
  max-width: var(--max-width);
  margin: 8px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 0 20px 60px;
}

.card {
  flex: 1 1 calc(25% - 24px);
  max-width: calc(25% - 24px);
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.card:hover {
  background-color: lightgrey;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
}

.card-title {
  margin: 12px 8px 6px 8px;
  font-size: 18px;
  font-weight: 600;
  word-wrap: break-word;
  font-family: 'Montserrat', sans-serif;
}

.card-sub {
  margin: 0 10px 16px 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid #eee;
  padding: 20px 140px;
  text-align: center;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
}

.news-note {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--muted);
  margin: 20px 0 0px;
}
.highlight {
  background-color: #fff7a3;
  padding: 0 3px;
  border-radius: 4px;
}
.bohater-section {
  background-color: #f9f9f9;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 12px;
}

.bohater-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.bohater-sub {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  font-weight: 400;
}

.bohater-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.bohater-image {
  flex: 1 1 40%;
  text-align: center;
}

.bohater-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.bohater-text {
  flex: 1 1 55%;
}

.bohater-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.bohater-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
    padding: 20px;
}

.bohater-text mark {
  background-color: yellow;
  font-weight: 600;
}

/* Link powrotu */
.back-link {
  color: #800000;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}
/* --- SEKCJA DEEPFAKE --- */
.deepfake-section {
  background-color: #f9f9f9;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 12px;
}

.deepfake-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.deepfake-sub {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  font-weight: 400;
}

.deepfake-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.deepfake-image {
  flex: 1 1 40%;
  text-align: center;
}

.deepfake-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.deepfake-text {
  flex: 1 1 55%;
}

.deepfake-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.deepfake-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* --- SEKCJA BRAWO POLSKA --- */
.brawo-section {
  background-color: #f9f9f9;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 12px;
}

.brawo-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.brawo-sub {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  font-weight: 400;
}

.brawo-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.brawo-image {
  flex: 1 1 40%;
  text-align: center;
}

.brawo-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.brawo-text {
  flex: 1 1 55%;
}

.brawo-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.brawo-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* Duże laptopy */
@media (max-width: 1200px) {
  .card-title { font-size: 16px; }
  .card-sub { font-size: 13px; }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: grey;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  font-size: 14px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cookie-banner p {
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
    font-size: 12px;
}

.cookie-banner button {
  background: #fff;
  color: #222;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner button:hover {
  background: #ddd;
}
/* Tablety i mniejsze laptopy */
@media (max-width: 900px) {
  .card {
    flex: 1 1 calc(25% - 16px);
    max-width: calc(25% - 16px);
  }
  .features { gap: 16px; }
}

/* Telefony – 4 mniejsze karty w rzędzie */
@media (max-width: 760px) {
  .hero {
    padding-top: 0px;
  }

  .hero-image {
    position: static;
    display: block;
    margin: 10px auto;
    width: 60px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .features {
    gap: 10px;
    padding: 0 10px 40px;
  }

  .card {
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 10px);
  }

  .card-title {
    font-size: 12px;
    margin: 8px 4px 4px;
  }

  .card-sub {
    font-size: 10px;
    margin: 0 4px 8px;
  }

  .facts-title {
    font-size: 20px;
  }

  .facts-section {
    padding: 40px 15px;
  }
    .site-footer {
  border-top: 1px solid #eee;
  padding: 20px 14px;
  text-align: center;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
}
    .footer-inner{font-size: 14px;}
     .bohater-content {
    flex-direction: column;
    text-align: center;
  }

  .bohater-image img {
    max-width: 90%;
    margin-bottom: 20px;
  }

  .bohater-text {
    text-align: left;
  }
.deepfake-content,
  .brawo-content {
    flex-direction: column;
    text-align: center;
  }

  .deepfake-image img,
  .brawo-image img {
    max-width: 90%;
    margin-bottom: 20px;
  }

  .deepfake-text,
  .brawo-text {
    text-align: left;
  }
}
