/* ==========================================================================
   Probna početna (2026-12-02) — video preko celog ekrana, ekrani koji se slažu.
   Promenljive koje postavlja assets/js/proba.js: --p (napredak uvoda 0–1), --z (zum slike), --q (prekrivenost panela).
   ========================================================================== */
.pv-page { --pv-deep: #0A2E32; --pv-teal: #0F3F44; --pv-tif: #6FBFB9; --pv-acc: #24766F; background: #fff; }
.pv-main { overflow-x: clip; }
/* trake slova i kartice ne smeju da šire stranicu u stranu (telefon) */
html.pv-js { overflow-x: clip; }
.pv-marquee, .pv-follow, .pv-top { contain: paint; }

/* ---------- Header preko videa: providan, beli; pri skrolu nadole se sakriva ---------- */
.pv-page .site-header { transition: background .4s, color .4s, box-shadow .4s, transform .45s cubic-bezier(.2, .7, .2, 1), border-color .4s; }
.pv-page .site-header:not(.is-scrolled) { background: transparent; color: #fff; border-bottom-color: transparent; }
.pv-page .site-header:not(.is-scrolled) .icon-btn,
.pv-page .site-header:not(.is-scrolled) .primary-nav .menu > li > a { color: #fff; }
.pv-page .site-header:not(.is-scrolled) .custom-logo-link img { filter: brightness(0) invert(1); }
.pv-page .site-header.pv-hide { transform: translateY(-110%); }
.pv-page .site-header .custom-logo-link img { transition: filter .4s; }

/* ---------- Uvod sa logom (samo prvi put u sesiji; radi i bez JS-a) ---------- */
.pv-intro { position: fixed; inset: 0; z-index: 300; background: #fff; display: grid; place-content: center; justify-items: center; gap: 18px; pointer-events: none; animation: pvIntroOut .9s cubic-bezier(.7, 0, .2, 1) 1.5s forwards; }
.pv-intro img { width: clamp(150px, 18vw, 230px); height: auto; opacity: 0; transform: translateY(14px); animation: pvIntroIn .9s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
.pv-intro-line { width: 120px; height: 1px; background: var(--pv-tif); transform: scaleX(0); animation: pvLine 1.1s cubic-bezier(.6, 0, .2, 1) .4s forwards; }
@keyframes pvIntroIn { to { opacity: 1; transform: none; } }
@keyframes pvLine { to { transform: scaleX(1); } }
@keyframes pvIntroOut { to { transform: translateY(-100%); visibility: hidden; } }
.pv-intro.is-skip { display: none; }

/* ---------- Video preko celog ekrana ---------- */
/* --pv-max: krajnja širina okvira. Trenutni video je 576 px širok → više od ~60vw bi bilo mutno;
   sa HD videom (1080×1920 ili širi) može 100vw. */
.pv-hero { position: relative; height: 195vh; margin-top: calc(-1 * var(--header-h)); background: var(--pv-deep); --p: 0; --pv-max: 58vw; }
.pv-hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.pv-bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(38px) saturate(1.15) brightness(.62); opacity: calc(1 - var(--p) * .25); }
.pv-frame {
	position: absolute; overflow: hidden; background: var(--pv-teal);
	top: calc((1 - var(--p)) * 15vh); bottom: calc((1 - var(--p)) * 7vh);
	width: calc(34vw + var(--p) * (var(--pv-max) - 34vw));
	left: calc((1 - var(--p)) * 56vw + var(--p) * (100vw - var(--pv-max)) / 2);
	border-radius: calc((1 - var(--p)) * 1000px) calc((1 - var(--p)) * 1000px) 0 0;
	box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}
.pv-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(calc(1.02 + var(--p) * .04)); }
.pv-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 25, 28, .72) 0%, rgba(6, 25, 28, .25) 45%, rgba(6, 25, 28, 0) 65%); opacity: calc(1 - var(--p) * .4); }
.pv-hero-text { position: absolute; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: 14vh; width: min(52vw, 720px); color: #fff; opacity: calc(1 - var(--p) * 1.8); transform: translateY(calc(var(--p) * -90px)); }
.pv-kicker { font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .82); margin: 0 0 20px; }
.pv-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3rem, 7.2vw, 7.4rem); line-height: .98; letter-spacing: -.015em; margin: 0 0 34px; color: #fff; }
.pv-line { display: block; overflow: hidden; padding-bottom: .1em; }
.pv-line--em { font-style: italic; color: var(--pv-tif); }
.pv-w { display: inline-block; white-space: nowrap; }
.pv-ch { display: inline-block; }
.pv-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.pv-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: rgba(255, 255, 255, .8); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; opacity: calc(1 - var(--p) * 3); }
.pv-hint i { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.pv-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: pvHint 2.2s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes pvHint { to { top: 100%; } }

@media (max-width: 899px) {
	.pv-hero { height: 100svh; } /* telefon: bez praznog hoda — efekat širenja postoji samo na računaru */
	.pv-bg { display: none; }
	.pv-frame { inset: 0; width: auto; border-radius: 0; box-shadow: none; }
	.pv-video { transform: scale(calc(1 + var(--p) * .12)); }
	.pv-shade { background: linear-gradient(180deg, rgba(6, 25, 28, .15) 0%, rgba(6, 25, 28, 0) 35%, rgba(6, 25, 28, .78) 100%); opacity: 1; }
	.pv-hero-text { left: var(--gutter); right: var(--gutter); width: auto; bottom: 92px; }
	.pv-title { font-size: clamp(2.6rem, 13vw, 4rem); margin-bottom: 24px; }
	.pv-hint { bottom: 16px; }
}

/* Ulaz naslova (posle uvoda sa logom) */
.pv-js .pv-ch { transform: translateY(115%); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--c) * 32ms + var(--pv-start, .2s)); }
.pv-js .pv-kicker, .pv-js .pv-hero-actions { opacity: 0; transform: translateY(16px); transition: opacity 1s, transform 1s cubic-bezier(.2, .8, .2, 1); }
.pv-js .pv-kicker { transition-delay: var(--pv-start, .2s); }
.pv-js .pv-hero-actions { transition-delay: calc(var(--pv-start, .2s) + .9s); }
.pv-ready .pv-hero .pv-ch, .pv-ready .pv-kicker, .pv-ready .pv-hero-actions { transform: none; opacity: 1; }

