/* ------------------------------ */
/*        RESET + BASE CSS        */
/* ------------------------------ */

/* Reset box model */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	scroll-behavior: smooth;
	font-size: 10px;
	-webkit-font-smoothing: antialiased;
}

body {
	min-height: 100%;
	font-family: "Roboto", sans-serif;
	line-height: 1.6;
	font-size: 1.6rem;
	background-color: #fff;
	color: #222;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

body {
	-webkit-overflow-scrolling: touch;
}

/* Ustawienia dla list */
ul,
ol {
	list-style: none;
}

/* Preloader */
#preloader {
	position: fixed;
	inset: 0;
	background: #111;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.spinner {
	width: 60px;
	height: 60px;
	border: 6px solid #444;
	border-top-color: #00e5ff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* --- Nagłówki --- */

.section-title h2 {
	font-weight: 600;
	font-size: 3.4rem;
	text-transform: uppercase;
	position: relative;
	color: #2d408f;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}
.section-title h2::before,
.section-title h2::after {
	content: "";
	display: block;
	height: 25px;
	width: 90px;

	background-image: url("../img/l70.png"), url("../img/l70.png"),
		url("../img/l70.png");
	background-repeat: no-repeat;
	margin-top: 3px;
}
.section-title h2::before {
	background-size: auto 15px, auto 18px, auto 21px;
	background-position: right 60px center, right 30px center, right 0px center;
}
.section-title h2::after {
	background-size: auto 21px, auto 18px, auto 15px;
	background-position: left 0px center, left 30px center, left 60px center;
}
.section-title h3,
h3,
.section-title h4,
h4,
.section-title h5,
h5,
.section-title h6,
h6 {
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
	color: #2d408f;
	margin-bottom: 1rem;
}
.section-title h3,
h3 {
	font-size: 2.6rem; /* 26px */
}
.section-title h4,
h4 {
	font-size: 2.1rem; /* 21px */
}
.section-title h5,
h5 {
	font-size: 1.7rem; /* 17px */
}
.section-title h6,
h6 {
	font-size: 1.4rem; /* 14px */
}

.fw-600 {
	font-weight: 600;
}

/* --- Style ogólne --- */
.text-justify {
	text-align: justify;
}
.theme-bg-dark {
	background-color: #000000;
}
.theme-bg-light {
	background-color: #faf5f5;
}
.ml-25px {
	margin-left: 23px;
}
.temporary-nd {
	width: 100%;
	background-color: #f6f6f6;
}
.temporary-st {
	width: 100%;
	background-color: #ffffff;
}
/* ------------------------------ */
/*            HEADER CSS	      */
/* ------------------------------ */

.header {
	width: 100%;
	z-index: 999;
	top: 0;
}

.header-container {
	background-color: rgba(0, 0, 0, 0.7);
	padding: 10px 0;
	transition: all 0.4s ease-in-out;
	box-shadow: none;
}

/* --- Logo i Toggle --- */
.header .navbar-brand {
	padding: 0;
	margin: 0;
}
.navbar-toggler {
	border: none;
	padding: 10px 6px;
	background-color: rgba(255, 255, 255, 0.9);
	outline: none !important;
}
.navbar-toggler span {
	display: block;
	width: 25px;
	height: 3px;
	border-radius: 3px;
	background: #333;
}
.navbar-toggler span + span {
	margin-top: 4px;
}

/* --- Linki Menu (STYL BAZOWY) --- */
.header-container .navbar .nav-link {
	font-size: 1.6rem; /* Poprawiono z 1.6rempx */
	color: #fff;
	padding: 10px 14px;
	text-transform: uppercase;
	font-weight: 600;
	position: relative;
	transition: color 0.3s ease-in-out;
}

.header-container .navbar .nav-link::after {
	content: "";
	position: absolute;
	width: 0;
	height: 3px; /* Nieco grubsza linia */
	bottom: 5px;
	left: 0;
	transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* --- STAN 1: HEADER PRZEZROCZYSTY (CIEMNY) --- */

.header-container .navbar .nav-link:hover {
	color: #fdcf1e !important;
}
.header-container .navbar .nav-link:hover::after {
	width: 100%;
	background-color: #fdcf1e;
}

.header-container .navbar .nav-link.active {
	color: #fff !important;
}
.header-container .navbar .nav-link.active::after {
	width: 100%;
	background-color: #4da6ff;
}

/* --- STAN 2: HEADER STICKY (BIAŁY) --- */

.header.is-sticky .header-container {
	background-color: #ffffff !important;
	padding: 5px 0;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header.is-sticky .navbar .nav-link {
	color: #2d408f;
}

.header.is-sticky .navbar .nav-link:hover {
	color: #2d408f !important;
}
.header.is-sticky .navbar .nav-link:hover::after {
	width: 100%;
	background-color: #fdcf1e;
}

.header.is-sticky .navbar .nav-link.active {
	color: #2d408f !important;
}
.header.is-sticky .navbar .nav-link.active::after {
	width: 100%;
	background-color: #2d408f;
}

/* --- Dropdown --- */
.header .dropdown-menu {
	margin: 0;
	padding: 0;
	border-top: 3px solid #2d408f;
	border-radius: 0;
}
@media screen and (min-width: 768px) {
	.navbar .dropdown:hover .dropdown-menu {
		display: block !important;
	}
}
section[id] {
	scroll-margin-top: 80px;
}
/* ===================================
	03. Slider
=================================== */

/* --- USTAWIENIA OGÓLNE --- */
.slider .carousel-item {
	background-position: center center;
	background-size: cover;
	height: 100vh;
	transition: transform 0.6s ease-in-out;
}
.slider .carousel-item.slider-one {
	background-image: url("../img/slider/slider-1.jpg");
}
.slider .carousel-item.slider-two {
	background-image: url("../img/slider/slider-2.jpg");
}
.slider .carousel-item.slider-three {
	background-image: url("../img/slider/slider-3.jpg");
}

.slider .carousel-caption {
	top: 50%;
	bottom: auto;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	text-align: center;
	padding: 0;
}

.slider .carousel-caption .slider-caption-box {
	display: inline-block;
	position: relative;
	background-color: rgba(45, 64, 143, 0.85);
	backdrop-filter: blur(5px);
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	border: none;
	max-width: 800px;
	margin: 0 auto;
}

/* Typografia wewnątrz boxa */
.slider .carousel-caption h2 {
	font-size: 42px;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.slider .carousel-caption p {
	font-size: 16px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.6;
	margin-bottom: 0;
	color: #eeeeee;
}

/* --- STRZAŁKI (Nawigacja) --- */
.slider .carousel-control-next,
.slider .carousel-control-prev {
	width: 50px;
	height: 50px;
	background-color: rgba(45, 64, 143, 0.6);
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.8;
	transition: all 0.3s ease;
}

.slider .carousel-control-prev {
	left: 30px;
}
.slider .carousel-control-next {
	right: 30px;
}

.slider .carousel-control-next:hover,
.slider .carousel-control-prev:hover {
	background-color: #fdcf1e; /* Żółte po najechaniu */
	opacity: 1;
}

/* --- KROPKI (Indicators) --- */
.slider .carousel-indicators {
	margin-bottom: 30px; /* Odsunięcie od dołu ekranu */
}

.slider .carousel-indicators [data-bs-target] {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #fdcf1e;
	opacity: 0.6;
	border: 2px solid transparent;
	margin: 0 6px;
	transition: all 0.3s ease;
}

/* Aktywna kropka */
.slider .carousel-indicators .active {
	background-color: #2d408f;
	opacity: 1;
	transform: scale(1.3);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- RESPONSYWNOŚĆ (Mobile i Tablety) --- */

@media (max-width: 991px) {
	.slider .carousel-caption .slider-caption-box {
		display: none;
	}

	.slider .carousel-item {
		height: 35vh;
		min-height: 200px;

		background-position: center center;
		background-size: cover;
	}

	.slider .carousel-control-prev {
		left: 5px;
	}
	.slider .carousel-control-next {
		right: 5px;
	}

	.slider .carousel-control-next,
	.slider .carousel-control-prev {
		width: 35px;
		height: 35px;
	}

	.slider .carousel-indicators {
		margin-bottom: 15px;
	}
}

/* ===================================
   NEWS SECTION - Custom Accordion
=================================== */

/* Reset domyślnych stylów Bootstrapa dla akordeonu */
.custom-news-accordion .accordion-item {
	border: none;
	background-color: transparent;
	margin-bottom: 20px; /* Odstęp między kafelkami */
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Delikatny cień na start */
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Efekt hover na całą kartę */
.custom-news-accordion .accordion-item:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* --- NAGŁÓWEK (Przycisk) --- */
.custom-news-accordion .accordion-button {
	background-color: #ffffff;
	color: #222;
	font-weight: 600;
	padding: 15px 25px;
	border-radius: 15px !important; /* Wymuszamy zaokrąglenie */
	border: none;
	box-shadow: none !important; /* Usuwamy niebieską poświatę Bootstrapa */
	transition: all 0.3s ease;
}

/* Układ wnętrza przycisku (Data + Tytuł) */
.news-header-content {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
}

/* Stylizacja daty (Box) */
.news-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #f6f6f6;
	color: #2d408f;
	border: 2px solid #fdcf1e; /* Żółta ramka */
	border-radius: 10px;
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	line-height: 1;
	transition: all 0.3s ease;
}

.news-date .day {
	font-size: 2rem;
	font-weight: 700;
}
.news-date .month {
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
}

.news-title {
	font-size: 1.8rem;
	line-height: 1.3;
}

/* --- STAN AKTYWNY (Rozwinięty) --- */

/* Tło przycisku po rozwinięciu */
.custom-news-accordion .accordion-button:not(.collapsed) {
	background-color: #2d408f; /* Twój granatowy */
	color: #ffffff;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

/* Zmiana kolorów wewnątrz daty po rozwinięciu */
.custom-news-accordion .accordion-button:not(.collapsed) .news-date {
	background-color: #ffffff;
	color: #2d408f;
	border-color: #ffffff;
}

/* Ikona strzałki (Chevron) */
.custom-news-accordion .accordion-button::after {
	filter: grayscale(100%); /* Domyślna szara */
	transition: all 0.3s ease;
	background-size: 1.5rem;
}

/* Ikona strzałki po rozwinięciu (robimy ją żółtą filtrem lub po prostu białą) */
.custom-news-accordion .accordion-button:not(.collapsed)::after {
	/* Filtr zmieniający kolor svg na biały */
	filter: brightness(0) invert(1);
	transform: rotate(-180deg);
}

/* --- TREŚĆ (Body) --- */
.custom-news-accordion .accordion-body {
	background-color: #f9f9f9;
	padding: 30px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	border: 1px solid #eee;
	border-top: none;
	font-size: 1.6rem;
	color: #444;
}

/* Przycisk "Czytaj więcej" w środku */
.read-more-btn {
	display: inline-block;
	margin-top: 15px;
	font-weight: 600;
	color: #2d408f;
	text-decoration: none;
	border-bottom: 2px solid #fdcf1e;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.read-more-btn:hover {
	color: #e31e24; /* Opcjonalnie czerwony lub inny kolor */
	border-bottom-color: #2d408f;
}

/* --- RESPONSYWNOŚĆ (Mobile) --- */
@media (max-width: 576px) {
	.news-header-content {
		gap: 15px;
	}
	.news-date {
		width: 50px;
		height: 50px;
	}
	.news-date .day {
		font-size: 1.6rem;
	}
	.news-date .month {
		font-size: 0.9rem;
	}
	.news-title {
		font-size: 1.5rem;
	}
	.custom-news-accordion .accordion-button {
		padding: 10px 15px;
	}
}

/* ===================================
AboutUs
=================================== */
/* --- TEKST --- */
.about-text {
	font-family: "Roboto", sans-serif;
	font-size: 1.6rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}
.about-section {
	background-color: #f6f6f6;
}
.about-text strong {
	color: #2d408f;
}

/* --- ZDJĘCIA I OZDOBY (to co poprzednio) --- */

.about-section {
	overflow: hidden;
}

.img-wrapper-left,
.img-wrapper-right {
	position: relative;
	z-index: 1;
	padding: 15px;
}

.img-wrapper-left::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60%;
	height: 80%;
	background-color: #fdcf1e;
	z-index: -1;
	border-radius: 10px;
	transform: translate(-10px, -10px);
	transition: transform 0.3s ease;
}

.img-wrapper-left::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 40%;
	height: 60%;
	border: 3px solid #2d408f;
	z-index: -1;
	border-radius: 10px;
	transform: translate(10px, 10px);
}

.img-wrapper-right::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	height: 80%;
	background-color: #2d408f;
	z-index: -1;
	border-radius: 10px;
	transform: translate(10px, -10px);
	transition: transform 0.3s ease;
}

.img-wrapper-right::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40%;
	height: 60%;
	border: 3px solid #fdcf1e;
	z-index: -1;
	border-radius: 10px;
	transform: translate(-10px, 10px);
}

.img-wrapper-left:hover::before,
.img-wrapper-right:hover::before {
	transform: translate(0, 0);
}

@media (max-width: 991px) {
	.img-wrapper-left::before,
	.img-wrapper-right::before,
	.img-wrapper-left::after,
	.img-wrapper-right::after {
		width: 100%;
		height: 100%;
		opacity: 0.15;
		transform: translate(0, 0);
	}
}

/* ===================================
Pilgrimages
=================================== */
/* --- SEKCJA PIELGRZYMKI --- */
.pilgrimage-section {
	background-color: #fff;
}

.pilgrimage-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 15px !important;
	position: relative;
	overflow: visible;
}

.pilgrimage-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* --- ZDJĘCIE --- */
.card-img-wrapper {
	position: relative;
	overflow: hidden;
	height: 300px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

.card-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.5s ease;
}

.pilgrimage-card:hover .card-img-wrapper img {
	transform: scale(1.1);
}

/* --- IKONA (POPRAWIONE) --- */
.card-icon-overlay {
	position: absolute;
	top: 270px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: #fdcf1e;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	z-index: 10;
}

.card-icon-overlay i {
	font-size: 24px;
	color: #2d408f;
}

/* --- TYPOGRAFIA --- */
.pilgrimage-card h3 {
	margin-top: 5px;
}

.pilgrimage-card h4 {
	font-size: 1.8rem;
	color: #6c757d;
	text-transform: none;
	font-weight: 400;
}

/* ===================================
Trail
=================================== */

/* ========Trail - buttons======== */
.steps-nav {
	list-style: none;
	padding: 0;
	margin: 30px 0; /* Odstęp od nagłówka */

	/* Flexbox - ustawienia układu */
	display: flex;
	flex-wrap: wrap; /* Pozwala spadać do nowej linii na mobile */
	justify-content: center;
	gap: 15px; /* Odstęp między kafelkami */
}

/* --- POJEDYNCZY ELEMENT LISTY --- */
.steps-nav li {
	/* MOBILE: Układ 2x2 */
	/* Szerokość 50% minus połowa odstępu (ok. 8px). 
       Dzięki temu mamy idealne dwa kafelki w rzędzie. */
	flex: 0 0 calc(50% - 8px);
	display: flex; /* Żeby przycisk w środku się rozciągał */
}

/* --- STYL PRZYCISKU (A) --- */
.steps-nav .step {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	padding: 15px 10px;

	/* WYGLĄD PODSTAWOWY (Nieaktywny) */
	background-color: #ffffff;
	color: #2d408f; /* Granatowy tekst */
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;

	border-radius: 15px;
	border: 1px solid rgba(45, 64, 143, 0.1); /* Delikatna ramka */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Lekki cień */

	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	position: relative;
	overflow: hidden;
}

/* Efekt Hover (Najazd myszką) */
.steps-nav .step:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(45, 64, 143, 0.15);
	background-color: #fafafa;
	color: #2d408f;
}

/* --- STAN AKTYWNY (Kliknięty) --- */
.steps-nav .step.active {
	background-color: #2d408f; /* Twój granat */
	color: #ffffff; /* Biały tekst */
	border-color: #2d408f;
	box-shadow: 0 8px 25px rgba(45, 64, 143, 0.3);
	transform: translateY(-2px);
}

/* Żółty pasek na dole aktywnego przycisku */
.steps-nav .step.active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #fdcf1e; /* Twój żółty */
	border-radius: 0 0 15px 15px;
}

