/* Zahrada Lada — sessasplan.autos
   Leaf green / soil brown nursery palette */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Nunito:wght@400;600;700&display=swap");

:root {
  --leaf: #2f6b3a;
  --leaf-deep: #1e4a28;
  --leaf-soft: #6a9a5a;
  --moss: #4a7c4e;
  --soil: #6b4423;
  --soil-deep: #3e2a18;
  --clay: #a67c52;
  --sand: #e8dfd0;
  --cream: #f7f3eb;
  --bark: #2a2118;
  --ink: #1c1814;
  --muted: #5c534a;
  --line: rgba(62, 42, 24, 0.14);
  --white: #fffef9;
  --shadow: 0 18px 40px rgba(30, 40, 20, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(106, 154, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(166, 124, 82, 0.1), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, #efe8dc 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--soil);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--soil-deep);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 40, 20, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 90;
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--leaf-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50% 45% 55% 40%;
  background: linear-gradient(135deg, var(--leaf) 0%, var(--moss) 60%, var(--soil) 100%);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--soil-deep);
  font-size: 1.35rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--leaf-deep);
  border-bottom-color: var(--leaf);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroDrift 28s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(30, 74, 40, 0.88) 0%, rgba(62, 42, 24, 0.55) 48%, rgba(30, 74, 40, 0.35) 100%),
    linear-gradient(0deg, rgba(26, 33, 18, 0.75) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.35em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  animation: riseIn 0.9s ease both;
}

.hero-content h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 500;
  color: rgba(255, 254, 249, 0.95);
  margin-bottom: 0.75rem;
  animation: riseIn 0.9s 0.12s ease both;
}

.hero-content > p {
  font-size: 1.08rem;
  color: rgba(255, 254, 249, 0.88);
  max-width: 32rem;
  animation: riseIn 0.9s 0.22s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: riseIn 0.9s 0.32s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--leaf);
  color: var(--white);
  border-color: var(--leaf);
}

.btn-primary:hover {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-soil {
  background: var(--soil);
  color: var(--white);
  border-color: var(--soil);
}

.btn-soil:hover {
  background: var(--soil-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--leaf-deep);
  border-color: var(--leaf);
}

.btn-ghost:hover {
  background: rgba(47, 107, 58, 0.08);
  color: var(--leaf-deep);
}

/* Sections */
section {
  padding: 4.25rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

.section-header {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-header p {
  color: var(--muted);
}

.bg-leaf {
  background: linear-gradient(160deg, var(--leaf-deep) 0%, var(--moss) 100%);
  color: var(--white);
}

.bg-leaf h2,
.bg-leaf h3,
.bg-leaf .section-label {
  color: var(--white);
}

.bg-leaf p {
  color: rgba(255, 254, 249, 0.88);
}

.bg-soil {
  background:
    linear-gradient(135deg, rgba(62, 42, 24, 0.04), transparent),
    var(--sand);
}

.bg-panel {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Offer strip — not cards for interaction, simple columns */
.offer-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.offer-item h3 {
  margin-bottom: 0.4rem;
}

.offer-item p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.offer-item::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--clay));
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.cat-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 220px;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cat-link img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.cat-link:hover img {
  transform: scale(1.07);
}

.cat-link span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(transparent, rgba(30, 74, 40, 0.92));
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

/* Gallery */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.85rem;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.mosaic figure:first-child {
  grid-row: 1 / 3;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic figure:hover img {
  transform: scale(1.05);
}

.mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(transparent, rgba(42, 33, 24, 0.75));
}

/* Hours */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hours-block {
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border-left: 4px solid var(--leaf);
  box-shadow: var(--shadow);
}

.hours-block h3 {
  color: var(--leaf-deep);
  margin-bottom: 0.75rem;
}

.hours-block dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
}

.hours-block dt {
  font-weight: 700;
  color: var(--soil);
}

.hours-block dd {
  margin: 0;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: var(--soil-deep);
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--leaf);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: "–";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.open .faq-answer {
  max-height: 280px;
  padding-bottom: 1.1rem;
}

.faq-answer p {
  color: var(--muted);
  margin: 0;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(120deg, rgba(47, 107, 58, 0.12), rgba(107, 68, 35, 0.08)),
    var(--sand);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 0.4rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--muted);
  margin: 0;
}

/* Plant detail blocks */
.plant-block {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.plant-block:last-child {
  border-bottom: none;
}

.plant-block img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.plant-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plant-block li {
  margin-bottom: 0.35rem;
}

/* Advice articles */
.advice-grid {
  display: grid;
  gap: 2rem;
}

.advice-piece {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.advice-piece:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.advice-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.4rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
}

.contact-details h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--soil-deep);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--leaf-soft);
  outline-offset: 1px;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(47, 107, 58, 0.12);
  border-left: 3px solid var(--leaf);
  color: var(--leaf-deep);
  font-weight: 600;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Legal */
.legal-content {
  max-width: 720px;
}

.legal-content .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--bark);
  color: rgba(255, 254, 249, 0.82);
  padding: 3.25rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(255, 254, 249, 0.9);
}

.site-footer a:hover {
  color: #c8e0b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s, visibility 0.35s;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(30, 40, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-panel {
  background: var(--white);
  max-width: 440px;
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-modal-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.cookie-option strong {
  display: block;
  color: var(--soil-deep);
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* About stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Supplies list */
.supply-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.supply-list li {
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border-top: 3px solid var(--clay);
}

.supply-list h3 {
  margin-bottom: 0.4rem;
}

.supply-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Responsive */
@media (max-width: 900px) {
  .offer-row,
  .hours-grid,
  .split,
  .split.reverse,
  .contact-layout,
  .footer-grid,
  .supply-list,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mosaic figure:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .mosaic figure {
    min-height: 180px;
  }

  .plant-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: var(--cream);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 110;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.35rem;
  }

  .main-nav a {
    display: block;
    padding: 0.65rem 0;
    font-size: 1.1rem;
  }

  .hero {
    min-height: min(88vh, 640px);
  }

  .hero-content {
    padding: 3.5rem 0 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
