/* =========================================================
   Bogusława Okrzeszowska Fotografia – wygląd strony
   Styl: czerń i biel, wysoki kontrast, czytelne napisy
   ========================================================= */
:root {
  --czarny: #111111;
  --grafit: #222222;
  --tekst: #1d1d1d;
  --szary: #4f4f4f;        /* tekst pomocniczy – dobrze czytelny */
  --linia: #d9d9d9;
  --jasny: #f4f4f4;
  --bialy: #ffffff;
  --akcent: #b08d57;       /* delikatne złoto – tylko drobne detale */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --pismo: "Great Vibes", "Cormorant Garamond", cursive;
  --szer: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; color: var(--tekst); background: var(--bialy); line-height: 1.75; font-size: 18px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--czarny); }
h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.9rem; }

.nadtytul { font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grafit); margin-bottom: 1rem; font-weight: 500; }
section { padding: clamp(5rem, 9vw, 8rem) clamp(1.4rem, 5vw, 4rem); }
.sekcja-tytul { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.sekcja-tytul h2::after { content: ""; display: block; width: 60px; height: 2px; background: var(--czarny); margin: 1.4rem auto 0; }
.sekcja-opis { color: var(--szary); }
.srodek { text-align: center; margin-top: 3rem; }

/* ---------- przyciski ---------- */
.przycisk { display: inline-block; background: var(--czarny); color: var(--bialy); padding: 1.1rem 2.4rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--czarny); cursor: pointer; transition: .3s; }
.przycisk:hover { background: var(--bialy); color: var(--czarny); }
.przycisk-jasny { background: transparent; color: var(--czarny); }
.przycisk-jasny:hover { background: var(--czarny); color: var(--bialy); }
.link-strzalka { font-size: .95rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; position: relative; padding-right: 2.6rem; color: var(--czarny); }
.link-strzalka::after { content: ""; position: absolute; right: 0; top: 50%; width: 1.8rem; height: 2px; background: currentColor; transition: .3s; }
.link-strzalka:hover::after { width: 2.4rem; }

