/* ========================== Root Variables ========================== */
:root {
	--color-light: rgb(200, 200, 200);
	--color-dark: rgb(100, 100, 100);
	--color-accent: rgb(255, 255, 255);
	--color-text: #333;
	--transition-standard: all 1s ease;
	--transition-hover: 0.3s;
	--transition-all: transform 0.3s ease, box-shadow 0.3s ease;
	--box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

* {
	margin: 0;
	padding: 0;
}

body {
	position: relative;
	min-height: 100%;
	margin: 0 !important;
}

/* ========================== Header Styles ========================== */
header {
	background-color: rgb(255, 255, 255);
	color: white;
	width: 100%;
	height: 80px;
	margin-left: 0;
	position: relative;
	top: 0;
	justify-content: center;
	flex-direction: row;
	display: flex;
}



#content {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	margin: 20px auto;
	min-height: 100%;
	padding: 20px;
}

.contactData,
.contact,
.contactUs {
	flex: 1;
	min-width: 280px;
	padding: 20px;
	background-color: #f4f4f4;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: var(--transition-all);
	height: 650px
}

#people {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#map-heading {
	margin: 30px;
}

.contactData img,
.contactUs img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	text-align: center;
}

.contactData:hover,
.contact:hover,
.contactUs:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	transition: var(--transition-all);

}

.text h1 {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
	text-align: center;
}
#content a {text-decoration: none; color: #2f72bf;}
#content h4 {
	font-size: 20px;
	font-weight: bold;
	color: #444;
	margin-top: 10px;
	text-align: center;
}

.subtext {
	display: block;
	margin: 8px 0;
	font-size: 20px;
	color: #555;
}
.contact a {margin-left: 5px;}

.contact p,
.contactData {
	font-size: 20px;
	color: #333;
	line-height: 1.6;
	text-align: center;
}

.contactUs p {
	font-style: italic;
	font-weight: 500;
	color: #000;
	margin: 10px;
	text-align: center;
	font-size: 20px;
}

#content h1 {
	margin: 1px;
	text-align: center;
}



#new-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}


.logo {
	flex: 1;
	text-align: center;
}


.text {
	flex: 1;
	padding: 20px;
	word-wrap: break-word;
}

.company-container {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.company-container .row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	max-width: 600px;
	margin-bottom: 20px;
	box-sizing: border-box;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.company-container .row img {
	width: 200px;
	height: 80px;
	margin-right: 20px;
}

.company-container .row .company-name {
	font-size: 18px;
	font-weight: bold;
	color: #2a2a2a;
	text-align: left;
	line-height: 50px;
}


.certificate {
	margin-top: 100px;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	gap: 50px;
	flex-wrap: wrap;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.certificate img {
	width: 300px;
	height: auto;
	border: 2px solid #ccc;
	border-radius: 8px;
	transition: var(--transition-all);

}

.certificate img:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.quality-text {
	text-align: center;
	margin: 20px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	line-height: 1.5;
}
.sub-quality {color: #000;}


.container {
	max-width: 1500px;
	padding-left: 1.4rem;
	padding-right: 1.4rem;
	margin-left: auto;
	margin-right: auto;
}


#navbar {
	--navbar-height: 64px;
	position: fixed;
	height: var(--navbar-height);
	background-image: linear-gradient(0deg, rgb(255, 255, 255), rgb(202, 202, 202));
	left: 0;
	right: 0;
	justify-content: center;
	align-content: center;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	z-index: 10;
}

.navbar-container {
	display: flex;
	justify-content: space-between;
	height: 100%;
	align-items: center;
}

.navbar-item {
	margin: 0.4em;
	width: 100%;

}

.home-link img {
	width: 200px;
	height: 60px;
	border-radius: 15%;
}

/* podświetla aktwną stronę w menu  */
.navbar-link.active {
	border-radius: 4px;
    color: #fff; 
    background-color: #3461c4;
    font-weight: bold; 
}

.home-link,
.navbar-link {
	color: #000;
	text-decoration: none;
	display: flex;
	font-weight: 400;
	align-items: center;
}

.home-link:is(:focus, :hover) {
	color: var(--navbar-text-color-focus);
}

.navbar-link {
	justify-content: center;
	width: 100%;
	font-weight: bold;
	font-size: 15px;
	padding: 0.2em 0.6em;
}

.navbar-link:is(:focus, :hover) {
	color: #000;
	background-color: #fff;
	transition: var(--transition-all);

}

.navbar-logo {
	background-color: transparent;
	width: 200px;
	height: 50px;
}

#navbar-toggle {
	cursor: pointer;
	border: none;
	background-color: transparent;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.icon-bar {
	display: block;
	width: 25px;
	height: 4px;
	margin: 2px;
	background-color: var(--navbar-text-color);
}

#navbar-toggle:is(:focus, :hover) .icon-bar {
	background-color: var(--navbar-text-color-focus);
}

#navbar-toggle[aria-expanded="true"] .icon-bar:is(:first-child, :last-child) {
	position: absolute;
	margin: 0;
	width: 30px;
}

