/* =====================================================================
   KREATYWNA KRAINA — arkusz stylów (szablon)
   Kolory zmienisz w jednym miejscu poniżej (:root).
===================================================================== */

:root {
  /* Paleta z logo „Kreatywne Warsztaty" (pastele: róż, błękit, żółty, krem) */
  --coral:   #db6189;   /* główny akcent — róż z logo (głębszy, by biały tekst był czytelny) */
  --coral-d: #c84f78;   /* hover */
  --pink-soft:#f2a9c4;  /* jasny pudrowy róż (dłoń/napis) — tła, akcenty */
  --teal:    #5aa7cb;   /* błękit z logo (głębszy — pod biały tekst) */
  --blue-soft:#90c4dd;  /* jasny błękit (kolba) — gradienty, detale */
  --yellow:  #f4ce7a;   /* miękki żółty z liter „TY" */
  --lav:     #90c4dd;   /* alias jasnego błękitu (używany w gradientach) */
  --ink:     #46434f;   /* tekst (ciepły grafit) */
  --muted:   #7c7889;   /* tekst poboczny */
  --cream:   #fbf5ec;   /* tło sekcji — krem z logo */
  --white:   #ffffff;
  --radius:  22px;
  --shadow:  0 14px 40px rgba(70, 67, 79, .12);
  --shadow-s:0 6px 18px rgba(70, 67, 79, .09);
}

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

html { scroll-behavior: smooth; }

