/* Domek v olivách — styly webu
   Barvy a písma jsou v proměnných níže. Změna barvy = změna na jednom místě. */

:root {
  --bg: #f6f1e7;
  --bg-2: #ede5d3;
  --paper: #fbf7ee;
  --ink: #1f2a20;
  --ink-2: #3a4a3c;
  --muted: #646c5d;
  --line: #d9cfb8;
  --olive: #6b7a4b;
  --olive-deep: #4a5833;
  --terracotta: #b8613a;
  --sand: #d9c7a3;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --pad: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.label { color: var(--olive); display: block; margin-bottom: 14px; }
.ic { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-lg { width: 30px; height: 30px; color: var(--olive); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ===== Tlačítka ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 13px; letter-spacing: 0.04em;
  border: 1px solid currentColor;
  background: transparent; color: inherit;
  text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn .ic { width: 14px; height: 14px; }
.btn-small { padding: 10px 18px; }
.btn-olive { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.btn-olive:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn-wide { width: 100%; justify-content: center; padding: 16px 22px; margin-top: 8px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ===== Navigace ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  color: var(--paper);
  transition: background .25s, padding .25s, color .25s, box-shadow .25s;
}
.nav.scrolled {
  background: rgba(251,247,238,.96);
  color: var(--ink);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  font-size: 14px; font-style: italic;
}
.nav-links { display: flex; gap: 30px; list-style: none; font-size: 13px; letter-spacing: .02em; }
.nav-links a { text-decoration: none; opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; border-bottom-color: currentColor; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; width: 40px; height: 40px; place-items: center; cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 980px; color: var(--paper); overflow: hidden; display: flex; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,18,.5) 0%, rgba(20,30,18,.15) 35%, rgba(20,30,18,.78) 100%); }
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; max-width: 1300px;
  padding: 140px var(--pad) 80px;
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; opacity: .92; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .96; letter-spacing: -.02em;
  max-width: 15ch; margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: #f0e6cf; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px 44px; font-size: 14px; margin-bottom: 40px; }
.hero-meta dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.hero-meta dd { letter-spacing: .02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-corner { position: absolute; z-index: 2; right: var(--pad); bottom: 44px; text-align: right; opacity: .75; line-height: 1.8; }
.hero-corner strong { font-weight: 600; }

/* ===== Sekce – základ ===== */
.section { max-width: 1300px; margin: 0 auto; padding: 120px var(--pad); }
.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px;
  align-items: end; margin-bottom: 64px;
}
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.015em; max-width: 14ch; }
.h2 em { font-style: italic; color: var(--olive); }
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 50ch; }

/* ===== O domku ===== */
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.intro-text .h2 { margin-bottom: 28px; }
.intro-text .lead { font-size: 25px; line-height: 1.45; font-style: italic; font-weight: 400; color: var(--ink-2); margin-bottom: 28px; max-width: 34ch; }
.intro-text p:not(.lead) { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 16px; max-width: 52ch; }
.intro-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Proč k nám ===== */
.features { background: var(--bg-2); }
.section-head-only { padding-bottom: 0; }
.features-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature { background: var(--bg-2); padding: 44px 36px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.feature .num { color: var(--olive); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; margin-bottom: 22px; }
.feature h3 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ===== Vybavení ===== */
.amenities {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 40px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.amenities li { display: flex; gap: 14px; align-items: flex-start; }
.amenities .ic { width: 24px; height: 24px; color: var(--olive); margin-top: 1px; }
.amenities b { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 2px; }
.amenities span { font-size: 13px; color: var(--muted); }

/* ===== Galerie ===== */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  border: 0; padding: 0; cursor: zoom-in; background: var(--bg-2);
}
.tile-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.4), rgba(0,0,0,0) 45%); pointer-events: none; }
.tile .cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fbf7ee; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-align: left;
}