/* ---------- Dugmad: popuna odozdo + „magnet" (JS) ---------- */
.pv-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 34px; overflow: hidden; isolation: isolate; background: var(--pv-teal); color: #fff; font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--pv-teal); transition: color .45s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.pv-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pv-tif); transform: translateY(101%); transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.pv-btn:hover { color: var(--pv-deep); }
.pv-btn:hover::before { transform: none; }
.pv-btn span { display: inline-block; transition: transform .3s; }
.pv-btn--light { background: #fff; color: var(--pv-teal); border-color: #fff; }
.pv-btn--outline { background: transparent; color: var(--pv-teal); }
.pv-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; padding-bottom: 6px; }
.pv-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.pv-link:hover { color: #fff; }
.pv-link:hover::after { transform: scaleX(1); }

/* ---------- Traka krupnih slova (pomera se sa skrolom) ---------- */
.pv-marquee { padding: 9vh 0 8vh; background: #fff; overflow: hidden; }
.pv-mq-row, .pv-follow-mq { white-space: nowrap; font-family: var(--f-serif); font-weight: 400; font-size: clamp(3rem, 9vw, 9.5rem); line-height: 1.08; color: var(--pv-teal); will-change: transform; }
.pv-mq-row span, .pv-follow-mq span { display: inline-block; padding-right: .3em; }
.pv-mq-row--outline { color: transparent; -webkit-text-stroke: 1px var(--pv-acc); font-style: italic; }

/* ---------- Kategorije: tri pruge jedna ispod druge, sve na jednom ekranu ---------- */
.pv-cats { background: #fff; padding: 5vh 0 4vh; }
.pv-cats-in { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 12px; height: min(calc(100svh - 60px), 820px); }
.pv-cat { position: relative; flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: 1fr 44%; overflow: hidden; transition: flex-grow .7s cubic-bezier(.2, .8, .2, 1); }
.pv-cat:hover { flex-grow: 1.45; }
.pv-cat--personalni { background: var(--pv-teal); color: #fff; }
.pv-cat--zenski { background: #EAF4F3; color: var(--pv-teal); }
.pv-cat--muski { background: var(--pv-deep); color: #fff; }
.pv-cat-link { position: absolute; inset: 0; z-index: 1; }
.pv-cat-text { position: relative; align-self: center; padding: 18px clamp(22px, 4.5vw, 72px); min-width: 0; }
.pv-cat .pv-num { margin-bottom: 8px; color: var(--pv-tif); }
.pv-cat--zenski .pv-num { color: var(--pv-acc); }
.pv-cat-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 3.4rem); line-height: 1.02; margin: 0 0 14px; color: inherit; overflow: hidden; padding-bottom: .06em; }
.pv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; }
.pv-chips a { display: inline-block; padding: 9px 16px; border: 1px solid currentColor; border-radius: 999px; font-size: .84rem; color: inherit; text-decoration: none; opacity: .85; transition: background .3s, color .3s, opacity .3s; }
.pv-cat .pv-chips { position: relative; z-index: 2; margin: 0; max-width: none; gap: 7px; }
.pv-cat .pv-chips a { padding: 6px 13px; font-size: .78rem; }
.pv-cat--personalni .pv-chips a:hover, .pv-cat--muski .pv-chips a:hover { background: #fff; color: var(--pv-teal); opacity: 1; }
.pv-cat--zenski .pv-chips a:hover { background: var(--pv-teal); color: #fff; opacity: 1; }
.pv-cat-media { position: relative; overflow: hidden; }
.pv-cat-media img, .pv-cat-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.pv-cat:hover .pv-cat-media img, .pv-cat:hover .pv-cat-media video { transform: scale(1.14); }
.pv-cat-arrow { position: absolute; right: 18px; bottom: 18px; z-index: 2; pointer-events: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--pv-teal); transform: rotate(-45deg) scale(.85); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.pv-cat:hover .pv-cat-arrow { transform: rotate(0) scale(1); }
/* Ulaz: pruge se otvaraju sleva, slova naslova izlaze */
.pv-js .pv-cat { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1) calc(var(--i) * .15s), flex-grow .7s cubic-bezier(.2, .8, .2, 1); }
.pv-js .pv-cat.is-in { clip-path: inset(0 0 0 0); }
.pv-js .pv-cat .pv-ch { transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * .15s + .5s + var(--c) * 18ms); }
.pv-js .pv-cat.is-in .pv-ch { transform: none; }
.pv-js .pv-cat .pv-chips li { opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * .15s + .9s + var(--k) * 50ms); }
.pv-js .pv-cat.is-in .pv-chips li { opacity: 1; transform: none; }
@media (max-width: 899px) {
	.pv-cats { padding: 16px 0 10px; }
	.pv-cats-in { height: auto; gap: 10px; }
	.pv-cat { flex: none; height: max(30svh, 220px); grid-template-columns: 1fr 40%; }
	.pv-cat:hover { flex-grow: 0; }
	.pv-cat-text { padding: 16px; align-self: center; }
	.pv-cat-title { font-size: clamp(1.35rem, 6.4vw, 1.9rem); margin-bottom: 10px; }
	.pv-cat .pv-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
	.pv-cat .pv-chips::-webkit-scrollbar { display: none; }
	.pv-cat .pv-chips a { white-space: nowrap; padding: 5px 10px; font-size: .72rem; }
	.pv-cat-arrow { width: 40px; height: 40px; right: 10px; bottom: 10px; }
}

/* ---------- Najprodavaniji modeli (klizna traka) ---------- */
.pv-top { background: #fff; padding: 11vh 0 4vh; }
.pv-top-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.pv-eyebrow { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--pv-acc); margin: 0 0 10px; }
.pv-top-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; margin: 0; color: var(--pv-teal); }
.pv-top-title em { color: var(--pv-acc); }
.pv-top-nav { display: flex; gap: 8px; }
.pv-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--pv-teal); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pv-arrow:hover { background: var(--pv-teal); border-color: var(--pv-teal); color: #fff; }
.pv-arrow:disabled { opacity: .35; cursor: default; background: #fff; color: var(--pv-teal); }
.pv-top-track { --pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 4px var(--pad) 20px; scrollbar-width: none; cursor: grab; outline: none; }
.pv-top-track::-webkit-scrollbar { display: none; }
.pv-top-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.pv-top-track.is-drag .pv-card { pointer-events: none; }
.pv-card { flex: none; width: clamp(200px, 21vw, 300px); scroll-snap-align: start; text-decoration: none; color: var(--pv-teal); display: grid; gap: 4px; }
.pv-card-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #F4F8F8; margin-bottom: 10px; }
.pv-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); -webkit-user-drag: none; }
.pv-card:hover .pv-card-img img { transform: scale(1.06); }
.pv-card-cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pv-acc); }
.pv-card-name { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.25; }
.pv-card-price { font-size: .9rem; color: var(--c-muted); }
.pv-card-price .amount { color: var(--pv-teal); }
.pv-top-bar { display: block; height: 1px; background: var(--c-line); margin-top: 10px; overflow: hidden; }
.pv-top-bar i { display: block; height: 100%; width: 20%; background: var(--pv-teal); transform-origin: left; transition: transform .2s; }
.pv-js .pv-card { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(min(var(--k), 6) * 90ms); }
.pv-top.is-in .pv-card { opacity: 1; transform: none; }
@media (max-width: 899px) { .pv-card { width: 62vw; } .pv-arrow { width: 44px; height: 44px; } .pv-top { padding-top: 8vh; } }

