/* STANDEKOR, premium varijanta. Tamna morska paleta, krem tipografija, serifni naslovi. */

:root {
  --ink: #0b1419;         /* najtamnija morska */
  --navy: #12262e;
  --navy-2: #183640;
  --cream: #f4efe6;
  --cream-2: #e9e1d3;
  --paper: #faf7f1;
  --muted: #6b7378;
  --muted-light: #b8b3a8;
  --brass: #b9905a;       /* mesing, jedini naglasak */
  --brass-2: #d4b07a;
  --line: rgba(11, 20, 25, .12);
  --line-light: rgba(244, 239, 230, .16);
  --wa: #1f7a4d;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px;
  --pad: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 50; }
.skip:focus { left: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.wrap--split { display: grid; gap: 28px; }
.wrap--form { max-width: 760px; }
.section { padding: 72px 0; }
.section__head { margin-bottom: 36px; max-width: 720px; }

/* ---------- Tipografija ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 14px;
}
.h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08; letter-spacing: -.01em; margin: 0 0 18px;
}
.h2 em, .hero__title em, .band__quote em { font-style: italic; font-weight: 300; color: var(--brass); }
.section--dark .h2 em { color: var(--brass-2); }
.lead { font-size: 19px; line-height: 1.6; margin: 0 0 14px; }
p { margin: 0 0 14px; }
.note { font-size: 15px; color: var(--muted); }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #7a5a2e; background: #f3e7d3; border: 1px solid #e2cba3;
  border-radius: 4px; padding: 2px 7px; margin-right: 6px; vertical-align: 2px; font-family: var(--sans);
}
.section--dark .tag { color: var(--brass-2); background: rgba(185,144,90,.14); border-color: rgba(185,144,90,.4); }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 16px 28px; min-height: 52px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline { background: transparent; color: var(--cream); border-color: rgba(244,239,230,.5); }
.btn--outline:hover { border-color: var(--cream); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--navy-2); }
.btn--sm { padding: 12px 20px; min-height: 44px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--wa { background: var(--wa); color: #fff; }
.link {
  background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; cursor: pointer;
  border-bottom: 1.5px solid var(--brass); padding-bottom: 2px;
}
.link span { display: inline-block; transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad); color: var(--cream);
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.nav.is-solid { background: rgba(11,20,25,.82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-light); }
.nav__brand { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .12em; text-decoration: none; }
.nav__links { display: none; gap: 26px; align-items: center; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; opacity: .85; }
.nav__links a:hover { opacity: 1; }
.nav__cta { border: 1.5px solid rgba(244,239,230,.45); border-radius: 999px; padding: 9px 18px; opacity: 1 !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--cream); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 22s var(--ease) both; transform-origin: 55% 60%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,20,25,.55) 0%, rgba(11,20,25,.15) 35%, rgba(11,20,25,.78) 75%, rgba(11,20,25,.94) 100%);
}
.hero__inner { max-width: 1120px; width: 100%; margin: 0 auto; padding: 120px var(--pad) 84px; }
.hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 8vw, 78px);
  line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; max-width: 14ch;
}
.hero__line { font-size: 18px; max-width: 560px; color: var(--cream-2); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1.5px solid rgba(244,239,230,.5); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0%,100% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(14px); opacity: 0 } }

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: var(--cream); }
.trust__list { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; }
.trust__list li { padding: 22px 0; border-top: 1px solid var(--line-light); display: grid; gap: 2px; }
.trust__list strong { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.trust__list span { font-size: 13.5px; color: var(--muted-light); }

/* ---------- Prije i poslije ---------- */
.section--dark { background: var(--navy); color: var(--cream); }
.section--dark .eyebrow { color: var(--brass-2); }
.ba { margin: 0; }
.ba__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #0e1b21; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 200ms ease; }
.ba__img.is-visible { opacity: 1; }
.ba__switch {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; padding: 4px; gap: 4px; border-radius: 999px;
  background: rgba(11,20,25,.72); backdrop-filter: blur(10px); border: 1px solid var(--line-light);
}
.ba__btn { border: 0; background: transparent; color: var(--cream); padding: 10px 22px; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.ba__btn.is-active { background: var(--cream); color: var(--ink); }
.ba__label {
  position: absolute; top: 14px; left: 14px; font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.5); pointer-events: none;
}
.ba figcaption { margin-top: 16px; color: var(--muted-light); font-size: 15.5px; }

/* ---------- Galerija ---------- */
.section--gallery { background: var(--ink); color: var(--cream); padding-top: 0; }
.section--gallery .eyebrow { color: var(--brass-2); }
.section--gallery .h2 em { color: var(--brass-2); }
.section--gallery .section__head { padding-top: 72px; }
.gal { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gal__item--wide { grid-column: span 2; }
.gal__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; border-radius: var(--r); overflow: hidden; text-align: left; color: var(--cream); }
.gal__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__item--wide .gal__btn img { aspect-ratio: 16 / 9; }
.gal__btn:hover img { transform: scale(1.04); }
.gal__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 14px; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(11,20,25,.85));
}

