/* Chaty na prenájom: štýl podľa schváleného návrhu (les, pahreba, mach, hmla) */
:root {
	--les: #1E3A2B; --les-2: #2C4E3A; --les-tma: #16291F; --pahreba: #C2551F; --pahreba-tma: #A8461A;
	--mach: #DCE6DE; --hmla: #F6F5F0; --biela: #FFFFFF; --text: #1C2620; --text-2: #3A463F; --sivy: #55615A;
	--ciara: #E3E1D8; --pole: #D4D2C8; --zelena-ok: #1E7A45;
	--r: 18px; --font: Inter, system-ui, sans-serif; --nadpis: 'Bricolage Grotesque', var(--font);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--hmla); color: var(--text); font: 16px/1.55 var(--font); }
a { color: var(--les); text-decoration: none; }
a:hover { color: var(--pahreba); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--nadpis); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--sivy); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* hlavička */
.hdr { background: var(--biela); border-bottom: 1px solid var(--ciara); }
.hdr .wrap, .hdr .wrap-wide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo span { font-family: var(--nadpis); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--les); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.nav .lang { color: var(--sivy); }
.nav .lang strong { color: var(--les); }

/* tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font: 600 16px var(--font); cursor: pointer; }
.btn-fire { background: var(--pahreba); color: #fff; }
.btn-fire:hover { background: var(--pahreba-tma); color: #fff; }
.btn-line { background: transparent; color: var(--les); border: 2px solid var(--les); }
.btn-dark { background: var(--les); color: var(--hmla); }
.btn-dark:hover { color: #fff; background: var(--les-2); }
.btn-block { width: 100%; }

/* hero a vyhľadávanie */
.hero { background: var(--les); color: var(--hmla); }
.hero .wrap { padding-top: 64px; padding-bottom: 52px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 5vw, 58px); line-height: 1.03; max-width: 820px; }
.hero p { margin: 0; font-size: 19px; color: #C9D6CC; max-width: 720px; }
.search { background: var(--biela); border-radius: 20px; padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; color: var(--text); }
.search label { flex: 1 1 150px; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-right: 1px solid var(--ciara); font-size: 12px; font-weight: 600; color: var(--sivy); }
.search label.wide { flex: 2 1 230px; }
.search label:last-of-type { border-right: 0; }
.search input, .search select { border: 0; font: 500 16px var(--font); background: transparent; padding: 2px 0; color: var(--text); width: 100%; }
.search .btn { min-height: 58px; padding: 0 26px; flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 500; background: var(--mach); color: var(--les); }
.hero .chip { background: var(--les-2); color: var(--hmla); }
.hero .chip:hover { background: #3A6149; color: #fff; }
.chip-dark { background: var(--les); color: var(--hmla); }

/* sekcie */
.sec { padding: 56px 0 8px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.sec h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }

/* karty chát */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--biela); border: 1px solid var(--ciara); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.card:hover { color: var(--text); border-color: #C9C6BA; }
.photo { background: #C9D6CC; display: flex; align-items: center; justify-content: center; position: relative; aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .tag { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12px; font-weight: 600; color: var(--les); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; }
.card-name { font-family: var(--nadpis); font-weight: 700; font-size: 20px; }
.fresh { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--zelena-ok); font-weight: 500; }

/* regióny */
.grid-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.region { border-radius: 16px; padding: 20px; min-height: 112px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--text); background: var(--mach); }
.region:nth-child(3n+2) { background: #D6D0BF; }
.region:nth-child(3n+3) { background: #BFCFD3; }
.region strong { font-family: var(--nadpis); font-size: 20px; }

/* dopyt pre partiu */
.request-box { background: var(--mach); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.request-box > div { flex: 1 1 360px; }
.request-box h2 { color: var(--les); margin-bottom: 12px; }
.form-card { flex: 1 1 380px; background: #fff; border-radius: var(--r); padding: 22px; }

/* formuláre */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--sivy); }
.field input, .field select, .field textarea { border: 1px solid var(--pole); border-radius: 10px; padding: 11px 12px; font: 16px var(--font); color: var(--text); background: #fff; width: 100%; }
.field textarea { resize: vertical; min-height: 90px; }
.hp { position: absolute; left: -9999px; }
.error { color: #B3261E; font-size: 13px; }
.flash { border-radius: 12px; padding: 14px 18px; margin: 18px 0; font-weight: 500; }
.flash.success { background: var(--mach); color: var(--les); }
.flash.error { background: #FBE9E7; color: #8C1D18; }

/* výhody pre majiteľov */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 22px; }
.box { background: #fff; border: 1px solid var(--ciara); border-radius: var(--r); padding: 22px; }
.box strong { display: block; font-family: var(--nadpis); font-size: 20px; color: var(--les); margin-bottom: 6px; }

/* zoznam s filtrami */
.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 28px 0 64px; }
.filters { flex: 1 1 240px; max-width: 290px; background: #fff; border: 1px solid var(--ciara); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.filters legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--les); }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.results-head h1 { font-size: 30px; font-weight: 700; }
.row-card { background: #fff; border: 1px solid var(--ciara); border-radius: var(--r); overflow: hidden; display: flex; flex-wrap: wrap; color: var(--text); }
.row-card:hover { color: var(--text); border-color: #C9C6BA; }
.row-card .photo { flex: 1 1 260px; aspect-ratio: auto; min-height: 190px; }
.row-card .info { flex: 2 1 340px; padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.row-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-big { font-size: 22px; font-weight: 700; }
.pager { display: flex; gap: 10px; justify-content: center; padding-top: 8px; }

/* detail */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; padding: 20px 0; }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; border-radius: var(--r) 0 0 var(--r); }
.gallery > div { background: #C9D6CC; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fact { background: #fff; border: 1px solid var(--ciara); border-radius: 14px; padding: 14px 16px; }
.fact span { display: block; font-size: 13px; color: var(--sivy); }
.detail-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.detail-main h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.amenity-list li::before { content: "✓"; color: var(--les); font-weight: 700; margin-right: 8px; }
.months { display: flex; flex-wrap: wrap; gap: 16px; }
.month { background: #fff; border: 1px solid var(--ciara); border-radius: 16px; padding: 18px; flex: 1 1 280px; max-width: 400px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 14px; }
.cal .h { font-size: 12px; color: var(--sivy); }
.cal .d { height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--mach); color: var(--les); }
.cal .d.busy { background: #E8E6DE; color: #5F6A63; text-decoration: line-through; }
.cal .d.past { opacity: 0.45; }
table.prices { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--ciara); border-radius: 16px; overflow: hidden; }
table.prices th, table.prices td { text-align: left; padding: 12px 18px; border-bottom: 1px solid #F0EEE7; }
table.prices th { font-size: 13px; color: var(--sivy); }
.map { height: 260px; border-radius: 16px; background: var(--mach); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.aside { flex: 1 1 320px; max-width: 380px; background: #fff; border: 1px solid var(--ciara); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; }

/* pätička */
.ftr { background: var(--les-tma); color: #B9C9BE; margin-top: 56px; }
.ftr .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.ftr a { color: #B9C9BE; }
.ftr a:hover { color: #fff; }
.ftr strong { font-family: var(--nadpis); font-size: 20px; color: var(--hmla); }

@media (max-width: 720px) {
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
	.form-grid { grid-template-columns: 1fr; }
	.search label { border-right: 0; border-bottom: 1px solid var(--ciara); }
	.aside { position: static; max-width: none; }
	.filters { max-width: none; }
}

.grid-landings{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px}
.grid-landings h3{font-size:16px;margin:0 0 8px}
.grid-landings ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.grid-landings a{color:var(--text);text-decoration:none}
.grid-landings a:hover{color:var(--pahreba);text-decoration:underline}

.crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;margin-bottom:4px}
.crumbs a{color:var(--text-2);text-decoration:none}
.crumbs a:after{content:" ›";margin-left:6px;color:var(--text-2)}
.crumbs a:hover{color:var(--pahreba)}
.seo-intro{color:var(--text-2);line-height:1.6;margin:0 0 14px;max-width:760px}
.seo-intro p{margin:0 0 10px}
.faq{margin-top:36px}
.faq h2{font-size:24px;margin:0 0 12px}
.faq details{border-bottom:1px solid var(--ciara);padding:12px 0}
.faq summary{font-weight:600;cursor:pointer}
.faq p{margin:8px 0 0;color:var(--text-2);line-height:1.6}
.weeks{display:flex;flex-direction:column;gap:8px;align-items:flex-start;margin:0 0 16px}

.admin-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.admin-table th,.admin-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--ciara);vertical-align:top}
.admin-form{display:flex;flex-direction:column;gap:14px;max-width:820px}
.admin-form input,.admin-form select,.admin-form textarea{width:100%;border:1px solid var(--pole);border-radius:10px;padding:10px;font:15px var(--font)}

.watch-box{display:flex;flex-direction:column;gap:8px;background:var(--mach);border-radius:14px;padding:18px 20px;margin:20px 0}
.watch-row{display:flex;gap:8px;flex-wrap:wrap}
.watch-row input{flex:1;min-width:200px;border:1px solid var(--pole);border-radius:10px;padding:10px;font:15px var(--font)}

/* hlavička s fotkou chaty: tmavý prechod zľava, aby bol text čitateľný; v zime iná fotka */
.hero { --hero: url(../img/hero.webp); --hero-m: url(../img/hero-800.webp); position: relative; background-color: #142319;
	background-image: linear-gradient(90deg, rgba(14,28,20,.86) 0%, rgba(14,28,20,.55) 42%, rgba(14,28,20,.08) 75%), var(--hero);
	background-size: cover; background-position: center 62%; min-height: clamp(560px, 47vw, 820px); display: flex; align-items: center; }
.hero.winter { --hero: url(../img/hero-zima.webp); --hero-m: url(../img/hero-zima-800.webp); }
.hero > .wrap { padding-top: 64px; padding-bottom: 64px; width: 100%; }
.hero h1, .hero p { text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero .chip { background: rgba(30,58,43,.72); backdrop-filter: blur(4px); }
@media (max-width: 700px) {
	/* na mobile celá fotka hore ako pás, text pod ňou na tmavom pozadí */
	.hero { display: block; min-height: 0; background-image: linear-gradient(180deg, rgba(20,35,25,0) 30vw, #142319 56vw), var(--hero-m);
		background-size: 100% auto; background-position: center top; background-repeat: no-repeat; }
	.hero > .wrap { padding-top: 38vw; padding-bottom: 40px; }
}
.sec ul{line-height:1.6}.sec h2{margin-top:28px}
