/* ============================================================
   Stowarzyszenie Park Green Mokotów — arkusz stylów
   ============================================================ */

:root {
  --green-900: #1b3a2b;
  --green-800: #234a37;
  --green-700: #2f6b4c;
  --green-600: #3a7d59;
  --green-500: #4a9d6e;
  --green-300: #9fd3b4;
  --green-100: #e3f1e8;
  --green-50:  #f1f8f3;
  --accent:    #e0a526;
  --accent-dark: #c98a12;
  --ink:       #1f2922;
  --ink-soft:  #4d5a52;
  --paper:     #ffffff;
  --paper-alt: #f5faf6;
  --line:      #dde8e0;
  --shadow:    0 10px 30px rgba(27, 58, 43, 0.08);
  --shadow-lg: 0 18px 50px rgba(27, 58, 43, 0.14);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1080px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; font-weight: 600; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

/* ---------- Picnic top bar ---------- */
.picnic-bar {
  display: block;
  background: linear-gradient(100deg, var(--green-700) 0%, var(--green-500) 55%, var(--accent) 140%);
  color: #fff;
  text-decoration: none;
}
.picnic-bar:hover { text-decoration: none; }
.picnic-bar:hover .picnic-bar-cta { background: #fff; color: var(--green-800); }
.picnic-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 11px 22px;
  text-align: center;
}
.picnic-bar-text { display: inline-flex; align-items: center; gap: 10px; font-size: 0.98rem; }
.picnic-emoji {
  font-size: 1.2rem;
  display: inline-block;
  animation: picnic-wiggle 2.4s ease-in-out infinite;
}
.picnic-bar-cta {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
@keyframes picnic-wiggle {
  0%, 88%, 100% { transform: rotate(0deg); }
  91% { transform: rotate(-16deg); }
  94% { transform: rotate(14deg); }
  97% { transform: rotate(-8deg); }
}
/* delikatne pulsowanie tła paska, by przyciągać wzrok */
.picnic-bar { background-size: 200% 100%; animation: picnic-shimmer 6s ease-in-out infinite; }
@keyframes picnic-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Pływający CTA pikniku (FAB) ---------- */
.picnic-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px 13px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent) 0%, #f5c558 50%, var(--accent-dark) 100%);
  color: #3b2c05;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(224, 165, 38, 0.45), 0 0 0 0 rgba(224, 165, 38, 0.55);
  animation: picnic-fab-pulse 2.2s ease-out infinite;
  transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.picnic-fab:hover {
  text-decoration: none;
  transform: translateY(-3px) scale(1.03);
  animation-play-state: paused;
  box-shadow: 0 18px 40px rgba(224, 165, 38, 0.6);
}
.picnic-fab-emoji { font-size: 1.5rem; line-height: 1; }
.picnic-fab-text { display: flex; flex-direction: column; line-height: 1.15; }
.picnic-fab-text strong { font-size: 1.02rem; }
.picnic-fab-text small { font-size: 0.78rem; font-weight: 600; opacity: 0.85; }
.picnic-fab-arrow { font-size: 1.2rem; font-weight: 700; transition: transform 0.18s ease; }
.picnic-fab:hover .picnic-fab-arrow { transform: translateX(3px); }

/* ukryj, gdy sekcja pikniku jest na ekranie (ustawiane przez JS) */
.picnic-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
}

@keyframes picnic-fab-pulse {
  0%   { box-shadow: 0 12px 30px rgba(224,165,38,0.45), 0 0 0 0 rgba(224,165,38,0.5); }
  70%  { box-shadow: 0 12px 30px rgba(224,165,38,0.45), 0 0 0 16px rgba(224,165,38,0); }
  100% { box-shadow: 0 12px 30px rgba(224,165,38,0.45), 0 0 0 0 rgba(224,165,38,0); }
}

@media (max-width: 520px) {
  .picnic-fab { right: 14px; bottom: 14px; padding: 11px 16px 11px 14px; gap: 9px; }
  .picnic-fab-emoji { font-size: 1.3rem; }
  .picnic-fab-text strong { font-size: 0.95rem; }
  .picnic-fab-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .picnic-emoji,
  .picnic-bar,
  .picnic-fab { animation: none; }
}
@media (max-width: 520px) {
  .picnic-bar-text { font-size: 0.9rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { font-size: 1.7rem; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.12rem; color: var(--green-800); }
.brand-text small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-list a:hover { color: var(--green-800); background: var(--green-50); text-decoration: none; }
.nav-cta {
  background: var(--green-700);
  color: #fff !important;
}
.nav-cta:hover { background: var(--green-800) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--green-800);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-800); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); }
.btn-outline { background: #fff; color: var(--green-800); border-color: var(--green-300); }
.btn-outline:hover { border-color: var(--green-600); background: var(--green-50); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(224,165,38,0.22), transparent 60%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-600) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 85%, rgba(255,255,255,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,0.08) 0 2px, transparent 3px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 78px 22px 86px;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-map {
  margin: 0;
  justify-self: center;
  max-width: 300px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(2px);
}
.hero-map-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 8px;
}
.hero-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: filter 0.2s ease;
}
.hero-map-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  border-radius: 50%;
  background: rgba(27, 58, 43, 0.78);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-map-btn:hover img,
