/*
Theme Name: FunCenter
Theme URI: https://funcenter.pl
Author: Peen Media
Description: Lekki motyw marketingowy FunCenter, przygotowany do współpracy z Elementorem.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: funcenter
*/

:root {
  --fc-ink: #12231f;
  --fc-muted: #5c6b66;
  --fc-forest: #11654a;
  --fc-lime: #bce743;
  --fc-violet: #6336d9;
  --fc-coral: #ff765f;
  --fc-sun: #ffc83d;
  --fc-cream: #fffaf0;
  --fc-white: #fff;
  --fc-radius: 28px;
  --fc-shadow: 0 22px 60px rgba(18, 35, 31, .12);
  --fc-wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fc-ink); background: #fff; font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.admin-bar .fc-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.fc-wrap { width: var(--fc-wrap); margin-inline: auto; }
.fc-main { min-height: 60vh; }
.fc-section { padding: clamp(68px, 9vw, 128px) 0; }
.fc-section--cream { background: var(--fc-cream); }
.fc-section--ink { color: #fff; background: var(--fc-ink); }
.fc-section__head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 40px; }
.fc-section__head > div { max-width: 720px; }
.fc-eyebrow { display: inline-flex; margin-bottom: 14px; padding: 7px 12px; border-radius: 999px; color: var(--fc-forest); background: rgba(188,231,67,.28); font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.fc-section--ink .fc-eyebrow { color: #fff; background: rgba(188,231,67,.18); }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(46px, 7vw, 86px); }
h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: clamp(23px, 2.4vw, 32px); }
p { margin-top: 0; }
.fc-lead { color: var(--fc-muted); font-size: clamp(18px, 2vw, 22px); }
.fc-section--ink .fc-lead { color: rgba(255,255,255,.72); }

.fc-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(18,35,31,.08); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.fc-header__inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.fc-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fc-ink); text-decoration: none; font-size: 22px; font-weight: 950; letter-spacing: -.04em; }
.fc-brand__mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px 17px 12px 16px; color: #fff; background: linear-gradient(135deg,var(--fc-violet),var(--fc-coral)); transform: rotate(-4deg); }
.fc-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.fc-nav a { text-decoration: none; font-weight: 750; }
.fc-nav a:hover { color: var(--fc-forest); }
.fc-header__cta,
.fc-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; color: #fff; background: var(--fc-forest); box-shadow: 0 10px 24px rgba(17,101,74,.22); text-decoration: none; font-weight: 900; }
.fc-button--light { color: var(--fc-ink); background: #fff; }
.fc-button--outline { color: var(--fc-ink); border: 1px solid rgba(18,35,31,.18); background: transparent; box-shadow: none; }
.fc-button:hover { transform: translateY(-2px); }

.fc-hero { position: relative; overflow: hidden; min-height: 760px; display: grid; align-items: center; color: #fff; background: #10251f; }
.fc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 20%,rgba(188,231,67,.24),transparent 32%),radial-gradient(circle at 18% 75%,rgba(99,54,217,.32),transparent 30%); }
.fc-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); align-items: center; gap: 50px; padding-block: 100px; }
.fc-hero h1 { margin-bottom: 24px; max-width: 900px; }
.fc-hero h1 em { color: var(--fc-lime); font-style: normal; }
.fc-hero__copy > p { max-width: 680px; color: rgba(255,255,255,.78); font-size: clamp(19px,2vw,24px); }
.fc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fc-hero__visual { position: relative; min-height: 510px; }
.fc-orbit { position: absolute; border-radius: var(--fc-radius); box-shadow: var(--fc-shadow); overflow: hidden; }
.fc-orbit--one { inset: 0 40px 80px 0; background: linear-gradient(145deg,#805aff,var(--fc-violet)); transform: rotate(4deg); }
.fc-orbit--two { right: 0; bottom: 0; width: 58%; height: 52%; background: linear-gradient(145deg,#ff9b73,var(--fc-coral)); transform: rotate(-5deg); }
.fc-orbit--label { left: -25px; bottom: 45px; padding: 16px 20px; border-radius: 18px; color: var(--fc-ink); background: var(--fc-lime); font-size: 18px; font-weight: 950; transform: rotate(-3deg); }
.fc-orbit__photo { width: 100%; height: 100%; object-fit: cover; opacity: .86; }

.fc-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.fc-choice { position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: end; padding: 30px; border-radius: var(--fc-radius); color: #fff; text-decoration: none; box-shadow: var(--fc-shadow); }
.fc-choice::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(10,20,17,.92),rgba(10,20,17,.04) 72%); }
.fc-choice > * { position: relative; }
.fc-choice:nth-child(1) { background: linear-gradient(145deg,#3e8b62,#124f3c); }
.fc-choice:nth-child(2) { background: linear-gradient(145deg,#704be0,#291663); }
.fc-choice:nth-child(3) { background: linear-gradient(145deg,#ff916d,#bb3f31); }
.fc-choice__tag { align-self: flex-start; margin-bottom: auto; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.fc-choice p { color: rgba(255,255,255,.74); }

.fc-trust { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(18,35,31,.1); border-radius: var(--fc-radius); background: #fff; box-shadow: var(--fc-shadow); }
.fc-trust div { padding: 28px; border-right: 1px solid rgba(18,35,31,.1); }
.fc-trust div:last-child { border: 0; }
.fc-trust strong { display: block; font-size: 32px; line-height: 1; }
.fc-trust span { color: var(--fc-muted); font-size: 14px; }

.fc-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; counter-reset: steps; }
.fc-step { counter-increment: steps; }
.fc-step::before { content: counter(steps); display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 22px; border-radius: 16px; color: var(--fc-ink); background: var(--fc-lime); font-weight: 950; }
.fc-news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.fc-news-card { overflow: hidden; border: 1px solid rgba(18,35,31,.1); border-radius: 22px; background: #fff; }
.fc-news-card__media { aspect-ratio: 16/10; background: linear-gradient(145deg,#e9f5df,#efe8ff); }
.fc-news-card__content { padding: 22px; }
.fc-news-card a { text-decoration: none; }
.fc-news-card time { color: var(--fc-muted); font-size: 13px; }

.fc-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(34px,6vw,72px); border-radius: 34px; color: #fff; background: linear-gradient(120deg,var(--fc-violet),#3c1f97 56%,var(--fc-coral)); }
.fc-cta h2 { margin-bottom: 12px; }
.fc-cta p { margin: 0; color: rgba(255,255,255,.76); font-size: 19px; }

.fc-content { width: min(860px,calc(100% - 40px)); margin: 0 auto; padding: 80px 0 120px; }
.fc-content--wide { width: var(--fc-wrap); }
.fc-footer { padding: 64px 0 26px; color: rgba(255,255,255,.75); background: var(--fc-ink); }
.fc-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 40px; }
.fc-footer h3 { color: #fff; font-size: 18px; letter-spacing: 0; }
.fc-footer a { color: inherit; text-decoration: none; }
.fc-footer__bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.fc-menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }

@media (max-width: 980px) {
  .fc-nav { display: none; }
  .fc-menu-toggle { display: block; }
  .fc-hero__grid { grid-template-columns: 1fr; }
  .fc-hero__visual { min-height: 420px; }
  .fc-choice-grid { grid-template-columns: 1fr; }
  .fc-choice { min-height: 330px; }
  .fc-footer__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  body.admin-bar .fc-header { top: 46px; }
  .fc-header__cta { display: none; }
  .fc-hero { min-height: auto; }
  .fc-hero__grid { padding-block: 74px; }
  .fc-hero__visual { min-height: 330px; }
  .fc-trust, .fc-steps, .fc-news-grid { grid-template-columns: 1fr; }
  .fc-trust div { border-right: 0; border-bottom: 1px solid rgba(18,35,31,.1); }
  .fc-section__head, .fc-cta { grid-template-columns: 1fr; display: grid; align-items: start; }
  .fc-footer__grid { grid-template-columns: 1fr; }
}

