@font-face {
	font-family: 'Ubuntu';
	src: url('../fonts/Ubuntu/Ubuntu-Light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: Arial, sans-serif;
	box-sizing: border-box;
	color: rgb(0, 0, 0);
	padding: 0;
	margin: 0;
}
html,
body {
	overflow-x: hidden;
}

/* Nawigacja */
.navbar {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f8eccf;
}

/* Logo */
.logo img {
	margin-left: 10%;
	height: 12vh;
	border-radius: 80%;
	padding: 10px 10px 10px 20px;
}

/* Menu */
.menu {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 0;
}

.menu li a {
	text-decoration: none;
	color: #5c3d2e;
	font-size: 32px;
	font-family: 'Ubuntu', sans-serif;
}
.menu li a:hover {
	color: #ee7b0f;
	transition: color 0.3s ease;
}

/* Ikony społecznościowe */
.social-icons img {
	height: 40px;
	width: 40px;
	margin: 0 10px;
	transition: transform 0.3s ease;
}
/* Main section */
.main-content {
	width: 100%;
	min-height: 82vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	overflow: hidden;
}
/* tło */
.main-content::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../img/baner/baner.jpg');
	background-color: #222;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.7;
	z-index: -1;
}

/* wrappper dla tresci */
.content-wrapper {
	padding: 20px;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}
.main-content h1 {
	font-size: 3em;
	position: relative;
	font-family: Montserrat, sans-serif;
	text-align: center;
	color: #a417b1;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 20px;
}
.main-content .buttons a {
	/* left:15%; */
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: center;
}
.main-content .content-wrapper .buttons a {
	display: inline-block;
	padding: 12px 24px;
	background-color: #ee7b0f;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-family: Montserrat, sans-serif;
	font-size: 1.1em;
	transition: background-color 0.3s ease, transform 0.3s ease;
}
.main-content .buttons a:hover {
	background-color: #ff8c00;
}

.about-us {
	background-image: url('../img/baner/baner2.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: 60vh;
	margin: 0 auto;
	padding: 0;
	z-index: 2;
	margin-top: -6px;
}
.about-us h2 {
	font-size: 3em;
	font-family: Montserrat, sans-serif;
	text-align: center;
	justify-content: center;
	align-items: center;
	top: 30%;
	position: relative;
	color: #17b11f;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 20px;
}
.about-us p {
	width: 45%;
	top: 30%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.2em;
}
#menu {
	background: url('../img/baner/tlo1.jpg') no-repeat center center fixed;
	background-size: cover;
	color: #ffffff;
	text-align: center;
	padding: 50px 20px;
	height: 60vh;
}
#menu .container-offer {
	width: 80%;
	height: 50vh;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	background-color: #00000049;
}
/* Sekcja galerii */

.gallery-section .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}
.gallery-section h2,
.recru h2 {
	text-align: center;
	margin-bottom: 40px;
	color: #333;
	font-size: 2.5em;
	position: relative;
	padding-bottom: 10px;
}
.gallery-section h2::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background-color: #007bff;
	border-radius: 5px;
}
.gallery-section {
	padding: 60px 0;
	background-color: #f8eccf;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Zmienione na 3 kolumny równej szerokości */
	gap: 20px;
	justify-content: center;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
	width: 100%;
	height: 250px; /* Stała wysokość dla miniaturek */
	object-fit: cover; /* Dopasuj obraz do ramki, obcinając nadmiar */
	display: block;
	transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

/* Efekt najechania na obrazek */
.gallery-item:hover img {
	transform: scale(1.05);
	filter: brightness(0.7); /* Przyciemnienie obrazka */
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 123, 255, 0.7); /* Kolor overlaya z przezroczystością */
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	padding: 15px;
	box-sizing: border-box;
	text-align: center;
}

.gallery-item:hover .overlay {
	opacity: 1;
}

.overlay h3 {
	margin: 0 0 10px;
	font-size: 1.5em;
	transform: translateY(20px); /* Początkowe przesunięcie tekstu */
	transition: transform 0.4s ease-in-out;
}

