/* =========================================================
   Kancelaria Notarialna w Strykowie — style
   Kolor wiodący: bordowy; tła: delikatny beż
   Nagłówki: Playfair Display; tekst: Lato
   ========================================================= */

:root {
  --bordo: #6e1a2b;
  --bordo-ciemny: #4c1120;
  --bordo-jasny: #8d2f42;
  --bordo-tlo: #f4e9ea;

  --zloto: #cba135;

  --bez: #faf6ee;          /* podstawowe "białe" tło */
  --bez-ciemny: #f2ebdd;   /* tło sekcji naprzemiennych */
  --kremowy: #fffdf8;      /* tło kart */

  --tekst: #3b322f;
  --tekst-drugi: #6f6259;
  --linia: rgba(110, 26, 43, 0.15);

  --font-naglowki: "Playfair Display", Georgia, serif;
  --font-tekst: "Lato", "Segoe UI", Arial, sans-serif;

  --nav-h: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-tekst);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tekst);
  background-color: var(--bez);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-naglowki);
  color: var(--bordo-ciemny);
  line-height: 1.25;
}

a {
  color: var(--bordo);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--bordo-ciemny);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Sekcje kotwiczone pod sticky nawigacją */
section[id],
header[id] {
  scroll-margin-top: var(--nav-h);
}

/* ---------- Przyciski ---------- */

.btn {
  border-radius: 62.5rem; /* pełne zaokrąglenie (pill) */
  padding-inline: 1.5em;
}

.btn-bordo {
  --bs-btn-bg: var(--bordo);
  --bs-btn-border-color: var(--bordo);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--bordo-ciemny);
  --bs-btn-hover-border-color: var(--bordo-ciemny);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--bordo-ciemny);
  --bs-btn-active-border-color: var(--bordo-ciemny);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 110, 26, 43;
}

.btn-outline-bordo {
  --bs-btn-color: var(--bordo);
  --bs-btn-border-color: var(--bordo);
  --bs-btn-hover-bg: var(--bordo);
  --bs-btn-hover-border-color: var(--bordo);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--bordo-ciemny);
  --bs-btn-active-border-color: var(--bordo-ciemny);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 110, 26, 43;
}

.btn:hover {
  text-decoration: none;
}

/* ---------- Nawigacja ---------- */

.site-nav {
  min-height: var(--nav-h);
  background-color: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(0.375rem);
  transition: box-shadow 0.25s ease;
}

.site-nav.scrolled {
  box-shadow: 0 0.25rem 1.25rem rgba(76, 17, 32, 0.12);
}

.site-nav .navbar-brand img {
  height: 2.75rem;
  width: auto;
}

.site-nav .nav-link {
  font-family: var(--font-tekst);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tekst);
  padding-block: 0.75em;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: var(--bordo);
}

.site-nav .navbar-toggler {
  border-color: var(--linia);
}

.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236e1a2b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-cta {
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- Hero ---------- */

.hero {
  /* pełna wysokość ekranu, ale rośnie, gdy treść się nie mieści */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  /* zdjęcie w tle + bordowa blenda */
  background:
    linear-gradient(to bottom, rgba(60, 12, 24, 0.88), rgba(110, 26, 43, 0.72) 55%, rgba(60, 12, 24, 0.88)),
    url("../img/hero-background.jpg") center / cover no-repeat;
}

.hero-ilustracja {
  max-width: 45rem;
  margin: 0 auto 2rem;
}

.hero-ilustracja img {
  height: 18.75rem; /* ~300 px na ilustrację SVG */
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0.5rem 1.5rem rgba(0, 0, 0, 0.35));
}

.hero-tytul {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.3);
}

.hero-podtytul {
  font-family: var(--font-naglowki);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: #fff;
  margin-bottom: 0;
  text-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.3);
}

.hero-separator {
  width: 4.5rem;
  height: 0.1875rem;
  background-color: var(--zloto);
  margin: 1.75rem auto 2rem;
  border-radius: 62.5rem;
}

.hero-akcje {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero .btn-light {
  --bs-btn-color: var(--bordo-ciemny);
  --bs-btn-hover-color: var(--bordo);
  font-weight: 700;
}

.hero .btn-outline-light {
  font-weight: 700;
}

/* ---------- Sekcje: wspólne ---------- */

.sekcja {
  padding: 5rem 0;
  background-color: var(--bez);
}

.sekcja--alt {
  background-color: var(--bez-ciemny);
}

.sekcja-naglowek {
  max-width: 50rem;
  margin: 0 auto 3.5rem;
}

.sekcja-naglowek h2 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 1rem;
}

.sekcja-naglowek h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4.5rem;
  height: 0.1875rem;
  background-color: var(--bordo);
  border-radius: 62.5rem;
}

.sekcja-lead {
  color: var(--tekst-drugi);
  font-size: 1.0625rem;
}

