:root {
	/* Wymuszenie schematu kolorów dla przeglądarki */
	color-scheme: dark;

	--bg-dark: #0f172a;
	--card-bg: #1e293b;
	--accent: #f59e0b;
	--accent-glow: rgba(245, 158, 11, 0.4);
	--text-light: #f8fafc;
	--text-muted: #94a3b8;
	--gradient-premium: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
html,
body {
	overflow-x: hidden; /* Zapobiega rozjeżdżaniu się strony na boki */
	width: 100%;
	/* Kolor suwaka oraz kolor tła paska */
	scrollbar-color: var(--accent) var(--card-bg);
	/* Składnia: scrollbar-color: [kolor_suwaka] [kolor_tła] */

	scrollbar-width: thin; /* Opcjonalnie: auto, thin, none */
	background-color: var(--bg-dark) !important;
	color: var(--text-light) !important;
}
body {
	font-family: "Montserrat", sans-serif;
	background-color: var(--bg-dark);
	color: var(--text-light);
	overflow-x: hidden;
	scroll-behavior: smooth;
	line-height: 1.6;
}
/* Wymuszenie białego koloru dla wszystkich badge i plakietek */
body .floating-badge,
body .floating-badge h4,
body .badge.bg-warning {
	color: #ffffff !important;
	background: var(--gradient-premium) !important;
}

/* Dodatkowe zabezpieczenie dla tekstu wewnątrz plakietki "20 lat" */
body .floating-badge span,
body .floating-badge div {
	color: #ffffff !important;
}

/* Przycisk napisz wiadomość - biały, a po najechaniu szary */
body .contact-modal .btn-submit {
	color: #ffffff !important;
	background: var(--gradient-premium) !important;
	transition: all 0.3s ease !important;
}

body .contact-modal .btn-submit:hover {
	color: #94a3b8 !important; /* Szary po najechaniu */
}
/* Custom Selection Color */
::selection {
	background: var(--accent);
	color: #000;
}

/* Navbar Glassmorphism */
.navbar {
	background-color: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
	transition: all 0.3s ease;
	z-index: 1050;
}
/* Upewnienie się, że napisy w navbarze nie znikną */
.nav-link {
	color: var(--text-light) !important;
}

.nav-link:hover {
	color: var(--accent) !important;
}
.navbar.scrolled {
	padding: 12px 0;
	background-color: rgba(15, 23, 42, 0.95);
}

.navbar-brand {
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: -1px;
}

.navbar-brand span {
	color: var(--accent);
}

/* Hero Section */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 100px 0;
	background:
		radial-gradient(
			circle at 80% 20%,
			rgba(245, 158, 11, 0.05) 0%,
			transparent 40%
		),
		linear-gradient(
			to right,
			var(--bg-dark) 40%,
			rgba(15, 23, 42, 0.4) 100%
		),
		url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1920")
			no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
}
.badge.bg-warning {
	background: var(--gradient-premium) !important;
	color: #ffffff !important; /* Tutaj zmieniasz kolor tekstu na biały */
	font-weight: 700 !important;
}
.btn-accent {
	background: var(--gradient-premium) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	padding: 14px 35px;
	border-radius: 12px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: none !important;
	box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-accent:hover,
.btn-submit:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
	color: #ffffff !important;
	filter: brightness(1.1);
}

/* Statystyki */
.stat-card {
	background: rgba(30, 41, 59, 0.7);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	padding: 30px;
	border-radius: 20px;
	text-align: center;
	transition: 0.3s ease;
}

.stat-card:hover {
	background: var(--card-bg);
	border-color: var(--accent);
}

.stat-card i {
	font-size: 2rem;
	color: var(--accent);
	margin-bottom: 10px;
	display: block;
}

/* Usługi - Karty Główne */
.service-card {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 40px 30px;
	height: 100%;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	z-index: 1;
	cursor: pointer;
}

.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		circle at top right,
		var(--accent-glow),
		transparent 70%
	);
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: -1;
}