#navbar-toggle[aria-expanded="true"] .icon-bar:first-child {
	transform: rotate(45deg);
}

#navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(2) {
	opacity: 0;
}

#navbar-toggle[aria-expanded="true"] .icon-bar:last-child {
	transform: rotate(-45deg);
}

#navbar-menu {
	position: fixed;
	top: var(--navbar-height);
	bottom: 0;
	opacity: 0;
	visibility: hidden;
	left: 0;
	right: 0;
	transition: var(--transition-all);

}

#navbar-toggle[aria-expanded="true"]+#navbar-menu {
	opacity: 1;
	visibility: visible;
}

.navbar-links {
	background: transparent;
	list-style: none;
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	left: 0;
	width: 128%;
	right: 0;
	margin: 1.4rem;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}


#navbar-toggle[aria-expanded="true"]+#navbar-menu .navbar-links {
	padding: 1em;
}


#integrator {
	display: flex;
	flex-direction: row;
	list-style: none;
	width: 30%;
	justify-content: center;
	align-items: center;
	height: 100%;
}

#integrator li {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #000f;
	border: 1px solid mediumvioletred;
	width: 25px;
	height: 25px;
}

.logo img {
	width: 480px;
	border-radius: 5px;
	align-self: center;
	height: 200px;
}

.navbar-container {
	display: flex;
}


#integrator ul {
	display: flex;
	flex-direction: row;
	gap: 5px;
	justify-items: center;
	list-style-type: none;
}

#integrator ul li a {
	justify-items: center;
	align-items: center;
	align-content: center;
}


ul.navbar-links li {
	text-decoration: none;

}


header #integrator {
	float: left;
	margin-left: 0;
}

header #integrator ul li .integ span {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}
header #integrator ul li .integ p {font-size: 16px;
	margin-top: 20px;
	text-align: left;
}

header #integrator ul li .integ {
/*	display: none;*/
	opacity: 0;
	visibility: hidden;
	position: absolute;
	clear: both;
	top: 70px;
	color: #000;
	z-index: -1;
	width: 200px;
	height: 220px;
	background-color: #FFF;
    border: 1px solid red;
    border-radius: 10px;
    padding: 10px;
	transition: opacity 1s ease, visibility 0s 0.5s; /* Opóźniamy visibility na 0.5s */ 

}



header #integrator ul li .integ h2 {
	font-weight: 700;
	font-size: 200%;
}

header #integrator ul li:hover {
	color: black;
	background-color: #fff;
}


header #integrator ul li:hover>.integ {
	/*display: block;*/
	opacity: 1;
	visibility: visible;
	z-index: 100;
	height: 220px;
	width: 200px;
	float: left;
	top: 70px;
	background-color: #FFF;
	border: 1px solid red;
	border-radius: 10px;
	padding: 10px;
	transition-duration: 1s;
	transition: opacity 1s linear; 
}

