/* Zespół Nova — static site styles */

:root {
  --pink: #f12184;
  --pink-dark: #c8146b;
  --blue: #4054b2;
  --ink: #1a1320;
  --muted: #6a6675;
  --bg: #ffffff;
  --bg-soft: #faf6f9;
  --line: #ece8ef;
  --shadow: 0 10px 30px rgba(26, 19, 32, 0.08);
  --radius: 14px;
  --wrap: 1080px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Chivo", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--pink-dark); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { height: 40px; width: auto; border-radius: 8px; }
.brand span { color: var(--pink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--bg-soft); color: var(--pink-dark); }
.nav a.active { background: var(--pink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 96px 20px;
  background:
    linear-gradient(180deg, rgba(26, 19, 32, 0.55), rgba(193, 20, 107, 0.65)),
    url("../images/band-1.jpg") center / cover no-repeat;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin: 0 0 0.2em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero p {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  margin: 0 0 1.5em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.12s, background 0.15s;
}
.btn:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: #324192; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.3em;
}
.section-head .accent { color: var(--pink); }
.section-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }

.lead { font-size: 1.15rem; text-align: center; max-width: 760px; margin: 0 auto 1em; }

/* ---------- Member cards ---------- */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.member h3 {
  font-family: var(--font-head);
  margin: 0 0 0.4em;
  color: var(--pink-dark);
  font-size: 1.25rem;
}
.member p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Reasons list ---------- */
.reasons {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  display: grid;
  gap: 14px;
}
.reasons li {
  position: relative;
  padding: 16px 20px 16px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reasons li::before {
  content: "♪";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
}
.reasons li.gratis { border-color: var(--pink); }
.reasons .tag {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 8px;
  letter-spacing: 0.5px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Video ---------- */
.video-frame {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-play YouTube facade */
.yt-lite {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}
.yt-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-lite::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 32, 0.25);
  transition: background 0.2s;
}
.yt-lite:hover::after { background: rgba(26, 19, 32, 0.1); }
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 60px;
  background: var(--pink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 1;
  transition: transform 0.15s, background 0.15s;
}
.yt-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.yt-lite:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--pink-dark); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-family: var(--font-head);
  margin: 0 0 18px;
  color: var(--pink-dark);
}
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.contact-card dd {
  margin: 2px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-card dd a { text-decoration: none; }
.contact-card .iban { font-size: 1.05rem; letter-spacing: 1px; }

.map-frame {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Facebook CTA ---------- */
.cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta p { color: var(--muted); margin: 0 0 1.4em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfc9d6;
  text-align: center;
  padding: 40px 20px;
}
.site-footer a { color: #fff; }
.site-footer .foot-brand {
  font-family: var(--font-head);
  font-weight: 900;
  color: #fff;
  font-size: 1.1rem;
}
.site-footer small { display: block; margin-top: 10px; color: #8f8a99; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px; gap: 2px; }
  .nav a { padding: 12px 14px; }
  .split { grid-template-columns: 1fr; }
}
