*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	color: #111;
	background: #fff;
	overflow-x: hidden;
}

img {
	display: block;
	width: 100%;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

:root {
	--green: #96a58e;
	--green-dark: #7e9076;
	--green-light: #b8c3b2;
	--pink: #f5bed3;
	--pink-light: #f9dce7;
	--gray: #f1f1f1;
	--black: #111;
	--white: #fff;
	--container: 84%;
}

.container {
	width: var(--container);
	margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: #fff;
	border-bottom: .06rem solid rgba(0, 0, 0, .07);
	box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .025);
}

.header__inner {
	height: clamp(5.5rem, 7vw, 7.5rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__logo {
	width: clamp(6.5rem, 8vw, 8.5rem);
}

.header__logo img {
	width: 100%;
	height: auto;
}


/* =========================================================
   MENU
   ========================================================= */

.header__nav {
	display: flex;
	align-items: center;
	gap: clamp(2rem, 3.2vw, 4rem);
}

.header__nav a {
	padding: .55em 1.55em;
	font-size: clamp(.78rem, .9vw, 1rem);
	font-weight: 400;
	border-radius: 10rem;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.header__nav a:hover {
	transform: translateY(-.1rem);
}


/* STRONA GŁÓWNA */

.header__nav a:nth-child(1) {
	color: #fff;
	background: var(--green);
}

.header__nav a:nth-child(1):hover {
	background: var(--green-dark);
}


/* PORTFOLIO */

.header__nav a:nth-child(2) {
	color: #111;
	background: transparent;
}

.header__nav a:nth-child(2):hover {
	background: var(--pink-light);
}


/* KONTAKT */

.header__nav a:nth-child(3) {
	color: #111;
	background: var(--pink);
}

.header__nav a:nth-child(3):hover {
	background: #efa9c4;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.header__btn {
	display: none;
}


/* =========================================================
   KONTAKT
   ========================================================= */

.contact {
	position: relative;
	width: 100%;
	min-height: calc(100vh - clamp(5.5rem, 7vw, 7.5rem));
	padding: clamp(3.5rem, 4.5vw, 5rem) 0 clamp(6rem, 8vw, 9rem);
	background: #fff;
}

.contact__inner {
	position: relative;
	z-index: 1;
}


/* =========================================================
   WSTĘP
   ========================================================= */

.contact__intro {
	max-width: 48rem;
	margin: 0;
}

.contact__eyebrow {
	margin: 0 0 .8rem;
	color: var(--green-dark);
	font-size: clamp(.72rem, .8vw, .85rem);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}


/* NAPISZ DO - NORMALNE */

.contact h1 {
	margin: 0 0 1.2rem;
	font-size: clamp(2rem, 2.8vw, 3rem);
	font-weight: 400;
	line-height: 1.1;
}


/* STUDIOFLOR - POGRUBIONE */

.contact h1 strong {
	font-weight: 700;
}

.contact__intro > p:last-child {
	max-width: 42rem;
	margin: 0;
	color: #444;
	font-size: clamp(.82rem, .88vw, .95rem);
	font-weight: 400;
	line-height: 1.7;
}


/* =========================================================
   GŁÓWNA ZAWARTOŚĆ
   ========================================================= */

.contact__content {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.contact__info {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 2.5vw, 3rem);
	min-width: 0;
}


/* =========================================================
   LEWA STRONA
   ========================================================= */

.contact__details {
	padding: 0;
	margin: 0;
}

.contact__details h2 {
	max-width: 28rem;
	margin: 0 0 .8rem;
	font-size: clamp(1.15rem, 1.35vw, 1.45rem);
	font-weight: 600;
	line-height: 1.35;
}

.contact__details > p {
	max-width: 30rem;
	margin: 0;
	color: #444;
	font-size: clamp(.82rem, .9vw, .95rem);
	font-weight: 400;
	line-height: 1.7;
}


/* =========================================================
   TELEFON I E-MAIL
   ========================================================= */

.contact__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 1.4rem;
	font-style: normal;
}

.contact__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .15rem;
	width: fit-content;
	margin: 0;
	font-size: clamp(.75rem, .82vw, .9rem);
	font-weight: 300;
	transition: opacity .2s ease;
}

.contact__item:hover {
	opacity: .65;
}

.contact__item-label {
	color: #111;
	font-size: clamp(.75rem, .82vw, .9rem);
	font-weight: 500;
	text-transform: none;
}


/* =========================================================
   FACEBOOK I INSTAGRAM
   ========================================================= */

.contact__socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 1.3rem;
}

