/* ==========================================================================
   Pekné časy – hlavné štýly témy
   Rozmery a farby podľa pôvodného webu (The7: bočná hlavička 180 px, mobil do 992 px).
   ========================================================================== */

:root {
	--pc-side: 180px;              /* šírka bočného panelu */
	--pc-bar: 60px;                /* výška hornej lišty na mobile */
	--pc-olive: #a49f71;           /* panel s menu */
	--pc-brown: #7e4b2e;           /* aktívna položka menu */
	--pc-unica: "Unica One", sans-serif;
	--pc-signika: "Signika Negative", Helvetica, Arial, Verdana, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; overflow-x: hidden;
	background: #fff; color: #8b8d94;
	font: 400 15px/24px var(--pc-signika);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
p { margin: 0 0 10px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; font-family: var(--pc-signika); font-weight: 700; color: #333; }
h1 { font-size: 52px; line-height: 62px; }
h2 { font-size: 34px; line-height: 44px; }
h3 { font-size: 24px; line-height: 34px; }
h4 { font-size: 20px; line-height: 30px; }
h5 { font-size: 16px; line-height: 26px; }
h6 { font-size: 14px; line-height: 24px; }
@media (max-width: 1024px) { h1 { font-size: 34px; } }
strong, b { font-weight: 700; }
:target { scroll-margin-top: 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: #fff; color: #000; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--pc-brown); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Rozloženie: bočný panel vľavo, obsah vpravo
   -------------------------------------------------------------------------- */
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
@media (min-width: 993px) {
	/* obsah zasahuje 3 px pod panel, aby pri zväčšení prehliadača nevznikla biela škára */
	.site-wrap { margin-left: calc(var(--pc-side) - 3px); }
}

/* --------------------------------------------------------------------------
   Hlavička – desktop: olivový bočný panel (logo hore, menu v strede)
   -------------------------------------------------------------------------- */
.site-header { z-index: 100; }
.site-logo { display: block; line-height: 0; }
.site-logo img { display: block; width: 100%; height: auto; }

.main-menu { list-style: none; margin: 0; padding: 0; }
.main-menu a {
	display: block; text-align: center;
	font: 400 18px/22px var(--pc-unica);
	text-transform: uppercase;
	color: #fff;
}
.main-menu a:hover,
.main-menu a:focus-visible,
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a { color: var(--pc-brown); }

@media (min-width: 993px) {
	.site-header__bar, .nav-close, .nav-overlay { display: none !important; }
	.site-nav {
		position: fixed; inset: 0 auto 0 0; z-index: 100;
		width: var(--pc-side);
		display: flex; flex-direction: column;
		background: var(--pc-olive);
		overflow-y: auto;
	}
	.site-nav__logo { flex: none; }
	.site-nav__primary { flex: 1; display: flex; align-items: center; }
	.main-menu { width: 100%; }
	.main-menu > li { position: relative; }
	.main-menu > li + li::before {
		content: ""; position: absolute; top: -.5px; left: 50%;
		width: 50px; margin-left: -25px;
		border-top: 1px solid rgba(94, 94, 94, .45);
	}
	.main-menu > li { padding: 12px; }
	.main-menu > li > a { padding: 4px 10px; }
}

/* --------------------------------------------------------------------------
   Hlavička – mobil a tablet: horná lišta + vysúvací panel
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
	/* lišta ostáva pri skrolovaní hore (sticky); z-index nad prekrytím, aby vysunuté menu nebolo stmavené */
	html { scroll-padding-top: var(--pc-bar); }
	.site-header { position: sticky; top: 0; z-index: 110; }
	.site-header__bar {
		height: var(--pc-bar);
		display: flex; align-items: center; justify-content: flex-end;
		padding: 0 20px;
		background: var(--pc-olive);
	}
	.nav-toggle {
		appearance: none; border: 0; background: none; cursor: pointer;
		position: relative; width: 40px; height: 40px; padding: 0; color: var(--pc-brown);
	}
	.nav-toggle__icon,
	.nav-toggle__icon::before,
	.nav-toggle__icon::after {
		position: absolute; left: 9px; width: 22px; height: 2px; background: currentColor;
	}
	.nav-toggle__icon { top: 19px; }
	.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; left: 0; }
	.nav-toggle__icon::before { top: -7px; }
	.nav-toggle__icon::after { top: 7px; }

	.site-nav {
		position: fixed; top: 0; right: 0; bottom: 0;
		width: 100%;
		padding: 45px 30px 30px;
		background: var(--pc-olive);
		overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(100%); visibility: hidden;
		transition: transform .4s ease, visibility 0s .4s;
		z-index: 110;
	}
	.nav-open .site-nav { transform: none; visibility: visible; transition: transform .4s ease; }
	.nav-overlay { position: fixed; inset: 0; z-index: 105; background: rgba(17, 17, 17, .5); }
	.nav-open { overflow: hidden; }
	.site-nav__logo { display: none; }

	.nav-close {
		appearance: none; border: 0; cursor: pointer;
		position: absolute; top: 15px; right: 15px;
		width: 30px; height: 30px; padding: 0;
		background: var(--pc-brown); color: #fff;
	}
	.nav-close span, .nav-close span::before {
		position: absolute; left: 6px; top: 14px; width: 18px; height: 2px; background: currentColor; transform: rotate(45deg);
	}
	.nav-close span::before { content: ""; left: 0; top: 0; transform: rotate(-90deg); }

	/* deliace čiary rovnako ako v bočnom paneli na desktope: krátka sivá čiarka v strede */
	.main-menu > li { position: relative; }
	.main-menu > li + li::before {
		content: ""; position: absolute; top: -.5px; left: 50%;
		width: 50px; margin-left: -25px;
		border-top: 1px solid rgba(94, 94, 94, .45);
	}
	.main-menu > li > a { padding: 17px 0; font-weight: 500; }
}

/* --------------------------------------------------------------------------
   Pätička (obsah je blokový vzor „Pätička“) a tlačidlo hore
   -------------------------------------------------------------------------- */
.site-footer { background: #f2f2f2; }
.site-footer > * { margin-block: 0; }

/* tlačidlo „Späť hore“: hnedý štvorec s tenkým bielym rámikom a šípkou – ako tlačidlá a pásy webu */
.scroll-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	background: #a2613b; color: #fff;
	box-shadow: inset 0 0 0 4px #a2613b, inset 0 0 0 5px rgba(255, 255, 255, .55), 0 2px 10px rgba(0, 0, 0, .15);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .4s, transform .4s, visibility 0s .4s, background .25s, box-shadow .25s;
}
.scroll-top svg { width: 22px; height: 22px; transition: transform .25s; }
.scroll-top:hover, .scroll-top:focus-visible {
	background: #a49f71; color: #fff;
	box-shadow: inset 0 0 0 4px #a49f71, inset 0 0 0 5px rgba(255, 255, 255, .7), 0 2px 10px rgba(0, 0, 0, .15);
}
.scroll-top:hover svg { transform: translateY(-2px); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .4s, background .25s, box-shadow .25s; }
@media (max-width: 767px) { .scroll-top { right: 15px; bottom: 15px; width: 42px; height: 42px; } }

/* --------------------------------------------------------------------------
   Obsah
   -------------------------------------------------------------------------- */
.entry-content > * { margin-block: 0; }
.content-narrow { max-width: 1100px; margin: 0 auto; padding: 80px 40px; }
.error-404 { text-align: center; }
.error-404__code { font: 400 120px/1 var(--pc-unica); color: #a2613b; margin: 0; }
.error-404__btn {
	display: inline-block; padding: 8px 14px; border: 1px solid #a2613b; color: #a2613b;
	font: 400 16px/1 var(--pc-unica); letter-spacing: 2px; text-transform: uppercase;
}
.error-404__btn:hover { background: #a94d18; border-color: #a94d18; color: #fff; }
.post-card h2 a { color: #333; }

/* --------------------------------------------------------------------------
   Formulárové prvky (ako v The7 – napr. rezervačný formulár)
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], input[type="password"], input[type="search"], select, textarea {
	font: 400 16px/38px var(--pc-signika); color: #494242;
	background: #fff; border: 1px solid #ccc; border-radius: 2px;
	height: 40px; padding: 0 14px; box-sizing: border-box; max-width: 100%;
}
textarea { height: auto; line-height: 1.5; padding: 10px 14px; }
select { font-size: 13px; line-height: 26px; padding: 0 10px; border-color: #bdc3c7; }
input::placeholder, textarea::placeholder { color: #8b8d94; }

/* --------------------------------------------------------------------------
   Prepínač jazykov (pod menu v bočnom paneli / v mobilnom menu)
   -------------------------------------------------------------------------- */
.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 0; }
.lang-switch li + li::before { content: "|"; color: rgba(255, 255, 255, .5); padding: 0 5px; font: 400 13px/1 var(--pc-unica); }
.lang-switch a { font: 400 14px/20px var(--pc-unica); letter-spacing: 1px; color: #fff; }
.lang-switch a:hover, .lang-switch .is-active a { color: var(--pc-brown); }
@media (min-width: 993px) {
	.site-nav__langs { flex: none; padding: 0 8px 25px; }
}
@media (max-width: 992px) {
	.site-nav__langs { margin-top: 30px; }
	.lang-switch a { font-size: 18px; line-height: 26px; }
	.lang-switch li + li::before { font-size: 16px; }
}