/* ---------- Zapratite nas ---------- */
.pv-follow { padding: 12vh 0 var(--section); background: #fff; overflow: hidden; text-align: center; }
.pv-follow-mq { color: transparent; -webkit-text-stroke: 1px var(--pv-acc); margin-bottom: 40px; }
.pv-follow-in .icon { margin: 0 auto 12px; color: var(--pv-teal); }
.pv-follow-text { color: var(--c-muted); margin: 0 auto 26px; max-width: 46ch; }
.pv-follow-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pv-js [data-pv-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s, transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.pv-js [data-pv-reveal].is-in { opacity: 1; transform: none; }
.pv-page .site-footer { margin-top: 0; }

/* ---------- Bez animacija (podešavanje sistema) ---------- */
@media (prefers-reduced-motion: reduce) {
	.pv-intro { display: none; }
	.pv-hero { height: 100svh; }
	.pv-frame { inset: 0; width: auto; border-radius: 0; }
	.pv-bg { display: none; }
	.pv-cat, .pv-card { clip-path: none !important; opacity: 1 !important; transform: none !important; }
	.pv-js .pv-ch, .pv-js .pv-kicker, .pv-js .pv-hero-actions, .pv-js .pv-panel .pv-num, .pv-js .pv-panel-desc, .pv-js .pv-chips li, .pv-js .pv-panel .pv-btn, .pv-js [data-pv-reveal] { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- Telefon (2026-12-03): kategorije kao kartice sa slikom preko cele širine, manje praznog prostora ---------- */
@media (max-width: 899px) {
	.pv-frame { background: var(--pv-deep); }
	/* privezak iznad naslova: video ide nagore, dno popunjava tamna pozadina i senka */
	.pv-video { object-position: 50% 0; transform: translateY(-13%) scale(calc(1 + var(--p) * .1)); transform-origin: 50% 0; }
	.pv-shade { background: linear-gradient(180deg, rgba(6, 25, 28, .2) 0%, rgba(6, 25, 28, 0) 28%, rgba(6, 25, 28, .55) 62%, rgba(6, 25, 28, .92) 100%); }
	.pv-hero-text { bottom: 70px; }
	.pv-kicker { margin-bottom: 12px; font-size: .66rem; letter-spacing: .26em; }
	.pv-title { font-size: clamp(2.3rem, 11.5vw, 3.4rem); margin-bottom: 20px; }
	.pv-btn { min-height: 50px; padding: 0 26px; }

	.pv-marquee { padding: 34px 0 18px; }
	.pv-mq-row { font-size: 15vw; }

	.pv-cats { padding: 8px 0 0; }
	.pv-cats-in { gap: 12px; }
	.pv-cat { display: flex; flex-direction: column; height: auto; }
	.pv-cat--zenski .pv-cat-title { color: var(--pv-teal); }
	.pv-cat-media { order: -1; position: relative; aspect-ratio: 16 / 10; }
	.pv-cat-media img, .pv-cat-media video { transform: none; }
	.pv-cat-text { padding: 16px 18px 20px; align-self: stretch; }
	.pv-cat .pv-num { margin-bottom: 4px; }
	.pv-cat-title { font-size: clamp(1.5rem, 7vw, 2rem); margin-bottom: 12px; }
	.pv-cat .pv-chips { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; gap: 6px; }
	.pv-cat .pv-chips a { padding: 6px 12px; font-size: .76rem; opacity: 1; }
	.pv-cat-arrow { top: 12px; bottom: auto; right: 12px; transform: rotate(-45deg) scale(.9); }

	.pv-top { padding: 52px 0 8px; }
	.pv-top-head { margin-bottom: 20px; }
	.pv-card { width: 56vw; }
	.pv-card-name { font-size: 1.02rem; }

	.pv-follow { padding: 56px 0 64px; }
	.pv-follow-mq { font-size: 13vw; margin-bottom: 26px; }
	.pv-follow-text { margin-bottom: 20px; }
}