.hero-map-btn:focus-visible img { filter: brightness(1.06); }
.hero-map-btn:hover .hero-map-zoom,
.hero-map-btn:focus-visible .hero-map-zoom { opacity: 1; transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(15, 26, 20, 0.88);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
  animation: lightbox-in 0.18s ease-out;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-300);
}
.eyebrow-light { color: rgba(255,255,255,0.85); }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 600;
}
.lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); color: rgba(255,255,255,0.92); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Notice banner ---------- */
.notice {
  background: var(--accent);
  background: linear-gradient(180deg, #f5c558 0%, var(--accent) 100%);
  color: #3b2c05;
}
.notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
}
.notice-icon { font-size: 1.5rem; line-height: 1.4; flex-shrink: 0; }
.notice p { margin: 0; font-size: 1.02rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }
.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--green-800);
}
.section-intro { max-width: 720px; font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 38px; }
.prose p { margin: 0 0 16px; }
.prose h3 { font-size: 1.3rem; color: var(--green-800); margin: 0 0 10px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: start;
}

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius); padding: 26px 28px; }
.callout-soft {
  background: var(--green-100);
  border: 1px solid var(--green-300);
}
.callout-soft h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--green-800); }
.callout-soft p { margin: 0; color: var(--ink); }

.callout-accent {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 42px;
  background: linear-gradient(135deg, #fff 0%, var(--green-50) 100%);
  border: 1px solid var(--green-300);
  box-shadow: var(--shadow);
}
.callout-accent .callout-icon { font-size: 2rem; line-height: 1.2; }
.callout-accent h3 { margin: 0 0 8px; color: var(--green-800); font-size: 1.35rem; }
.callout-accent p { margin: 0; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--green-800); }
.card p { margin: 0; color: var(--ink-soft); }
.card-action { display: flex; flex-direction: column; align-items: flex-start; }
.card-action .btn { margin-top: 18px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px 76px;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
}
.steps h3 { margin: 0 0 6px; font-size: 1.18rem; color: var(--green-800); }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- People list ---------- */
.people { list-style: none; margin: 0 0 14px; padding: 0; }
.people li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.people .role { font-weight: 600; color: var(--green-800); }
.people .name { color: var(--ink-soft); }

/* ---------- Event / piknik ---------- */
.event {
  color: #fff;
  background:
    radial-gradient(900px 400px at 15% 120%, rgba(224,165,38,0.25), transparent 60%),
    linear-gradient(150deg, var(--green-900) 0%, var(--green-700) 100%);
}
.event-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 76px 22px;
}
.event-badge {
  display: grid;
  place-content: center;
  text-align: center;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--accent);
  color: #3b2c05;
  box-shadow: 0 14px 40px rgba(224,165,38,0.4);
}
.event-day { font-family: var(--font-serif); font-size: 4rem; font-weight: 600; line-height: 1; }
.event-month { font-size: 1.15rem; font-weight: 600; text-transform: lowercase; }
.event-time {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(59, 44, 5, 0.25);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.event-body h2 { margin: 4px 0 14px; font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.event-body .lead { color: rgba(255,255,255,0.94); }
.event-body p { color: rgba(255,255,255,0.88); }
.event-help {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
}
.event a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.event a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  padding: 48px 0 36px;
}
.site-footer .muted { color: rgba(255,255,255,0.6); }
.footer-inner { display: grid; gap: 26px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-contact-label { text-transform: uppercase; letter-spacing: 0.12em; }
.footer-email {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}
.footer-email:hover { color: var(--green-300); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}
.footer-social:hover { background: rgba(255, 255, 255, 0.20); color: #fff; text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: #fff; font-family: var(--font-serif); font-size: 1.1rem; }
.footer-brand p { margin: 4px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: none; }
  .hero-map { order: 2; max-width: 260px; }
  .grid-2 { grid-template-columns: 1fr; gap: 26px; }
  .cards { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .event-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
  .event-help { text-align: left; }

  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 22px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 14px; font-size: 1.02rem; }
  .nav-cta { text-align: center; }
}

@media (max-width: 520px) {
  .section { padding: 56px 0; }
  .hero-inner { padding: 64px 22px 70px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
