/* Společná hlavička, patička a tlačítka webu kempu i rezervací. Kemp zeleně, lodě modře, restaurace červeně. */
:root {
  --kemp: #0a9809;
  --kemp-d: #077607;
  --kemp-deep: #0d3a12;
  --kemp-tint: #eaf6e9;
  --lode: #0b72d9;
  --lode-d: #075bb0;
  --lode-deep: #08396e;
  --rest: #d0262d;
  --rest-d: #a81c22;
  --ink: #111411;
  --ink-2: #39403a;
  --muted: #5b635b;
  --line: #e0e4de;
  --bg: #f3f3f3;
  --white: #fff;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(17, 30, 17, 0.06), 0 14px 34px -14px rgba(17, 30, 17, 0.22);
  --shadow-lg: 0 2px 8px rgba(17, 30, 17, 0.08), 0 34px 70px -26px rgba(17, 30, 17, 0.4);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  color-scheme: light;
}
/* vlnitý okraj sekce: vyplněný barvou sekce, překrývá spodek té předchozí */
.edge { position: absolute; left: 0; right: 0; top: -55px; width: 100%; height: 56px; display: block; pointer-events: none; }
.edge path { fill: currentColor; }
/* tlačítka */
.btn-w { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; padding: 15px 22px; font: 800 16px/1 'Nunito Sans', sans-serif; text-decoration: none; cursor: pointer; transition: background-color 180ms ease, transform 160ms var(--ease), box-shadow 180ms ease; white-space: nowrap; }
.btn-w svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease); }
.btn-w:active { transform: scale(0.97); }
@media (hover: hover) { .btn-w:hover svg { transform: translateX(3px); } }
.btn-kemp { background: var(--kemp); color: #fff; box-shadow: 0 8px 18px -10px rgba(10, 152, 9, 0.8); }
.btn-kemp:hover { background: var(--kemp-d); }
.btn-lode { background: var(--lode); color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 114, 217, 0.8); }
.btn-lode:hover { background: var(--lode-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a312a; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: rgba(255, 255, 255, 0.88); }
.link-w { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--kemp-d); text-decoration: none; }
.link-w svg { width: 18px; height: 18px; }
.link-w:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- hlavička ---------- */
.wh { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(17, 20, 17, 0.07); }
.wh-in { max-width: 1400px; margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 18px; }
.wh-logo img { height: 48px; width: auto; }
.wh-nav { margin-left: auto; }
.wh-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.wh-nav li { position: relative; }
.wh-nav > ul > li > a { display: flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 10px; border-radius: 10px; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--ink); transition: background-color 150ms ease, color 150ms ease; }
.wh-nav > ul > li > a:hover, .wh-nav > ul > li:focus-within > a { background: var(--kemp-tint); color: var(--kemp-d); }
.wh-nav a[data-tone='lode']:hover { background: #e7f1fc; color: var(--lode-d); }
.wh-nav a[aria-current='page'] { color: var(--kemp-d); }
.wh-nav li:has(> a[data-tone='lode']) > a:hover { color: var(--lode-d); }
.sub-ico svg { width: 15px; height: 15px; transition: transform 200ms var(--ease); }
.has-sub:hover .sub-ico svg, .has-sub:focus-within .sub-ico svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top left; transition: opacity 160ms ease, transform 200ms var(--ease), visibility 0s 200ms; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity 160ms ease, transform 200ms var(--ease); }
.sub a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; }
.sub a:hover { background: var(--bg); }
.wh-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.wh-phone svg { width: 18px; height: 18px; color: var(--kemp); }
.wh-cta { padding: 12px 18px; }
.wh-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--bg); cursor: pointer; place-items: center; }
.wh-burger svg { width: 24px; height: 24px; }
.wh-mobile-extra { display: none; }