.overlay p {
	font-size: 0.9em;
	transform: translateY(20px);
	transition: transform 0.4s ease-in-out 0.1s; /* Opóźnienie dla opisu */
}

.gallery-item:hover .overlay h3,
.gallery-item:hover .overlay p {
	transform: translateY(0); /* Powrót tekstu do pozycji startowej */
}

/* Lightbox styles */
.lightbox {
	display: none; /* Domyślnie ukryty */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9); /* Ciemne tło lightboxa */
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
	display: flex;
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 85%;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
	transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
	transform: scale(1);
}

/* Animacja otwierania lightboxa */
.lightbox:not(.active) .lightbox-content {
	transform: scale(0.8);
}

#lightbox-caption {
	text-align: center;
	color: #ccc;
	font-size: 1.2em;
	padding: 10px 0;
	position: absolute;
	bottom: 50px;
	width: 100%;
}

.close-btn {
	position: absolute;
	top: 20px;
	right: 35px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

.prev-btn,
.next-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 50px;
	color: #fff;
	cursor: pointer;
	background: none;
	border: none;
	padding: 10px;
	transition: 0.3s;
	user-select: none; /* Zapobiega zaznaczaniu tekstu przy klikaniu */
}

.prev-btn:hover,
.next-btn:hover {
	color: #bbb;
}

.prev-btn {
	left: 20px;
}

.next-btn {
	right: 20px;
}

/* Responsywność */
@media (max-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}

	h2 {
		font-size: 2em;
	}

	.overlay h3 {
		font-size: 1.2em;
	}

	.overlay p {
		font-size: 0.8em;
	}

	.prev-btn,
	.next-btn {
		font-size: 35px;
		padding: 5px;
	}

	.close-btn {
		font-size: 30px;
		top: 15px;
		right: 25px;
	}
}

@media (max-width: 480px) {
	.gallery-grid {
		grid-template-columns: 1fr; /* Jedna kolumna na bardzo małych ekranach */
	}

	.container {
		padding: 15px;
	}

	h2 {
		font-size: 1.8em;
	}

	.prev-btn,
	.next-btn {
		font-size: 25px;
	}

	.close-btn {
		font-size: 25px;
		top: 10px;
		right: 15px;
	}
}
/* Import fontów z Google Fonts (jeśli nie masz w głównym CSS) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* Ogólne style dla tej sekcji */
.recruitment-section {
	display: flex; /* Używamy flexbox dla układu dwukolumnowego */
	flex-direction: row; /* Domyślnie treść i obraz obok siebie */
	align-items: center; /* Wyśrodkowanie w pionie */
	gap: 40px; /* Odstęp między kolumnami */
	padding: 80px 40px;
	background-color: #f8fcfb; /* Delikatne tło */
	font-family: 'Open Sans', sans-serif;
	color: #333;
	max-width: 1400px; /* Ograniczenie szerokości sekcji */
	margin: 40px auto; /* Wyśrodkowanie na stronie */
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.recruitment-content {
	flex: 1; /* Pozwala na rozciąganie się treści */
	padding-right: 20px; /* Odstęp od obrazka */
}

.recruitment-section h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 3.2em;
	color: #4caf50; /* Zieleń - przyjazny kolor dla przedszkola */
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

.recruitment-section h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 80px;
	height: 4px;
	background-color: #ffc107; /* Żółty akcent */
	border-radius: 2px;
}

.intro-text {
	font-size: 1.1em;
	line-height: 1.7;
	margin-bottom: 20px;
	color: #555;
}

.contact-methods {
	margin-top: 40px;
	background-color: #e9f5e9; /* Jasnozielone tło dla sekcji kontaktu */
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-methods h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8em;
	color: #388e3c; /* Ciemniejsza zieleń */
	margin-bottom: 20px;
}

.contact-methods p {
	font-size: 1.05em;
	line-height: 1.6;
	margin-bottom: 15px;
}

.contact-item {
	display: flex;
	align-items: flex-start; /* Ikona na górze linii tekstu */
	margin-bottom: 20px;
}

