/* wrzaca.pl - styl na bazie logo: czerwień, biel, czerń, gruba typografia */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --czerwony: #c41212;
  --czerwony-ciemny: #9c0e0e;
  --czarny: #141414;
  --bialy: #fff;
  --krem: #f7f6f2;
  --szary: #6d6d6d;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  background: var(--bialy);
  color: var(--czarny);
  line-height: 1.7;
  font-size: 17px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.1;
}

/* ---------- nawigacja ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3000;
  background: rgba(20, 20, 20, .55);
}
.nav .wrap { display: flex; align-items: center; justify-content: flex-end; height: 84px; position: relative; }
.nav .logo { position: absolute; top: 0; left: 24px; }
.nav .logo img { height: 112px; display: block; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); transition: height .25s ease; }
.nav.zwinieta .logo img { height: 64px; }
.nav ul { display: flex; list-style: none; }
.nav ul a {
  display: block; padding: 31px 15px;
  color: var(--bialy); text-decoration: none;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-bottom: 3px solid transparent;
}
.nav ul a:hover { border-bottom-color: var(--czerwony); }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 80svh; min-height: 560px;
  display: flex; align-items: flex-end;
  background: url("images/panorama2.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%);
}
.hero .wrap { position: relative; width: 100%; padding-bottom: 44px; color: var(--bialy); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.hero p {
  margin-top: 10px; font-size: clamp(16px, 2vw, 19px); font-weight: 500;
  max-width: 620px; text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.hero .przyciski { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 28px;
  font-family: "Anton", sans-serif; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-czerwony { background: var(--czerwony); color: var(--bialy); }
.btn-czerwony:hover { background: var(--czerwony-ciemny); }
.btn-bialy { background: var(--bialy); color: var(--czarny); }

/* ---------- tagi przysiółków w hero ---------- */
.hero .tagi { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 760px; }
.hero .tagi span {
  width: 100%; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  opacity: .8; margin-bottom: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.hero .tagi a {
  display: inline-block; padding: 6px 12px;
  font-family: "Anton", sans-serif; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--bialy); text-decoration: none;
  background: rgba(20,20,20,.55); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px);
  transition: background .15s, border-color .15s;
}
.hero .tagi a:hover { background: var(--czerwony); border-color: var(--czerwony); }
@media (max-width: 600px) { .hero .tagi a { font-size: 12px; padding: 5px 9px; } }

/* ---------- sekcje ---------- */
section.blok { padding: 88px 0; }
section.blok.ciemna { background: var(--czarny); color: var(--bialy); }
section.blok.krem { background: var(--krem); }

.etykieta {
  display: inline-block; color: var(--czerwony);
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 10px;
}
section.blok h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 28px; }

/* ---------- mapa full width ---------- */
#mapa { padding-bottom: 0; }
#mapa .naglowek-mapy { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
#mapa .naglowek-mapy h2 { margin-bottom: 0; }
#mapa .naglowek-mapy p { max-width: 440px; color: var(--szary); }
.mapa-ramka {
  width: 100%; height: min(72svh, 660px); border: 0; display: block;
  border-top: 4px solid var(--czarny);
}

/* ---------- historia ---------- */
.kolumny { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.kolumny > div { min-width: 0; }
.kolumny h3 { font-size: 22px; margin: 26px 0 8px; color: #ff5a5a; }
.kolumny h3:first-child { margin-top: 0; }
.kolumny p { margin-bottom: 14px; }
.wciecie {
  border-left: 4px solid var(--czerwony);
  padding: 6px 0 6px 22px;
  font-size: 21px; font-weight: 600; line-height: 1.5;
}

/* figura z kroniki (w ciemnych sekcjach) */
.figura-kroniki { margin: 18px 0 0; }
.figura-kroniki a { display: block; }
.figura-kroniki img {
  width: 100%; display: block; border: 3px solid #fff;
  transition: transform .2s;
}
.figura-kroniki a:hover img { transform: scale(1.015); }
.figura-kroniki figcaption { font-size: 13px; color: #9a9a9a; margin-top: 8px; }
.figura-kroniki figcaption a { color: #ff5a5a; text-decoration: none; font-weight: 600; }
.figura-kroniki figcaption a:hover { text-decoration: underline; }

/* ---------- galeria ---------- */
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.galeria a { display: block; overflow: hidden; background: var(--czarny); }
.galeria a.szeroka { grid-column: span 2; }
.galeria img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 16 / 7; transition: transform .4s, opacity .3s;
}
.galeria a:not(.szeroka) img { aspect-ratio: 16 / 9; }
.galeria a:hover img { transform: scale(1.03); opacity: .92; }

/* ---------- informator (karty, też te "wkrótce") ---------- */
.karty { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.karta {
  background: var(--bialy); border-top: 4px solid var(--czerwony);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  padding: 24px; position: relative;
}
.karta h3 { font-size: 19px; margin-bottom: 8px; }
.karta p { font-size: 15px; color: #3c3c3c; }
.karta a { color: var(--czerwony); font-weight: 600; text-decoration: none; }
.karta a:hover { text-decoration: underline; }
.karta.wkrotce { border-top-color: #d9d6cd; box-shadow: none; background: transparent; border: 1px dashed #cfccc2; border-top: 4px solid #d9d6cd; }
.karta.wkrotce h3 { color: #9b988e; padding-right: 88px; }
.karta.wkrotce p { color: #9b988e; }
.karta.wkrotce::after {
  content: "wkrótce"; position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #9b988e; border: 1px solid #cfccc2; padding: 2px 8px;
}

/* ---------- stopka ---------- */
footer { background: var(--czarny); color: #9a9a9a; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
footer img { height: 44px; }
footer a { color: #ccc; }

@media (max-width: 760px) {
  .nav .wrap { height: 64px; }
  .nav .logo { left: 12px; }
  .nav .logo img { height: 76px; }
  .nav ul a { padding: 21px 8px; font-size: 11px; letter-spacing: 1px; }
  .kolumny { grid-template-columns: 1fr; gap: 10px; }
  .galeria { grid-template-columns: 1fr; }
  .galeria a.szeroka { grid-column: span 1; }
  section.blok { padding: 60px 0; }
}