.sekcja-lead:last-child {
  margin-bottom: 0;
}

/* ---------- Czynności notarialne ---------- */

.usluga {
  margin-bottom: 4rem;
}

.usluga:last-of-type {
  margin-bottom: 3rem;
}

.usluga-foto {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgba(76, 17, 32, 0.14);
}

.usluga h3 {
  font-size: 1.625rem;
  margin-bottom: 0.75rem;
}

.usluga-wstep {
  font-weight: 700;
  color: var(--bordo);
  margin-bottom: 0.75rem;
}

.lista-czynnosci {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lista-czynnosci li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.lista-czynnosci li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--bordo);
  border-radius: 50%;
  opacity: 0.75;
}

@media (min-width: 62em) {
  .lista-czynnosci--kolumny {
    columns: 2;
    column-gap: 2.5rem;
  }

  .lista-czynnosci--kolumny li {
    break-inside: avoid;
  }
}

.czynnosci-info {
  max-width: 50rem;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 0.0625rem solid var(--linia);
  text-align: center;
  color: var(--tekst-drugi);
}

.czynnosci-cta {
  margin: 2rem 0 1.5rem;
  font-weight: 700;
  color: var(--tekst);
}

/* ---------- Opłaty ---------- */

.oplaty-podtytul {
  font-size: 1.375rem;
  margin-bottom: 2.5rem;
}

.oplata-karta {
  height: 100%;
  background-color: var(--kremowy);
  border: 0.0625rem solid var(--linia);
  border-top: 0.25rem solid var(--bordo);
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(76, 17, 32, 0.07);
}

.oplata-numer {
  display: block;
  font-family: var(--font-naglowki);
  font-size: 2rem;
  font-weight: 600;
  color: var(--bordo);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.oplata-karta p {
  margin: 0;
}

.konto-box {
  max-width: 38rem;
  margin: 3.5rem auto 0;
  padding: 2.25rem 2rem;
  background-color: var(--bordo);
  color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgba(76, 17, 32, 0.25);
}

.konto-etykieta {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.konto-nazwa {
  font-family: var(--font-naglowki);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.konto-bank {
  opacity: 0.85;
  margin-bottom: 1rem;
}

.konto-numer {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---------- Kancelaria (galeria) ---------- */

.galeria-swiper {
  --swiper-theme-color: var(--bordo);
  --swiper-navigation-size: 1.5rem;
  padding-bottom: 3rem; /* miejsce na paginację */
}

.galeria-link {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(76, 17, 32, 0.12);
}

.galeria-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.galeria-link:hover img {
  transform: scale(1.04);
}

.galeria-swiper .swiper-button-prev,
.galeria-swiper .swiper-button-next {
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--kremowy);
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.75rem rgba(76, 17, 32, 0.18);
}

/* ---------- Kontakt ---------- */

.kontakt-dane {
  height: 100%;
  background-color: var(--kremowy);
  border: 0.0625rem solid var(--linia);
  border-radius: 0.5rem;
  padding: 2.25rem 2rem;
}

.kontakt-nazwa {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.kontakt-notariusz {
  font-family: var(--font-naglowki);
  font-size: 1.125rem;
  color: var(--bordo);
  margin-bottom: 1.25rem;
}

.kontakt-dane address {
  margin-bottom: 1.25rem;
}

.kontakt-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kontakt-lista li {
  margin-bottom: 0.375em;
}

.kontakt-lista li span {
  font-weight: 700;
  margin-right: 0.375em;
}

.kontakt-godziny-tytul {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}

.kontakt-lista--godziny li span {
  display: inline-block;
  min-width: 11.5em;
  font-weight: 400;
  color: var(--tekst-drugi);
}

.mapa {
  height: 100%;
  min-height: 22rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(76, 17, 32, 0.12);
}

.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  display: block;
}

.info-karta {
  height: 100%;
  background-color: var(--bordo-tlo);
  border-left: 0.25rem solid var(--bordo);
  border-radius: 0.375rem;
  padding: 1.5rem 1.75rem;
}

.info-karta h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.info-karta p {
  margin: 0;
  color: var(--tekst-drugi);
}

/* ---------- Stopka ---------- */

.stopka {
  background-color: var(--bordo-ciemny);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0;
  font-size: 0.9375rem;
}

.stopka a {
  color: #fff;
  font-weight: 700;
}

.stopka a:hover {
  color: #fff;
  text-decoration: underline;
}

.stopka-separator {
  margin: 0 0.75em;
  opacity: 0.5;
}

/* ---------- Drobne korekty mobilne ---------- */

@media (max-width: 61.9375em) {
  .site-nav .navbar-collapse {
    padding-bottom: 1rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
    display: inline-block;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .sekcja {
    padding: 3.5rem 0;
  }

  .usluga {
    margin-bottom: 3rem;
  }
}
