:root {
	--brand-blue: #4b91c7;
	--brand-blue-dark: #3a78a8;
	--brand-orange: orange;
	--brand-ink: #043f4a;
	--brand-muted: #666666;
	--page-bg: #e7e7e7;
	--shell: 1140px;
}

body {
	margin: 0;
	background: var(--page-bg);
	color: var(--brand-ink);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

a {
	color: var(--brand-blue);
}

a:hover {
	color: #717171;
}

em {
	color: #ff3300;
	font-style: normal;
}

img {
	border: 0;
}

.site-header {
	background: #fff;
	box-shadow: 0 1px 0 rgba(4, 63, 74, 0.06);
}

.header-inner,
.site-wrap {
	width: min(var(--shell), calc(100% - 1.5rem));
	margin-inline: auto;
}

.site-top {
	padding: 0.65rem 0;
}

.logo-link {
	display: inline-flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	text-decoration: none;
}

.logo-link img {
	display: block;
	width: auto;
	height: auto;
	max-height: 56px;
	max-width: 100%;
}

.btn-quote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: var(--brand-orange);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	line-height: 1.2;
}

.btn-quote:hover,
.btn-quote:focus {
	background: #e69500;
	color: #fff;
}

.navbar-site {
	background: var(--brand-orange);
	padding-top: 0;
	padding-bottom: 0;
}

.navbar-site .navbar-toggler {
	align-items: center;
	gap: 0.45rem;
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
	margin: 0.45rem 0;
}

.navbar-site .menu-label {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
}

.navbar-site .navbar-toggler:focus {
	box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
}

.navbar-site .nav-link {
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.8rem 0.7rem;
}

.navbar-site .nav-link:hover,
.navbar-site .nav-link:focus,
.navbar-site .nav-link.active {
	color: #fff;
	background: rgba(0, 0, 0, 0.14);
}

.site-wrap {
	padding-bottom: 2rem;
}

.site-shell {
	margin-top: 1.25rem;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(4, 63, 74, 0.08);
	overflow: hidden;
}

.page-banner {
	height: clamp(200px, 26vw, 300px);
	background-color: #043f4a;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Pexels, szabad felhasználás: 32021897 Memet Öz, 10421760 Ikbal Alahmad, 34334648 Theo Felten, 16239802 Marianna Zuzanna */
#header1 { background-image: url("../../images/hero/foldmunka.jpg"); }
#header2 { background-image: url("../../images/hero/fuvar.jpg"); }
#header3 { background-image: url("../../images/hero/munkagep.jpg"); }
#header4 { background-image: url("../../images/hero/terko.jpg"); }
#header5 { background-image: url("../../images/hero/fuvar.jpg"); }
#header6 { background-image: url("../../images/hero/foldmunka.jpg"); }
#header7 { background-image: url("../../images/hero/munkagep.jpg"); }
#header-fuvar { background-image: url("../../images/hero/fuvar.jpg"); }

.site-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	align-items: start;
}

.site-layout-full {
	grid-template-columns: minmax(0, 1fr);
}

#primaryContent {
	min-width: 0;
	padding: 1.6rem 1.75rem 2rem;
}

#primaryContent h2 {
	margin: 0 0 0.85rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.7rem, 2.5vw, 2.05rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--brand-blue);
}

#primaryContent h3 {
	margin: 1.15rem 0 0.45rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--brand-muted);
}

#secondaryContent h3 {
	margin: 1.25rem 0 0.55rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--brand-blue);
}

#primaryContent p {
	margin: 0 0 0.85rem;
	color: var(--brand-ink);
}

#primaryContent ul {
	margin: 0.4rem 0 1rem;
	padding-left: 0;
	list-style: none;
}

#primaryContent li {
	position: relative;
	margin: 0.35rem 0;
	padding-left: 1.15rem;
}

#primaryContent li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 2px;
	background: var(--brand-orange);
}

#primaryContent p img {
	float: left;
	width: auto;
	max-width: min(250px, 42%);
	height: auto;
	margin: 0.2rem 1rem 0.6rem 0;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 12px;
}

#primaryContent iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 350px;
	border: 0;
	border-radius: 12px;
}

#secondaryContent {
	min-width: 0;
	padding: 1.25rem 1.15rem 1.6rem;
	border-left: 1px solid #ececec;
	background: #fbfbfb;
}

a#ajanlatkeres {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0 0 0.4rem;
	padding: 0.7rem 0.9rem;
	background: var(--brand-orange);
	color: #fff;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-indent: 0;
	border-radius: 12px;
}

a#ajanlatkeres:hover,
a#ajanlatkeres:focus {
	background: #e69500;
	color: #fff;
}

#secondaryContent img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 0.85rem;
	border-radius: 8px;
}

#secondaryContent ul.links {
	margin: 0;
	padding: 0;
	list-style: none;
}

#secondaryContent ul.links li {
	margin: 0.35rem 0;
}

#secondaryContent ul.links a {
	color: #575757;
	text-decoration: underline;
}

#secondaryContent ul.links a:hover {
	color: var(--brand-blue);
	text-decoration: none;
}

#primaryContent input[type="text"],
#primaryContent select,
#primaryContent textarea {
	display: block;
	width: 100% !important;
	max-width: 32rem;
	margin-top: 0.2rem;
	padding: 0.55rem 0.75rem;
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.4;
}

#primaryContent textarea {
	max-width: 100%;
	min-height: 110px;
}

