:root {
  --brand: #558639;
  --text: #2e1c14;
  --muted: #7b5f4d;
  --bg: #b0aeac;
  --bg-alt: #f7f1eb;
  --border: #e8ddd4;
  --card-shadow: 0 5px 24px rgba(0,0,0,.05);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 64px 0; }
.section h2 { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 16px; color: #2e1c14; }
.section h3 { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 16px; color: #2e1c14; }

.section p { margin: 0 0 12px; }
.section-alt { background: var(--bg-alt); }

.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(222, 222, 222, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-weight: 700; letter-spacing: .2px; font-size: 18px; color: var(--text); }
.brand span { color: var(--brand); }
.site-header nav { display: none; gap: 20px; }
.site-header nav a { color: var(--text); font-weight: 600; }
.nav-toggle { display: inline-flex; border: none; background: #f4e7df; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
@media (min-width: 900px) { .site-header nav { display: flex; } .nav-toggle { display: none; } }

/* Hero */
.hero { position: relative; width: 100%; aspect-ratio: 16/9; overflow: clip; background: #000; }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--hero-focus-y, 8%); opacity: .8; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; text-align: center; }
.hero-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgb(0, 0, 0), transparent);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-content { margin-inline: auto; }
.hero-cta { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-content h1 { font-size: clamp(28px, 4.5vw, 54px); margin: 0 0 8px; text-shadow: 0 2px 16px rgba(0,0,0,.5); font-weight: 700; }
.hero-content p { margin: 0 0 16px; opacity: .96; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-weight: 700; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-outline { border-color: #ffffffaa; color: #fff; background: transparent; }
.btn-outline:hover { background: #ffffff14; }
.btn-primary:hover { filter: brightness(1.05); }

@media (max-width: 420px) {
  .hero { aspect-ratio: 16 / 10; }
  .hero > img { object-position: 50% var(--hero-focus-y, 6%); }
}

/* Reviews 
.reviews { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--card-shadow); }
.stars { letter-spacing: 2px; color: #e2a17f; font-weight: 700; }
.reviewer { color: var(--muted); font-size: 14px; margin-top: 8px; }
*/

/* Services */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--card-shadow); display: grid; gap: 10px; }
.card h3 { margin: 0; font-size: 20px; }
.price-list { display: grid; gap: 8px; margin-top: 8px; }
.price-list div { display: flex; justify-content: space-between; padding: 8px 10px; background: var(--bg-alt); border-radius: 10px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.price-list strong {
  white-space: nowrap;
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: var(--card-shadow); }
.faq summary { cursor: pointer; font-weight: 600; outline: none; }
.faq p { margin: 10px 0 0; color: var(--text); }

/* Contact */
.contact p { margin: 6px 0; }
.map-embed iframe { width: 100%; height: 280px; border: 0; border-radius: 12px; box-shadow: var(--card-shadow); margin-top: 10px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--card-shadow); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
input, textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; font: inherit; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(196,106,65,.18); }
.error { color: #b1002b; min-height: 16px; }
.form-status { margin-top: 8px; font-size: 14px; }
.mini-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.success { color: var(--brand); }
.fail { color: #b1002b; }

/* Footer */
.site-footer { border-top: 0px solid var(--border); padding: 24px 0; background: #b0aeac; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.footer-grid .social { display: flex; gap: 12px; }
.to-top { justify-self: end; }

/* Mobile nav */
@media (max-width: 899px) {
  .site-header nav.open { display: grid; position: absolute; right: 12px; top: 64px; background: #fff; border: 1px solid var(--border); padding: 10px; border-radius: 12px; }
  .site-header nav.open a { padding: 6px 8px; }
}




/* trochu „kartu“ okolo obou sloupců, ať to není nalepené */
#contact .container > div {
  background: #fff;
  border: 0px solid var(--border, #e8ddd4);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

/* formulář – plná šířka polí, hezčí button */
#contact .contact-form {
  display: grid;
  gap: 1rem;
}

#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
}

#contact .contact-form button {
  justify-self: start;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  border: none;
  background: var(--brand, #c46a41);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 2.0rem;  /* posune tlačítko níž */

}
#contact .contact-form button:hover { filter: brightness(1.06); }

/* mapa responsivně */
#contact iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
  display: block;
}




/* Barevné oddělení sekcí */
.section {
  background-color: #e0e0e0; /* výchozí bílá */
  padding: 4rem 1rem;
}

.section.alt-bg {
  background-color: #b0aeac; /* béžová */
}


/* ===== Kontakt – FIX layoutu (vložit NA KONEC styles.css) ===== */

/* společný nadpis */
#contact .section-title {
  margin: 0 0 1.5rem;
  text-align: center;
  
}

/* dvousloupcový grid + vycentrování celé sekce */
#contact .contact-grid {
  display: grid !important;                 /* vynutíme grid (kdyby něco přepisovalo) */
  grid-template-columns: minmax(280px,1fr) minmax(320px,1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;                           /* vystředí na střed */
  padding-inline: 1rem;                     /* odsazení od krajů viewportu */
  align-items: start;
  
}

/* obě strany jako stejné „karty“ */
#contact .contact-card {
  background: #fff;
  border: 1px solid var(--border, #e8ddd4);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--card-shadow, 0 5px 24px rgba(0,0,0,.05));
}

/* text nad formulářem */
#contact .intro { margin: 0 0 1rem; color: var(--muted, #e7e7e7); }

/* formulář */
#contact .contact-form { display: grid; gap: .9rem; }
#contact .contact-form label { display: grid; gap: .4rem; font-weight: 600; }
#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font: inherit;
}
#contact .contact-form .btn {
  justify-self: start;
  background: var(--brand, #c46a41);
  color: #fff;
  border: 0;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
#contact .contact-form .btn:hover { filter: brightness(1.06); }

/* mapa responsivně (bez pevných width/height z atributů) */
#contact iframe {
  display: block;
  width: 100% !important;
  height: 300px !important;
  border: 0;
  border-radius: 10px;
  margin-top: .75rem;
}

/* mobil: sloupce pod sebe */
@media (max-width: 900px) {
  #contact .section-title { text-align: left; padding-inline: 1rem; }
  #contact .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  #contact .contact-form .btn { justify-self: stretch; }
  #contact iframe { height: 240px !important; }
}


/* Kontakt – bez rámečků a stínů */
#contact .contact-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#contact .contact-grid { gap: 2.5rem; } /* trochu větší mezera mezi sloupci */

/* necháme mapu hezky zaoblenou */
#contact iframe {
  border-radius: 10px;
  border: 0;
}

/* formulář necháváme se svými rámečky (pokud je chceš jemnější): */
#contact .contact-form input,
#contact .contact-form textarea {
  border: 1px solid #ddd;              /* klidnější linka */
}

/* HERO – desktop */
.hero-overlay {
  align-items: flex-end;
  padding-bottom: 5%;
  padding-right: 65%;   /* posun textu dolů – můžeš doladit číslem */
}

.hero-content h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
  margin-bottom: .8rem;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 1.5rem;   /* větší mezera před tlačítky */
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 0.8rem;      /* dodatečný prostor mezi textem a tlačítky */
}

/* HERO text – optimalizace pro mobily */
.hero-desktop { display: block; }
.hero-mobile { display: none; }

/* Mobil: přepneme na kratší text */
@media (max-width: 600px) {
  .hero-desktop { display: none; }
  .hero-mobile { display: block; }

  .hero-content h1 {
    font-size: clamp(20px, 7vw, 28px);
    line-height: 1.2;
  }

  .hero-content p {
    font-size: clamp(13px, 4vw, 16px);
  }

  .hero-cta {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-cta .btn {
    width: 100%;
  }



}