/* ============================================================
   Cukiernia Alterbake — szablon
   Paleta: krem #F6F4F2 · terakota #BF624C · czerń #121212 · złoto #C9A24B
   Typografia: Aboreto (display) · League Spartan (body) · Montserrat (labels)
   ============================================================ */

:root {
  --cream: #f6f4f2;
  --cream-dark: #efe9e4;
  --blush: #f2e4dc;
  --terracotta: #bf624c;
  --terracotta-dark: #a44f3b;
  --ink: #121212;
  --ink-soft: #2a2a2a;
  --muted: #6f665f;
  --gold: #c9a24b;
  --white: #ffffff;

  --font-display: 'Aboreto', serif;
  --font-body: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  --font-label: 'Montserrat', Arial, sans-serif;

  --container: 1140px;
  --transition: 0.35s cubic-bezier(0.25, 0.6, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; letter-spacing: 0.04em; }

p + .btn { margin-top: 2rem; }

/* ---------- etykiety ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
}
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn--solid {
  color: var(--white);
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
}
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }

/* ============================================================
   NAWIGACJA
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(17, 20, 22, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.nav__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav__links a:hover { color: var(--gold); border-color: var(--gold); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.hero__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  color: var(--gold);
}
.hero__logo-mark { width: 56px; height: 56px; }
.hero__logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
}

.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.9rem;
  cursor: pointer;
  padding: 1rem;
  transition: color var(--transition);
}
.hero__arrow:hover { color: var(--white); }
.hero__arrow--prev { left: clamp(0.5rem, 3vw, 2.5rem); }
.hero__arrow--next { right: clamp(0.5rem, 3vw, 2.5rem); }

.hero__dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.hero__dots button {
  width: 34px;
  height: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--transition);
}
.hero__dots button.is-active { background: var(--white); }

/* ============================================================
   SEKCJE OFERTOWE (split)
   ============================================================ */
.split__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split--reverse .split__grid { direction: rtl; }
.split--reverse .split__grid > * { direction: ltr; }

.split__media { position: relative; }

.split__accent {
  position: absolute;
  inset: -2.2rem auto auto -2.2rem;
  width: 72%;
  height: 82%;
  background: var(--blush);
  z-index: 0;
}
.split--reverse .split__accent { inset: -2.2rem -2.2rem auto auto; }

.split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.14);
}

.split__body p { max-width: 46ch; color: var(--muted); }

/* ============================================================
   ATUTY
   ============================================================ */
.features { background: var(--cream-dark); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.feature__icon {
  width: 44px;
  height: 44px;
  color: var(--terracotta);
  margin: 0 auto 1.25rem;
}

.feature p { font-size: 0.98rem; color: var(--muted); }

/* ============================================================
   O NAS (ciemna sekcja z tłem)
   ============================================================ */
.about {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 11, 0.78);
}

.about__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}
.about__content h2 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.about__content p { color: rgba(255, 255, 255, 0.82); margin-bottom: 0.5rem; }

/* ============================================================
   KAWIARNIA / CTA
   ============================================================ */
.cafe__inner {
  text-align: center;
  max-width: 620px;
}
.cafe p { color: var(--muted); }

/* ============================================================
   STOPKA
   ============================================================ */
.footer {
  background: #111416;
  color: rgba(255, 255, 255, 0.75);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer h4 {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer p { font-size: 0.95rem; margin-bottom: 0.35rem; }
.footer__label { color: rgba(255, 255, 255, 0.45); font-size: 0.8rem; }

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}
.footer a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
}

/* ============================================================
   ANIMACJE WEJŚCIA
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* wjazd z góry na dół (stopka) */
.reveal-down {
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-down.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-down { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: opacity 0.4s ease; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 900px) {
  .split__grid { grid-template-columns: 1fr; }
  .split__body { padding-left: 0.5rem; }
  .features__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .about__bg { background-attachment: scroll; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(17, 20, 22, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.6, 0.05, 0.28, 0.91);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { font-size: 0.9rem; }

  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__arrow { display: none; }
}


/* ---------- NOTA PRAWNA ---------- */
/* Strona jest pokazem możliwości, a nie wizytówką istniejącej cukierni.
   Musi to być czytelne bez klikania. */
.disclaimer {
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0;
}
.disclaimer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1.4rem;
}
.disclaimer__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1;
}
.disclaimer__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-label), Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.disclaimer p {
  margin: 0;
  max-width: 78ch;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}
.disclaimer p + p { margin-top: 0.7rem; }
.disclaimer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.disclaimer a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .disclaimer__inner { grid-template-columns: minmax(0, 1fr); }
}