/* ---------- patička ---------- */
.wf { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 0 0 28px; }
.wf { position: relative; padding-top: 72px !important; }
.wf > .edge { color: var(--ink); }
.wf-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.wf h2 { font-size: 15px; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.wf-brand { display: grid; gap: 14px; align-content: start; }
.wf-brand img { width: 220px; height: auto; }
.wf a { text-decoration: none; }
.wf a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.wf-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.wf-contact li { display: grid; }
.wf-contact span { font-size: 13px; color: rgba(255, 255, 255, 0.55); font-weight: 700; }
.wf-contact a { color: #fff; font-weight: 700; }
.wf-fb { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.wf-fb svg { width: 20px; height: 20px; }
.wf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.wf .hours dd { color: rgba(255, 255, 255, 0.78); }
.wf .hours dt { color: #fff; }
.wf-copy { max-width: var(--max); margin: 48px auto 0; padding: 20px var(--gut) 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.5); }


/* lodě: stejná hlavička, modré akcenty */
.wh-lode .wh-cta { background: var(--lode); box-shadow: 0 8px 18px -10px rgba(11, 114, 217, 0.8); }
.wh-lode .wh-cta:hover { background: var(--lode-d); }
.wh-lode .wh-phone svg { color: var(--lode); }
.wh-lode .wh-nav > ul > li > a:hover, .wh-lode .wh-nav > ul > li:focus-within > a { background: #e7f1fc; color: var(--lode-d); }
.wh-lode .wh-nav a[aria-current='page'] { color: var(--lode-d); }
.wf-lode .edge { color: var(--ink); }
.wh, .wf { font-family: 'Nunito Sans', system-ui, sans-serif; line-height: 1.5; }
.wh ul, .wf ul { list-style: none; }
.wh h2, .wf h2 { margin: 0; letter-spacing: 0; }
.wf p { margin: 0; }
.wf .hours { margin: 0; display: grid; gap: 12px; }
.wf .hours dt { font-weight: 900; font-size: 14px; margin-bottom: 2px; color: #fff; }
.wf .hours dd { margin: 0; display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 1360px) {
  .wh-phone span { display: none; }
  .wh-nav > ul > li > a { padding: 10px 8px; font-size: 14.5px; }
}@media (max-width: 1020px) {
  .wh-burger { display: grid; }
  .wh-phone { display: none; }
  .wh-cta { margin-left: auto; }
  .wh-burger { margin-left: 0; }
  .wh-nav { position: fixed; inset: 69px 0 0 0; background: #fff; padding: 12px var(--gut) 32px; overflow-y: auto; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path 300ms var(--ease), visibility 0s 300ms; }
  .wh.open .wh-nav { clip-path: inset(0); visibility: visible; transition: clip-path 300ms var(--ease); }
  .wh-nav > ul { flex-direction: column; gap: 0; }
  .wh-nav > ul > li { border-bottom: 1px solid var(--line); }
  .wh-nav > ul > li > a { font-size: 20px; padding: 16px 4px; }
  .sub-ico { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 12px; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .sub a { background: var(--bg); padding: 8px 12px; font-size: 14.5px; }
  .wh-mobile-extra { display: grid; gap: 14px; margin-top: 24px; }
  .wh-mobile-extra a { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 18px; text-decoration: none; }
  .wh-mobile-extra svg { width: 20px; height: 20px; color: var(--kemp); }
  .wf-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) { .wf-in { grid-template-columns: 1fr; } }

/* ---------- mobil jako aplikace: spodní lišta, bezpečné okraje, dotyk ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  html { -webkit-tap-highlight-color: transparent; }
  body { overscroll-behavior-y: none; }
  .wh-in { padding-top: max(10px, env(safe-area-inset-top)); }
  .wh-cta { display: none; }
  .wh-burger { margin-left: auto; }
  .tabbar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid rgba(17, 20, 17, 0.08); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; text-decoration: none; color: #6b736b; font: 800 11px/1 'Nunito Sans', sans-serif; border-radius: 12px; transition: color 150ms ease, transform 120ms ease; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a:active { transform: scale(0.92); }
  .tabbar a[aria-current='page'] { color: var(--kemp-d); }
  .tabbar-lode a[aria-current='page'] { color: var(--lode-d); }
  .tabbar .tab-main { color: #fff; }
  .tabbar .tab-main svg { width: 50px; height: 50px; padding: 13px; margin-top: -26px; border-radius: 18px; background: var(--kemp); box-shadow: 0 10px 22px -8px rgba(10, 152, 9, 0.7), 0 0 0 4px #fff; }
  .tabbar-lode .tab-main svg { background: var(--lode); box-shadow: 0 10px 22px -8px rgba(11, 114, 217, 0.7), 0 0 0 4px #fff; }
  .tabbar .tab-main span { color: var(--ink); }
  body:has(.tabbar) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  /* stránky s vlastní spodní lištou (rezervace) ji nechají vyniknout */
  body:has(.st-mbar) .tabbar, body:has(.m-cta:not([hidden])) .tabbar, body:has(.app) .tabbar { display: none; }
  body:has(.st-mbar) , body:has(.m-cta:not([hidden])) { padding-bottom: 0; }
  body:has(.tabbar) .demo-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) and (display-mode: standalone) { .wh { padding-top: env(safe-area-inset-top); } }
@media (max-width: 760px) { body:has(.tabbar) .ai { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 1020px) { .wh { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } .wh-nav { height: calc(100dvh - 69px); } }

/* Tlačítka: méně zaoblená, bez barevné záře; tmavší zelená kvůli čitelnosti bílého textu. */
.btn-w { border-radius: 8px; }
.btn-kemp { background: var(--kemp-d); box-shadow: none; }
.btn-kemp:hover { background: #065f06; }
