*{
	font-family: 'Work Sans', Arial, Helvetica, sans-serif;
	box-sizing: border-box;
}
html{
	scroll-behavior: smooth;
}
body{
	font-family: 'Work Sans', Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	color: #111;
	background-color: black;
	overflow-x: hidden;
}
h1, h2, h3{
	font-family: 'Playfair Display', serif;
}
h3, h3 a{
	font-family: 'Playfair Display', serif;
	font-size: 25px;
	text-decoration: none;
	color: black;
}
.hero{
	height: 45vh;
	min-height: 350px;
	background-image: url('zdjecia/hangar.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
.hero::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
	z-index: 1;
}
#hero-content{
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 2;
	background: rgba(0, 0, 0, 0.1);
	padding: 20px;
}
#hero-content h1{
	color: white;
	font-size: clamp(1.5rem, 5vw, 2.5rem);
	max-width: 800px;
	margin: 0;
}
/* Nawigacja */
header{
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 1200px;
	padding: 0px 20px;
	display: flex;
	align-items: center;
	background-color: #FAFAFA;
	border-radius: 50px;
	z-index: 100;
}
#nawigacjalogo{
	margin-right: auto;
	transition: transform 900ms ease-out;
}
.hamburger{
	display: none;
	background: none;
	border: none;
	font-size: 30px;
	cursor: pointer;
	color: black;
	padding: 0;
}
.nav-links{
	display: flex;
	align-items: center;
}
.nawigacja{
	color: black;
	margin: 0px 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	transition: transform 900ms ease-out;
	text-decoration: none;
}
.nawigacja span{
	position: relative;
	display: inline-block;
	color: #000;
	font-size: 16px;
}
.nawigacja span::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: #75b5fd;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}
.nawigacja:hover span::after{
	transform: scaleX(1);
	transform-origin: left;
}
.nawigacja a{
	text-decoration: none;
	color: inherit;
}
.media{
	height: 20px;
	width: 20px;
	vertical-align: middle;
}
/* Main - treść */
main{
	width: 100%;
	margin-top: -40px;
	border-radius: 50px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 10;
	padding: 60px 20px;
}
main p{
	max-width: 850px;
	line-height: 1.2;
	margin: 10px 0 30px 0;
}
.tytul{
	display: flex;
	align-items: center;
	text-align: center;
	gap: 15px;
	color: #333;
	font-weight: 700;
	width: 100%;
	max-width: 900px;
	margin: 40px 0 20px 0;
}
.tytul::before, .tytul::after{
	content: "";
	flex: 1;
	height: 2px;
	background: #eaeaea;
}
/* Stopka */
footer{
	width: 90%;
	max-width: 1200px;
	min-height: 200px;
	background-color: #1A1A1A;
	border-radius: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 40px auto;
	padding: 40px;
}
#stopkalewo, #stopkaprawo{
	color: white;
}
#stopkalewo{
	text-align: left;
}
#stopkaprawo{
	text-align: right;
}
#stopkalewo p, #stopkaprawo p{
	margin: 5px 0;
}
#mail{
	color: white;
}
table {
    width: 60%;
    border-collapse: separate; /* ważne */
    border-spacing: 0;
	border: 1px solid #ddd;
    font-family: Arial, sans-serif;
}
table th {
    background-color: #1e88e5;
    color: white;
    padding: 12px;
    text-align: center;
}
table td {
    background-color: #f2f2f2;
    padding: 12px;
}
table thead tr th:first-child {
    border-top-left-radius: 10px;
}

table thead tr th:last-child {
    border-top-right-radius: 10px;
}
table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #ddd;
}
.tooltip {
    position: relative;
    cursor: pointer;
    background: #1e88e5;
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 12px;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;

    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);

    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 13px;
    z-index: 10;
}

/* strzałka */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* hover */
.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* Styl dla tytułów dokumentów */
.doc-title {
    margin-top: 80px !important;    /* Duży odstęp od poprzedniego PDF-a z góry */
    margin-bottom: 10px !important; /* Bardzo mały odstęp od PDF-a poniżej */
    font-size: 20px;
    font-weight: bold;
}

/* Usuwamy duży górny margines dla pierwszego dokumentu pod nagłówkiem */
.tytul + .doc-title {
    margin-top: 20px !important;
}

/* Opcjonalnie: estetyczny cień dla samych okien PDF */
main object {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: none;
}
/* Responsywność */
@media (max-width: 992px) {
	header {
		width: 95%;
		border-radius: 25px;
	}
	#nawigacjalogo h3 {
		font-size: 18px;
	}
}
.telefon{
    transform: translateY(20%);
}
@media (max-width: 768px) {
	/* Menu mobilne */
	.hamburger {
		display: block;
	}
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 70px;
		left: 0;
		width: 100%;
		background-color: #FAFAFA;
		border-radius: 20px;
		padding: 20px;
		box-shadow: 0 10px 20px rgba(0,0,0,0.1);
	}
	.nav-links.active {
		display: flex;
	}
	.nawigacja {
		margin: 10px 0;
		width: 100%;
		justify-content: center;
	}

	.tytul {
		justify-content: center;
		width: 100%;
		padding: 0 10px;
	}
	.tytul::before,
	.tytul::after {
		display: block;
		height: 1px;
	}
	.tytul h2 {
		text-align: center;
		flex-shrink: 0;
		margin: 0;
		transform: none !important;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}
	.quote-item {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}
	.quote-text, .author {
		text-align: center !important;
	}

	/* Stopka mobilna */
	footer {
		flex-direction: column;
		height: auto;
		padding: 30px 20px;
		text-align: center;
		gap: 30px;
	}
	#stopkalewo, #stopkaprawo {
		text-align: center;
		margin: 0;
		width: 100%;
	}
}