/* offset pod przyklejony pasek nawigacji, by nagłówek sekcji nie chował się po kliknięciu w menu */
section[id], footer[id] { scroll-margin-top: 84px; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo__text { font-family: 'Baloo 2', sans-serif; line-height: 1.15; }

a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

.kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--coral);
  margin-bottom: .5rem;
}
.kicker--light { color: #fff; opacity: .9; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: .7rem; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-family: 'Baloo 2', sans-serif;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 20px rgba(219, 97, 137, .35);
}
.btn:hover { transform: translateY(-2px); background: var(--coral-d); box-shadow: 0 12px 26px rgba(219, 97, 137, .45); }
.btn--small { padding: .55rem 1.1rem; font-size: .95rem; }
.btn--big { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn--full { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 2px solid rgba(45,42,50,.15);
}
.btn--ghost:hover { background: rgba(45,42,50,.05); }

/* ---------- Nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,42,50,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.logo { display: flex; align-items: center; gap: .55rem; font-size: 1.35rem; }
.logo__mark { font-size: 1.6rem; }
.logo__img { height: 44px; width: 44px; object-fit: contain; }
.logo__text { font-weight: 500; }
.logo__text strong { color: var(--coral); font-weight: 700; }
.logo--light { color: #fff; }
.logo--light .logo__text strong { color: var(--coral); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; font-weight: 700; }
.nav__links a:not(.btn):hover { color: var(--coral); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #fbe6ef 0, transparent 60%),
              radial-gradient(900px 420px at 10% 0%, #e6f2f8 0, transparent 55%),
              linear-gradient(180deg, var(--cream), #fff);
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-block; background: #fff; color: var(--coral);
  font-weight: 800; padding: .45rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-s); margin-bottom: 1.2rem; font-size: .9rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 1rem; }
.hl { color: var(--coral); position: relative; white-space: nowrap; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-weight: 700; font-size: .95rem; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero__photo {
  width: 100%; max-width: 380px; aspect-ratio: 1/1;
  background: #fff;
  border-radius: 32px; box-shadow: var(--shadow);
  display: grid; place-items: center;
  transform: rotate(-3deg);
  padding: 1.6rem;
  overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: contain; }
/* wariant ze zdjęciem — wypełnia cały kafelek */
.hero__photo--img { padding: 0; background: #fff; }
.hero__photo--img img { object-fit: cover; }
.blob {
  position: absolute; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem;
  background: #fff; box-shadow: var(--shadow); z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.blob--1 { top: 6%;  left: 4%;  background: var(--yellow); }
.blob--2 { top: 70%; left: 0;   background: var(--teal); animation-delay: .8s; }
.blob--3 { top: 12%; right: 2%; background: var(--coral); animation-delay: 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Statystyki ---------- */
.stats { padding: 2.5rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  background: var(--cream); border-radius: var(--radius); padding: 1.6rem 1.3rem;
  text-align: center; box-shadow: var(--shadow-s);
}
.stat strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 2.1rem; color: var(--coral); }
.stat span { color: var(--muted); font-weight: 700; font-size: .95rem; }

/* ---------- O nas ---------- */
.about { padding: 4.5rem 0; }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about__photo .ph, .hero__photo, .ph {
  border-radius: 28px;
}
.ph {
  aspect-ratio: 1/1; background: linear-gradient(135deg, var(--yellow), var(--coral));
  display: grid; place-items: center; color: #fff; text-align: center;
  font-family: 'Baloo 2', sans-serif; font-size: 1.2rem; box-shadow: var(--shadow);
}
.about__photo img {
  width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto;
  border-radius: 28px; box-shadow: var(--shadow);
}
.about__text h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__text .btn { margin-top: .5rem; }

/* ---------- Oferta / karty ---------- */
.offer { padding: 4.5rem 0; background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-s); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__emoji {
  width: 70px; height: 70px; border-radius: 20px; background: var(--c, #ffe0e6);
  display: grid; place-items: center; font-size: 2.1rem; margin-bottom: 1rem;
}
.card__age {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: var(--teal); color: #fff; font-weight: 800; font-size: .8rem;
  padding: .25rem .7rem; border-radius: 999px;
}
.card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 1.1rem; flex-grow: 1; }
.card__meta { display: flex; gap: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 1.1rem; font-size: .95rem; }
.card__link { font-weight: 800; color: var(--coral); }
.card__link:hover { color: var(--coral-d); }
.card--party { background: linear-gradient(135deg, #fff, #fff3ea); border: 2px dashed var(--yellow); }

/* ---------- Temat miesiąca ---------- */
.theme { max-width: 760px; margin: 0 auto; }
.theme__card {
  background: #fff; border-radius: var(--radius); padding: 2.4rem;
  box-shadow: var(--shadow); text-align: center;
  border: 2px dashed var(--blue-soft);
}
.theme__badge {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1rem;
}
.theme__card h3 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: .7rem; }
.theme__card p { color: var(--muted); margin-bottom: 1.5rem; }
.theme__lead { font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--ink); margin-bottom: 1.1rem; }
.theme__list {
  list-style: none; text-align: left; display: inline-block;
  margin: 0 auto 1.6rem; max-width: 470px;
}
.theme__list li { color: var(--muted); margin-bottom: .7rem; line-height: 1.5; }
.theme__list li:last-child { margin-bottom: 0; }
.theme__list strong { color: var(--ink); }
.theme__tags {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .7rem; margin-top: 1.8rem;
}
.theme__tags li {
  background: #fff; box-shadow: var(--shadow-s); border-radius: 999px;
  padding: .55rem 1.1rem; font-weight: 700; color: var(--ink); font-size: .95rem;
}

/* ---------- Jak to działa ---------- */
.how { padding: 4.5rem 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  background: var(--cream); border-radius: var(--radius); padding: 1.8rem 1.4rem;
  text-align: center;
}
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1rem;
  background: var(--coral); color: #fff; border-radius: 50%;
  font-family: 'Baloo 2', sans-serif; font-size: 1.4rem; font-weight: 700;
}
.step:nth-child(2) .step__num { background: var(--teal); }
.step:nth-child(3) .step__num { background: var(--coral-d); }
.step:nth-child(4) .step__num { background: var(--yellow); color: var(--ink); }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

.how__prose { max-width: 680px; margin: 0 auto; text-align: center; }
.how__prose p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.2rem; }
.how__prose p strong { color: var(--ink); }
.how__prose .btn { margin-top: .8rem; }

/* ---------- Galeria ---------- */
.gallery { padding: 4.5rem 0; background: var(--cream); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g {
  aspect-ratio: 1/1; border-radius: 18px; display: grid; place-items: center;
  font-size: 2.4rem; box-shadow: var(--shadow-s);
  background: linear-gradient(135deg, #fbe3ec, #f6cfe0);
  min-width: 0; overflow: hidden;
}
.g:nth-child(2n) { background: linear-gradient(135deg, #e3f1f8, #c9e6f2); }
.g:nth-child(3n) { background: linear-gradient(135deg, #fbf1da, #f6e6c4); }
.g:nth-child(4n) { background: linear-gradient(135deg, #f2dded, #dde9f5); }
.g img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }

/* ---------- Opinie ---------- */
.reviews { padding: 4.5rem 0; }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem; align-items: start;
}

/* Opinie jako zrzuty ekranu — pełny obraz, bez przycinania (klik → lightbox) */
.review-card {
  position: relative; border: none; cursor: pointer;
  padding: .55rem .55rem 1.8rem; border-radius: 18px;
  background: var(--cream); box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .18s ease;
  display: block; width: 100%;
}
.review-card:hover, .review-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); outline: none;
}
.review-card img {
  width: 100%; max-width: 680px; height: auto; display: block; margin: 0 auto;
  border-radius: 12px;
}
.review-card__zoom {
  position: absolute; right: .7rem; bottom: .55rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(70, 67, 79, .55); color: #fff;
  backdrop-filter: blur(2px);
  opacity: .85; transition: opacity .18s ease, background .18s ease;
  pointer-events: none;
}
.review-card:hover .review-card__zoom { opacity: 1; background: var(--coral); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(30, 28, 36, .82);
  padding: 2rem 1rem;
}
.lightbox.open { display: grid; }
.lightbox__img {
  max-width: min(92vw, 560px); max-height: 88vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1.2rem;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,.3); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
.review {
  background: var(--cream); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-s); position: relative;
}
.review::before {
  content: '“'; font-family: 'Baloo 2', sans-serif; font-size: 4rem; color: var(--coral);
  position: absolute; top: .2rem; left: 1.2rem; opacity: .25;
}
.review p { font-size: 1.05rem; margin-bottom: 1rem; position: relative; }
.review footer { font-weight: 800; color: var(--muted); }

/* ---------- Zapisy (bramka EasyTools) ---------- */
.signup {
  padding: 5rem 0; color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--lav));
}
.signup__cta { max-width: 640px; margin: 0 auto; text-align: center; }
.signup__cta h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 1rem; }
.signup__cta > p { opacity: .96; font-size: 1.15rem; margin: 0 auto 1.8rem; max-width: 46ch; }
.btn--white { background: #fff; color: var(--coral); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn--white:hover { background: #fff; color: var(--coral-d); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.signup__note { font-size: .9rem; opacity: .85; font-weight: 700; margin-top: 1rem; }
.signup__contact {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem;
  margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.25);
  font-weight: 700; font-size: 1.05rem;
}
.signup__contact a:hover { text-decoration: underline; }

/* ---------- Stopka ---------- */
.footer { background: var(--ink); color: #e9e6ee; padding: 3.5rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__col h4 { color: #fff; margin-bottom: .9rem; font-size: 1.1rem; }
.footer__col p { color: #b8b3c2; margin-bottom: .4rem; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer p { color: #b8b3c2; }
.socials { display: flex; gap: .7rem; margin-bottom: 1rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.socials a:hover {
  background: var(--coral); color: #fff; transform: translateY(-3px);
}
.socials svg { display: block; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; }
.footer__bottom p { color: #8e8a98; font-size: .85rem; }

/* ---------- Przycisk „do góry" ---------- */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--coral); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(219, 97, 137, .45);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .15s ease;
}
.to-top--show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--coral-d); }

/* =====================================================================
   RESPONSYWNOŚĆ (telefony i tablety)
===================================================================== */
@media (max-width: 980px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.open { max-height: 460px; padding: .5rem 0; }
  .nav__links a { padding: .9rem 1.5rem; }
  .nav__links .btn { margin: .6rem 1.5rem; text-align: center; }

  .hero__inner, .about__inner, .signup__inner { grid-template-columns: 1fr; }
  .about__photo { max-width: 320px; margin: 0 auto; }
  .hero__art { order: -1; min-height: 280px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