.service-card:hover {
	transform: translateY(-15px) scale(1.02);
	border-color: rgba(245, 158, 11, 0.5);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-card:hover::before {
	opacity: 1;
}

.service-card i {
	font-size: 3rem;
	background: var(--gradient-premium);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 25px;
	display: block;
}

/* --- MODALE USŁUG (Ujednolicony Styl) --- */
.modal-content-modern {
	background: #111827 !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 30px !important;
	color: white;
	overflow: hidden;
}

.modal-img-top {
	height: 300px;
	width: 100%;
	object-fit: cover;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header-modern {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	padding: 20px;
}

.btn-close-custom {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	padding: 10px;
	opacity: 1;
	transition: 0.3s;
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-close-custom:hover {
	background: var(--accent);
	color: black;
}

.modal-body-content {
	padding: 40px;
}

.service-feature-list {
	list-style: none;
	padding: 0;
	margin-top: 25px;
}

.service-feature-list li {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}

.service-feature-list li i {
	color: var(--accent);
	margin-right: 15px;
	font-size: 1.2rem;
	margin-top: 3px;
}

.info-box-premium {
	background: rgba(245, 158, 11, 0.05);
	border-left: 3px solid var(--accent);
	padding: 20px;
	border-radius: 0 15px 15px 0;
	margin: 30px 0;
}

.modal-footer-modern {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding: 30px 40px;
	background: rgba(255, 255, 255, 0.02);
}

/* O nas */
.about-image-wrapper {
	position: relative;
}

.about-image-main {
	border-radius: 30px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 2;
}

.floating-badge {
	animation: floating 3s ease-in-out infinite;
	background: var(--gradient-premium);
	color: #000;
	padding: 25px;
	border-radius: 20px;
	position: absolute;
	bottom: -30px;
	right: -20px;
	z-index: 3;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes floating {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-15px);
	}
	100% {
		transform: translateY(0px);
	}
}

/* Proces */
.step-card {
	padding: 30px;
	border-radius: 20px;
	/* background: rgba(255, 255, 255, 0.03); */
	transition: 0.3s;
	height: 100%;
}

.step-number {
	font-size: 3rem;
	font-weight: 800;
	color: rgba(245, 158, 11, 0.1);
	line-height: 1;
	margin-bottom: 15px;
}

/* FAQ Section */
.accordion-item {
	background-color: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	margin-bottom: 15px;
	border-radius: 15px !important;
	overflow: hidden;
}

.accordion-button {
	background-color: var(--card-bg);
	color: var(--text-light);
	padding: 20px;
	font-weight: 600;
	border: none;
}

.accordion-button:not(.collapsed) {
	background-color: rgba(245, 158, 11, 0.1) !important;
	color: var(--accent) !important;
	box-shadow: none;
}

.accordion-button::after {
	filter: invert(1) !important;
}

.accordion-body {
	color: var(--text-muted);
	background-color: var(--card-bg);
	padding: 20px;
}

/* Mechanizm rozwijania FAQ */
#faqMore {
	display: none;
}

.faq-toggle-btn {
	background: transparent;
	border: 1px solid var(--accent);
	color: var(--accent);
	padding: 10px 25px;
	border-radius: 30px;
	transition: 0.3s;
	font-weight: 600;
	margin-top: 20px;
}

.faq-toggle-btn:hover {
	background: var(--accent);
	color: #000;
}

.faq-toggle-btn i {
	transition: transform 0.4s;
	display: inline-block;
}

.faq-toggle-btn.active i {
	transform: rotate(180deg);
}

/* Final CTA Section */
.final-cta {
	background:
		linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
		url("https://images.unsplash.com/photo-1454165833767-027ffea9e77b?auto=format&fit=crop&q=80&w=1920");
	background-size: cover;
	background-position: center;
	border-radius: 40px;
	padding: 80px 40px;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(245, 158, 11, 0.2);
}

/* --- STYL MODALA KONTAKTOWEGO CTA --- */
.contact-modal .modal-content {
	background: #1e293b;
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: 28px;
	padding: 10px;
}
.contact-modal .modal-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 25px 30px;
}
.contact-modal .modal-title {
	font-weight: 700;
	letter-spacing: -0.5px;
}
.contact-modal .modal-body {
	padding: 30px;
}
.contact-modal .form-label {
	color: var(--text-muted);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 8px;
}
.contact-modal .form-control {
	background: rgba(15, 23, 42, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: white;
	border-radius: 12px;
	padding: 14px 18px;
	transition: 0.3s;
}
.contact-modal .form-control:focus {
	background: rgba(15, 23, 42, 0.8);
	border-color: var(--accent);
	box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
	outline: none;
}
.contact-modal .input-group-text {
	background: rgba(15, 23, 42, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-right: none;
	color: var(--accent);
	border-radius: 12px 0 0 12px;
}
.contact-modal .input-group .form-control {
	border-left: none;
	border-radius: 0 12px 12px 0;
}
.contact-modal .btn-submit {
	background: var(--gradient-premium) !important;
	border: none;
	color: #ffffff !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 16px;
	border-radius: 14px;
	width: 100%;
	margin-top: 10px;
	transition: 0.3s;
}
.contact-modal .btn-submit:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3) !important;
	color: #94a3b8 !important;
}
/* Styl dla baneru ciasteczek */
.cookie-banner {
	position: fixed;
	bottom: 20px; /* Odstęp od dołu */
	left: 50%;
	transform: translate(-50%, 150%); /* Startuje ukryty niżej */
	width: 90%;
	max-width: 400px;
	background: rgba(30, 41, 59, 0.95); /* Ciemny granat z lekkim prześwitem */
	backdrop-filter: blur(10px);
	padding: 15px 20px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	z-index: 10001;
	transition:
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.5s;
	opacity: 0;
}

.cookie-banner.show {
	transform: translate(-50%, 0);
	opacity: 1;
}

/* Układ w środku */
.cookie-content {
	display: flex;
	flex-direction: column; /* Tekst nad przyciskiem na mobile */
	align-items: center;
	gap: 12px;
	text-align: center;
}

