/* Novotný Luh — visual language inspired by classic Czech nursery sites (Havlis-style) */
:root {
  --bg: #426a0a;
  --bg-deep: #111806;
  --panel: rgba(17, 24, 6, 0.72);
  --lime: #bed108;
  --lime-deep: #a8bc08;
  --lime-soft: #b2c508;
  --lime-link: #93ca4c;
  --lime-hover: #b5ca97;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: #a8bc08;
  --danger: #c12a2f;
  --font: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1600px;
  --content: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: #426a0a;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--lime-link); text-decoration: underline; }
a:hover, a:focus { color: var(--lime-hover); text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }

.zelena { color: var(--lime); }

.site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(180deg, rgba(17, 24, 6, 0.35), rgba(17, 24, 6, 0.55)),
    url("../images/pozadi.jpg") no-repeat center top / cover,
    var(--bg);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 1.5rem);
  margin: 0 auto;
  padding: 0 0.75rem;
}

/* ——— TOP BANNER ——— */
.top-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    "logo phones search"
    "logo cart cart"
    "nav nav nav";
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.85rem 0 0;
}

.logo {
  grid-area: logo;
  text-decoration: none;
  color: var(--text);
  line-height: 1.05;
}
.logo:hover { color: var(--lime); text-decoration: none; }
.logo-mark {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: 0.02em;
}
.logo-mark span { color: var(--lime); }
.logo-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--lime-soft);
  font-weight: 400;
}

.top-phones {
  grid-area: phones;
  justify-self: end;
  text-align: right;
  font-size: 1.05rem;
}
.top-phones a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.top-phones a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.search-block {
  grid-area: search;
  justify-self: end;
  display: flex;
  width: min(100%, 290px);
  height: 45px;
  border: 1px solid #fff;
}
.search-block input[type="search"] {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--lime-soft);
  padding: 0 0.9rem;
  outline: none;
}
.search-block input::placeholder { color: #fff; opacity: 1; }
.search-block button {
  width: 52px;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-box {
  grid-area: cart;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.95rem;
}
.cart-box .label { color: var(--lime); text-transform: uppercase; font-size: 0.8rem; }
.cart-box .empty { color: var(--muted); }

.detail-search {
  grid-area: search;
  justify-self: start;
  align-self: end;
  margin-top: 2.2rem;
  color: var(--lime-soft);
  text-decoration: none;
  font-size: 1.05rem;
}
.detail-search:hover { color: var(--lime); }

/* ——— NAV ——— */
.top-nav {
  grid-area: nav;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 24, 6, 0.45);
  margin-top: 0.35rem;
}
.top-nav::before {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: -2.5rem;
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  background:
    radial-gradient(circle at 40% 40%, rgba(190, 209, 8, 0.35), transparent 55%),
    radial-gradient(circle at 65% 55%, rgba(147, 202, 76, 0.2), transparent 50%);
  pointer-events: none;
  opacity: 0.85;
}
.nav-toggle {
  display: none;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  z-index: 2;
}
.nav-list > li {
  flex: 1 1 auto;
  text-align: center;
}
.nav-list > li > a {
  display: block;
  padding: 0.85rem 0.6rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.is-active {
  color: #b3c704;
}

/* ——— CONTENT ——— */
.page-main {
  width: 100%;
  max-width: calc(var(--max) + 1.5rem);
  margin: 0 auto;
  padding: 1.25rem 0.75rem 2.5rem;
}

.season-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin: 0.5rem 0 1.5rem;
}
.season-bar a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 0.7rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
}
.season-bar a:hover {
  color: var(--lime);
  background: rgba(168, 188, 8, 0.18);
}