/* Aby opóźnić znikanie, dodajemy transition-delay */
header #integrator ul li:not(:hover) .integ {

    transition-delay: 3s; /* 3 sekundy opóźnienia przed zniknięciem */
	transition-duration: 1s;
}

/* zmiana dla dark mode , data-theme */

/* Jasny motyw - domyślny*/
[data-theme="light"] header #integrator ul li .integ {
	background-color: #fff;
	color: #000;
	border:  solid red;

}

/* Ciemny motyw */
[data-theme="dark"] header #integrator ul li .integ {
	background-color: #253445;
	color: #fff;
	border: none;
	
}

[data-theme="dark"] header #integrator ul li:hover {
    background-color: #253445;
    color: #fff;
	
}

#content {
	margin-top: 200px;
	height: 100%;
	border-radius: 20px;
	border: 2px solid darkgray;
	border-right: 10px solid lightgrey;
	border-bottom: 10px solid grey;
	width: 90%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

#map {
	width: 200px;
	height: 200px;
}

@media screen and (min-width: 600px) {
	.container {
		padding-left: 1.4rem;
		padding-right: 1.4rem;
	}

	#navbar-toggle,
	#navbar-toggle[aria-expanded="true"] {
		display: none;
	}


	#navbar-menu,
	#navbar-toggle[aria-expanded="true"] #navbar-menu {
		visibility: visible;
		opacity: 1;
		position: static;
		display: block;
		height: 100%;
	}

	.navbar-links,
	#navbar-toggle[aria-expanded="true"] #navbar-menu .navbar-links {
		margin: 0;
		padding: 0;
		box-shadow: none;
		position: static;
		flex-direction: row;
		height: 100%;

	}


	.navbar-item {
		margin: 0.4rem;
	}

	.navbar-links {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

@media only screen and (max-width: 769px) {

	header {
		flex-direction: column;
		width: 100%;
	}

	ol {
		min-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.topnav {
		width: 100%;
		display: flex;
		flex-direction: column;
	}

	/* style dla kontakt.html */
	.contactData,
	.contact,
	.contactUs {
		width: 100%;
		margin-bottom: 20px;
	}
	.contact p,
	.contactData {
		font-size: 16px;
		color: #333;
		line-height: 1.6;
		text-align: center;
	}


	header,
	#content,
	.topnav {
		min-width: 0;
	}
    
	.navbar-links {
        width: 80%;
	}
	.navbar-link {width: 95%;}
    #content {margin-top: 120px;}

	#content h4 {
		margin-top: 15px;
	}
    /* style dla uslugi.html */
    .text-container,.section {margin: 0;}
}

@media screen and (max-width: 767px) {
	#content {width: auto;}
	#integrator {
		display: none
	}

	.navbar-logo {
		margin-right: 20px;
		width: 200px;
		height: 64px;
	}

	.logo img {
		width: 320px;
		height: 140px;
	}

	ul.navbar-links {
		background-color: #fff;
	}

	#new-container {
		display: block;
	}

	/* styl dla kontakt.html */
	.contact h1 {
		margin: 2px !important;
	}

	h4.contact-heading {
		font-size: 16px;
	}

	.quality-text {
		flex-direction: column;
	}

	/* styl dla klienci.html */

	.row a {
		font-size: 14px;
	}
    /* styl dla uslugi.html */
    .section {flex-direction: column;} 

  
    .text-container,.slider-container {width: 100%;height: auto;margin-top: 10px;}
    .slider-container img {width: 100%;height: 230px;}
    
}