.cookie-content p {
	color: #e2e8f0;
	font-size: 13px; /* Mniejszy, zgrabniejszy tekst */
	margin: 0;
	line-height: 1.4;
}

.cookie-content i {
	font-size: 1.2rem;
	color: #f59e0b;
}

/* Przycisk - mniejszy i szerszy */
.cookie-btn {
	background: #f59e0b;
	color: #fff;
	border: none;
	padding: 8px 25px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	width: 100%; /* Na mobile przycisk na całą szerokość banera */
}

/* NA DESKTOPIE (szersze ekrany) */
.cookie-banner {
	position: fixed;
	bottom: 20px; /* Odstęp od dołu */
	left: 50%;
	transform: translate(-50%, 150%); /* Startuje ukryty niżej */
	width: 90%;
	max-width: 400px;
	background: rgba(30, 41, 59, 0.95); /* Ciemny granat z lekkim prześwitem */
	backdrop-filter: blur(10px);
	padding: 15px 20px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	z-index: 10001;
	transition:
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.5s;
	opacity: 0;
}

.cookie-banner.show {
	transform: translate(-50%, 0);
	opacity: 1;
}

/* Układ w środku */
.cookie-content {
	display: flex;
	flex-direction: column; /* Tekst nad przyciskiem na mobile */
	align-items: center;
	gap: 12px;
	text-align: center;
}

.cookie-content p {
	color: #e2e8f0;
	font-size: 13px; /* Mniejszy, zgrabniejszy tekst */
	margin: 0;
	line-height: 1.4;
}

.cookie-content i {
	font-size: 1.2rem;
	color: #f59e0b;
}

/* Przycisk - mniejszy i szerszy */
.cookie-btn {
	background: #f59e0b;
	color: #fff;
	border: none;
	padding: 8px 25px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	width: 100%; /* Na mobile przycisk na całą szerokość banera */
}

/* NA DESKTOPIE (szersze ekrany) */
@media (min-width: 768px) {
	.cookie-banner {
		max-width: 600px;
		bottom: 30px;
	}
	.cookie-content {
		flex-direction: row; /* Tekst obok przycisku */
		text-align: left;
	}
	.cookie-btn {
		width: auto; /* Przycisk wraca do normalnych wymiarów */
	}
}
/* progress belt */
.progress-container {
	position: fixed;
	top: 74px; /* Dopasuj do wysokości swojej nawigacji (padding 20px + font) */
	left: 0;
	width: 100%;
	height: 4px;
	z-index: 1100; /* Musi być wyżej niż navbar (z-index: 1050) */
	background: transparent;
}

.progress-bar {
	height: 100%;
	background: var(--gradient-premium);
	width: 0%;
	box-shadow: 0 0 10px var(--accent-glow);
}
/* Przycisk Wróć do góry */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--gradient-premium) !important;
	border: none !important;
	border-radius: 50%;
	color: #ffffff !important; /* Biała strzałka */
	font-size: 30px;
	display: none; /* Pojawi się po scrollowaniu */
	align-items: center;
	justify-content: center;
	z-index: 9999;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
	transition: all 0.3s ease;
}

/* Wymuszenie flexa, gdy przycisk ma się pojawić */
.back-to-top.show {
	display: flex !important;
}

.back-to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}
/* Styl Preloadera */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0f172a; /* Twoje tło --bg-dark */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000; /* Najwyższa warstwa */
	transition:
		opacity 0.5s ease,
		visibility 0.5s;
}

.loader-content {
	text-align: center;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 5px solid rgba(245, 158, 11, 0.1);
	border-top: 5px solid var(--accent); /* Złoty kolor */
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

#preloader p {
	color: var(--text-light);
	font-family: "Montserrat", sans-serif;
	letter-spacing: 2px;
	font-size: 0.9rem;
	margin: 0;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Klasa do ukrycia preloadera */
#preloader.fade-out {
	opacity: 0;
	visibility: hidden;
}
/* Styl dla dolnej sekcji (Footer) */
footer,
.footer-bottom {
	background-color: #0b1222 !important; /* Jeszcze ciemniejszy odcień dla odcięcia */
	padding: 30px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	text-align: center;
}

.footer-bottom p {
	color: var(--text-muted) !important;
	font-size: 0.9rem;
	margin: 0;
}

.footer-bottom span.team-name {
	color: var(--accent); /* Złoty kolor dla nazwy teamu */
	font-weight: 600;
}
.team-link {
	color: var(--accent) !important; /* Twoje złoto */
	text-decoration: none !important;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
}

.team-link:hover {
	color: #ffffff !important; /* Zmieni się na biały po najechaniu */
	transform: translateY(-2px);
	text-shadow: 0 0 10px var(--accent-glow);
}
/* Ukrywa pomarańczowy pasek postępu, gdy jakikolwiek modal jest otwarty */
body.modal-open #myBar {
	display: none !important;
}

/* Jeśli masz też kontener paska (np. .progress-container), go też warto ukryć */
body.modal-open .header,
body.modal-open .progress-container {
	z-index: 0 !important; /* Spycha pasek pod modal */
	visibility: hidden;
}
