/* ===========================================================================
   default design — minimal, semleges alap új honlaphoz
   xconsult.hu wg8 framework
   =========================================================================== */

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #222;
	background: #fff;
}

a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em 0; font-weight: 600; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em 0; }

/* --- Layout --- */
.container {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- Header --- */
.site-header {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	padding: 14px 0;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.site-logo {
	font-size: 1.25rem;
	font-weight: 700;
	color: #222;
}
.site-logo:hover { text-decoration: none; color: #0066cc; }
.site-nav a {
	margin-left: 18px;
	color: #444;
	font-weight: 500;
}

/* --- Main content --- */
.site-main { padding: 30px 0 60px 0; }
.content-wrap { min-height: 50vh; }

/* --- Footer --- */
.site-footer {
	background: #f5f5f5;
	border-top: 1px solid #e5e5e5;
	padding: 30px 0 20px 0;
	color: #555;
	font-size: .9rem;
}
.footer-inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
}
.footer-col strong { color: #222; }
.footer-copy { text-align: right; }

/* --- Form alap --- */
.form-center {
	max-width: 420px;
	margin: 30px auto;
	padding: 30px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fafafa;
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 4px; font-weight: 500; }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=password],
.form-row input[type=tel],
.form-row textarea,
.form-row select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
}
.form-row.center { text-align: center; }

.btn {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 4px;
	border: 1px solid transparent;
	background: #f0f0f0;
	color: #222;
	font-size: 1rem;
	cursor: pointer;
	font-family: inherit;
}
.btn:hover { background: #e0e0e0; text-decoration: none; }
.btn-primary { background: #0066cc; color: #fff; border-color: #0066cc; }
.btn-primary:hover { background: #0052a3; color: #fff; }

.alertbox {
	padding: 10px 14px;
	border-radius: 4px;
	margin-bottom: 14px;
}
.alertbox.error { background: #fdecea; border: 1px solid #f5c6c4; color: #a02622; }
.alertbox.ok    { background: #e7f5e9; border: 1px solid #b8e0bd; color: #1e6b27; }

/* --- Reszponzív --- */
@media (max-width: 720px) {
	.footer-inner { grid-template-columns: 1fr; }
	.footer-copy { text-align: left; }
	.site-nav a { margin-left: 12px; }
	h1 { font-size: 1.6rem; }
}
