/* =============== FONTS =============== */

* {}

/* =============== COLORS =============== */

.text-primary {}

.bg-primary {}

.text-secondary {}

.bg-secondary {}

/* =============== BUTTONS =============== */

.btn-primary {
	background-color: #000000;
	color: #ffffff;
	padding: 10px 30px;
	transition: 0.3s ease-in-out;
	border: 1px solid #000000;
}

.btn-primary:hover {
	background-color: #ffffff;
	color: #000000;
}

.btn-secondary {
	background-color: #ffffff;
	color: #000000;
	padding: 10px 30px;
	transition: 0.3s ease-in-out;
	border: 1px solid #ffffff;
}

.btn-secondary:hover {
	background-color: #000000;
	color: #ffffff;
}



/* =============== HEADER =============== */

#header-web {
	transition: background-color .28s ease-in-out;
}

#header-web .header-inner {
	transition: padding .28s ease-in-out;
}

#header-web .header-inner a,
#header-web .header-inner p,
#header-web .header-inner .text-white,
#header-web .header-inner .text-black {
	transition: color .28s ease-in-out;
}

/* =============== TABS =============== */

.about-tab-btn {
	position: relative;
	opacity: 0.6;
	transition: opacity 0.3s;
}

.about-tab-btn.active {
	opacity: 1;
}

.about-tab-btn::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: #111;
	border-radius: 2px;
	opacity: 0;
	width: 25px;
	transform: scaleX(0.5);
	transform-origin: left;
	transition: opacity 0.5s, transform 0.5s;
}

.about-tab-btn.active::before,
.about-tab-btn:hover::before {
	opacity: 1;
	transform: scaleX(1);
}

.about-tab-box {
	display: none;
	opacity: 0;
	transition: opacity 0.5s;
}

.about-tab-box.active {
	display: block;
	opacity: 1;
	animation: fadeInTab 0.5s;
}

@keyframes fadeInTab {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* =============== FORMS =============== */

.ff-default .ff-el-form-control:focus,
.ff-default .ff-el-form-control:hover {
	background: transparent !important;
}

.fluentform input::placeholder,
.fluentform textarea::placeholder {
	color: #ffffff !important;
}

.fluentform .ff-dropzone .ff_upload_btn.ff-btn {
	border: 1px dashed #ffffff !important;
	background-color: transparent !important;
}

.fluentform .ff-el-form-check.ff-el-tc label {
	font-size: 12px !important;
}

.fluentform a {
	text-decoration: underline !important;
	transition: 0.3s ease-in-out;
}

.fluentform a:hover {
	opacity: 0.5 !important;
}

.fluentform button {
	width: 100% !important;
	background-color: #ffffff !important;
	color: #000000 !important;
	padding: 10px 30px !important;
	transition: 0.3s ease-in-out !important;
	border: 1px solid #ffffff !important;
	border-radius: 0 !important;
}

.fluentform button:hover {
	background-color: #000000 !important;
	color: #ffffff !important;
}

@media screen and (max-width: 1024px) {
	.fluentform input {
		border-bottom: 1px solid #000000 !important;
		border-radius: 0px !important;
		transition: 0.3s ease-in-out !important;
	}

	.fluentform textarea {
		border-bottom: 1px solid #000000 !important;
		border-radius: 0px !important;
		transition: 0.3s ease-in-out !important;
	}

	.ff-default .ff-el-form-control {
		background-color: transparent !important;
		border-bottom: 1px solid #ffffff !important;
		color: #ffffff !important;
		border-top: none !important;
		border-left: none !important;
		border-right: none !important;
	}
}

@media screen and (min-width: 1024px) {
	.fluentform input {
		border: 1px solid #000000 !important;
		border-radius: 0px !important;
		transition: 0.3s ease-in-out !important;
	}

	.fluentform textarea {
		border: 1px solid #000000 !important;
		border-radius: 0px !important;
		transition: 0.3s ease-in-out !important;
	}

	.ff-default .ff-el-form-control {
		background-color: transparent !important;
		border: 1px solid #ffffff !important;
		color: #ffffff !important;
	}
}

.fluentform input:focus {
	background-color: #f1f1f1 !important;
}

.fluentform textarea:hover {
	background-color: #f1f1f1 !important;
}

.fluentform input[type="checkbox"] {
	accent-color: #000000 !important;
	transform: translateY(4px) !important;
	transition: 0.3s ease-in-out !important;
}

/* =============== HEADER =============== */

/* =============== HEADER NAV LINKS =============== */

/* TOP (scroll 0) */
#header-web {
	--nav-text: #fff;
	/* normalny kolor tekstu */
	--nav-fill: #fff;
	/* kolor tła na hover */
	--nav-hover-text: #000;
	/* kolor tekstu na hover */
}

/* SCROLLED */
#header-web.scrolled {
	--nav-text: #000;
	--nav-fill: #000;
	--nav-hover-text: #fff;
}

/* linki */
#header-web .nav-ink {
	position: relative;
	overflow: hidden;
	z-index: 0;
	color: var(--nav-text);
	/* bazowy kolor */
	transition: color .35s ease;
}

#header-web .nav-ink::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0%;
	background: var(--nav-fill);
	/* tło na hover */
	transition: height .35s ease;
	z-index: -1;
}

#header-web .nav-ink:hover::after {
	height: 100%;
}

#header-web .nav-ink:hover {
	color: var(--nav-hover-text) !important;
}

/* Bazowe zmienne dla tego nagłówka: tekst czarny; na hover fill czarny + tekst biały */
#header-web-2 {
	--nav-text: #000;
	--nav-fill: #000;
	--nav-hover-text: #fff;
}

/* Linki z efektem „wypełnienia od góry” + płynna zmiana koloru */
#header-web-2 .nav-ink {
	position: relative;
	overflow: hidden;
	z-index: 0;
	color: var(--nav-text);
	/* bazowy kolor tekstu */
	transition: color .35s ease;
}

#header-web-2 .nav-ink::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0%;
	background: var(--nav-fill);
	/* tło na hover (czarne) */
	transition: height .35s ease;
	z-index: -1;
	/* tło pod tekstem linku */
}

#header-web-2 .nav-ink:hover::after {
	height: 100%;
}

#header-web-2 .nav-ink:hover {
	color: var(--nav-hover-text) !important;
}

/* tekst biały */

/* =============== PLUGINS =============== */

.cky-box-bottom-left {
    bottom: auto !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* =============== ANIMATIONS =============== */

@keyframes zoomInOut {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.15);
	}
}

.animate-zoom {
	animation: zoomInOut 10s ease-in-out infinite;
}

.smooth-padding {
	transition: padding 0.5s ease;
}

.parallax-cta {
	position: relative;
	overflow: hidden;
}

.parallax-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 130%;
	background-image: url('https://decojoy.pl/wp-content/uploads/2025/08/img-1.jpeg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	/* klucz do efektu paralaksy */
	filter: brightness(50%);
	z-index: 0;
}

.parallax-cta>* {
	position: relative;
	z-index: 1;
}