:root {
	--primary-color: rgb(80 99 81);
	--secondary-color: rgb(163, 184, 164);
	--background-color: #f8f9fa;
	--text-color: #212529;
	--link-color: rgb(163, 184, 164);
	--link-hover-color: #0056b3;
	--font-family: 'Source Sans 3 VF', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-serif: 'Source Serif 4 VF', 'Georgia', 'Times New Roman', serif;
	--nav-bg: white;
	--footer-bg: rgb(45 50 44);
	--dropdown-bg: #fff;
	--dropdown-border: #eee;
}

[data-theme='dark'] {
	--primary-color: rgb(120, 150, 120);
	--secondary-color: rgb(80, 100, 80);
	--background-color: #1a1a1a;
	--text-color: #e9ecef;
	--nav-bg: #2d2d2d;
	--footer-bg: #1a1a1a;
	--dropdown-bg: #2d2d2d;
	--dropdown-border: #444;
}

header {
	height: 20vh !important;
}

.main-container {
	max-width: 120rem;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.section-title {
	font-family: var(--font-serif); /* DODANE - Source Serif 4 */
	font-size: 3.2rem;
	font-weight: 600;
	font-variation-settings: 'wght' 600; /* DODANE - dla variable font */
	color: var(--primary-color);
	text-align: left;
	margin-bottom: 3rem;
	line-height: 1.2;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 0;
	width: 8rem;
	height: 0.4rem;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 0.2rem;
}

.text-content {
	font-size: 1.8rem;
	line-height: 1.7;
	color: var(--text-color);
}

.text-content p {
	margin-bottom: 2.5rem;
	text-align: justify;
	position: relative;
	padding-left: 2rem;
}

.text-content p::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: var(--secondary-color);
	font-weight: bold;
}

/* ===== CREATIVE PHOTO COLLAGE ===== */
.content-with-images {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 6rem;
	align-items: start;
	margin-bottom: 8rem;
	position: relative;
}

.text-section {
	padding-right: 2rem;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 2rem;
}

.images-section {
	position: relative;
	height: 75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.photo-collage {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 40rem;
}

.photo-frame {
	position: absolute;
	border-radius: 1.5rem;
	overflow: hidden;
	box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.15), 0 1rem 2rem rgba(0, 0, 0, 0.1);
	transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border: 1rem solid white;
}

.photo-frame:hover {
	box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.2), 0 2rem 4rem rgba(0, 0, 0, 0.15);
}

.photo-1 {
	width: 175%;
	height: 65%;
	top: 5%;
	right: 0;
	transform: rotate(-5deg);
	z-index: -2;
}

.photo-2 {
	width: 70%;
	height: 60%;
	bottom: 5%;
	right: 0;
	transform: rotate(8deg);
	z-index: 1;
}

.photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.photo-frame:hover img {
	transform: scale(1.1);
}

.photo-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(80, 99, 81, 0.1) 0%, rgba(163, 184, 164, 0.2) 50%, transparent 100%);
	mix-blend-mode: soft-light;
	transition: all 0.5s ease;
}

.photo-frame:hover .photo-overlay {
	background: linear-gradient(135deg, rgba(80, 99, 81, 0.2) 0%, rgba(163, 184, 164, 0.3) 50%, transparent 100%);
}

/* Floating decorative elements */
.floating-element {
	position: absolute;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	opacity: 0.1;
	animation: float 6s ease-in-out infinite;
}

.element-1 {
	width: 8rem;
	height: 8rem;
	top: -2rem;
	right: -1rem;
	animation-delay: 0s;
}

.element-2 {
	width: 5rem;
	height: 5rem;
	bottom: -1rem;
	left: -2rem;
	animation-delay: 3s;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-2rem) rotate(180deg);
	}
}

/* ===== SERVICES SECTION ===== */
.services-section {
	margin-top: 6rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
	margin-top: 4rem;
}

.service-card {
	background: white;
	padding: 3rem 2.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border-left: 0.4rem solid var(--primary-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 20rem;
	width: 100%;
}

.service-card:hover {
	transform: translateY(-0.5rem);
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.service-card h3 {
	font-family: var(--font-serif); /* DODANE - Source Serif 4 */
	font-size: 2.2rem;
	font-weight: 600;
	font-variation-settings: 'wght' 600; /* DODANE - dla variable font */
	color: var(--primary-color);
	margin-bottom: 1.5rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.service-card p {
	font-size: 1.6rem;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 767px) {
	.main-container {
		padding: 2rem 1rem;
	}

	.content-with-images {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.text-section {
		padding-right: 0;
	}

	.section-title {
		font-size: 2.4rem;
		margin-bottom: 2rem;
		text-align: center;
	}

	.section-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.text-content {
		font-size: 1.6rem;
		text-align: left;
	}

	.text-content p::before {
		display: none;
	}

	.text-content p {
		padding-left: 0;
	}

	.images-section {
		height: 35rem;
	}

	.photo-collage {
		max-width: 30rem;
	}

	.photo-1 {
		width: 70%;
		height: 55%;
	}

	.photo-2 {
		width: 65%;
		height: 50%;
	}

	.floating-element {
		display: none;
	}

	.services-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.service-card {
		padding: 2rem 1.5rem;
		min-height: 15rem;
	}

	.service-card h3 {
		font-size: 1.8rem;
	}
}

/* ===== TABLET STYLES ===== */
@media (min-width: 768px) and (max-width: 1023px) {
	.content-with-images {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.images-section {
		height: 40rem;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

/* ===== LARGE SCREENS ===== */
@media (min-width: 1200px) {
	.section-title {
		font-size: 3.6rem;
	}

	.text-content {
		font-size: 1.9rem;
	}
}

@media (prefers-color-scheme: dark) {
	.photo-frame {
		border: 1rem solid color-mix(in srgb, transparent 80%, black 20%);
	}

	.text-section {
		background-color: color-mix(in srgb, var(--background-color) 98%, transparent 2%);
	}

	.service-card {
		background: color-mix(in srgb, var(--background-color) 95%, white 5%);
		box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
		border-left: 0.4rem solid var(--secondary-color);
	}
}
