/* Barka landing — shared styles (EN index.html + HR hr.html) */
:root {
  --bg: #071B36;
  --surface: #0F2E57;
  --surface-faint: rgba(15,46,87,0.45);
  --accent: #C9A961;
  --hairline: rgba(201,169,97,0.16);
  --text: #F4F1E9;
  --text-dim: #A9BBD6;
  --warn: #D69E2E;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--bg); }
/* SAMO horizontalno centriranje — margin shorthand bi nulirao i vertikalne
   margine sekcija (jača specifičnost klase!) pa su se paneli lijepili */
.wrap { max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 28px; }

/* ---------- HERO: split — tekst na čistom navy panelu, fotka zasebno.
   Tekst NIKAD ne leži preko fotografije: čitljivost bez vela, fotka bez štete. */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(420px, 46%) 1fr;
}
.hero-panel {
  position: relative;
  background: linear-gradient(165deg, #0B2547 0%, var(--bg) 70%);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(44px, 7vw, 104px);
}
.hero-photo {
  position: relative;
  background: url(hero.jpg) center / cover no-repeat;
  min-height: 100%;
}
/* šav: fotka se na lijevom rubu mekano stapa s panelom */
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(7,27,54,0) 14%);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 42svh auto; }
  .hero-photo { order: -1; }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(7,27,54,0) 62%, var(--bg) 100%);
  }
  .hero-panel { justify-content: flex-start; padding-top: 40px; }
}
.lang {
  position: absolute; top: 22px; right: 26px; z-index: 2;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--text); text-decoration: none;
  background: rgba(7,27,54,0.55); backdrop-filter: blur(4px);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 7px 14px;
  transition: color .25s ease, border-color .25s ease;
}
.lang:hover { color: var(--accent); border-color: var(--accent); }
/* wordmark: zlatno sidro (ista geometrija kao app ikona) + serifni BARKA
   sa zlatnim gradijentom — logo, ne natpis */
.brand-row { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.brand-anchor { width: clamp(30px, 3vw, 42px); height: clamp(30px, 3vw, 42px); flex: none; }
.brand {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3.1vw, 44px); line-height: 1;
  letter-spacing: .24em; text-indent: 0;
  background: linear-gradient(100deg, #EED9A4 0%, #C9A961 55%, #A9874B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(2px);  /* optička sredina uz sidro */
}
.brand-rule {
  width: clamp(180px, 70%, 320px); height: 1px; margin: 16px 0 0;
  background: linear-gradient(90deg, var(--accent), rgba(201,169,97,0.35) 60%, transparent);
}
h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 4.8vw, 66px); line-height: 1.08;
  letter-spacing: -0.01em; margin: 26px 0 20px;
}
h1 em { font-style: italic; color: var(--accent); }
.sub {
  color: var(--text-dim); font-size: clamp(16px, 1.6vw, 19px);
  max-width: 480px;
}
.cta-row { margin-top: 40px; }
.cta {
  display: inline-block; background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  padding: 16px 36px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 34px rgba(201,169,97,0.28), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.06);
             box-shadow: 0 16px 44px rgba(201,169,97,0.38), inset 0 1px 0 rgba(255,255,255,0.35); }
.cta:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.cta-note {
  display: block; margin-top: 16px; color: var(--text-dim); font-size: 13px;
  letter-spacing: .04em;
}
.scroll-hint {
  position: absolute; bottom: 22px; left: clamp(44px, 7vw, 104px);
  z-index: 1; color: rgba(244,241,233,0.55); font-size: 22px; line-height: 1;
  animation: hint 2.6s ease-in-out infinite; text-decoration: none;
}
@keyframes hint { 0%,100% { transform: translateY(0); opacity:.55; }
                  50% { transform: translateY(8px); opacity:.95; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- SECTIONS: jedan zajednički vertikalni ritam ----------
   Razmak je definiran NA JEDNOM mjestu (section + section) pa su svi
   razmaci identični — paneli se ne smiju lijepiti jedan na drugi. */
main { position: relative; z-index: 1; padding-top: clamp(64px, 9vh, 104px); }
section { padding: 0; }
section + section { margin-top: clamp(64px, 9vh, 104px); }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .3em; text-indent: .3em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
}
h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -0.005em;
  margin-bottom: 30px;
}
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card {
  background: var(--surface-faint);
  border: 1px solid var(--hairline);
  border-radius: 20px; padding: 28px 24px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(201,169,97,0.4);
              background: rgba(15,46,87,0.65); }
.card .num {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 15px; letter-spacing: .06em;
}
.card h3 { font-size: 17px; margin: 10px 0 8px; font-weight: 650; }
.card p { color: var(--text-dim); font-size: 15px; }

.badge {
  display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 5px 14px; margin: 2px 6px 2px 0; letter-spacing: .02em;
}
.badge.doc { background: var(--accent); color: var(--bg); }
.badge.stated { border: 1px solid var(--warn); color: var(--warn); }
.trust {
  background: linear-gradient(180deg, rgba(15,46,87,0.75), rgba(15,46,87,0.35));
  border: 1px solid var(--hairline);
  border-radius: 24px; padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(3,9,22,0.35);
}
.trust h2 { margin-bottom: 16px; }
.trust p { color: var(--text-dim); font-size: 15.5px; margin-top: 14px; }

.invite {
  text-align: center;
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 26px; padding: 48px 36px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(201,169,97,0.10), transparent 55%),
    rgba(10,30,58,0.55);
  box-shadow: 0 30px 80px rgba(3,9,22,0.45);
}
.invite h2 { margin-bottom: 14px; }
.invite p { color: var(--text-dim); font-size: 15.5px; max-width: 560px; margin: 0 auto 28px; }
.invite a.plain { color: var(--accent); }

footer {
  margin-top: clamp(64px, 9vh, 104px); padding: 36px 0 56px;
  border-top: 1px solid var(--hairline);
  color: var(--text-dim); font-size: 13px; text-align: center; letter-spacing: .03em;
}
footer a { color: var(--text-dim); }
footer a:hover { color: var(--accent); }