/* Style dla ikon (jeśli używasz Font Awesome, dostosuj klasy) */
.contact-item i {
	font-size: 2.2em;
	color: #007bff; /* Kolor ikony */
	margin-right: 15px;
	min-width: 40px; /* Zapewnia stały odstęp niezależnie od ikony */
	text-align: center;
	padding-top: 5px; /* Drobna korekta pionowa dla ikon */
}

/* Przykładowe style dla placeholderów ikon, jeśli nie masz Font Awesome */
.contact-item .icon-mail::before {
	content: '📧'; /* Emoji jako ikona */
}
.contact-item .icon-phone::before {
	content: '📞'; /* Emoji jako ikona */
}

.contact-item a {
	color: #007bff; /* Kolor linków */
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.contact-item a:hover {
	color: #0056b3; /* Ciemniejszy kolor po najechaniu */
	text-decoration: underline;
}

.availability {
	font-size: 0.95em;
	color: #777;
	margin-top: -10px; /* Przesunięcie bliżej numeru telefonu */
}

.recruitment-image {
	flex: 0 0 450px; /* Obrazek ma stałą szerokość 450px */
	max-width: 450px;
	height: 400px; /* Stała wysokość obrazka */
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recruitment-image img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Dopasowuje obraz, przycinając nadmiar */
	display: block;
}

/* Responsywność */
@media (max-width: 992px) {
	.recruitment-section {
		flex-direction: column; /* Na mniejszych ekranach układaj elementy pionowo */
		text-align: center;
		padding: 60px 20px;
		margin: 20px auto;
	}

	.recruitment-content {
		padding-right: 0;
		margin-bottom: 30px;
	}

	.recruitment-section h2 {
		font-size: 2.5em;
		text-align: center;
	}

	.recruitment-section h2::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.contact-item {
		justify-content: center; /* Wyśrodkowanie elementów kontaktu */
		text-align: left; /* Przywróć wyrównanie tekstu do lewej wewnątrz elementu */
	}

	.recruitment-image {
		flex: 0 0 auto; /* Obrazek dopasowuje się do szerokości */
		max-width: 100%;
		height: 300px; /* Mniejsza wysokość obrazka na mobilnych */
	}
}

@media (max-width: 576px) {
	.recruitment-section {
		padding: 40px 15px;
	}

	.recruitment-section h2 {
		font-size: 2em;
	}

	.intro-text {
		font-size: 1em;
	}

	.contact-methods {
		padding: 20px;
	}

	.contact-methods h3 {
		font-size: 1.5em;
	}

	.contact-item p {
		font-size: 0.95em;
	}

	.contact-item i {
		font-size: 1.8em;
	}
}
/* Import fontów, jeśli nie są w głównym CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* Ogólne style sekcji kontaktowej */
.contact-section {
	padding: 80px 20px;
	background-color: #f5fafd; /* Bardzo jasny, chłodny odcień niebieskiego */
	font-family: 'Open Sans', sans-serif;
	color: #333;
	text-align: center;
}

.contact-section .container {
	max-width: 1200px;
	margin: 0 auto;
	background-color: #fff;
	padding: 50px;
	border-radius: 15px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-section h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 3.2em;
	color: #007bff; /* Główny kolor akcentu */
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.contact-section h2::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: #ffd700; /* Złoty akcent */
	border-radius: 2px;
}

.section-intro-text {
	font-size: 1.15em;
	line-height: 1.7;
	margin-bottom: 50px;
	color: #555;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Układ siatki dla formularza i mapy */
.contact-grid {
	display: flex;
	flex-wrap: wrap; /* Pozwala na zawijanie kolumn na mniejszych ekranach */
	gap: 40px; /* Odstęp między kolumnami */
	justify-content: center;
	align-items: flex-start; /* Dopasowanie do góry */
}

.contact-form-wrapper,
.contact-info-map-wrapper {
	flex: 1; /* Pozwala na elastyczne rozciąganie się */
	min-width: 300px; /* Minimalna szerokość kolumny przed zawinięciem */
	background-color: #fefefe;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	text-align: left;
}

.contact-form-wrapper h3,
.contact-info-map-wrapper h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 2em;
	color: #333;
	margin-bottom: 30px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
}

/* Style formularza (jak w poprzedniej odpowiedzi, z drobnymi korektami) */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #444;
	font-size: 0.98em;
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='tel'],
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ced4da;
	border-radius: 8px; /* Lekko większe zaokrąglenia */
	font-size: 1em;
	font-family: 'Open Sans', sans-serif;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #007bff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.submit-btn {
	background-color: #007bff;
	color: white;
	padding: 14px 30px;
	border: none;
	border-radius: 8px; /* Lekko większe zaokrąglenia */
	cursor: pointer;
	font-size: 1.15em;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease;
	align-self: flex-start;
	box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.submit-btn:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
}