.contact__socials a {
	display: flex;
	align-items: center;
	gap: .45rem;
	width: fit-content;
	font-size: clamp(.75rem, .82vw, .9rem);
	font-weight: 300;
	transition: opacity .2s ease;
}

.contact__socials a:hover {
	opacity: .65;
}

.contact__socials img {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	object-fit: contain;
}

.contact__socials .contact__item-label {
	font-size: clamp(.75rem, .82vw, .9rem);
	font-weight: 400;
}


/* =========================================================
   FORMULARZ
   ========================================================= */

.contact__form {
	display: grid;
	align-self: start;
	width: 100%;
	gap: .5rem;
	margin-top: 0;
	padding: clamp(1.5rem, 2.5vw, 2.3rem);
	border-radius: .8rem;
	background: var(--gray);
}

.contact__form label {
	margin-top: .55rem;
	font-size: .8rem;
	font-weight: 500;
}

.contact__form label:first-child {
	margin-top: 0;
}

.contact__form input,
.contact__form textarea {
	width: 100%;
	padding: .8rem 1rem;
	border: .08rem solid transparent;
	border-radius: .35rem;
	outline: none;
	color: #111;
	background: #fff;
	resize: vertical;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.contact__form input {
	height: 3.3rem;
}

.contact__form textarea {
	min-height: 8rem;
}

.contact__form input:focus,
.contact__form textarea:focus {
	border-color: var(--green);
	box-shadow: 0 0 0 .15rem rgba(150, 165, 142, .2);
}


/* =========================================================
   PRZYCISK FORMULARZA
   ========================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin-top: .8rem;
	padding: .7em 1.6em;
	border: 0;
	border-radius: 10rem;
	color: #111;
	background: var(--pink);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.btn:hover {
	background: #efa9c4;
	transform: translateY(-.1rem);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
	position: relative;
	width: 100%;
	min-height: clamp(15rem, 19vw, 20rem);
	padding: 2.5rem 5% 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gray);
}

.footer__inner {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .55rem;
}

.footer__logo {
	display: block;
	width: clamp(10rem, 12vw, 14rem);
}

.footer__logo img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.footer__socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	min-height: 1.5rem;
}

.footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	transition: transform .2s ease, opacity .2s ease;
}

.footer__socials a:hover {
	transform: translateY(-.1rem);
	opacity: .75;
}

.footer__socials a img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.footer__contact {
	display: flex;
	align-items: center;
	font-style: normal;
	justify-content: center;
	flex-wrap: wrap;
	gap: .8rem clamp(1.5rem, 3vw, 3rem);
	margin-top: .8rem;
}

.footer__contact-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .15rem;
	font-size: clamp(.7rem, .78vw, .85rem);
	font-weight: 300;
}

.footer__contact-title {
	font-weight: 500;
}

.footer__copyright {
	margin: .7rem 0 0;
	color: #777;
	font-size: clamp(.62rem, .7vw, .75rem);
	font-weight: 300;
	text-align: center;
}


/* =========================================================
   MNIEJSZY DESKTOP
   ========================================================= */

@media (max-width: 80rem) {
	:root {
		--container: 88%;
	}
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 60rem) {
	.header__nav {
		gap: 1.2rem;
	}

	.contact__content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.contact__form {
		margin-top: 0;
	}

	.contact__details h2 {
		font-size: 1.15rem;
	}

	.contact__details > p {
		font-size: .85rem;
	}

	.contact__item,
	.contact__item-label,
	.contact__socials a,
	.contact__socials .contact__item-label {
		font-size: .8rem;
	}
}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 48rem) {
	:root {
		--container: 88%;
	}

	.header__inner {
		height: 5rem;
	}

	.header__logo {
		width: 6rem;
	}

	.header__btn {
		display: block;
		position: relative;
		width: 2.2rem;
		aspect-ratio: 1;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.header__btn span,
	.header__btn span::before,
	.header__btn span::after {
		display: block;
		width: 100%;
		height: .12rem;
		background: #111;
	}

	.header__btn span {
		position: relative;
	}

	.header__btn span::before,
	.header__btn span::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.header__btn span::before {
		top: -.5rem;
	}

	.header__btn span::after {
		top: .5rem;
	}

	.header__nav {
		position: absolute;
		z-index: 100;
		top: 100%;
		left: 0;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: .4rem;
		padding: 1.3rem 6%;
		background: rgba(255, 255, 255, .98);
		border-top: .06rem solid rgba(0, 0, 0, .05);
		box-shadow: 0 .8rem 1.5rem rgba(0, 0, 0, .08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-1rem);
		transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
	}

	.header__nav.active {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.header__nav a {
		width: 100%;
		padding: .75em 1em;
		font-size: .9rem;
		text-align: center;
	}

	.header__nav a:hover {
		transform: none;
	}

	.contact {
		min-height: calc(100svh - 5rem);
		padding: 3rem 0 5rem;
	}

	.contact h1 {
		font-size: 1.9rem;
		font-weight: 400;
	}

	.contact h1 strong {
		font-weight: 700;
	}

	.contact__intro > p:last-child {
		font-size: .85rem;
	}

	.contact__content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.contact__details {
		padding: 0;
		margin: 0;
	}

	.contact__details h2 {
		font-size: 1.2rem;
	}

	.contact__details > p {
		font-size: .85rem;
	}

	.contact__contact {
		margin-top: 1.3rem;
	}

	.contact__item {
		font-size: .8rem;
	}

	.contact__item-label {
		font-size: .8rem;
	}

	.contact__socials {
		margin-top: 1.2rem;
	}

	.contact__socials a {
		font-size: .8rem;
	}

	.contact__socials .contact__item-label {
		font-size: .8rem;
	}

	.contact__socials img {
		width: 1.2rem;
		height: 1.2rem;
	}

	.contact__form {
		align-self: start;
		margin-top: 0;
		padding: 1.4rem;
	}

}


/* =========================================================
   MAŁY TELEFON
   ========================================================= */

@media (max-width: 30rem) {
	.contact {
		padding: 2.5rem 0 4rem;
	}

	.contact h1 {
		font-size: 1.7rem;
		font-weight: 400;
	}

	.contact h1 strong {
		font-weight: 700;
	}

	.contact__details h2 {
		font-size: 1.1rem;
	}

	.contact__details > p {
		font-size: .8rem;
	}

	.contact__item,
	.contact__item-label,
	.contact__socials a,
	.contact__socials .contact__item-label {
		font-size: .78rem;
	}

	.contact__socials {
		flex-direction: column;
		align-items: flex-start;
		gap: .7rem;
	}

	.contact__form {
		margin-top: 0;
		padding: 1.2rem;
	}

	.btn {
		width: 100%;
	}

}

@media (max-width: 48rem) {
	.footer {
		min-height: 14rem;
		padding: 2.5rem 6%;
	}

	.footer__logo {
		width: 10rem;
	}

	.footer__socials {
		margin-top: .2rem;
	}

	.footer__contact {
		flex-direction: column;
		gap: .65rem;
		margin-top: .8rem;
	}

	.footer__contact-item {
		font-size: .75rem;
	}
}

@media (max-width: 30rem) {
	.footer {
		min-height: 13rem;
		padding: 2rem 6%;
	}

	.footer__logo {
		width: 9rem;
	}

	.footer__socials a {
		width: 1.4rem;
		height: 1.4rem;
	}
}