/* ---------- Materijali ---------- */
.section--materials { background: var(--paper); }
.mat__types { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
.mat__type { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; font-weight: 500; font-size: 15px; transition: all .2s; }
.mat__type[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.mat__colors { display: flex; flex-wrap: wrap; gap: 10px; }
.mat__color { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; transition: transform .2s; }
.mat__color[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); transform: scale(1.08); }
.swatch { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11,20,25,.35); border: 1px solid var(--line); }
.swatch__fabric {
  aspect-ratio: 4 / 3; position: relative; transition: background-color .5s var(--ease);
  background-color: #2b3a44;
}
.swatch__fabric::before {
  content: ""; position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .9;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 4px);
}
.swatch__fabric.is-vinyl::before { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%), repeating-radial-gradient(circle, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); }
.swatch__fabric.is-leather::before { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.22), transparent 45%), repeating-radial-gradient(circle at 40% 60%, rgba(0,0,0,.18) 0 1px, transparent 1px 5px); }
.swatch__fabric::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 40%, rgba(0,0,0,.28));
}
.swatch__info { padding: 22px; }
.swatch__name { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 6px; }
.swatch__desc { color: var(--muted); font-size: 15px; }
.swatch__price { font-weight: 600; margin-bottom: 16px; }

/* ---------- Band ---------- */
.band { position: relative; min-height: 70vh; display: grid; place-items: center; color: var(--cream); text-align: center; isolation: isolate; overflow: hidden; }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,20,25,.72); }
.band__inner { padding: 80px var(--pad); max-width: 760px; }
.band__quote { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 6vw, 56px); line-height: 1.08; margin: 0 0 18px; }
.band__sub { font-size: 18px; color: var(--cream-2); margin: 0; }

