/* Úvodní stránka Henhouse Log — barvy a písma navazují na zásady ochrany osobních údajů a na samotnou appku. */
:root {
  --bg: #F1E6D3;
  --surface: #FFFDF7;
  --ink: #3A2A18;
  --muted: #7E6B4F;
  --accent: #8B5A2B;
  --accent-strong: #5C3D1C;
  --line: #E3CDA8;
  --shadow: 0 10px 30px rgba(58, 42, 24, 0.18);
  --focus: #8B5A2B;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #201A12;
    --surface: #2B2116;
    --ink: #F1E6D3;
    --muted: #B6A488;
    --accent: #D9A441;
    --accent-strong: #F0C874;
    --line: #3D3122;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --focus: #D9A441;
  }
}

:root[data-theme="dark"] {
  --bg: #201A12;
  --surface: #2B2116;
  --ink: #F1E6D3;
  --muted: #B6A488;
  --accent: #D9A441;
  --accent-strong: #F0C874;
  --line: #3D3122;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --focus: #D9A441;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Hlavička */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; }
.lang { font-size: 0.95rem; }
.lang a { text-decoration: none; font-weight: 700; }
.lang a:hover { text-decoration: underline; }

/* Úvod */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
  padding: 40px 0 72px;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 20px;
  text-wrap: balance;
}
.lede { font-size: 1.15rem; max-width: 34em; margin: 0 0 28px; }
.facts { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 600; }
.facts li::before { content: "·"; margin-right: 8px; color: var(--accent); }
.facts li:first-child::before { content: ""; margin: 0; }
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.badge {
  display: inline-block;
  padding: 11px 22px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent-strong);
}
.badge.soon { border-style: dashed; }
.store small { color: var(--muted); }

.phone {
  justify-self: center;
  width: min(100%, 300px);
  border-radius: 34px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.phone img { display: block; width: 100%; height: auto; }

/* Sekce */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 14px;
  text-wrap: balance;
}
.intro { max-width: 40em; color: var(--muted); margin: 0 0 36px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; margin: 0; padding: 0; list-style: none; }
.features h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.15rem; margin: 0 0 4px; color: var(--accent-strong); }
.features p { margin: 0; }

.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.gallery figure { flex: 0 0 230px; margin: 0; scroll-snap-align: start; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.gallery figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.split p { max-width: 34em; }
.split ul { padding-left: 20px; margin: 0; }
.split li { margin-bottom: 8px; }

/* Patička */
footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 16px 0 48px; }
  .phone { width: min(70%, 260px); }
  .features, .split { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 40px 0; }
}
