/* Resetowanie domyślnych stylów */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100..700&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Zmienne kolorów */
:root {
	--primary-color: #637cc8;/*#5a88ff; NIEBIESKI*/
	--dark-gray: #333333; /* Ciemny szary */
	--light-gray: #F2F2F2; /* Jasny szary */
	--secondary-color: #36633a;
	--white: #FFFFFF;
	--quote-bg: #36633a;   /* kolor tła w galerii ZIELONY */
	--quote-text: #ffffff; /* kolor tekstu */
}

html {
	scroll-behavior: smooth;
}

/* Ustawienia globalne */
body {
	font-family: 'Roboto', sans-serif;
	color: var(--dark-gray);
	background-color: var(--white);
}

/* Linki */
a {
	text-decoration: none;
	color: inherit;
}

/* Kontener */
.container {
	max-width: 80%;
	margin: 0 auto;
}

/* Nagłówek */
header {
	background-color: var(--white);
	border-bottom: 1px solid var(--light-gray);
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0px;
}

.logo img {
	width: 50vw;
	max-width: 200px;
}

nav ul {
	list-style-type: none;
	display: flex;
}

nav ul li {
	margin-left: 30px;
}

nav ul li a {
	transition: color 0.3s;
}

nav ul li:hover {
	transform: scale(1.2);
}

.social-media a {
	margin-left: 15px;
	font-size: 18px;
}

.social-media a i:hover {
	transform: scale(1.2);
}
.fa-instagram:before {
	font-size: 20px;
}

.contact-button .cta-button {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	display: flex;
	align-items: center;
	transition: background-color 0.3s;
}

.contact-button .cta-button i {
	margin-right: 10px;
}

.contact-button .cta-button:hover {
	background-color: #0056b3;
}

/* Sekcja Hero */
.hero {
	background-image: url('images/hero-image.jpg');
	background-size: cover;
	background-position: center;
	height: 600px;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--white);
	text-align: left;
	max-width: 600px;
	padding: 0 20px;
}

.hero::before {
	content: "";
	background-color: rgba(0, 0, 0, 0.35);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.hero-content h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 48px;
	margin-bottom: 20px;
	text-shadow: 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045;
}

.hero-content p {
	font-size: 18px;
	margin-bottom: 30px;
	text-shadow: 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045, 0 0 4px #00000045;
}

.hero-content .cta-button {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 15px 30px;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s;
	text-shadow: 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030, 0 0 1px #00000030;
}

.hero-content .cta-button:hover {
	background-color: #0056b3;
}

/* Sekcja O Nas */
.about-us {
	background-color: var(--light-gray);
	padding: 80px 0;
}

.about-us .container {
	display: flex;
	align-items: center;
	gap: 20px;
}

.about-content {
	flex: 1;
}

.about-content h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	margin-bottom: 20px;
}

.about-content p {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 40px;
}

.signature {
	font-family: "Homemade Apple", cursive;
	font-weight: 400;
	font-style: normal;
	font-size: 25px !important;
	margin-bottom: 10px !important;
}

.values {
	display: flex;
	gap: 80px;
	justify-self: center;
	margin: 20px;
}

.value-item {
	flex: 1;
	text-align: center;
}

