/* ===== Chata Bítov – moderní čistý design ===== */
:root {
    --green: #2f5d3f;
    --green-dark: #234730;
    --green-light: #eef4ef;
    --accent: #c99b4a;
    --text: #26312a;
    --muted: #66736b;
    --bg: #fdfcfa;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 8px 30px rgba(35, 71, 48, .10);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-head: 'Fraunces', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16.5px; }
img { max-width: 100%; display: block; }
a { color: var(--green); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--green-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7em; }
p { margin-bottom: 1em; }
.mt { margin-top: 1.5em; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.subtitle { color: var(--muted); margin-top: -0.8em; margin-bottom: 1.5em; }

/* ===== Topbar ===== */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(253, 252, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid #e8e6e0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.brand span { color: var(--accent); }
.brand img { max-height: 48px !important; max-width: 210px !important; width: auto; height: auto; object-fit: contain; display: block; }
.topbar-contact a, .topbar-tel { white-space: nowrap; }
.topnav { display: flex; gap: 22px; flex-wrap: wrap; }
.topnav a { text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 500; }
.topnav a:hover { color: var(--green); }
.nav-switch { color: var(--accent) !important; font-weight: 600 !important; }
.topbar-tel { font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact a { text-decoration: none; font-weight: 500; font-size: .95rem; }

/* ===== Hero (chata) ===== */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 25, .45), rgba(20, 35, 25, .65)); }
.hero-content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1, .hero .lead { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero .eyebrow { color: #e9c886; }
.hero-btns { display: flex; gap: 14px; margin-top: 2em; flex-wrap: wrap; }

/* ===== Hero (rozcestí) ===== */
.hero-home { padding: 90px 0 40px; text-align: center; background: linear-gradient(180deg, var(--green-light), var(--bg)); }
.hero-home .lead { margin: 0 auto; }
.intro-text { text-align: center; max-width: 700px; margin: 30px auto 10px; color: var(--muted); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 13px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; transition: all .2s; font-family: var(--font-body); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .25); }

/* ===== Rozcestí – karty ===== */
.rozcesti { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin: 50px 0 80px; }
.chata-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s; }
.chata-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(35, 71, 48, .16); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.chata-card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h2 { margin-bottom: .2em; }
.card-body p { color: var(--muted); font-size: .97rem; }
.features { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.features li { background: var(--green-light); color: var(--green-dark); font-size: .8rem; font-weight: 600; padding: 5px 13px; border-radius: 50px; }
.card-body .btn { background: var(--green); color: #fff; align-self: flex-start; margin-top: auto; }

/* ===== Sekce ===== */
.section { padding: 76px 0; }
.section-alt { background: var(--green-light); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split-reverse > div:first-child { order: 2; }
.split-reverse > .split-img { order: 1; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ===== Embedy ===== */
.embed-16x9 { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kalendar iframe { width: 100%; height: 1200px; border: 0; background: #fff; border-radius: var(--radius); }
.embed-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 420px; }
.embed-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== Lightbox ===== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(15, 22, 17, .94); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; opacity: .8; padding: 10px 18px; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ===== Ceník ===== */
.cenik-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px; }
.cenik-box strong { color: var(--green-dark); }
.storno { margin-top: 22px; font-size: .9rem; color: var(--muted); background: #fff8ec; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 10px 10px 0; }
.storno p { margin: 0; }

/* ===== Kontakt / formulář ===== */
.contact-line { font-size: 1.1rem; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.contact-form label { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; font-weight: 600; color: var(--green-dark); }
.contact-form input, .contact-form textarea { padding: 12px 14px; border: 1px solid #d5d9d3; border-radius: 9px; font: inherit; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { padding: 13px 18px; border-radius: 9px; font-weight: 600; }
.form-msg.ok { background: #e3f3e5; color: #21632a; }
.form-msg.err { background: #fde8e8; color: #a02020; }

/* ===== Patička ===== */
.footer { background: var(--green-dark); color: rgba(255, 255, 255, .85); padding: 46px 0; margin-top: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin-bottom: .3em; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.socials { display: flex; gap: 16px; justify-content: flex-end; margin-top: 6px; }
.socials a { font-size: .9rem; opacity: .85; }

/* ===== Responzivita ===== */
@media (max-width: 900px) {
    .rozcesti { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .split-reverse > div:first-child { order: 1; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .topnav { display: none; }
    .footer-contact { text-align: left; }
    .socials { justify-content: flex-start; }
    .kalendar iframe { height: 1000px; }
}
@media (max-width: 560px) {
    .hide-mobile { display: none; }
    .hero { min-height: 64vh; }
    .cenik-box { padding: 24px 20px; }
}
