/*
Theme Name: Portfolio NOIOKEJ
Theme URI: https://portfolio.noiokej.pl
Author: Kamelon - KK - NOIOKEJ
Author URI: https://noiokej.pl
Description: Motyw portfolio dla portfolio.noiokej.pl. Prezentuje realizacje WWW agencji NOIOKEJ. Spójny wizualnie z motywem noiokej.pl (Kamelon NOIOKEJ v3.3) — te same kolory, fonty i komponenty (flat-panel, akcenty chameleon/electricPurple).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portfolio-noiokej
*/

/* ==========================================================
   Baza — identyczna z motywem glownym noiokej.pl
   ========================================================== */
body {
	background-color: #050505;
	color: #f3f3f5;
	font-family: 'Plus Jakarta Sans', sans-serif;
	overflow-x: hidden;
}

/* WCAG: Skip to main content link (jak na noiokej.pl) */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: #41D37B;
	color: #000;
	padding: 8px 16px;
	z-index: 99999;
	font-weight: bold;
	transition: top 0.2s ease;
}
.skip-link:focus {
	top: 0;
	outline: 2px solid #fff;
}

*:focus-visible {
	outline: 2px solid #41D37B;
	outline-offset: 4px;
}

/* Flat Panel — dokładnie ten sam komponent co na noiokej.pl */
.flat-panel {
	background: #0a0a0c;
	border: 1px solid #222226;
	border-radius: 8px;
	transition: all 0.3s ease;
}
.flat-panel:hover {
	border-color: #333338;
	background: #0f0f11;
}

.text-gradient-custom {
	background: linear-gradient(135deg, #ffffff 20%, #41D37B 80%, #8B5CF6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333338; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #41D37B; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}

/* Wejscie sekcji przy scrollu — lekka wersja gsap-reveal z noiokej.pl,
   tutaj czystym CSS/IntersectionObserver (bez GSAP, portfolio ma pozostac lekkie). */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Kafelek realizacji — identyczny jezyk wizualny co kafelki "portfolio-scroll"
   na stronie glownej noiokej.pl (grayscale -> kolor na hover, gradient + tag). */
.tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid #222226;
	background: #0a0a0c;
	transition: border-color 0.3s ease;
}
.tile:hover { border-color: rgba(65, 211, 123, 0.6); }
.tile__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	filter: grayscale(35%);
	transition: filter 0.5s ease, transform 0.5s ease;
}
.tile:hover .tile__img {
	filter: grayscale(0%);
	transform: scale(1.03);
}
.tile__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.15) 55%, transparent);
	pointer-events: none;
}

/* Numerowany wiersz procesu — to samo urzadzenie co sekcje "01. / 02. / 03."
   na noiokej.pl: cienka linia gornej krawedzi, ktora "wypelnia sie" na hover. */
.step {
	position: relative;
	border-top: 1px solid #1a1a1f;
	padding-top: 2rem;
}
.step::before {
	content: '';
	position: absolute;
	top: -1px; left: 0;
	width: 0; height: 1px;
	background: currentColor;
	transition: width 0.5s ease;
}
.step:hover::before { width: 100%; }

/* Scrollbar dla poziomych list (spojny z .portfolio-scroll na noiokej.pl) */
.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background-color: rgba(65, 211, 123, 0.35); border-radius: 999px; }
.h-scroll { scrollbar-width: thin; scrollbar-color: rgba(65, 211, 123, 0.35) transparent; }
