/* =========================================================
   BARVY A ZÁKLADNÍ NASTAVENÍ – zde změníte vzhled celého webu
   ========================================================= */
:root {
  --bg:        #f7f4ef;   /* hlavní pozadí (teplá off-white) */
  --bg-alt:    #eeeae2;   /* pozadí střídavých sekcí (béžová) */
  --surface:   #ffffff;   /* formulář, karty */
  --line:      #e0d9cd;   /* jemné ohraničení */
  --text:      #25211d;   /* hlavní text */
  --muted:     #6f675e;   /* tlumený text */
  --accent:    #2b2622;   /* tlačítka (tmavý uhel) */
  --accent-2:  #4a4039;   /* tlačítka při najetí myší */
  --sand:      #b8a78d;   /* jemný doplňkový odstín */

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-lg: 28px;
  --max: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 136px) 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: .92rem; font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sand); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block; padding: 15px 32px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 1rem var(--font);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-2); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sand); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-block { width: 100%; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: #fff; background: var(--accent); padding: 10px 22px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--accent-2); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Domů ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 200px 200px; }

/* ---------- O mně ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.about-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.about-text p { color: var(--muted); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 20px 44px; padding: 32px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.facts span { color: var(--muted); font-size: .92rem; }

/* ---------- Služby ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 40px 34px; transition: background .25s; }
.card:hover { background: #e8e2d8; }
.card h3::before { content: ""; display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); margin-bottom: 26px; opacity: .8; } /* ÚPRAVA: kolečko lze nahradit ikonou */
.card p { color: var(--muted); margin: 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Kontakt ---------- */
.contact { max-width: 680px; }
.contact-info { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding: 0; margin: -28px 0 48px; text-align: center; }
.contact-info li { display: flex; flex-direction: column; font-weight: 600; }
.contact-info span { font-size: .8rem; color: var(--muted); font-weight: 500; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 44px); box-shadow: 0 20px 50px -30px rgba(60, 45, 30, .25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; color: var(--text); font: 500 .95rem var(--font); transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a39a8e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field input[type="date"] { color-scheme: light; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 16px 0 0; text-align: center; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #3f7a4a; }
.form-status.err { color: #b4472b; }

/* ---------- Patička ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; text-align: center; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .hero-inner, .about { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .about-image img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery figure:first-child { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