/* --- RESPONSIVE: TABLET I DESKTOP (od 768px) --- */
@media (min-width: 768px) {
	.steps-nav {
		flex-wrap: nowrap; /* Jeden rząd */
		gap: 20px;
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}

	.steps-nav li {
		flex: 1; /* Wszystkie przyciski równej szerokości */
	}

	.steps-nav .step {
		padding: 20px 15px;
		font-size: 1.8rem;
	}
}

.tab {
	display: none;
	padding: 20px 0;

	/* Animacja pojawiania się */
	animation: fadeInTab 0.6s ease forwards;
}

.tab.active {
	display: block;
}

/* Definicja animacji */
@keyframes fadeInTab {
	from {
		opacity: 0;
		transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========Trail - baner======== */
.stage-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	background-image: url("https://camino.net.pl/wp-content/uploads/2024/07/Nadsanska-1.png");
}

.stage-overlay {
	background: rgba(45, 64, 143, 0.85);
	padding: 60px 20px;
	backdrop-filter: blur(2px);
}

.ls-2 {
	letter-spacing: 2px;
}

.stat-box {
	text-align: center;
	color: white;
	min-width: 80px;
}
.stat-box small {
	text-transform: uppercase;
	font-size: 0.75rem;
	opacity: 0.8;
}

/* ========Trail - info_icons======== */

/* Kontener dla ikonki - kółko */
.stage-info .icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 75px;
	height: 75px;
	background-color: #fdcf1e;
	border-radius: 50%;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: default;
}