#primaryContent input[name="countdown"] {
	display: inline-block;
	width: 4.2rem !important;
	max-width: none;
	margin: 0 0.2rem;
	padding: 0.15rem 0.4rem;
	border-radius: 6px;
	text-align: center;
}

#primaryContent input[name="captcha_code"] {
	display: inline-block;
	width: 7.5rem !important;
	max-width: none;
}

#primaryContent form.site-form p {
	margin-bottom: 0.4rem;
}

#primaryContent form.site-form .error_msg {
	display: block;
	margin-top: 0.15rem;
}

#primaryContent form.site-form input[type="text"],
#primaryContent form.site-form select,
#primaryContent form.site-form textarea {
	margin-top: 0.12rem;
	border: 2px solid var(--brand-orange);
	font-size: 1.125rem;
}

#primaryContent form.site-form input[type="text"]:hover,
#primaryContent form.site-form select:hover,
#primaryContent form.site-form textarea:hover,
#primaryContent form.site-form input[type="text"]:focus,
#primaryContent form.site-form select:focus,
#primaryContent form.site-form textarea:focus {
	border-color: #e69500;
	outline: none;
}

#primaryContent form.site-form input[name="countdown"] {
	border: 1px solid #ccc;
	font-size: 1rem;
}

#primaryContent form.site-form input[name="countdown"]:hover,
#primaryContent form.site-form input[name="countdown"]:focus {
	border-color: #ccc;
}

#primaryContent form.site-form .captcha-field img {
	display: block;
	float: none;
	margin: 0 0 0.2rem;
}

#primaryContent form.site-form .privacy-accept label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0.35rem 0 0;
	font-weight: 400;
}

#primaryContent form.site-form input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.15rem 0 0;
	accent-color: var(--brand-orange);
	flex: 0 0 auto;
}

#primaryContent img[alt="Biztonsági kód"] {
	float: none;
	max-width: none;
	margin: 0 0 0.6rem;
	border-radius: 8px;
}

#primaryContent button {
	width: auto !important;
	height: auto;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.55rem 1.15rem;
	background: var(--brand-blue);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

#primaryContent button:hover {
	background: var(--brand-blue-dark);
}

#primaryContent button[type="reset"] {
	background: #fff;
	color: var(--brand-ink);
	border: 1px solid #ccc;
}

#primaryContent button[type="reset"]:hover {
	background: #f4f4f4;
}

.error_msg {
	color: #ff3300;
	font-size: 0.9rem;
	line-height: 1.35;
}

.confirm_msg {
	color: #1ca10b;
	font-size: 1rem;
	line-height: 1.4;
}

.gallery {
	margin: 0 0 1.4rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.65rem;
}

.gallery-grid a {
	display: block;
	overflow: hidden;
	border: 1px solid #eee;
	border-radius: 12px;
	background: #f4f4f4;
}

.gallery-grid img {
	display: block;
	width: 100%;
	height: 112px;
	margin: 0;
	padding: 0;
	object-fit: cover;
	border: 0;
	float: none;
}

#footer {
	margin-top: 1rem;
	padding: 0.95rem 1.1rem;
	background: var(--brand-orange);
	color: #fff;
	border-radius: 14px;
	font-size: 0.82rem;
	line-height: 1.45;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	align-items: flex-start;
}

#footer p {
	margin: 0;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
	color: #fff;
}

#links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
	justify-content: flex-end;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1.25rem;
	background: rgba(4, 20, 28, 0.88);
}

.lightbox[hidden] {
	display: none;
}

.lightbox figure {
	margin: 0;
	max-width: min(960px, 100%);
}

.lightbox img {
	display: block;
	max-width: min(960px, 86vw);
	max-height: 78vh;
	width: auto;
	height: auto;
	border-radius: 8px;
	background: #111;
}

.lightbox figcaption {
	margin-top: 0.55rem;
	color: #fff;
	text-align: center;
	font-size: 0.9rem;
}

.lightbox button {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2.4rem;
	line-height: 1;
	padding: 0.2rem 0.45rem;
}

.lightbox-close {
	position: absolute;
	top: 0.6rem;
	right: 0.8rem;
	font-size: 2.2rem;
}

body.lightbox-open {
	overflow: hidden;
}

@media (max-width: 991.98px) {
	.navbar-site .navbar-collapse {
		max-height: calc(100vh - 8rem);
		overflow-y: auto;
		margin: 0 -0.75rem;
		padding-bottom: 0.4rem;
	}

	.navbar-site .navbar-toggler {
		display: inline-flex;
	}

	.navbar-site .nav-link {
		border-top: 1px solid rgba(255, 255, 255, 0.28);
	}

	.site-layout,
	.site-layout-full {
		grid-template-columns: minmax(0, 1fr);
	}

	#secondaryContent {
		border-left: 0;
		border-top: 1px solid #ececec;
	}

	.page-banner {
		height: 200px;
	}

	.footer-inner {
		flex-direction: column;
	}

	#links {
		justify-content: flex-start;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.navbar-site .nav-link {
		font-size: 0.82rem;
		padding: 0.8rem 0.45rem;
	}
}

@media (max-width: 575.98px) {
	.logo-link img {
		max-height: 42px;
	}

	.site-top .btn-quote {
		display: none;
	}

	#primaryContent {
		padding: 1.15rem 1rem 1.4rem;
	}

	#primaryContent p img {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 0 0.9rem;
	}

	#primaryContent button {
		width: 100% !important;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