/* Styl dla tabletów */
@media (max-width: 414px){
	html,body {overflow-x: hidden;}
	.heading img {width: 100px;height: 100px ;}
}
@media (min-width: 768px) and (max-width: 1280px) {
	#navbar {
		height: 120px;
	}


	#integrator {
		display: none;
	}

	header {
		min-width: 0;
	}
	.navbar-link {
		font-size: 14px;
	}

	#content h1 {
		font-size: 32px;
	}



	.navbar-logo {
		width: 200px;
		height: 72px;
	}

	/* Ustawienie nawigacji */
	nav {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 20px;
	}

	/* Główna lista menu (navbar-links) */
	#navbar-menu {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	ul.navbar-links {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: row;
	}

	ul.navbar-links li {
		margin: 0;
	}

	ul.navbar-links li a {
		text-decoration: none;
		color: #333;
		font-weight: bold;
		transition: var(--transition-all);

	}

	ul.navbar-links li a:hover {
		background-color: #ddd;
	}

	#navbar-toggle {
		display: none;
	}


}

@media screen and (max-width: 1024px) {
	#integrator {
		display: none;
	}
}


/* ========================== Styl dla trybu ciemnego ========================== */
[data-theme="dark"] {

	/* ========================== Tło strony ========================== */
	#content {
		background-color: #1B2A39;
		/* Ciemniejszy, bardziej neutralny odcień dla głównej sekcji */
	}

	/* ========================== Tło HTML ========================== */
	body {
		background-color: #1B2A39;
		/* Zachowanie spójności z tłem sekcji głównej */
	}

	/* ========================== Tło głównej sekcji ========================== */
	#content {
		background-color: #1e2f41;
		/* Zachowanie spójności z tłem sekcji głównej */
		border: none;
	}

	.navbar-link {
		font-size: 16px;
	}

	/* ========================== Stylizacja menu ========================== */
	header #integrator ul li:hover>.integ {
		background-color: #273647;
		/* Jasny, elegancki szary tekst */
		border: none;
		color: #fff;
	}

	#integrator ul li {
		background-color: #273647;
		/* Głęboki granat z nutą stali */
		color: #D8DEE9;
		/* Jasny, elegancki szary tekst */
		font-weight: bold;
		border: 1px solid #273647;
		/* Subtelny odstęp między elementami */
	}

	header #integrator ul li:hover {
		background-color: #FFA726;
		/* Soczysty pomarańczowy akcent */
		color: #1B2A39;
		/* Dopasowanie koloru tekstu do tła */
		transition: var(--transition-all);

	}

	/* ========================== Nawigacja ========================== */
	.navbar-link {
		color: #fff;
		/* Jasny, elegancki szary tekst */
		border-radius: 4px;
		/* Miękkie zaokrąglenia */
		transition: var(--transition-all);
		font-size: 15px;
		font-weight: 900;
		padding: 0.2em 0.6em;
	}

	.navbar-link:is(:focus, :hover) {
		background-color: #FFA726;
		/* Soczysty pomarańczowy akcent */
		color: #121A24;
		/* Najciemniejszy odcień granatu */
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
		/* Subtelny cień dla efektu podniesienia */
		transition: all 0.3s ease;
	}

	/* ========================== Akcenty tekstowe ========================== */
	.text-info p {
		color: #FFD54F;
		font-weight: bold;
		letter-spacing: 0.5px;
	}

	.line-1 {
		color: #D8DEE9;
	}

	/* ========================== Obróbka obrazów ========================== */


	img[src*="logo"] {
		filter: invert(1);
	}

	/* ========================== Tło nagłówka (header) ========================== */
	header#navbar {
		background-color: #1C2733;
		background-image: none;
		border-bottom: 1px solid #273647;
	}

	/* sekcja dla klienci.html */
	#content .row a {
		color: #fff;
	}

	/* sekcja dla uslugi.html */
	.section,
	.text-container {
		background: none;
	}

	.text-container p,
	.text-container h1 {
		color: #fff;
	}

	/* sekcja dla kontakt.html */
	.contactData,
	
	.contact,
	.contactUs {
		background: none;
	}
	.contact *,
	.contactData * {
		color: #fff;
		text-decoration: none;
	}
	

	#content h1,
	#content h4,
	#content p{
		color: #fff;
	}
	.sub-quality {color: #fff;}

	/* sekcja dla jakosc.html */
	.quality-text h3 {
		color: #fff;
	}

	.certificate {
		background: none;
	}

}