/* Sama ikonka w środku */
.stage-info .icon-circle i {
	font-size: 32px;
	color: #2d408f;
	transition: color 0.3s ease;
}

.stage-info .col-sm-4:hover .icon-circle {
	transform: scale(1.2); /* Powiększenie o 40% */
	background-color: #2d408f;
	box-shadow: 0 10px 20px rgba(45, 64, 143, 0.3);
}

.stage-info .col-sm-4:hover .icon-circle i {
	color: #fdcf1e;
}

.stage-info p.lead {
	margin-bottom: 0;
	color: #333;
	font-size: 1.7rem;
	font-weight: 600;
}
/* ========Trail - timeline======== */

body {
	background: #fff;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
}

.timeline-section {
	padding: 60px 0;
	overflow-x: hidden;
}

/* --- TIMELINE CONTAINER --- */
.timeline {
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
}

/* Pionowa linia */
.timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 4px;
	background: #fdcf1e;
	transform: translateX(-50%);
	z-index: 1;
}

/* --- ITEMY --- */
.timeline-item {
	position: relative;
	width: 50%;
	padding: 10px 50px;
	box-sizing: border-box;
	z-index: 2;
	margin-bottom: 40px;
	opacity: 0;
	transform: translateY(60px);
	transition: all 0.6s ease-out;
}