.store-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.store-pill {
  display: block;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.store-pill:hover { color: var(--lime); background: rgba(168, 188, 8, 0.15); }
.store-pill strong { display: block; color: var(--lime); font-size: 1.15rem; }

.welcome {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.welcome-copy {
  background: rgba(17, 24, 6, 0.55);
  border: 1px solid rgba(168, 188, 8, 0.35);
  padding: 1.35rem 1.45rem 1.5rem;
}
.welcome-copy h2 {
  color: var(--lime);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}
.welcome-copy .lead { font-size: 1.08rem; }
.welcome-copy .more {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid var(--lime);
}
.welcome-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(168, 188, 8, 0.35);
}
.welcome-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.welcome-visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: rgba(17, 24, 6, 0.75);
  color: var(--lime);
  font-size: 0.95rem;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.shortcut {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(168, 188, 8, 0.4);
  background: linear-gradient(180deg, rgba(54, 63, 12, 0.85), rgba(17, 24, 6, 0.75));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.shortcut:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
  color: var(--text);
}
.shortcut img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.shortcut span {
  display: block;
  padding: 0.85rem 0.9rem 1rem;
  color: var(--lime);
  font-size: 1.15rem;
}

.bio-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  border: 1px solid rgba(168, 188, 8, 0.35);
  background: rgba(0, 0, 0, 0.22);
}
.bio-block img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.bio-copy { padding: 1.25rem 1.35rem; }
.bio-copy h3 { color: var(--lime); }
.bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 0.75rem;
}
.bio-links a { color: var(--lime-soft); }

.page-title {
  margin: 0.4rem 0 1.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(168, 188, 8, 0.45);
}
.page-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--lime);
}
.page-title p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  max-width: 46rem;
}

.panel {
  background: rgba(17, 24, 6, 0.55);
  border: 1px solid rgba(168, 188, 8, 0.35);
  padding: 1.2rem 1.35rem;
  margin-bottom: 1rem;
}
.panel h2, .panel h3 { color: var(--lime); }

.katalog-form {
  display: grid;
  gap: 0.75rem;
}
.katalog-form label {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.75rem;
  align-items: center;
}
.katalog-form select,
.katalog-form input[type="text"] {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}
.katalog-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
.btn-primary {
  background: #afc208;
  color: #000;
  text-decoration: none;
}
.btn-primary:hover { background: var(--lime); color: #000; }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--lime); }

.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.plant-card {
  border: 1px solid rgba(168, 188, 8, 0.35);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.plant-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.plant-card .body { padding: 0.85rem 0.9rem 1rem; }
.plant-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--lime);
}
.plant-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.plant-card .price {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
}

.news-list { display: grid; gap: 0.85rem; }
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  border: 1px solid rgba(168, 188, 8, 0.35);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.news-item img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}
.news-item .body { padding: 0.9rem 1rem; }
.news-item h3 { color: var(--lime); margin-bottom: 0.35rem; }
.news-item .date { color: var(--lime-soft); font-size: 0.88rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 188, 8, 0.3);
  min-height: 180px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
}
.price-table th,
.price-table td {
  border: 1px solid rgba(168, 188, 8, 0.4);
  padding: 0.55rem 0.7rem;
  text-align: left;
}
.price-table th { background: rgba(168, 188, 8, 0.18); color: var(--lime); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form {
  display: grid;
  gap: 0.7rem;
}
.contact-form label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--lime); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--lime); min-height: 1.2em; margin: 0; }

/* Ads crawlable image strip */
.ad-assets {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 188, 8, 0.35);
}
.ad-assets h2 {
  color: var(--lime);
  font-size: 1.2rem;
}
.ad-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}
.ad-assets-grid figure {
  margin: 0;
  border: 1px solid rgba(168, 188, 8, 0.3);
}
.ad-assets-grid img { width: 100%; height: auto; }
.ad-assets-grid figcaption {
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ——— FOOTER ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(17, 24, 6, 0.75);
  padding: 1.5rem 0 1rem;
}
.footer-stores {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.footer-stores h3 {
  color: var(--lime);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}
.footer-stores p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-stores a { color: var(--lime-link); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(168, 188, 8, 0.35);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--lime); }

@media (max-width: 980px) {
  .top-banner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo phones"
      "search search"
      "cart cart"
      "nav nav";
  }
  .top-phones { justify-self: end; }
  .search-block, .cart-box { justify-self: stretch; width: 100%; max-width: none; }
  .welcome,
  .bio-block,
  .contact-grid,
  .footer-stores { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; border-bottom: 1px solid rgba(168, 188, 8, 0.35); }
  .nav-list { display: none; flex-direction: column; }
  .top-nav.is-open .nav-list { display: flex; }
  .nav-list > li { text-align: left; }
  .nav-list > li > a { padding: 0.75rem 1rem; }
  .katalog-form label { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 110px 1fr; }
}

@media (max-width: 640px) {
  .season-bar,
  .store-pills,
  .shortcut-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .top-phones { font-size: 0.92rem; text-align: left; justify-self: start; }
}
