:root {
	--main-color: #383837;
	--accent-color: #c0a080;
	--light-gray: #f5f5f5;
	--gray: #e0e0e0;
	--font-main: 'Montessori', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-main);
	color: var(--main-color);
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 10px;
	border-radius: 3px;
	position: fixed;
	top: 1rem; /* lub 1.5rem */
	right: 1rem; /* lub 1.5rem */
	background-color: white;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	z-index: 1100;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hamburger.open {
	box-shadow: none; /* Znika cień, ale pozycja się nie zmienia */
}
/* LINES */
.hamburger span {
	width: 25px;
	height: 3px;
	background-color: var(--main-color);
	display: block;
	transition: all 0.3s ease;
}

/* NAVIGATION */

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background: transparent;
	z-index: 1000;
	font-size: 16px;
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(6px);
}

.nav-left {
	display: flex;
	align-items: center;
	transform: translateX(10%);
}

.nav-links {
	display: flex;
	gap: 4rem;
	transform: translateX(-40%);
}

.nav-links a {
	text-decoration: none;
	color: var(--main-color);
	font-weight: 500;
	transition: color 0.3s;
	font-family: var(--font-main);
	letter-spacing: 2px;

	padding: 0.5rem 0;
}

.nav-links a:hover {
	color: var(--accent-color);
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 2rem;

	font-family: var(--font-main);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 2px;
}

.instagram-wrapper {
	display: flex;
	align-items: center;
	gap: 4rem;
}

.instagram-wrapper a {
	text-decoration: none;
	color: var(--main-color);
	font-weight: 500;
	transition: color 0.3s;
}

.instagram-wrapper a:hover {
	color: var(--accent-color);
}

.mobile-contact {
	display: none;
}

/* OMNIE */
.about-omnie {
	padding: 0;
	margin: 0;
	background-color: #f1f1f1;
}

.about-omnie-container {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.about-omnie-image {
	flex: 1;
	display: flex;
	margin-top: 20px;
}

.about-omnie-image img {
	width: 95%;
	height: auto;
	object-fit: contain;
	display: block;
	align-self: stretch;
	border-radius: 3px;
}

.about-omnie-text {
	flex: 1;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	background-color: #f1f1f1;
}

.about-omnie-text h3 {
	font-family: var(--font-main);
	font-weight: 500;
	font-size: 18px;
	color: var(--main-color);
	margin-bottom: 1rem;
	text-align: center;
	width: 100%;
	letter-spacing: 2px;
}

.about-omnie-text p {
	line-height: 1.6;
	text-align: justify;
	max-width: 80%;
	margin: 0 auto;
	padding-top: 0.5rem;
	letter-spacing: 0.5px;
	hyphens: auto;
}

/* FOOTER */

footer {
	background-color: var(--light-gray);
	padding: 2rem;
	font-size: 0.9rem;
	color: #666;
	display: flex;
	justify-content: space-between;
	align-items: center;
	letter-spacing: 2px;
	flex-wrap: wrap;
	letter-spacing: 2px;
}

.footer-left,
.footer-right {
	flex: 1;
}

.footer-left {
	text-align: left;
	padding-left: 1rem;
}

.footer-right {
	text-align: right;
	padding-right: 1rem;
}

/* ANIMATIONS */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* RESPONSIVE */

@media (max-width: 768px), (max-width: 1024px) {
	/* NAVIGATION */

	.nav-left {
		transform: none;
	}

	.nav-links {
		display: none;
		flex-direction: column;
		background: white;
		position: absolute;
		top: 70px;
		right: 1rem;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		padding: 1.5rem 1rem;
		border-radius: 3px;
		min-width: 180px;
		z-index: 1001;
		gap: 1rem;
		transform: none; /* <- to dodaj! */
	}

	.nav-links.active {
		display: flex;
	}

	.mobile-contact {
		display: block;
	}

	.nav-right {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	/* FOOTER */

	.footer-container {
		align-items: center;
		gap: 0.5rem;
		text-align: center;
		padding: 1rem 1.5rem;
	}

	footer {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0.5rem;
		padding: 2rem 1rem;
	}

	.footer-left,
	.footer-right {
		width: 100%;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 0.85rem;
	}
}

@media (max-width: 1024px) and (orientation: landscape) {
	nav {
		flex-direction: column;
		align-items: center;
		padding: 1rem;
	}
	.nav-left,
	.nav-right {
		transform: none;
	}
	.nav-links {
		transform: none;
	}
}