/* ---------- zdjęcia ---------- */
.foto { width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.foto.zastepcze { background: linear-gradient(150deg, #e9e9e9 0%, #cfcfcf 55%, #b5b5b5 100%); }
.foto.zastepcze::after { content: attr(data-podpis); position: absolute; inset: auto 0 1rem 0; text-align: center; font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.95); font-size: 1.2rem; }
.foto-pion { aspect-ratio: 4 / 5; }

/* ---------- nagłówek ---------- */
.naglowek { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1.4rem clamp(1.4rem, 5vw, 4rem); transition: .35s; color: var(--bialy); }
.naglowek.przewiniety { background: rgba(255,255,255,.97); color: var(--czarny); box-shadow: 0 1px 0 var(--linia); padding-top: .8rem; padding-bottom: .8rem; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-nazwa { font-family: var(--pismo); font-size: 2.3rem; font-weight: 400; white-space: nowrap; }
.logo-dopisek { font-family: var(--sans); font-size: .9rem; letter-spacing: .35em; text-transform: lowercase; margin-top: .2rem; font-weight: 500; }
.menu { display: flex; gap: clamp(1.2rem, 2vw, 2.2rem); align-items: center; }
.menu a { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; position: relative; white-space: nowrap; }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: currentColor; transition: .3s; }
.menu a:hover::after { width: 100%; }
.menu-cta { border: 2px solid currentColor; padding: .55rem 1.3rem; transition: .3s; }
.naglowek:not(.przewiniety) .menu-cta:hover { background: var(--bialy); color: var(--czarny); }
.naglowek.przewiniety .menu-cta:hover { background: var(--czarny); color: var(--bialy); }
.menu-przycisk { display: none; background: none; border: 0; width: 34px; height: 22px; position: relative; cursor: pointer; z-index: 60; color: inherit; }
.menu-przycisk span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: .3s; }
.menu-przycisk span:first-child { top: 4px; } .menu-przycisk span:last-child { bottom: 4px; }
.menu-otwarte .menu-przycisk span:first-child { top: 10px; transform: rotate(45deg); }
.menu-otwarte .menu-przycisk span:last-child { bottom: 10px; transform: rotate(-45deg); }

/* ---------- start: zdjęcie na całą szerokość ---------- */
.start { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--czarny); color: var(--bialy); padding-top: 8rem; overflow: hidden; }
.start-zdjecie { position: absolute; inset: 0; }
.start-tlo { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(30px) brightness(.6); }
.start-tlo.zastepcze { display: none; }
.start-zdjecie .foto { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; background-repeat: no-repeat; background-size: auto var(--skala, 100%); background-position: center var(--pozycja, 20%); }
@media (max-aspect-ratio: 1/1) { .start-zdjecie .foto { background-size: cover; } }
.start-zdjecie .foto.zastepcze { background: radial-gradient(ellipse at 60% 40%, #4a4a4a 0%, #1c1c1c 60%, #0d0d0d 100%); }
.start-zdjecie .foto.zastepcze::after { content: ""; }
.start-zdjecie::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.start-ramka { display: none; }
.start-tekst { position: relative; z-index: 2; max-width: 900px; }
.start .nadtytul { color: var(--bialy); }
.haslo { font-family: var(--serif); font-weight: 700; text-transform: uppercase; line-height: 1.15; letter-spacing: .02em; font-size: clamp(2.2rem, 5vw, 4rem); color: var(--bialy); }
.h1-seo { font-family: var(--sans); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bialy); font-weight: 500; margin-top: 1.6rem; line-height: 1.6; }
.start-opis { max-width: 36rem; margin: 1.6rem auto 2.6rem; color: rgba(255,255,255,.92); font-size: 1.1rem; }
.start-przyciski { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.start .przycisk { background: var(--bialy); color: var(--czarny); border-color: var(--bialy); }
.start .przycisk:hover { background: transparent; color: var(--bialy); }
.start .przycisk-jasny { background: transparent; color: var(--bialy); }
.start .przycisk-jasny:hover { background: var(--bialy); color: var(--czarny); }

/* ---------- pasek „Jesteś…” ---------- */
.jestes { padding: 2rem 0; background: var(--czarny); overflow: hidden; }
.jestes-pasek { display: flex; gap: 4rem; width: max-content; animation: pasek 40s linear infinite; }
.jestes-pasek span { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; white-space: nowrap; color: #bdbdbd; text-transform: uppercase; letter-spacing: .06em; }
.jestes-pasek em { color: var(--bialy); font-style: normal; font-weight: 700; }
.jestes-pasek span::after { content: "✦"; font-size: .9rem; color: var(--akcent); margin-left: 4rem; vertical-align: middle; }
@keyframes pasek { to { transform: translateX(-50%); } }

/* ---------- o mnie ---------- */
.o-mnie { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; max-width: 1100px; margin: 0 auto; }
.o-mnie-zdjecie .foto { aspect-ratio: 1 / 1; border-radius: 50%; }
.o-mnie-tekst p:not(.nadtytul):not(.podpis) { color: var(--szary); margin-bottom: 1.2rem; }
.podpis { font-family: var(--pismo); font-size: 3rem; color: var(--czarny); margin-top: .6rem; }

/* ---------- sesje ---------- */
.sesje { background: var(--jasny); }
.sesje-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; max-width: var(--szer); margin: 0 auto; }
a.sesja { display: block; background: var(--bialy); padding-bottom: 2rem; text-align: center; transition: box-shadow .3s; }
a.sesja:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.sesja-okno { overflow: hidden; margin-bottom: 1.6rem; }
.sesja .foto { aspect-ratio: 3 / 4; transition: transform 1s ease; }
.sesja:hover .foto { transform: scale(1.04); }
.sesja h3, .sesja p, .sesja .link-strzalka { margin-left: 1.6rem; margin-right: 1.6rem; }
.sesja h3 { margin-bottom: .6rem; text-transform: uppercase; font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; }
.sesja p { color: var(--szary); font-size: 1rem; }
.sesja-nr { display: none; }
a.sesja .link-strzalka { display: inline-block; margin-top: 1.2rem; }

/* ---------- przebieg ---------- */
.przebieg-lista { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: var(--szer); margin: 0 auto; counter-reset: krok; }
.przebieg-lista li { counter-increment: krok; border-top: 2px solid var(--czarny); padding-top: 1.6rem; }
.przebieg-lista li::before { content: "0" counter(krok); font-family: var(--serif); font-weight: 700; font-size: 2.8rem; color: var(--czarny); display: block; line-height: 1; margin-bottom: .8rem; }
.przebieg-lista h3 { font-size: 1.5rem; margin-bottom: .5rem; font-weight: 700; }
.przebieg-lista p { color: var(--szary); font-size: 1rem; }

/* ---------- portfolio ---------- */
.portfolio { background: var(--bialy); }
.filtry { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filtry a, .filtry button { background: none; border: 2px solid transparent; padding: .6rem 1.3rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--szary); cursor: pointer; transition: .3s; }
.filtry a.aktywny, .filtry a:hover, .filtry button.aktywny { border-color: var(--czarny); color: var(--czarny); }
.galeria { columns: 3 280px; column-gap: 1rem; max-width: var(--szer); margin: 0 auto; }
.galeria-el { break-inside: avoid; margin-bottom: 1rem; cursor: zoom-in; overflow: hidden; }
.galeria-el .foto { transition: transform 1s ease; }
.galeria-el:hover .foto { transform: scale(1.03); }
.galeria-el:nth-child(3n+1) .foto { aspect-ratio: 4/5; }
.galeria-el:nth-child(3n+2) .foto { aspect-ratio: 3/4; }
.galeria-el:nth-child(3n) .foto { aspect-ratio: 1/1; }

/* ---------- opinie ---------- */
.opinie { background: var(--czarny); color: var(--bialy); text-align: center; }
.opinie .nadtytul { color: var(--bialy); }
.opinie-wnetrze { max-width: 860px; margin: 0 auto; }
.opinie-slajdy { display: grid; }
.opinia { grid-area: 1 / 1; opacity: 0; transition: opacity 1s; pointer-events: none; }
.opinia.aktywna { opacity: 1; pointer-events: auto; }
.opinia blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.45; font-weight: 500; }
.opinia cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: #d0d0d0; }
.opinie-kropki { display: flex; justify-content: center; gap: .8rem; margin-top: 2.6rem; }
.opinie-kropki button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--bialy); background: none; cursor: pointer; }
.opinie-kropki button.aktywna { background: var(--bialy); }