/* ---------- Proces ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.steps__n { font-family: var(--serif); font-size: 15px; color: var(--brass); letter-spacing: .1em; display: block; margin-bottom: 8px; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Usluge ---------- */
.section--services { background: var(--cream); }
.pricebanner { background: #fff6e4; border: 1px solid #e6cfa2; border-radius: 10px; padding: 12px 16px; font-size: 15px; display: inline-block; margin-top: 4px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card { background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(11,20,25,.35); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__price { color: var(--ink) !important; font-weight: 600; margin-bottom: 18px; }

/* ---------- Recenzije ---------- */
.section--reviews { background: var(--paper); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.review p { font-family: var(--serif); font-size: 21px; line-height: 1.4; font-weight: 300; margin: 12px 0 14px; }
.review footer { font-size: 14px; color: var(--muted); }

/* ---------- Obrazac ---------- */
.section--form { background: var(--cream-2); }
.form { background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 40px 80px -40px rgba(11,20,25,.35); }
.form__group { padding-bottom: 8px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.form__group:last-of-type { border-bottom: 0; }
.form__legend { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 16px; }
.field { margin-bottom: 20px; }
.field--fs { border: 0; padding: 0; margin-inline: 0; }
.field--2 { display: grid; gap: 20px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; min-height: 52px;
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); background: #fff; outline: none; }
textarea { min-height: 110px; resize: vertical; }
.err { color: #9b2226; font-size: 14.5px; margin: 7px 0 0; }
.err:empty { display: none; }
.is-bad input, .is-bad select, .is-bad textarea, .is-bad .drop { border-color: #9b2226; }

.conds { display: grid; gap: 10px; }
.cond { display: block; margin: 0; font-weight: 400; cursor: pointer; }
.cond input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cond__box { display: block; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; transition: all .2s; }
.cond input:focus-visible + .cond__box { outline: 3px solid var(--brass); outline-offset: 2px; }
.cond input:checked + .cond__box { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.cond__name { display: block; font-weight: 600; }
.cond__desc { display: block; color: var(--muted); font-size: 15px; }
.cond__range { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; }
.cond input:checked + .cond__box .cond__range { display: block; }

.drop { position: relative; border: 1.5px dashed rgba(11,20,25,.35); border-radius: 12px; padding: 22px 16px; background: var(--paper); text-align: center; transition: all .2s; }
.drop.is-over { border-color: var(--brass); background: #fff; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop__text { margin: 0; display: grid; gap: 2px; pointer-events: none; }
.drop__text span { font-size: 14px; color: var(--muted); }
.drop__thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; position: relative; z-index: 1; pointer-events: none; }
.drop__thumbs:not(:empty) { margin-top: 14px; }
.drop__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.why { margin: 16px 0 0; font-weight: 600; font-size: 16px; }
.privacy { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.done { background: #fff; border-radius: 20px; padding: 30px; border-left: 5px solid var(--brass); }
.done h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 10px; }
.done__note { color: var(--muted); font-size: 15px; margin: 0; }
.wa { margin-top: 26px; display: grid; gap: 12px; align-items: center; }
.wa p { margin: 0; font-size: 15.5px; }

/* ---------- Kontakt, footer ---------- */
.section--contact { background: var(--paper); }
.contact ul { list-style: none; margin: 0 0 12px; padding: 0; }
.contact li { margin-bottom: 8px; }
.contact a { font-family: var(--serif); font-size: 24px; text-decoration: none; border-bottom: 1.5px solid var(--brass); }
.hours { color: var(--muted); font-size: 15px; }
.foot { background: var(--ink); color: var(--muted-light); font-size: 14px; padding: 26px 0; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot__brand { font-family: var(--serif); color: var(--cream); letter-spacing: .12em; }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 25; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 96vh; }
.lb::backdrop { background: rgba(11,20,25,.92); backdrop-filter: blur(6px); }
.lb__img { max-width: 96vw; max-height: 84vh; border-radius: 10px; }
.lb__cap { color: var(--cream); text-align: center; font-size: 15px; margin: 12px 0 0; }
.lb__close { position: absolute; top: -4px; right: 0; background: none; border: 0; color: var(--cream); font-size: 34px; line-height: 1; cursor: pointer; padding: 6px 10px; }

/* ---------- Otkrivanje pri skrolanju ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .1s }
.hero .reveal:nth-child(3) { transition-delay: .2s }
.hero .reveal:nth-child(4) { transition-delay: .3s }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg img, .hero__scroll span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gal__btn img, .link span { transition: none; }
}

/* ---------- Šire od telefona ---------- */
@media (min-width: 700px) {
  .nav__links { display: flex; }
  .wrap--split { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
  .wrap--split-rev { grid-template-columns: 6fr 6fr; align-items: center; }
  .trust__list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .trust__list li { border-top: 0; border-left: 1px solid var(--line-light); padding-left: 20px; }
  .trust__list li:first-child { border-left: 0; padding-left: 0; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal__item--wide { grid-column: span 2; }
  .gal__item--wide .gal__btn img { aspect-ratio: 16 / 10; height: 100%; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .field--2 { grid-template-columns: 1fr 1fr; }
  .form { padding: 40px; }
  .wa { grid-template-columns: 1fr auto; }
  .section { padding: 100px 0; }
  .section--gallery .section__head { padding-top: 100px; }
}

/* Samo za automatske snimke cijele stranice (prozor viši od 2000 px ne postoji na uređajima).
   Bez ovoga bi hero od 100svh zauzeo cijeli visoki prozor pri snimanju. */
@media (min-height: 2000px) { .hero { min-height: 900px; } .band { min-height: 620px; } }