.timeline-item.visible {
	opacity: 1;
	transform: translateY(0);
}

.timeline-item.left {
	left: 0;
	text-align: right;
}
.timeline-item.right {
	left: 50%;
	text-align: left;
}

/* --- KÓŁKO Z IKONĄ NA LINII --- */
.timeline-icon {
	position: absolute;
	top: 25px;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff;
	border: 4px solid #fdcf1e;
	color: #fdcf1e;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	z-index: 3;
	transition: all 0.4s ease;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.timeline-item.left .timeline-icon {
	right: calc(54px / -2);
}
.timeline-item.right .timeline-icon {
	left: calc(54px / -2);
}

/* --- CONTENT BOX --- */
.content {
	background: #fff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

	/* Domyślny border żółty */
	border: 2px solid #fdcf1e;

	text-align: left;
	transition: border-color 0.4s, transform 0.3s;
	position: relative;
}
.content::before,
.content::after {
	content: "";
	position: absolute;
	top: 36px;
	width: 0;
	height: 0;
	border-style: solid;
	transition: border-color 0.4s;
}

.timeline-item.left .content::before {
	right: -12px;
	border-width: 12px 0 12px 12px;
	border-color: transparent transparent transparent #fdcf1e;
}
.timeline-item.left .content::after {
	right: -9px;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #fff;
}

.timeline-item.right .content::before {
	left: -12px;
	border-width: 12px 12px 12px 0;
	border-color: transparent #fdcf1e transparent transparent;
}
.timeline-item.right .content::after {
	left: -9px;
	border-width: 10px 10px 10px 0;
	border-color: transparent #fff transparent transparent;
}

/* --- TYPOGRAFIA (Wszystko duże) --- */
.content .title {
	font-weight: 800; /* Gruby */
	font-size: 1.15rem;
	margin-bottom: 6px;
	color: #222;
	line-height: 1.3;
}

.content .address {
	font-size: 1.15rem;
	font-weight: 400;
	font-style: italic;
	color: #555;
	margin-bottom: 12px;
	display: block;
}

.content p {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 400;
	color: #444;
	line-height: 1.5;
}

/* --- STAN AKTYWNY (Niebieski) --- */

/* 1. Kółko */
.timeline-item.active .timeline-icon {
	border-color: #2d408f;
	background: #2d408f;
	color: #fff;
	transform: scale(1.1);
}

/* 2. Ramka Boxa */
.timeline-item.active .content {
	border-color: #2d408f;
}

/* 3. Kolor Strzałki (Tylko ::before, bo ::after jest biały) */
.timeline-item.active.left .content::before {
	border-left-color: #2d408f;
}
.timeline-item.active.right .content::before {
	border-right-color: #2d408f;
}

/* --- MEDIA QUERIES (Mobile/Tablet < 768px) --- */
@media (max-width: 768px) {
	.timeline::before {
		left: 30px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 80px;
		padding-right: 15px;
		margin-bottom: 30px;
		text-align: left !important;
	}

	.timeline-item.left,
	.timeline-item.right {
		left: 0;
	}

	/* Ikona na lewo */
	.timeline-item.left .timeline-icon,
	.timeline-item.right .timeline-icon {
		left: 3px;
		right: auto;
	}

	/* Strzałki na mobile ZAWSZE z lewej strony */
	.timeline-item.left .content::before,
	.timeline-item.right .content::before {
		left: -12px;
		right: auto;
		border-width: 12px 12px 12px 0;
		/* Domyślny żółty lewy */
		border-color: transparent #fdcf1e transparent transparent;
	}

	.timeline-item.left .content::after,
	.timeline-item.right .content::after {
		left: -9px;
		right: auto;
		border-width: 10px 10px 10px 0;
		border-color: transparent #fff transparent transparent;
	}

	/* Aktywna strzałka na mobile (zawsze lewa krawędź boxa) */
	.timeline-item.active.left .content::before,
	.timeline-item.active.right .content::before {
		border-right-color: #2d408f;
		border-left-color: transparent;
	}
}

/* ===================================
   CONTACT - Modern Split Card
=================================== */

.contact-area {
	background-color: #fff;
}

/* Główny kontener karty */
.contact-card {
	border-radius: 20px;
	overflow: hidden;
	background-color: #fff;
}

/* Lewa strona - Mapa */
.map-pane {
	min-height: 550px;
}

/* Prawa strona - Panel Informacyjny */
.info-pane {
	background-color: #2d408f;
	position: relative;
	z-index: 1;
}

/* Ozdobna linia */
.separator-yellow {
	width: 60px;
	height: 4px;
	background-color: #fdcf1e;
	border-radius: 2px;
}

/* --- IKONY I INTERAKCJA --- */

/* Baza ikonki */
.icon-box {
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fdcf1e; /* Żółta ikona */
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.contact-row:hover .icon-box {
	background-color: #fdcf1e;
	color: #2d408f;
	transform: scale(1.1);
	box-shadow: 0 0 15px rgba(253, 207, 30, 0.5);
}

/* Linki kontaktowe */
.contact-link {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

/* Hover na sam link tekstowy */
.contact-link:hover {
	color: #fdcf1e;
}

/* Dane NIP/KRS */
.company-meta span {
	display: inline-block;
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 5px;
}

/* Responsywność dla mapy */
@media (max-width: 991px) {
	.map-pane {
		height: 350px;
		min-height: auto;
	}
}
/* ===================================
   FOOTER - Clean & Dark
=================================== */

.main-footer {
	background-color: #1a1e2e;
	border-top: 4px solid #fdcf1e;
}

.footer-nav {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-nav li {
	display: inline-block;
	margin: 0 15px;
}

.footer-nav li a {
	color: #fff;
	text-transform: uppercase;
	font-size: 1.4rem;
	font-weight: 500;
	text-decoration: none;
	position: relative;
	transition: color 0.3s ease;
}

/* Efekt podkreślenia po najechaniu w footerze */
.footer-nav li a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: #fdcf1e;
	transition: width 0.3s ease;
}

.footer-nav li a:hover {
	color: #fdcf1e;
}

.footer-nav li a:hover::after {
	width: 100%;
}

.copyright-text {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.3rem;
}

/* Responsywność */
@media (max-width: 991px) {
	.map-pane {
		height: 350px;
	}

	.footer-nav li {
		display: block;
		margin: 10px 0;
	}

	.main-footer .text-lg-end {
		text-align: center !important;
		margin-top: 20px;
	}
}
/* ===================================
   COOKIE BANNER
=================================== */

.cookie-banner {
	position: fixed;
	bottom: -100%; /* Domyślnie schowany pod ekranem */
	left: 0;
	width: 100%;
	background-color: #1a1e2e; /* Ciemny kolor stopki */
	border-top: 3px solid #fdcf1e; /* Żółty pasek na górze */
	padding: 20px 0;
	z-index: 9999; /* Zawsze na wierzchu */
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
	transition: bottom 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.show {
	bottom: 0; /* Wjeżdża na ekran */
}

.cookie-text p {
	font-size: 1.4rem;
	line-height: 1.5;
}

.cookie-link {
	color: #fdcf1e;
	text-decoration: underline;
	transition: color 0.3s;
}

.cookie-link:hover {
	color: #fff;
	text-decoration: none;
}

/* Styl przycisku nadpisujący bootstrapa dla spójności */
.cookie-banner .btn-warning {
	background-color: #fdcf1e;
	color: #2d408f;
	border: none;
	font-size: 1.4rem;
	transition: all 0.3s ease;
}

.cookie-banner .btn-warning:hover {
	background-color: #fff;
	color: #2d408f;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* ===================================
   404 ERROR PAGE
=================================== */

.error-page-body {
	background-color: #2d408f; /* Twój główny kolor */
	height: 100vh;
	overflow: hidden;
	color: #fff;
}

.error-area {
	height: 100vh;
	width: 100%;
	position: relative;
	/* Delikatny gradient dla głębi */
	background: radial-gradient(circle at center, #3a4fa8 0%, #1a1e2e 100%);
}

/* Ozdobne tło (linie topograficzne lub abstrakcja) */
.bg-pattern {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		45deg,
		rgba(255, 255, 255, 0.03) 0px,
		rgba(255, 255, 255, 0.03) 1px,
		transparent 1px,
		transparent 50px
	);
	pointer-events: none;
}

/* Stylizacja 404 */
.error-code {
	font-family: "Cinzel", serif; /* Font z nagłówka index.html, jeśli nie masz, użyj Roboto */
	font-size: 15rem;
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.1); /* Półprzezroczysty biały */
	position: relative;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

/* Środkowy element (Kompas zamiast 0) */
.compass-wrapper {
	color: #fdcf1e; /* Twój żółty */
	display: inline-block;
	animation: floating 3s ease-in-out infinite;
	font-size: 12rem; /* Trochę mniejszy niż cyfry */
}

.compass-wrapper i {
	display: block;
	animation: spinningCompass 8s ease-in-out infinite alternate;
}

/* Typografia tekstów */
.error-title {
	font-size: 3.5rem;
	font-weight: 700;
	color: #fff;
	margin-top: -20px; /* Lekkie nasunięcie na 404 */
	text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.error-text {
	font-size: 1.8rem;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 300;
	line-height: 1.6;
}

/* Przycisk powrotu */
.btn-pilgrim {
	display: inline-block;
	background-color: #fdcf1e;
	color: #2d408f;
	padding: 15px 40px;
	border-radius: 50px;
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-pilgrim:hover {
	background-color: #fff;
	color: #2d408f;
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* --- ANIMACJE --- */

/* Delikatne unoszenie się kompasu */
@keyframes floating {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-15px);
	}
}

/* Obracanie się igły/kompasu */
@keyframes spinningCompass {
	0% {
		transform: rotate(0deg);
	}
	20% {
		transform: rotate(15deg);
	}
	40% {
		transform: rotate(-45deg);
	}
	60% {
		transform: rotate(10deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

/* Responsywność dla mobile */
@media (max-width: 768px) {
	.error-code {
		font-size: 8rem;
	}
	.compass-wrapper {
		font-size: 6rem;
	}
	.error-title {
		font-size: 2.4rem;
	}
	.error-text {
		font-size: 1.4rem;
		padding: 0 20px;
	}
}

/* ===================================
   PRIVACY POLICY PAGE
=================================== */

/* Nagłówek podstrony */
.privacy-header {
	background-color: #2d408f; /* Twój granat */
	padding-top: 140px; /* Miejsce na przyklejone menu */
	padding-bottom: 60px;
	margin-bottom: 40px;
	background-image: url("../img/pattern.png"); /* Opcjonalnie, jeśli masz pattern */
	background-blend-mode: overlay;
}

.privacy-header h1 {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* Treść polityki */
.policy-box {
	background: #fff;
	padding: 0 10px;
}

.policy-box h3 {
	color: #2d408f;
	font-size: 2.2rem;
	margin-top: 30px;
	margin-bottom: 15px;
	font-weight: 600;
	border-left: 5px solid #fdcf1e; /* Żółty akcent z boku */
	padding-left: 15px;
}

.policy-box p {
	font-size: 1.6rem;
	color: #444;
	text-align: justify;
	line-height: 1.8;
	margin-bottom: 15px;
}

.policy-box ul {
	margin-bottom: 20px;
	padding-left: 20px;
}

.policy-box ul li {
	font-size: 1.6rem;
	color: #444;
	margin-bottom: 8px;
	list-style-type: disc; /* Kropki */
}
