/* ===== SEKCJA O MNIE ===== */
.about-section {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 40px 0;
}

.about-section .col5 {
	flex: 0 0 40%;
}

.about-section .col7 {
	flex: 1;
}

.about-image {
	width: 100%;
	max-width: 800px;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-content h2 {
	margin-bottom: 20px;
	font-size: 28px;
	color: #333;
}

.about-content p {
	margin-bottom: 15px;
	line-height: 1.6;
	text-align: justify;
}

/* Mobile - zdjęcie na górze, opis pod spodem */
@media (max-width: 767px) {
	.about-section {
		flex-direction: column;
		gap: 20px;
	}
	
	.about-section .col5,
	.about-section .col7 {
		flex: 1 1 100%;
		width: 100%;
	}
	
	.about-content h2 {
		font-size: 24px;
		text-align: center;
	}
}







/* ===== SEKCJA CO MNIE WYRÓŻNIA ===== */
.features-section {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 40px 0;
}

.features-section .col5 {
	flex: 0 0 40%;
}

.features-section .col7 {
	flex: 1;
}

.features-content h2 {
	margin-bottom: 20px;
	font-size: 28px;
	color: #333;
}

.features-content p {
	margin-bottom: 15px;
	line-height: 1.6;
	text-align: justify;
}



/* ===== SEKCJA CO MNIE WYRÓŻNIA ===== */
.features-section {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 40px 0;
}

.features-section .col5 {
	flex: 0 0 40%;
}

.features-section .col7 {
	flex: 1;
}

.features-content h2 {
	margin-bottom: 20px;
	font-size: 28px;
	color: #333;
}

.features-content p {
	margin-bottom: 15px;
	line-height: 1.6;
	text-align: justify;
    
    
}

/* Karuzela obrazków-------------------- */
/* Karuzela obrazków - PRZESUWANIE */
.features-carousel {
	position: relative;
	width: 100%;
	max-width: 800px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-image {
	display: block;
	width: 100%;
	height: auto;
	position: absolute;
	top: 0;
	left: 0;
	transition: transform 0.6s ease-in-out;
	transform: translateX(100%);
}

.carousel-image:first-child {
	position: relative;
}

.carousel-image.active {
	transform: translateX(0);
	z-index: 2;
}

.carousel-image.prev {
	transform: translateX(-100%);
	z-index: 1;
}




/* Mobile - opis na górze, karuzela pod spodem */
@media (max-width: 767px) {
	.features-section {
		flex-direction: column;
		gap: 20px;
	}
	
	.features-section .col5,
	.features-section .col7 {
		flex: 1 1 100%;
		width: 100%;
	}
	
	.features-section .col7 {
		order: 1;
	}
	
	.features-section .col5 {
		order: 2;
	}
	
	.features-content h2 {
		font-size: 24px;
		text-align: center;
	}
}

/* Karuzela obrazków ----*/




/* ===== SEKCJA O MNIE ===== */
.about-section {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 40px 0;
}

.about-section .col5 {
	flex: 0 0 40%;
}

.about-section .col7 {
	flex: 1;
}

.about-image {
	width: 100%;
	max-width: 800px;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.about-content h2 {
	margin-bottom: 20px;
	font-size: 28px;
}

.about-content p {
	margin-bottom: 15px;
	line-height: 1.6;
	text-align: justify;
}

/* Białe teksty dla sekcji O MNIE */
.about-white-text h2 {
	color: #fff !important;
}

.about-white-text p {
	color: #d0d0d0 !important;
}


/* Mobile - zdjęcie na górze, opis pod spodem */
@media (max-width: 767px) {
	.about-section {
		flex-direction: column;
		gap: 20px;
	}
	
	.about-section .col5,
	.about-section .col7 {
		flex: 1 1 100%;
		width: 100%;
	}
	
	.about-content h2 {
		font-size: 24px;
		text-align: center;
	}
}



/* Białe teksty dla sekcji O MNIE */
.about-white-text h2 {
	color: #fff !important;
	font-size: 28px;
}

.about-white-text p {
	color: #fff !important;  /* Zmiana z #d0d0d0 na #fff */
	font-size: 16px !important;  /* Zwiększenie rozmiaru */
	line-height: 1.6;
}




/* Sekcja Jak pracuję */
.how-it-works-section h1 {
	color: #fff !important;
	font-size: 28px;
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: normal !important;
	font-style: normal !important;
}

/* Białe teksty TYLKO dla <p> w kolumnach */
.white-text-only p {
	color: #fff !important;
	font-size: 16px !important;
	line-height: 1.6;
}





/* Sekcja informacyjna o ofercie */
.offer-info {
	text-align: center;
	margin: 40px 0;
}

.offer-custom-text {
	color: #fff !important;
	font-size: 18px !important;
	line-height: 1.6;
	margin: 20px auto;
	max-width: 800px;
}

.offer-contact {
	color: #fff !important;
	font-size: 28px !important;
	font-weight: normal !important;
	margin: 30px 0;
}

.offer-contacto {
	color: #fff !important;
	font-size: 40px !important;
	font-weight: normal !important;
	margin: 30px 0;
}

.offer-contact a {
	color: #ff8c42 !important;
	text-decoration: none;

}

.offer-contact a:hover {
	text-decoration: underline;
}



/* ===== SEKCJA O MNIE ===== */
.about-section {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 40px 0;
}

.about-section .col5 {
	flex: 0 0 45%;
}

.about-section .col7 {
	flex: 1;
}

.about-image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Tablet - wcześniej przełącz na kolumny */
@media (max-width: 1024px) {
	.about-section {
		flex-direction: column;
	}
	
	.about-section .col5,
	.about-section .col7 {
		flex: 1 1 100%;
		width: 100%;
		max-width: 800px;
		margin: 0 auto;
	}
	
	.about-content h2 {
		text-align: center;
	}
}

/* Mobile - mniejszy nagłówek */
@media (max-width: 767px) {
	.about-content h2 {
		font-size: 24px;
	}
}


/* Sekcja Jak pracuję - odstępy między kolumnami */
.how-it-works-section .col4 {
	padding: 0 15px;
	box-sizing: border-box;
}

/* Średnie ekrany - większe odstępy */
@media (min-width: 768px) and (max-width: 1199px) {
	.how-it-works-section .col4 {
		padding: 0 20px;
	}
}

/* Małe ekrany - kolumny jedna pod drugą */
@media (max-width: 767px) {
	.how-it-works-section .col4 {
		padding: 20px 0;
		width: 100%;
	}
}








/* ===== PARALLAX SEKCJA - Z JS FAKE PARALLAX ===== */
.parallax-section {
	position: relative !important;
	z-index: 100 !important;
	width: 100%;
	height: 350px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll; /* Domyślnie scroll */
	padding: 0;
	box-sizing: border-box;
	margin-left: calc(-10% - 10px) !important;
	margin-right: calc(-10% - 10px) !important;
	width: calc(100% + 20% + 20px) !important;
}

/* TYLKO desktop 1200+ - parallax FIXED */
@media (min-width: 1200px) {
	.parallax-section {
		background-attachment: fixed;
		height: 400px;
	}
}

/* Tablet/Mobile - przygotowanie na JS parallax */
@media (max-width: 1199px) {
	.parallax-section {
		height: 350px;
		background-attachment: scroll;
	}
}

@media (max-width: 768px) {
	.parallax-section {
		height: 300px;
		margin-left: -20px !important;
		margin-right: -20px !important;
		width: calc(100% + 40px) !important;
	}
}

/* Fake parallax background (dodawane przez JS) */
.parallax-bg-fake {
	transition: transform 0.1s ease-out;
}










/* Link na całą sekcję parallax */
.parallax-link {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	text-decoration: none;
	cursor: pointer;
	z-index: 5;
}

/* Tekst na parallax */
.parallax-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 100%;
	z-index: 10;
	pointer-events: none;
}

.parallax-text h2 {
	color: #ffffff;
	font-weight: bold;
	font-size: 36px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
	margin: 0 auto 10px auto;
	line-height: 1.3;
	letter-spacing: 1px;
	transition: text-shadow 0.3s ease;
	display: inline-block; /* Zmiana */
}

.parallax-text h3 {
	color: #ffffff;
	font-weight: bold;
	font-size: 36px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
	margin: 0 auto;
	line-height: 1.3;
	letter-spacing: 1px;
	transition: text-shadow 0.3s ease;
	display: block;
	width: 75vw !important; /* 75% viewport width + !important */
	max-width: none !important;
}


/* Hover effect - tylko cień */
.parallax-link:hover .parallax-text h2,
.parallax-link:hover .parallax-text h3 {
	text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
}

/* Tablet */
@media (max-width: 1024px) {
	.parallax-text h2,
	.parallax-text h3 {
		font-size: 28px;
	}
	
	.parallax-text h3 {
		width: 80vw !important;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.parallax-text h2,
	.parallax-text h3 {
		font-size: 20px;
		letter-spacing: 0.5px;
	}
	
	.parallax-text h3 {
		width: 90vw !important;
	}
}






/* ===== VIDEO PARALLAX ===== */
html, body {
	overflow-x: hidden !important; /* Fix dla 100vw na iOS */
	width: 100%;
	position: relative;
}

.video-parallax-section {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 1;
}

.video-parallax-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 1;
	overflow: hidden;
}

.video-background {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
}

.video-content {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	color: #fff;
	text-align: center;
}

.video-content h1 {
	font-size: 72px;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.video-content p {
	font-size: 32px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Sekcje PO video - solidne tło */
.section-header,
.section-content,
.about-section {
	position: relative;
	z-index: 100 !important;
}

.kickoff.cont-body {
	background-color: #f5f5f5 !important;
	background-image: url('../assets/core/images/theme2-content-bg.png') !important;
	background-repeat: repeat !important;
	position: relative;
	z-index: 100 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding-top: 80px !important;
	padding-left: 10% !important;
	padding-right: 10% !important;
	box-sizing: border-box !important;
}

section:not(.video-parallax-section) {
	position: relative;
	z-index: 100 !important;
}

/* ===== PARALLAX SEKCJA ===== */
.parallax-section {
	position: relative !important;
	z-index: 100 !important;
	width: 100%;
	height: 350px;
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 0;
	box-sizing: border-box;
	margin-left: calc(-10% - 10px) !important;
	margin-right: calc(-10% - 10px) !important;
	width: calc(100% + 20% + 20px) !important;
}

/* ===== MOBILE + iOS FIX ===== */
@media (max-width: 768px) {
	.video-parallax-container {
		position: absolute !important;
	}
	
	.kickoff.cont-body {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	
	.video-content h1 {
		font-size: 36px;
	}
	
	.video-content p {
		font-size: 20px;
	}
	
	.parallax-section {
		height: 300px;
		background-attachment: scroll;
		margin-left: -20px !important;
		margin-right: -20px !important;
		width: calc(100% + 40px) !important;
	}
}

/* Tablet */
@media (max-width: 1199px) and (min-width: 769px) {
	.parallax-section {
		height: 400px;
	}
}






/* Fix dla sekcji parallax robotów */
.parallax-section {
	position: relative !important;
	z-index: 100 !important;
}

/* Wszystkie sekcje po video */
section:not(.video-parallax-section) {
	position: relative;
	z-index: 100 !important;
}
