/* ===== Zmienne / paleta słoneczników ===== */
:root {
  --yellow:      #F5B700;
  --yellow-soft: #FFC93C;
  --center:      #5C3B1E;   /* brąz środka słonecznika */
  --leaf:        #4A7C2F;
  --sky:         #87B7E0;
  --cream:       #FFF8E7;
  --ink:         #2B2118;
  --shadow:      rgba(43, 33, 24, 0.25);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Przyciski ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(245, 183, 0, 0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245, 183, 0, 0.55); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* fallback gradient, gdy zdjęcie jeszcze nie wgrane */
  background: linear-gradient(160deg, var(--sky) 0%, var(--yellow-soft) 55%, var(--leaf) 100%);
  background-image: linear-gradient(rgba(43,33,24,0.05), rgba(43,33,24,0.05)), url("assets/hero.webp");
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,0.10) 0%, rgba(43,33,24,0.55) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 2rem; color: #fff; max-width: 720px; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--yellow-soft);
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero__tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  margin: 1rem 0 2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero__scroll {
  display: block;
  margin-top: 2rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ===== Wspólne sekcje ===== */
.section__inner { max-width: 1000px; margin: 0 auto; padding: 5rem 1.5rem; position: relative; z-index: 2; }
.section__inner--narrow { max-width: 680px; }
.section__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3rem);
  text-align: center;
  margin-bottom: 0.6rem;
}
.section__lead { text-align: center; font-size: 1.15rem; opacity: 0.8; margin-bottom: 3rem; }

/* ===== LIVE ===== */
.live { position: relative; color: #fff; overflow: hidden; }
.live__bg {
  position: absolute; inset: 0;
  background-color: var(--center);          /* fallback, gdy zdjęcie się nie wczyta */
  background-image: url("assets/live-bg.webp");
  background-size: cover;
  background-position: center;
  filter: brightness(0.72);
}
.live .section__lead { opacity: 0.92; }

/* Sztaluga + ramka */
.easel { max-width: 760px; margin: 0 auto; position: relative; }
.frame {
  position: relative;
  background: #fdfaf2;
  padding: 18px;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), inset 0 0 0 6px #e7d8b5;
  transform: rotate(-1.2deg);
  border: 10px solid #b07d3e;            /* drewniana rama */
  background-clip: padding-box;
}
.frame__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}
.frame__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.live-badge {
  position: absolute;
  top: -14px; left: 24px;
  z-index: 3;
  background: #d8392b;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* nóżki sztalugi */
.easel__legs {
  width: 70%;
  height: 90px;
  margin: -6px auto 0;
  background:
    linear-gradient(to right, transparent 8%, #8a5a28 8% 11%, transparent 11%) ,
    linear-gradient(to right, transparent 89%, #8a5a28 89% 92%, transparent 92%);
  transform: perspective(300px) rotateX(20deg);
  opacity: 0.9;
}

/* ===== HISTORIA ===== */
.story { background: var(--cream); }
.story p { font-size: 1.15rem; margin-bottom: 1.3rem; }
.story__cost {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.4rem !important;
  color: var(--center);
  padding: 1rem 0;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ===== STOPKA ===== */
.footer {
  background: var(--center);
  color: var(--cream);
  text-align: center;
  padding: 4rem 1.5rem;
}
.footer__quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.3rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--yellow-soft);
}
.footer__meta { max-width: 560px; margin: 0 auto 1.5rem; opacity: 0.85; }
.footer__link { color: var(--yellow-soft); font-weight: 700; }

@media (max-width: 600px) {
  .frame { transform: rotate(0); border-width: 8px; }
  .section__inner { padding: 3.5rem 1.2rem; }
}