/* ===== Lightbox ===== */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  margin: 0;
}
.lightbox::backdrop { background: rgba(15,20,14,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); object-fit: contain; }
.lb-cap { position: fixed; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(251,247,238,.8); }
.lb-btn { position: fixed; background: rgba(251,247,238,.1); border: 1px solid rgba(251,247,238,.3); color: var(--paper); width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(251,247,238,.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== Ceník ===== */
.prices { background: var(--ink); color: var(--paper); }
.prices .h2 { color: var(--paper); }
.prices .h2 em { color: var(--sand); }
.prices .label { color: var(--sand); }
.prices .section-head p { color: rgba(251,247,238,.72); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); margin-bottom: 40px; }
.price-card { background: var(--ink); padding: 40px 30px; }
.price-card.highlight { background: #2a352a; }
.price-card .season { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-bottom: 10px; }
.price-card .dates { font-size: 13px; color: rgba(251,247,238,.62); margin-bottom: 26px; }
.price-card .amount { font-size: 60px; font-weight: 400; line-height: 1; letter-spacing: -.02em; margin-bottom: 6px; }
.price-card .amount sup { font-size: 24px; opacity: .65; vertical-align: top; margin-left: 4px; position: relative; top: 6px; }
.price-card .unit { font-size: 12px; color: rgba(251,247,238,.55); letter-spacing: .05em; margin-bottom: 26px; }
.price-card ul { list-style: none; font-size: 13.5px; color: rgba(251,247,238,.8); }
.price-card li { padding: 7px 0; border-top: 1px solid rgba(255,255,255,.08); }
.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 13px; color: rgba(251,247,238,.68); line-height: 1.55; }
.includes strong { display: block; color: var(--paper); font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.price-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(251,247,238,.6); }

/* ===== Okolí ===== */
.surroundings { background: var(--bg); }
.places-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 72px; }
.place { position: relative; overflow: hidden; background: #2d4a3a; }
.place img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s ease; }
.place:hover img { transform: scale(1.04); }
.place figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 18px 16px;
  color: #fbf7ee; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
}
.place .mono { font-size: 10px; opacity: .85; }
.place .cap { font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.tips { display: grid; gap: 48px; }
.tip-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.tip-group h3 { color: var(--olive); font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tip {
  display: grid; grid-template-columns: 230px 1fr 170px; gap: 32px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.tip dt { font-size: 25px; line-height: 1.15; }
.tip dd { color: var(--muted); font-size: 14px; max-width: 60ch; }
.tip .dist { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.map-wrap { position: relative; margin-top: 64px; aspect-ratio: 16/7; background: linear-gradient(135deg, #dfe4d3, #c6cbb5); overflow: hidden; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(circle at 42% 55%, rgba(107,122,75,.35), transparent 32%),
    radial-gradient(circle at 70% 35%, rgba(107,122,75,.3), transparent 36%),
    linear-gradient(100deg, transparent 55%, rgba(61,107,122,.35) 60%, rgba(61,107,122,.55) 100%),
    #dfe4d3;
  color: var(--ink);
}
.map-load .serif { font-size: 30px; border-bottom: 1px solid currentColor; }
.map-load:hover .serif { color: var(--olive-deep); }
.map-link { position: absolute; right: 18px; bottom: 16px; background: var(--paper); padding: 9px 14px; text-decoration: none; font-size: 10.5px; z-index: 2; }

/* ===== Dotazy ===== */
.faq-list { border-top: 1px solid var(--line); max-width: 900px; margin-left: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 25px; line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 24px; font-weight: 300; color: var(--olive); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); font-size: 15px; line-height: 1.7; padding: 0 40px 24px 0; max-width: 64ch; }

/* ===== Kontakt ===== */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info .h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 24px; }
.contact-info > p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 36px; max-width: 44ch; }
.contact-details > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-details > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--muted); }
.contact-details dd { font-size: 15px; overflow-wrap: anywhere; }
.contact-details a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.form { background: var(--bg-2); padding: 40px; }
.form h3 { font-size: 28px; margin-bottom: 4px; }
.form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #c9bea5; border-radius: 0;
  padding: 10px 0; font: inherit; font-size: 16px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--olive); }
.field textarea { min-height: 96px; resize: vertical; }
.field .err, .field input:user-invalid { border-bottom-color: var(--terracotta); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.estimate { background: var(--paper); border-left: 3px solid var(--olive); padding: 14px 16px; margin: 4px 0 20px; font-size: 14px; line-height: 1.55; }
.estimate b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.estimate .warn { color: var(--terracotta); display: block; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 14px; min-height: 1em; }
.form-status.ok { color: var(--olive-deep); }
.form-status.bad { color: var(--terracotta); }
.form-gdpr { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ===== Patička ===== */
.footer { background: var(--ink); color: rgba(251,247,238,.7); padding: 64px var(--pad) 32px; }
.footer-wrap { max-width: 1300px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 22px; }
.footer .logo { color: var(--paper); margin-bottom: 16px; }
.footer-top p { font-size: 13px; line-height: 1.7; max-width: 36ch; }
.footer h4 { color: var(--paper); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; }
.footer li { padding: 4px 0; font-size: 13.5px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(251,247,238,.45); }

/* ===== Tablet ===== */
@media (max-width: 1080px) {
  :root { --pad: 36px; }
  .nav-links { gap: 20px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .tip { grid-template-columns: 190px 1fr; }
  .tip .dist { grid-column: 2; text-align: left; margin-top: -14px; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; z-index: 49;
    flex-direction: column; gap: 0;
    background: var(--paper); color: var(--ink);
    padding: 8px var(--pad) 20px; box-shadow: 0 12px 30px rgba(0,0,0,.12);
    font-size: 17px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-toggle { display: grid; }
  .nav-links.open ~ .nav-right, .nav.menu-open { background: var(--paper); color: var(--ink); }
  .section { padding: 88px var(--pad); }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-photo { aspect-ratio: 4/3; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; padding: 32px var(--pad); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .places-strip { grid-template-columns: repeat(2, 1fr); }
  .tip-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .hero-corner { display: none; }
  .map-wrap { aspect-ratio: 4/3; }
}

/* ===== Mobil ===== */
@media (max-width: 600px) {
  :root { --pad: 16px; }
  body { font-size: 15px; }
  .nav { padding: 14px var(--pad); }
  .nav.scrolled { padding: 10px var(--pad); }
  .nav-links { inset: 60px 0 auto 0; }
  .logo { font-size: 19px; }
  .nav-right .btn-small { display: none; }
  .hero-content { padding: 120px var(--pad) 48px; }
  .hero-meta { gap: 16px 28px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .section { padding: 68px var(--pad); }
  .intro-text .lead { font-size: 21px; }
  .feature { flex-direction: column; gap: 14px; }
  .feature h3 { font-size: 26px; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .gallery-grid { gap: 8px; }
  .tile-big { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .tile:not(.tile-big) .cap { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 30px 22px; }
  .includes { grid-template-columns: 1fr; gap: 20px; }
  .places-strip { gap: 8px; margin-bottom: 52px; }
  .place .cap { font-size: 15px; }
  .tip { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .tip .dist { grid-column: auto; margin-top: 0; }
  .tip dt { font-size: 23px; }
  .faq-list summary { font-size: 21px; }
  .form { padding: 28px 18px; margin: 0 calc(var(--pad) * -1); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-details > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb-prev, .lb-next { top: auto; bottom: 64px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
