/* ================================
   BASE.CSS – WERSJA LITERACKA
   Georgia + Playfair Display
================================ */

:root {
  --paper-bg: #f7efe7;
  --paper-line: #d8c7b8;
  --brown-main: #8b5e3c;
  --brown-dark: #5c3d26;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* HTML */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ================================
   BODY — TEKST GŁÓWNY (Georgia)
================================ */
body {
  -webkit-font-smoothing: antialiased;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 18px;
  line-height: 1.75;

  letter-spacing: -0.01em;

  background-image: url("../img/tlo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #1f1f1f;
}

/* ================================
   MENU + FOOTER (tło wspólne)
================================ */
header,
nav,
footer,
.site-header,
.site-nav,
.site-footer {
  background: transparent;
}

/* ================================
   OBRAZY
================================ */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================================
   NAGŁÓWKI — Playfair Display
================================ */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, serif;

  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.3;

  color: #2a1d14;
}

/* SKALA */
h1 {
  font-size: 34px;
  margin-bottom: 20px;
}

h2 {
  font-size: 30px;
  margin-bottom: 22px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ================================
   AKAPITY
================================ */
p {
  margin-bottom: 18px;
}

/* ================================
   LINKI
================================ */
a {
  color: var(--brown-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d19a6a;
}

/* ================================
   UKŁAD
================================ */
main {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
  body {
    font-size: 17px;
    background-attachment: scroll;
  }
}