/* Brand tokens: Vizualni identita LUVANO.docx */
:root {
  --green: #14532D; --green-d: #0e3f22; --orange: #F47721; --yellow: #F9C72B; --red: #E64A19;
  --cream: #FFF8E9;
  /* darker ink shades of orange/red for text on cream (WCAG AA) */
  --orange-ink: #B4530F; --red-ink: #C23A10; --text: #202923; --muted: #5c665f; --white: #fff; --line: #ecdfc4;
  /* Bahnschrift SemiBold is the brand font (Windows only); Barlow is the closest web DIN */
  --head: Bahnschrift, "Barlow Semi Condensed", "DIN Alternate", sans-serif;
  --body: "Barlow", Bahnschrift, system-ui, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 18px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--green); line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.4rem; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.lead { font-size: 1.18rem; max-width: 33em; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--yellow); color: var(--text); }
input, textarea { caret-color: var(--green); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ic { width: 1.05em; height: 1.05em; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; border: 0; cursor: pointer;
  background: var(--green); color: var(--white); font: 600 1.05rem var(--head); text-decoration: none;
  padding: .8em 1.5em; border-radius: 999px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-d); transform: translateY(-1px); }
.btn--small { padding: .55em 1.1em; font-size: .95rem; }
.btn--ghost { background: var(--white); color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--text); }
.btn--yellow:hover { background: #ffd54f; }


.top { position: sticky; top: 0; z-index: 5; background: rgb(255 248 233 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.top__logo img { height: 30px; width: auto; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 600; color: var(--text); }
.top__nav a:hover { color: var(--green); }

.hero { padding: 72px 0 32px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.v-o { color: var(--orange-ink); } .v-g { color: var(--green); } .v-r { color: var(--red-ink); }
.hero__mark { position: relative; display: grid; place-items: center; padding: 8%; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__mark img { width: 78%; }
.search { position: relative; display: flex; gap: 8px; background: var(--white); padding: 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--green); margin-top: 32px; max-width: 600px; }
.search__icon { position: absolute; left: 26px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 12px 14px 12px 50px; color: var(--text); }

.section { padding: 88px 0; }
.listhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.intro { margin: 0; color: var(--muted); }
.counter { color: var(--muted); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } html { scroll-behavior: auto; } }
.shop { background: var(--white); border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.shop__img { aspect-ratio: 16 / 10; position: relative; background: #f6ecd6; }
.shop__img img { width: 100%; height: 100%; object-fit: cover; }
.shop__img span { display: none; }
.shop__img--none { display: grid; place-items: end center; padding-bottom: 14px; background: var(--cream) url("assets/logo/logo-ikona.svg") center 38% / 56px no-repeat; }
.shop__img--none span { display: block; color: var(--muted); font-weight: 500; }
.shop__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.shop__city { display: inline-flex; align-items: center; gap: .35em; margin: 0 0 .3em; font: 600 1rem var(--head); color: var(--orange-ink); }
.shop__desc { margin: 0 0 .6em; color: var(--muted); font-size: .98rem; }
.shop__meta { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 4px; font-size: .96rem; }
.shop__meta li { display: flex; gap: .5em; align-items: flex-start; }
.shop__meta .ic { margin-top: .3em; color: var(--green); }
.shop__actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; background: var(--white); border-radius: 28px; }
.empty img { margin: 0 auto 16px; }
.empty p { max-width: 30em; margin: 0 auto 20px; color: var(--muted); }

.how { background: var(--green); color: var(--cream); }
.how h2, .how h3 { color: var(--white); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps p { margin: 0; }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--text); font: 700 1.3rem var(--head); margin-bottom: 18px; }
.steps li:nth-child(2) .steps__n { background: var(--orange); }
.steps li:nth-child(3) .steps__n { background: #C43D12; color: var(--white); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 52px; border-radius: 28px;
  background: #C43D12; color: var(--white); }
.cta h2 { color: var(--white); }
.cta p { margin: 0; max-width: 36em; font-size: 1.15rem; font-weight: 500; }
.cta .btn { flex: none; }

.foot { padding: 48px 0; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot p { margin: 0; }
.foot__verbs { font: 700 1.5rem var(--head); display: flex; gap: .6em; flex-wrap: wrap; }
.foot__copy { color: var(--muted); }

.modal { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 16px; background: rgb(14 63 34 / .6); }
.modal.show { display: flex; }
.dialog { background: var(--white); border-radius: 22px; padding: 28px; width: min(100%, 620px); max-height: 90vh; overflow: auto; box-shadow: 0 26px 90px rgb(14 63 34 / .3); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; }
.dialog__head h2 { margin: 0; font-size: 1.8rem; }
.dialog__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.x { border: 0; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; background: var(--cream); font-size: 1.4rem; color: var(--green); }
.notice { background: #fff3cf; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.adminrows { display: grid; gap: 8px; margin: 16px 0; }
.adminrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.adminrow div:last-child { display: flex; gap: 6px; }
.mini { border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.mini--danger { color: #b3261e; }
.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cdbf9f; border-radius: 10px; background: var(--white); color: var(--text); }
.field textarea { min-height: 90px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 760px) {
  .top__nav { display: none; }
  .top__in { justify-content: space-between; }
  .hero { padding: 36px 0 56px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__mark { order: -1; max-width: 220px; }
  .search { flex-direction: column; border-radius: 22px; }
  .search__icon { top: 32px; }
  .section { padding: 60px 0; }
  .cards, .steps, .two { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
}
