/*
Theme Name: neoSzmalcownictwo
Description: A child theme of accademia, scaffolded by Studio Code.
Template: accademia
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neoszmalcownictwo-child
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

:root {
	--neo-ink: var( --wp--preset--color--ink );
	--neo-surface: var( --wp--preset--color--surface );
	--neo-paper: var( --wp--preset--color--paper );
	--neo-ash: var( --wp--preset--color--ash );
	--neo-blood: var( --wp--preset--color--blood );
	--neo-warning: var( --wp--preset--color--warning );
}

/* === reset === */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

body {
	background-color: var( --neo-paper );
}

/* === header === */
.neo-header {
	border-bottom: 2px solid var( --neo-blood );
}

.neo-header__logo {
	margin: 0;
}

.neo-header__logo img {
	display: block;
	border-radius: 4px;
}

.neo-header__nav {
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-weight: 700;
	letter-spacing: 0.06em;
}

.neo-header__nav a {
	text-decoration: none !important;
	color: var( --neo-ink );
}

.neo-header__tagline {
	margin: 0;
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --neo-blood );
}

.neo-header__right {
	gap: 1rem;
}

.neo-lang-switch {
	margin: 0;
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.neo-lang-switch a {
	color: var( --neo-ash );
	text-decoration: none;
}

.neo-lang-switch a:hover {
	color: var( --neo-blood );
}

.neo-lang-switch__current {
	color: var( --neo-blood );
}
/* === sticky-nav === */
.neo-sticky-nav {
	z-index: 100;
	border-bottom: 2px solid var( --neo-blood );
	padding: 0;
	box-shadow: 0 8px 20px rgba( 0, 0, 0, 0.25 );
}

.neo-sticky-nav__inner {
	gap: 0 !important;
	padding: 0.5rem 1rem;
}

.neo-sticky-nav__link {
	margin: 0;
}

.neo-sticky-nav__link a {
	display: inline-block;
	padding: 0.6rem 1rem;
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var( --neo-paper ) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.neo-sticky-nav__link a:hover {
	color: var( --neo-warning ) !important;
}
/* === hero === */
.neo-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-bottom: 2px solid var( --neo-blood );
}

.neo-hero.wp-block-cover img.wp-block-cover__image-background {
	filter: grayscale(1) contrast(1.05);
}

.neo-hero__kicker {
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-size: 0.85rem;
	font-weight: 900;
	letter-spacing: 0.35em;
	color: var( --neo-blood );
	margin: 0 0 1.5rem;
}

.neo-hero__title {
	max-width: 900px;
	margin: 0 auto 1.75rem;
	font-size: clamp( 2.2rem, 5.5vw, 4rem );
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var( --neo-paper );
}

.neo-hero__lead {
	max-width: 720px;
	margin: 0 auto;
	font-size: clamp( 1.05rem, 1.6vw, 1.3rem );
	line-height: 1.6;
	color: var( --neo-surface );
}
/* === sections === */
.neo-section {
	scroll-margin-top: 3.5rem;
}

.neo-section__title {
	max-width: 1000px;
	margin: 0 auto 2rem;
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-weight: 900;
	font-size: clamp( 1.6rem, 3vw, 2.2rem );
	letter-spacing: 0.06em;
	color: var( --neo-warning );
}

.neo-section__title::before {
	content: "/ ";
	color: var( --neo-blood );
}

.neo-section__text {
	max-width: 720px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var( --neo-ash );
}
/* === embeds === */
.neo-section__embed {
	max-width: 900px;
	margin: 0 auto;
	border: 2px solid var( --neo-ash );
}

.neo-section__embed iframe {
	display: block;
}

.neo-section__social {
	margin-top: 2rem;
}
/* === social === */
.neo-section--social .neo-section__title {
	text-align: center;
}

.neo-social-links {
	justify-content: center;
}

.neo-social-links .wp-social-link {
	transition: transform 0.2s ease;
}

.neo-social-links .wp-social-link:hover {
	transform: translateY(-4px) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
	.neo-social-links .wp-social-link {
		transition: none;
	}
	.neo-social-links .wp-social-link:hover {
		transform: none;
	}
}

/* Official brand colors, verified against each platform's live logo/site */
.neo-social-links .wp-social-link-facebook {
	background-color: #3771e9;
	color: #f7f7f7;
}
.neo-social-links .wp-social-link-instagram {
	background: radial-gradient( circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90% );
	color: #fff;
}
.neo-social-links .wp-social-link-tiktok {
	background-color: #000;
	color: #25f4ee;
}
.neo-social-links .wp-social-link-chain {
	background-color: #00703f;
	color: #fff;
}
.neo-social-links .wp-social-link-mail {
	background-color: var( --neo-ash );
	color: #fff;
}
/* === footer === */
.neo-footer {
	border-top: 2px solid var( --neo-blood );
}

.neo-footer__text {
	margin: 0;
	font-family: var( --wp--preset--font-family--source-sans-pro );
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	color: var( --neo-ash );
}

/* === responsive === */
@media (max-width: 600px) {
	.neo-sticky-nav__inner {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
	}
	.neo-hero {
		padding-top: 4rem !important;
		padding-bottom: 4rem !important;
	}
}
