/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.4
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* =====================================================
   PRZYKŁADOWE REALIZACJE - Styles
   ===================================================== */

   .pr-realizacje-wrapper {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.pr-realizacje-grid {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

/* Pojedynczy element realizacji */
.pr-realizacja-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

/* Kolumny */
.pr-col {
	position: relative;
}

.pr-col-image {
	display: flex;
	flex-direction: column;
}

.pr-col-content {
	display: flex;
	align-items: center;
}

/* Nagłówek "Przykład Realizacji" */
.pr-header-text {
	margin-bottom: 30px;
}

.pr-header-text.pr-header-right {
	text-align: right;
}

.pr-header-white {
	display: block;
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	color: #ffffff;
	line-height: 1.1;
}

.pr-header-pink {
	display: block;
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	color: #e52a89;
	line-height: 1.1;
}

/* Kontener obrazka z różowymi elementami */
.pr-image-container {
	position: relative;
	width: 100%;
}

.pr-image-wrapper {
	position: relative;
	z-index: 2;
	border-radius: 8px;
	overflow: hidden;
}

/* =====================================================
   SLIDER / GALERIA ZDJĘĆ
   ===================================================== */

.pr-slider {
	position: relative;
	width: 100%;
}

.pr-slide {
	display: none;
	width: 100%;
}

.pr-slide.active {
	display: block;
	animation: prFadeIn 0.4s ease-out;
}

@keyframes prFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.pr-featured-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16/10;
}

/* Nawigacja strzałkami - domyślnie ukryta */
.pr-slider-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* Pokaż nawigację na hover */
.pr-image-wrapper.has-gallery:hover .pr-slider-nav {
	opacity: 1;
}

/* Strzałki nawigacji */
.pr-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(4px);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0;
}

.pr-nav-arrow svg {
	width: 24px;
	height: 24px;
	color: #ffffff;
	transition: transform 0.2s ease;
}

.pr-nav-arrow:hover {
	background: rgba(229, 42, 137, 0.8);
	border-color: rgba(229, 42, 137, 0.9);
	transform: translateY(-50%) scale(1.1);
}

.pr-nav-arrow:hover svg {
	transform: scale(1.1);
}

.pr-nav-prev {
	left: 15px;
}

.pr-nav-next {
	right: 15px;
}

/* Kropki nawigacyjne */
.pr-slider-dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 8px;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	border-radius: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pr-image-wrapper.has-gallery:hover .pr-slider-dots {
	opacity: 1;
}

.pr-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.3s ease;
}

.pr-dot:hover {
	background: rgba(255, 255, 255, 0.7);
	transform: scale(1.2);
}

.pr-dot.active {
	background: #e52a89;
	transform: scale(1.3);
}