.value-item i {
	font-size: 48px;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.value-item h3 {
	font-size: 18px;
	font-weight: bold;
}

.about-image {
	flex: 1;
	text-align: right;
	overflow: hidden;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	position: relative;
	transition: transform 0.3s ease-in-out;
}

/* Sekcja Karuzela Zdjęć */
.carousel {
	padding: 60px 0;
}

.carousel-container{
	position: relative
}

.carousel h2 {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	margin-bottom: 40px;
}

.carousel-wrapper {
	overflow: hidden;
}

.carousel-images {
	display: flex;
	width: 100%;
	transition: transform 0.3s ease-in-out;
}

.carousel-images img {
	flex: 0 0 auto; /* Zapobiega skalowaniu */
	width: auto; /* Na mobile pełna szerokość */
	margin: 0 10px;
	border-radius: 10px;
	transition: transform 0.3s ease-in-out;
}

.carousel-navigation {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	z-index: 10;
}

.carousel-prev {
	transform: translateX(-100%);
	padding-right: 30px;
}

.carousel-next {
	transform: translateX(100%);
	padding-left: 30px;
}

.carousel-prev,
.carousel-next {
	font-size: 52px;
	color: black;
	cursor: pointer;
	user-select: none;
	transition: color 0.3s, text-shadow 0.3s;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* poświata */

}
.carousel-next:hover,.carousel-prev:hover {
	color: var(--primary-color);
	text-shadow: 0 0 15px rgba(0, 170, 255, 0.9); /* mocniejsza poświata */
}

.dots {
	display: block;
	text-align: center;
	margin-top: 20px;
}

.dots span {
	display: inline-block;
	height: 10px;
	width: 10px;
	margin: 0 5px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

.dots span.active {
	background-color: rgba(0, 0, 0, 0.7);
}

/* Sekcja Procesu */
.process {
	background-color: var(--light-gray);
	padding: 80px 0;
}

.process h2 {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	margin-bottom: 60px;
}

.process-steps {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.step {
	flex: 1;
	max-width: 18%;
	text-align: center;
	margin-bottom: 40px;
}

.step i {
	font-size: 36px;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.step h3 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.step p {
	font-size: 16px;
	line-height: 1.4;
	color: #666666;
}

/* Sekcja Usługi */
.services {
	padding: 80px 0;
}

.services h2 {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	margin-bottom: 20px;
}

.services p {
	text-align: center;
	font-size: 18px;
	line-height: 1.6;
	max-width: 70vw;
	margin: 0 auto;
}

.services .service-items {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 40px;
}

.service-item {
	flex: 1;
	max-width: 30%;
	background-color: var(--white);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.service-item i {
	font-size: 48px;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.service-item h3 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 15px;
}

.service-item p {
	font-size: 16px;
	line-height: 1.6;
	color: #666666;
}

/* Sekcja Opinie Klientów */
.testimonials {
	padding: 80px 0;
	background-color: var(--light-gray);
}

.testimonials h2 {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	margin-bottom: 60px;
}

.testimonial-items {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.testimonial {
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	width: 30%;
	margin-bottom: 40px;
	padding: 30px;
	text-align: center;
	transition: transform 0.3s ease;
}

.testimonial p {
	font-size: 16px;
	color: #666666;
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial h4 {
	font-size: 18px;
	font-weight: bold;
	color: var(--secondary-color);
}

/* Animacje AOS */
.testimonial[data-aos="flip-left"] {
	transform: rotateY(90deg);
}

.testimonial[data-aos="flip-left"].aos-animate {
	transform: rotateY(0);
}

.testimonial[data-aos-delay="100"] {
	animation-delay: 0.1s;
}

.testimonial[data-aos-delay="200"] {
	animation-delay: 0.2s;
}

/* Sekcja Kontakt */
.contact {
	padding: 20px 0;
}

.contact h2 {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	margin-bottom: 40px;
}

.contact .icon_only {
	text-align: center;
	padding-bottom:30px;
}

.contact .icon_only img{
	width: 35vw;
	max-width: 80px;
}

.contact .tekst_only {
	text-align: center;
	padding-top: 60px;
}

.contact .tekst_only img{
	width: 80vw;
	max-width: 300px;
}


.contact form {
	max-width: 600px;
	margin: 0 auto;
}

.contact form input,
.contact form textarea {
	width: 100%;
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid #cccccc;
	border-radius: 5px;
	font-size: 16px;
}

.contact form textarea {
	height: 100px;
	resize: vertical;
	min-height: 50px;
	max-height: 200px;
}

.contact form button {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 15px;
	border: none;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
}

.contact form button:hover {
	background-color: #0056b3;
}

.contact-details {
	text-align: center;
	margin-top: 20px;
}

.contact-details p {
	font-size: 16px;
	margin-bottom: 10px;
}

.contact-details i {
	color: var(--primary-color);
	margin-right: 10px;
}

/* Stopka */
footer {
	background-color: var(--dark-gray);
	color: var(--white);
	padding: 20px 0;
}

footer .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer p {
	margin: 0;
}

footer .social-media a {
	margin-left: 15px;
	font-size: 18px;
	color: var(--white);
	transition: color 0.3s;
}

footer .social-media a:hover {
	color: var(--primary-color);
}

.hamburger {
	display: none;
}

/* Galeria Mozaika */
.masonry {
	column-count: 5; /* desktop */
	column-gap: 15px;
	margin: 30px;
}

/* Responsywność */
@media (max-width: 1024px) {
	.masonry { column-count: 4; }
}

@media (max-width: 768px) {
	.masonry { column-count: 3; }
}

/* Kafelki */
.masonry-item {
	display: block; /* ważne dla column layout */
	width: 100%;
	height: auto;
	margin-bottom: 15px;
	background: #fff;
	border-radius: 8px;
	object-fit: cover;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: transform 0.3s;
	position: relative;
}

.masonry-item:hover {
	transform: scale(1.03);
	z-index: 10;
}

.masonry-item img {
	width: 100%;
	display: block;
}

.masonry-caption {
	padding: 10px;
	font-size: 16px;
	text-align: center;
	display: none;
}
.masonry-caption-text {
	padding: 10px;
	font-size: 16px;
	text-align: center;
}

.masonry-item.quote {
	background: var(--quote-bg);
	padding: 20px;
	border-radius: 12px;
	font-family: "League Spartan", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 400;
	font-style: normal;
	font-size: 1.4rem;
	color: var(--quote-text);
	line-height: 1.5;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Overlay powiększenia */
.overlay {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: rgba(0,0,0,0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 100;
}

.overlay img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* Kategorie usług */
.categories{
	display: flex;
	width: 100%;
	transition: transform 0.3s ease-in-out;
	flex-direction: column;
	gap:20px;
}

.categories h3{
	justify-self: center;
	font-variant: small-caps;
	font-size: x-large;
	letter-spacing: 2px;
}

.categories .category{
	flex: 0 0 auto; /* Zapobiega skalowaniu */
	width: 50%;
	border-radius: 10px;
	transition: transform 0.3s ease-in-out;

	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}

.categories > div:nth-child(1){
	margin-top: 0px !important;
}
.category_left{
	align-self: flex-start;
	margin-top: -20%;
}
.category_right{
	align-self: flex-end;
	margin-top: -20%;
}
.category_middle{
	align-self: center;
}

.category .category_img{
	justify-self: center;
}

.category img{
	width: 30vw;
	max-width: 400px;
	border-radius: 10px;
}

.map{
	margin-top:50px;
	place-self: center;
}

.map .map_img{
	justify-self: center;
	margin-top:20px;
}

.map .map_img img{
	width: 25vw;
	max-width: 300px;
}

/* Responsywność */
@media (max-width: 992px) {
	.hero {
		height: 100vh; /* Pełna wysokość ekranu na mobile */
		padding: 0 5vw; /* Zapobiega przyklejaniu się tekstu do krawędzi */
	}

	.hero-content {
		max-width: 100%;
		text-align: center; /* Centrowanie tekstu */
		justify-self: anchor-center;
		padding: 0 10px;
		/*		left: 0%;*/
	}

	.hero-content h1 {
		width: 100%;
		font-size: 32px; /* Zmniejszenie nagłówka */
		line-height: 1.2;
	}

	.hero-content p {
		font-size: 20px;
	}

	.hero .cta-button {
		font-size: 14px;
		padding: 10px 15px;
	}

	.about-us .container,
	.process-steps,
	.testimonial-items {
		flex-direction: column;
	}

	.about-us .container {
		gap: 30px
	}

	.about-content,
	.step,
	.testimonial {
		max-width: 100%;
	}

	.about-image{
		max-width:80%
	}

	.step {
		margin-bottom: 40px;
	}

	nav ul {
		flex-direction: column;
		position: absolute;
		top: 85px;
		background-color: #ffffff9c;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		border-radius: 5px;
		z-index: 10;

		max-height: 0;
		overflow: hidden;
		transition: max-height 1s ease;
	}

	nav ul.active {
		display: flex;
		max-height: 300px;
	}

	.hamburger {
		display: block;
		font-size: 24px;
		cursor: pointer;
	}

	nav ul li {
		margin: 0px;
		padding: 0px 15px;
	}

	nav ul li:nth-child(3),nav ul li:nth-child(2) {
		border-top: 1px solid black;
	}

	nav ul li a {
		display: block;
		padding: 10px;
		color: black;
		border-radius: 5px;
		text-align: center;
		transition: color 0.3s;
	}

	nav ul li:hover {
		background: #ffffffab;
	}

	.testimonial {
		width: 100%;
		margin-bottom: 20px;
	}

	.categories .category{
		width: 100% !important;
	}

	.categories > div{
		margin-top: 0px !important;
		align-self: center !important;
	}
}

@media (max-width: 768px) {
	.hero {
		height: 100vh; /* Pełna wysokość ekranu na mobile */
		padding: 0 5vw; /* Zapobiega przyklejaniu się tekstu do krawędzi */
	}

	.hero-content {
		max-width: 100%;
		text-align: center; /* Centrowanie tekstu */
		justify-self: anchor-center;
		padding: 0 10px;
		left: 0%;
	}

	.hero-content h1 {
		width: 100%;
		font-size: 28px; /* Zmniejszenie nagłówka */
		line-height: 1.2;
	}

	.hero-content p {
		font-size: 18px;
	}

	.hero .cta-button {
		font-size: 14px;
		padding: 10px 15px;
	}

	.values {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}

	.testimonial {
		width: 100%;
		margin-bottom: 20px;
		padding: 20px;
	}
	.contact-button .cta-button {
		padding: 10px; /* Dostosowanie paddingu */
		justify-content: center;
	}

	.contact-button .cta-button i {
		margin-right: 0; /* Usunięcie odstępu między ikoną a tekstem */
		font-size: 24px; /* Zwiększenie rozmiaru ikony */
	}

	.contact-button .cta-button span {
		display: none; /* Ukrycie tekstu "Zadzwoń" na urządzeniach mobilnych */
	}

	.categories .category{
		width: 100% !important;
	}

	.categories > div{
		margin-top: 0px !important;
		align-self: center !important;
	}
}