/* Komunikaty formularza */
.form-messages {
	margin-bottom: 25px;
	padding: 15px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 1.05em;
	text-align: center;
	display: none;
}

.form-messages.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	display: block;
}

.form-messages.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	display: block;
}

/* Stylizacja sekcji info + mapy */
.address-details {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.address-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
	font-size: 1.05em;
	color: #555;
	line-height: 1.5;
}

.address-item i {
	font-size: 1.4em;
	color: #007bff;
	margin-right: 12px;
	min-width: 25px; /* Zapewnia równy odstęp ikon */
	text-align: center;
	padding-top: 2px;
}

.address-item a {
	color: #007bff;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.address-item a:hover {
	color: #0056b3;
	text-decoration: underline;
}

.availability {
	font-size: 0.95em;
	color: #777;
	margin-top: -5px; /* Drobna korekta odległości */
	padding-left: 37px; /* Wyrównanie z tekstem nad ikonami */
}

/* Kontener mapy (zmodyfikowany dla responsywności w kolumnie) */
.map-container {
	position: relative;
	padding-bottom: 56.25%; /* Stosunek proporcji 16:9 dla responsywności */
	height: 0;
	overflow: hidden;
	margin-top: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.directions-link {
	margin-top: 20px;
	text-align: center;
}

.directions-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #28a745; /* Zielony dla akcji */
	color: white;
	padding: 12px 25px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.directions-link a:hover {
	background-color: #218838;
	transform: translateY(-2px);
}

.directions-link a i {
	font-size: 1.2em;
	color: white;
}

/* Responsywność */
@media (max-width: 992px) {
	.contact-grid {
		flex-direction: column; /* Na tabletach i mobilnych układaj w kolumnie */
		align-items: center;
	}

	.contact-form-wrapper,
	.contact-info-map-wrapper {
		min-width: unset; /* Usuń minimalną szerokość */
		width: 100%; /* Rozciągnij na całą szerokość */
		max-width: 600px; /* Ogranicz szerokość na większych tabletach */
	}

	.contact-section .container {
		padding: 40px 20px;
	}

	.contact-section h2 {
		font-size: 2.8em;
	}

	.section-intro-text {
		font-size: 1.05em;
	}

	.contact-form-wrapper h3,
	.contact-info-map-wrapper h3 {
		font-size: 1.8em;
	}

	.submit-btn {
		width: 100%; /* Przycisk na całą szerokość */
		align-self: center;
	}

	.address-details {
		text-align: center; /* Wyśrodkuj tekst adresowy */
	}

	.address-item {
		justify-content: center; /* Wyśrodkuj elementy z ikonami */
	}

	.availability {
		padding-left: 0; /* Usuń padding, bo jest wyśrodkowany */
	}
}

@media (max-width: 576px) {
	.contact-section .container {
		padding: 30px 15px;
	}

	.contact-section h2 {
		font-size: 2.2em;
	}

	.section-intro-text {
		font-size: 0.95em;
		margin-bottom: 30px;
	}

	.contact-form-wrapper h3,
	.contact-info-map-wrapper h3 {
		font-size: 1.5em;
		margin-bottom: 20px;
	}

	.form-group label {
		font-size: 0.9em;
	}

	.form-group input,
	.form-group textarea {
		padding: 10px 12px;
		font-size: 0.95em;
	}

	.submit-btn {
		padding: 12px 25px;
		font-size: 1em;
	}

	.address-item {
		font-size: 1em;
	}

	.address-item i {
		font-size: 1.2em;
		margin-right: 10px;
	}
}
