/* =====================================================================
   BADEN — baden-scena.css: 3D uvod na stranicama kategorija
   Boje: smaragd #0B5B40 podloga, travertin #F4EDE2 tekst i dugme (bez miješanja)
   ===================================================================== */
/* =====================================================================
   BADEN — baden-lux.css  (pregled nove naslovnice: /pregled.php)
   Boje 60/30/10: šumsko zelena (60) · slonovača (30) · madder crvena (10, samo CTA).
   Slova: Fraunces (naslovi) + Geist (tekst). Animacije poštuju "manje pokreta".
   ===================================================================== */
@font-face { font-family: "Fraunces Lux"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/fraunces-lux-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.bs3 { --pod: #0B5B40; --slova: #F4EDE2; --sitno: rgba(244, 237, 225, .8); --akc: #F4EDE2; --akc-t: #063D2B; --tr-a: #F4EDE2; --tr-b: #0E6E4D;
  position: relative; isolation: isolate; overflow: hidden; height: clamp(560px, 82svh, 860px); background: var(--pod); color: var(--slova);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; }
.bs3::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bs3-nad { position: absolute; z-index: 3; left: 0; right: 0; top: 22px; display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sitno); }
.bs3-nad i { width: 34px; height: 1px; background: currentColor; }
.bs3-rijec { position: absolute; z-index: 1; left: 0; right: 0; top: 46px; margin: 0; text-align: center; font-family: "Fraunces Lux", "Fraunces", Georgia, serif; font-weight: 800; font-variation-settings: "opsz" 144; font-size: clamp(56px, calc(150vw / var(--n, 6)), 330px); line-height: .84; letter-spacing: -.045em; color: var(--slova); white-space: nowrap; pointer-events: none; }
.bs3-slova { display: inline-flex; overflow: hidden; padding: 0 .02em .03em; }
.bs3-slova > span { display: inline-block; }
.bs3-platno { display: none; }
.bs3.bs3-on .bs3-platno { display: block; position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.bs3-dno { position: absolute; z-index: 3; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bs3-moto { margin: 0; max-width: 520px; font: 400 clamp(22px, 2.4vw, 34px)/1.12 "Fraunces Lux", "Fraunces", Georgia, serif; letter-spacing: -.015em; color: var(--slova); }
.bs3-moto em { display: block; font-style: italic; font-weight: 300; color: var(--sitno); }
.bs3-cta { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--akc); color: var(--akc-t); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 16px 36px rgba(0, 0, 0, .2); transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .2s; }
.bs3-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.bs3-cta span { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.bs3-cta:hover span { transform: translateY(3px); }
.bs3-cta:focus-visible { outline: 2px solid var(--slova); outline-offset: 3px; }
.bs3-mjera { position: absolute; z-index: 3; right: clamp(20px, 4vw, 56px); top: 46%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 0; color: var(--slova); }
.bs3-mjera small { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sitno); }
.bs3-mjera b { font: 500 clamp(30px, 3.4vw, 48px)/1 "Fraunces Lux", "Fraunces", Georgia, serif; font-variant-numeric: tabular-nums; }
.bs3-traka { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--tr-a) 0 44px, var(--tr-b) 44px 88px); }
@media (prefers-reduced-motion: no-preference) {
  .bs3 .bs3-slova > span { animation: bs3-slovo 1s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(.1s + var(--i) * 60ms); }
  .bs3 .bs3-nad, .bs3 .bs3-dno, .bs3 .bs3-mjera { animation: bs3-pojava .9s cubic-bezier(.22, 1, .36, 1) .7s backwards; }
  .bs3 .bs3-traka { animation: bs3-traka 1.2s cubic-bezier(.22, 1, .36, 1) .3s backwards; transform-origin: left; }
}
@keyframes bs3-slovo { from { transform: translateY(108%); } }
@keyframes bs3-pojava { from { opacity: 0; transform: translateY(14px); } }
@keyframes bs3-traka { from { transform: scaleX(0); } }
.bs3:not(.bs3-on) { height: auto; padding: 0 0 150px; }
.bs3:not(.bs3-on) .bs3-rijec { position: relative; top: auto; padding-top: 52px; }
@media (max-width: 760px) {
  .bs3 { height: clamp(520px, 78svh, 700px); }
  .bs3-dno { flex-direction: column; align-items: flex-start; bottom: 28px; }
  .bs3-mjera { top: auto; bottom: 150px; }
}