/* Ikona galerii - informacja że jest więcej zdjęć */
.pr-image-wrapper.has-gallery::after {
	content: '';
	position: absolute;
	top: 15px;
	right: 15px;
	width: 36px;
	height: 36px;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	border-radius: 8px;
	z-index: 5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z' /%3E%3C/svg%3E");
	background-size: 22px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.pr-image-wrapper.has-gallery:hover::after {
	opacity: 0;
}

/* =====================================================
   POZOSTAŁE STYLE (bez zmian)
   ===================================================== */

/* Różowe elementy nachodzące */
.pr-pink-element {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.pr-pink-top {
	width: 150px;
	height: auto;
	top: 50px;
	left: -30px;
	z-index: 3;
}

.pr-pink-bottom {
	width: 150px;
	height: auto;
	bottom: 50px;
	right: -20px;
	z-index: 3;
}

/* Layout 2 - odwrócone pozycje różowych elementów */
.layout-2 .pr-pink-top {
	left: auto;
	right: -30px;
}

.layout-2 .pr-pink-bottom {
	right: auto;
	left: -20px;
}

/* Zawartość tekstowa */
.pr-content-inner {
	width: 100%;
	max-width: 580px;
}

.layout-1 .pr-content-inner {
	margin-left: 0;
}

.layout-2 .pr-content-inner {
	margin-left: auto;
	margin-right: 0;
}

.pr-title-row {
	display: flex;
	align-items: center !important;
	gap: 20px;
	margin-bottom: 25px;
}

.pr-icon {
	width: 65px;
	height: 65px;
	flex-shrink: 0;
}

.pr-title {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
	color: #ffffff;
	padding-top: 0;
	margin: 0;
	line-height: 1.3;
}

.pr-description {
	font-size: clamp(14px, 1.5vw, 17px);
	color: #cccccc;
	line-height: 1.7;
}

/* Brak wyników */
.pr-no-results {
	text-align: center;
	color: #999999;
	font-size: 18px;
	padding: 60px 20px;
}

/* Przycisk "Zobacz więcej" */
.pr-load-more-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 60px;
}

.pr-load-more-btn {
	display: inline-block;
	padding: 0.8em 1.8em;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: #ffffff;
	background: transparent;
	border: 2px solid #ffffff;
	border-radius: 0.3em;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pr-load-more-btn:hover {
	background: #e52a89;
	border-color: #e52a89;
	color: #ffffff;
}

.pr-load-more-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* =====================================================
   RESPONSYWNOŚĆ
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
	.pr-realizacje-wrapper {
		padding: 30px 15px;
	}

	.pr-realizacje-grid {
		gap: 60px;
	}

	.pr-realizacja-item {
		gap: 40px;
	}

	.pr-pink-top {
		width: 60px;
		top: 15px;
		left: -20px;
	}

	.pr-pink-bottom {
		width: 60px;
		bottom: -15px;
		right: -15px;
	}

	.layout-2 .pr-pink-top {
		right: -20px;
	}

	.layout-2 .pr-pink-bottom {
		left: -15px;
	}

	.pr-icon {
		width: 40px;
		height: 40px;
	}

	.pr-title-row {
		gap: 15px;
		margin-bottom: 20px;
	}

	/* Slider na tablecie */
	.pr-nav-arrow {
		width: 44px;
		height: 44px;
	}

	.pr-nav-arrow svg {
		width: 20px;
		height: 20px;
	}

	.pr-nav-prev {
		left: 10px;
	}

	.pr-nav-next {
		right: 10px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.pr-realizacje-grid {
		gap: 50px;
	}

	.pr-realizacja-item {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	/* Na mobile zawsze ta sama kolejność: nagłówek + obrazek, potem tekst */
	.pr-realizacja-item.layout-1 .pr-col-image,
	.pr-realizacja-item.layout-2 .pr-col-image {
		order: 1;
	}

	.pr-realizacja-item.layout-1 .pr-col-content,
	.pr-realizacja-item.layout-2 .pr-col-content {
		order: 2;
	}

	/* Centrowanie nagłówka na mobile */
	.pr-header-text,
	.pr-header-text.pr-header-right {
		text-align: center;
	}

	.pr-header-white,
	.pr-header-pink {
		font-size: 36px;
	}

	/* Różowe elementy na mobile */
	.pr-pink-top,
	.layout-2 .pr-pink-top {
		width: 50px;
		top: 10px;
		left: -10px;
		right: auto;
	}

	.pr-pink-bottom,
	.layout-2 .pr-pink-bottom {
		width: 50px;
		bottom: 20px;
		right: -10px;
		left: auto;
	}

	/* Centrowanie contentu na mobile */
	.pr-content-inner,
	.layout-1 .pr-content-inner,
	.layout-2 .pr-content-inner {
		margin: 0 auto;
		max-width: 100%;
	}

	.pr-title-row {
		justify-content: flex-start;
	}

	.pr-icon {
		width: 35px;
		height: 35px;
	}

	.pr-title {
		font-size: 22px;
	}

	.pr-description {
		font-size: 15px;
	}

	.pr-load-more-wrapper {
		margin-top: 40px;
	}

	.pr-load-more-btn {
		padding: 14px 40px;
		font-size: 14px;
	}

	/* Slider na mobile - zawsze widoczne elementy nawigacji */
	.pr-slider-nav {
		opacity: 1;
	}

	.pr-slider-dots {
		opacity: 1;
	}

	.pr-image-wrapper.has-gallery::after {
		display: none;
	}

	.pr-nav-arrow {
		width: 40px;
		height: 40px;
		background: rgba(0, 0, 0, 0.4);
		border: none;
	}

	.pr-nav-arrow svg {
		width: 18px;
		height: 18px;
	}

	.pr-nav-prev {
		left: 8px;
	}

	.pr-nav-next {
		right: 8px;
	}

	.pr-slider-dots {
		bottom: 10px;
		padding: 6px 10px;
		gap: 6px;
	}

	.pr-dot {
		width: 8px;
		height: 8px;
	}
}

/* Small mobile */
@media (max-width: 480px) {
	.pr-realizacje-wrapper {
		padding: 20px 10px;
	}

	.pr-realizacje-grid {
		gap: 40px;
	}

	.pr-header-white,
	.pr-header-pink {
		font-size: 28px;
	}

	.pr-header-text {
		margin-bottom: 20px;
	}

	.pr-image-container {
		margin: 0 10px;
	}

	.pr-pink-top,
	.layout-2 .pr-pink-top {
		width: 80px;
		left: -10px;
	}

	.pr-pink-bottom,
	.layout-2 .pr-pink-bottom {
		width: 80px;
		right: -10px;
	}

	.pr-title {
		font-size: 18px;
	}

	.pr-description {
		font-size: 14px;
		line-height: 1.6;
	}

	.pr-load-more-btn {
		padding: 12px 30px;
		font-size: 13px;
		width: 100%;
		max-width: 250px;
	}

	/* Slider na małych mobile */
	.pr-nav-arrow {
		width: 36px;
		height: 36px;
	}

	.pr-nav-arrow svg {
		width: 16px;
		height: 16px;
	}

	.pr-nav-prev {
		left: 5px;
	}

	.pr-nav-next {
		right: 5px;
	}
}