@import url('fonts.css');

:root {
  --purple-top: #7a00cf;
  --purple-bot: #ad00ff;
  --pink-top: #e6006b;
  --pink-bot: #ff1f7a;
  --page-bg: #7a776e;
  --wrap: 1100px;
  --hero-h: 190px;
  --nav-h: 62px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page-bg);
  font: 16px/1.65 'Source Sans 3', Tahoma, sans-serif;
  color: #333;
}

/* ---------- pasek nad hero (tam wisi polaroid) ---------- */
.topstrip { height: 46px; }

/* ---------- hero: purpurowy pas z logo i polaroidem ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  background: linear-gradient(180deg, var(--purple-top) 0%, var(--purple-bot) 100%);
  border-bottom: 2px solid #12000f;
}

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* baletki - znak wodny po prawej */
.shoes {
  position: absolute;
  right: 26px;
  bottom: -22px;
  height: 258px;
  opacity: .6;
  pointer-events: none;
  user-select: none;
}

/* ---------- logo ---------- */
.logo {
  position: relative;
  z-index: 3;
  margin-right: 90px;
  text-align: center;
  text-decoration: none;
  transform: rotate(-1.2deg);
}
.logo-main {
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 60px;
  line-height: .95;
  letter-spacing: .02em;
  color: #fff;
  text-shadow:
     0 1px 0 #f3e0ff,
     0 2px 3px rgba(40,0,60,.55),
     0 -1px 0 rgba(90,0,140,.6);
}
.logo-sub {
  display: block;
  margin-top: -2px;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(40,0,60,.6);
}

/* przelacznik jezyka */
.lang {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 4;
}
.lang img {
  display: block;
  width: 40px;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,.45);
  transition: transform .15s;
}
.lang img:hover { transform: scale(1.08); }

/* ---------- polaroid ze zmieniajacymi sie zdjeciami ---------- */
.polaroid-wrap {
  position: absolute;
  left: 20px;
  top: -42px;
  z-index: 5;
  width: 330px;
}

/* zaczep / szpilka */
.hook {
  position: absolute;
  left: 62px;
  top: -30px;
  width: 46px;
  height: 74px;
  z-index: 6;
}

.polaroid {
  position: relative;
  display: block;
  padding: 13px 13px 42px;
  background: #fff;
  transform: rotate(-7.5deg);
  box-shadow: 0 14px 28px rgba(20,0,30,.45), 0 2px 6px rgba(0,0,0,.3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.polaroid:hover {
  transform: rotate(-5deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(20,0,30,.55);
}

.frame {
  position: relative;
  aspect-ratio: 265 / 197;
  overflow: hidden;
  background: #1a1020;
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}
.frame img.is-active { opacity: 1; }

.polaroid figcaption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- rozowe menu ---------- */
.mainnav {
  position: relative;
  height: var(--nav-h);
  background: linear-gradient(180deg, var(--pink-top) 0%, var(--pink-bot) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.mainnav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 26px 0 372px;
  list-style: none;
}
.mainnav a {
  position: relative;
  font-family: 'Archivo Narrow', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(120,0,50,.5);
  transition: color .15s;
}
.mainnav a::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #ff8dc0;
  opacity: .85;
}
.mainnav a:hover,
.mainnav a[aria-current='page'] { color: #ffe3f0; }
.mainnav a:hover::before { background: #fff; }

.nav-toggle { display: none; }

/* ---------- tresc (dla kontekstu makiety) ---------- */
.page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 40px 10px;
  background: #fff;
}
.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; }
.witaj h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 34px;
  margin: 0 0 4px;
  color: #b30058;
}
.witaj h2 {
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #e6006b;
  margin: 0 0 16px;
}
.witaj .box {
  background: #ffe9f2;
  padding: 18px 20px;
  border-radius: 3px;
}
.witaj p { margin: 0 0 12px; text-align: justify; }
.witaj .sign { text-align: right; font-style: italic; margin: 0; color: #7a4a63; }
.cta {
  display: block;
  margin: 22px 0 0;
  padding: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b30058;
  background: #ffe9f2;
  border: 1px solid #ffc9de;
  border-radius: 3px;
  text-decoration: none;
}
.cta:hover { background: #ffd7e7; }
aside h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 26px;
  margin: 0 0 10px;
  color: #b30058;
}
.news-item { padding: 10px 0; border-top: 1px solid #f0e3ea; }
.news-item time { display: block; font-size: 13px; color: #b1afa9; }
.news-item a { color: #b30058; font-weight: 600; text-decoration: none; }
.news-item a:hover { text-decoration: underline; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }

footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 40px;
  background: #fff;
}
footer .strip { display: block; width: 100%; }
footer .links {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #8b8b8b;
  background: #fff;
}
footer a { color: #8b8b8b; text-decoration: none; }
footer a:hover { color: #b30058; }

/* ---------- tablet / waskie okna ---------- */
@media (max-width: 1090px) {
  .polaroid-wrap { width: 286px; }
  .hook { left: 52px; }
  .logo-main { font-size: 52px; }
  .logo-sub { font-size: 18px; }
  .logo { margin-right: 40px; }
  .shoes { height: 220px; right: 10px; }
  .mainnav ul { padding: 0 20px 0 316px; gap: 15px; }
  .mainnav a { font-size: 17px; }
  .mainnav a::before { top: -12px; width: 6px; height: 6px; margin-left: -3px; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  :root { --hero-h: auto; }
  .topstrip { height: 0; }
  .hero { padding: 26px 0 22px; }
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 16px;
  }
  .logo { margin: 0; order: 2; }
  .logo-main { font-size: 46px; }
  .logo-sub { font-size: 16px; }
  .polaroid-wrap { position: static; order: 1; width: 250px; }
  .hook { display: none; }
  .polaroid { transform: rotate(-3deg); padding: 10px 10px 32px; }
  .shoes { display: none; }
  .lang { top: 12px; right: 14px; }
  .lang img { width: 32px; }

  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 16px;
    background: none;
    border: 0;
    color: #fff;
    font: 700 19px/1 'Archivo Narrow', 'Arial Narrow', sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .mainnav { height: auto; min-height: 50px; }
  .mainnav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 8px;
    border-top: 1px solid rgba(255,255,255,.3);
  }
  .mainnav.open ul { display: flex; }
  .mainnav a { display: block; padding: 13px 18px; font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,.18); }
  .mainnav a::before { display: none; }

  .page { padding: 22px 18px 10px; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .witaj h1 { font-size: 28px; }
}

/* lead newsa + odstep naglowka galerii */
.news-item .lead { margin: 4px 0 0; font-size: 14.5px; color: #6b6b6b; }
aside h3.mt { margin-top: 26px; }
.thumbs a { display: block; }
.thumbs a img { display: block; }