/* ---------- cennik ---------- */
.cennik { background: var(--jasny); }
.pakiety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1100px; margin: 0 auto; }
.pakiet { background: var(--bialy); padding: 3rem 2.2rem; text-align: center; display: flex; flex-direction: column; border: 2px solid transparent; position: relative; }
.pakiet.wyrozniony { border-color: var(--czarny); }
.pakiet.wyrozniony::before { content: "Najczęściej wybierany"; position: absolute; top: -.9rem; left: 50%; transform: translateX(-50%); background: var(--czarny); color: var(--bialy); font-size: .75rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; padding: .3rem 1rem; white-space: nowrap; }
.pakiet h3 { font-size: 2rem; text-transform: uppercase; font-weight: 700; }
.pakiet-cena { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--czarny); margin: .4rem 0 1.6rem; }
.pakiet ul { list-style: none; flex: 1; margin-bottom: 2rem; }
.pakiet li { padding: .65rem 0; border-bottom: 1px solid var(--linia); font-size: 1rem; color: var(--szary); }

/* ---------- blog ---------- */
.blog-skrot { background: var(--bialy); }
.wpisy-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.4rem; max-width: var(--szer); margin: 0 auto; }
.wpis-karta .foto { aspect-ratio: 3 / 2; margin-bottom: 1.3rem; }
.wpis-karta h3 { font-size: 1.7rem; margin-bottom: .5rem; font-weight: 700; }
.wpis-karta p { color: var(--szary); font-size: 1rem; }
.wpis-data { font-size: .85rem !important; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--grafit) !important; margin-bottom: .5rem; }
.blog-tresc { padding-top: 1rem; }
.wpis { max-width: 780px; margin: 0 auto; }
.wpis-zdjecie { width: 100%; margin-bottom: 3rem; }
.wpis h2 { font-size: 2.2rem; margin: 2.6rem 0 1rem; font-weight: 700; }
.wpis h3 { font-size: 1.7rem; margin: 2rem 0 .8rem; font-weight: 700; }
.wpis p, .wpis li { margin-bottom: 1.1rem; }
.wpis ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.wpis img { margin: 2rem 0; }
.wpis a:not(.przycisk):not(.link-strzalka) { text-decoration: underline; }
.wpis-powrot { margin-top: 4rem; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }

