/*
Theme Name: BANANOWIEC – wizytówka marki
Theme URI: https://bananowykrol.pl
Author: FPHU MATEUSZ BARCZYK FRANCUSKIE PERFUMY ROZLEWANE MADELEINE
Description: Oficjalna wizytówka marki BANANOWIEC i gry mobilnej BANANOWE ŻYCIE: prezentacja marki i gry, galeria, kontakt, dane wydawcy, Polityka prywatności, Regulamin, Usuwanie konta, FAQ, podstawowe SEO i Open Graph, opcjonalny app-ads.txt. Bez komentarzy, analityki i zewnętrznych zasobów.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bananowykrol
*/

/* Kolory, czcionki i odstępy: theme.json (edytowalne w Wygląd → Edytor → Style). Tutaj tylko efekty i drobne elementy. */
:root { --bk-radius: 18px; --bk-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
html { scroll-behavior: smooth; }
/* nagłówek, treść i stopka bez przerw między sobą */
.wp-site-blocks > * { margin-block-start: 0; }
:where(.wp-site-blocks) :target { scroll-margin-top: 90px; }

/* nagłówek */
.bk-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(8px); }
.bk-brand { gap: 10px; }
.bk-brand .bk-logo-fallback img, .bk-brand .wp-block-site-logo img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.bk-brand .wp-block-site-title a { text-decoration: none; letter-spacing: .04em; }

/* hero */
.bk-hero { position: relative; overflow: hidden; }
.bk-hero::before { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 70%; background: radial-gradient(closest-side, rgba(255, 210, 31, .22), transparent); pointer-events: none; }
.bk-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 158, 91, .25), transparent); pointer-events: none; }
.bk-hero > * { position: relative; z-index: 1; }
.bk-hero-icon img { border-radius: 24%; box-shadow: 0 14px 40px rgba(255, 210, 31, .25); animation: bk-float 6s ease-in-out infinite; }
.bk-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
@keyframes bk-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* przyciski */
.bk-btn { display: inline-block; padding: .85em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none !important; background: var(--wp--preset--color--banan); color: var(--wp--preset--color--czern) !important; box-shadow: 0 4px 0 #b89300; transition: transform .15s ease, box-shadow .15s ease; }
.bk-btn:hover, .bk-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 0 #b89300; }
.bk-btn.is-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.bk-status { display: inline-block; padding: .35em .9em; border-radius: 999px; font-size: .88rem; font-weight: 700; background: var(--wp--preset--color--mieta); color: #1F7A45; }

/* karty */
.bk-card { border-radius: var(--bk-radius); background: #fff; box-shadow: var(--bk-shadow); transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.bk-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .14); }
.bk-card h3 { margin-top: .2em; }
.bk-card .bk-ico { font-size: 1.8rem; line-height: 1; }
.bk-cards > .wp-block-column { display: flex; }
.bk-cards > .wp-block-column > * { flex: 1; }

/* bohater – etapy */
.bk-stages { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; }
.bk-stages figure { margin: 0; text-align: center; }
.bk-stages img { width: 100%; height: auto; }
.bk-stages figcaption { font-size: .78rem; line-height: 1.3; margin-top: .4em; opacity: .85; }
@media (max-width: 700px) { .bk-stages { grid-template-columns: repeat(4, 1fr); } .bk-stages figure:nth-child(n+5) { display: none; } }

/* galeria */
.bk-gallery.wp-block-gallery img { border-radius: 14px; box-shadow: var(--bk-shadow); }
@media (max-width: 600px) { .bk-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2); } }

/* dokumenty i FAQ */
.bk-doc p { margin: 0 0 1em; }
.bk-doc b { color: var(--wp--preset--color--czern); }
.bk-firma { font-size: .9em; line-height: 1.6; }
.bk-note { font-size: .9em; opacity: .85; }
.bk-steps { counter-reset: s; list-style: none; padding: 0; }
.bk-steps li { counter-increment: s; margin: 0 0 .8em; padding-left: 2.4em; position: relative; }
.bk-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--wp--preset--color--banan); color: var(--wp--preset--color--czern); font-weight: 700; display: grid; place-items: center; }
.bk-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; display: block; overflow-x: auto; }
.bk-table th, .bk-table td { border: 1px solid rgba(0, 0, 0, .15); padding: .55em .7em; text-align: left; vertical-align: top; }
.bk-table th { background: var(--wp--preset--color--mieta); }
.wp-block-details { border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); padding: .9em 1.1em; }
.wp-block-details summary { font-weight: 700; cursor: pointer; }
.bk-footer a { color: var(--wp--preset--color--banan); }

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