/* ==========================================================================
   Kralovske zahrady - stylesheet
   Colour palette and spacing are defined once below as CSS variables.
   A non-coder can safely change colours by editing the values in :root.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License) - no requests to Google. latin-ext carries the Czech letters. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/playfair-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/playfair-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green-900: #16281c;
  --green-800: #1f3d2b;
  --green-700: #2c5540;
  --green-600: #3d7355;
  --green-500: #4f9268;
  --green-100: #e7f0e6;
  --cream: #f8f6ef;
  --cream-dark: #efeadd;
  --header-cream: #f1f2ed; /* sampled from the logo's background so the header blends with it */
  --ink: #1c231d;
  --ink-soft: #4b564c;
  --accent: #a8651a;      /* white text on this = 4.6:1 (WCAG AA) */
  --accent-dark: #8f5414; /* hover, 6.1:1 */
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 45px rgba(22, 40, 28, 0.12);
  --shadow-sm: 0 8px 20px rgba(22, 40, 28, 0.08);
  --max-width: 1180px;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--green-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; color: var(--ink-soft); }

a { color: var(--green-700); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 10px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--cream-dark { background: var(--cream-dark); }
.section--dark {
  background: var(--green-900);
  color: var(--green-100);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #cddccd; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--green-700); color: var(--green-800); }
.btn-outline-dark:hover { background: var(--green-100); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid (not translucent) so it's an exact, consistent match to the
     logo's background rather than a blend that shifts with whatever
     scrolls behind it. */
  background: var(--header-cream);
  border-bottom: 1px solid rgba(22, 40, 28, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-900);
  text-decoration: none;
}
.brand-mark {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--green-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--green-600); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-900);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

/* Phone numbers should always click-to-call and never break mid-number. */
.tel-link { white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--green-900);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-actions .phone-link span { display: none; }
  .nav-toggle { display: block; }
  .site-nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-cream);
    padding: 20px 24px 28px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,18,0.72), rgba(15,28,18,0.86)), url("../images/hero-sekacka.jpg?v=2") center 70%/cover no-repeat;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 120px;
  max-width: 920px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 5.2vw, 54px);
  margin-bottom: 20px;
}
/* Each part of the headline sits on its own line; the nbsp in the HTML keeps "- o" glued to the next word. */
.hero h1 .h1-line { display: block; }
.hero p.lead {
  font-size: 19px;
  color: #e8f0e5;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-fact { font-size: 14px; color: #d9e6d6; display: flex; align-items: center; gap: 8px; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 940px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(22,40,28,0.06);
  display: flex;
  flex-direction: column;
}
.service-card--photo { padding: 0; overflow: hidden; }
.service-card--photo .photo {
  height: 170px;
  background-size: cover;
  background-position: center;
}
.service-card--photo .service-body { padding: 26px; }
.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}
.service-card li { margin-bottom: 6px; }

/* ---------- banner strip ---------- */
.banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  min-height: 260px;
  display: flex;
  align-items: center;
}
.banner-bg {
  position: absolute;
  inset: 0;
  /* Actual photo is set inline via style="background-image:..." on the
     element itself - a url() inside a CSS custom property here would
     resolve against this stylesheet's folder instead of the page's. */
  background-size: cover;
  background-position: center;
}
.banner-content { position: relative; z-index: 1; padding: 40px; max-width: 520px; }
.banner-content h3 { color: var(--white); font-size: 26px; }
.banner-content p { color: #dfe9dc; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid rgba(22,40,28,0.08);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--green-900);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #d9dfd3;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* honeypot field - hidden from real visitors, catches simple spam bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* Higher specificity than ".section--dark p" so this stays readable on the
   white form card even though the card sits inside a dark section. */
.contact-form .form-note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.contact-form .form-note a { color: var(--green-700); font-weight: 600; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e4f2e3; color: var(--green-800); }
.form-status.is-error { background: #fbe7e2; color: #9a3412; }

.contact-info {
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info h3 { color: var(--white); }
.contact-info .info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info .info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info a { color: var(--white); }
.contact-info .info-row div p { color: #d7e6d3; margin: 0; }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-row a:hover { background: rgba(255,255,255,0.24); }
.social-row svg { width: 18px; height: 18px; fill: var(--white); }

/* Facebook uses its own official mark (blue circle + white f), not the
   generic icon badge above - no extra background/circle needed. */
.social-row a.social-fb { width: auto; height: 40px; background: none; gap: 12px; border-radius: 0; text-decoration: none; color: var(--white); font-weight: 600; }
.social-row a.social-fb:hover { background: none; opacity: 0.85; }
.social-row a.social-fb svg { width: 40px; height: 40px; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(22,40,28,0.12);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 4px;
  font-weight: 700;
  color: var(--green-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--green-600); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 20px; margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #b9cab5;
  padding: 48px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer-grid a { color: #d9e6d6; text-decoration: none; }
.site-footer p { color: #b9cab5; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

::selection { background: var(--green-600); color: var(--white); }

/* ---------- cookie banner (Google Analytics consent) ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* display:flex above would otherwise override the hidden attribute */
.cookie-banner[hidden] { display: none; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-banner p { color: #d9e6d6; margin: 0; font-size: 14px; flex: 1 1 260px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }
.cookie-banner .btn-outline-dark { border-color: rgba(255,255,255,0.4); color: var(--white); }
.cookie-banner .btn-outline-dark:hover { background: rgba(255,255,255,0.12); }