/* ---------- pytania ---------- */
.pytania { background: var(--jasny); }
.pytania-lista { max-width: 860px; margin: 0 auto; }
.pytanie { border-bottom: 1px solid #bfbfbf; }
.pytanie button { width: 100%; text-align: left; background: none; border: 0; padding: 1.5rem 3rem 1.5rem 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--czarny); cursor: pointer; position: relative; }
.pytanie button::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.8rem; transition: .3s; }
.pytanie.otwarte button::after { transform: translateY(-50%) rotate(45deg); }
.pytanie-odp { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.pytanie-odp p { padding-bottom: 1.5rem; color: var(--szary); }

/* ---------- kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); max-width: var(--szer); margin: 0 auto; align-items: start; }
.kontakt-info > p:not(.nadtytul) { color: var(--szary); }
.kontakt-dane { list-style: none; margin-top: 2.2rem; }
.kontakt-dane li { display: flex; gap: 1.4rem; padding: .9rem 0; border-bottom: 1px solid var(--linia); align-items: baseline; }
.kontakt-dane span { width: 7rem; flex-shrink: 0; font-size: .85rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--grafit); }
.kontakt-dane a, .kontakt-dane b { font-weight: 500; color: var(--czarny); }
.formularz { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; background: var(--jasny); padding: clamp(1.8rem, 4vw, 3rem); }
.formularz label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--grafit); gap: .5rem; }
.formularz .pelna { grid-column: 1 / -1; }
.formularz input, .formularz select, .formularz textarea { font-family: var(--sans); font-size: 1.05rem; color: var(--czarny); background: var(--bialy); border: 1px solid #c8c8c8; padding: .75rem .9rem; outline: none; text-transform: none; letter-spacing: 0; transition: border-color .3s; }
.formularz input:focus, .formularz select:focus, .formularz textarea:focus { border-color: var(--czarny); }
.formularz .zgoda { flex-direction: row; align-items: center; gap: .8rem; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; }
.formularz .zgoda input { width: 18px; height: 18px; }

/* ---------- podstrony ---------- */
.podstrona-start { padding-top: 10rem; padding-bottom: 3rem; text-align: center; }
.podstrona-start h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 auto 2rem; max-width: 900px; font-weight: 700; }
.podstrona-start .sekcja-opis { max-width: 900px; margin: 0 auto; }
.portfolio-sesje { padding-top: 1rem; }
.portfolio-sesja { max-width: var(--szer); margin: 0 auto 6rem; }
.portfolio-sesja-opis { text-align: center; max-width: 700px; margin: 0 auto 2.4rem; }
.portfolio-sesja-opis p:not(.nadtytul) { color: var(--szary); }
.cta-pas { background: var(--czarny); color: var(--bialy); text-align: center; }
.cta-pas h2 { color: var(--bialy); }
.cta-pas .przycisk { background: var(--bialy); color: var(--czarny); border-color: var(--bialy); margin-top: 1rem; }
.cta-pas .przycisk:hover { background: transparent; color: var(--bialy); }
.dziekuje { min-height: 70vh; }
.dziekuje .przycisk { margin-top: 2rem; }

/* ---------- stopka ---------- */
.stopka { background: var(--czarny); color: #e0e0e0; text-align: center; padding: 4.5rem 1.4rem 2.4rem; }
.stopka-logo { display: inline-flex; flex-direction: column; align-items: center; color: var(--bialy); margin-bottom: 1.8rem; line-height: 1; }
.stopka-kontakt { margin-bottom: 1.4rem; font-size: 1rem; }
.stopka-kontakt a:hover { text-decoration: underline; }
.stopka-okolice { font-size: .95rem; max-width: 760px; margin: 0 auto 2.2rem; color: #bdbdbd; }
.stopka-dol { font-size: .85rem; letter-spacing: .08em; color: #a8a8a8; }

/* ---------- podgląd zdjęcia ---------- */
.podglad { position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: .3s; padding: 2rem; }
.podglad.otwarty { opacity: 1; pointer-events: auto; }
.podglad button { position: absolute; top: 1.2rem; right: 2rem; background: none; border: 0; color: var(--bialy); font-size: 2.8rem; font-weight: 200; cursor: pointer; }
.podglad-foto { width: min(80vw, 900px); height: 84vh; background-size: contain; background-repeat: no-repeat; background-position: center; }
.podglad-foto.zastepcze { background: linear-gradient(150deg, #e9e9e9, #b5b5b5); width: min(70vw, 560px); height: auto; aspect-ratio: 4/5; }

/* ---------- animacje ---------- */
.pojaw { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.pojaw.widoczny { opacity: 1; transform: none; }

/* ---------- tablet i telefon ---------- */
@media (max-width: 1080px) {
  .menu { position: fixed; inset: 0; background: var(--bialy); color: var(--czarny); flex-direction: column; justify-content: center; gap: 1.8rem; opacity: 0; pointer-events: none; transition: .3s; }
  .menu a { font-size: 1.4rem; }
  .menu-otwarte .menu { opacity: 1; pointer-events: auto; }
  .menu-otwarte .menu-przycisk { color: var(--czarny); }
  .menu-przycisk { display: block; }
  .o-mnie, .kontakt { grid-template-columns: 1fr; }
  .o-mnie-zdjecie { max-width: 340px; margin: 0 auto; width: 100%; }
  .o-mnie-tekst { text-align: center; }
  .sesje-lista, .pakiety { grid-template-columns: 1fr; max-width: 480px; }
  .przebieg-lista { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .logo-nazwa { font-size: 1.9rem; }
  .logo-dopisek { font-size: .8rem; }
  .przebieg-lista { grid-template-columns: 1fr; }
  .formularz { grid-template-columns: 1fr; }
  .start { min-height: 92vh; }
}
