/* balkankandidat.de — brend usklađen s CandidateForce. Zero eksternih zahtjeva.
   Za self-host Inter: dodaj src/assets/inter-*.woff2, otkomentariši @font-face niže,
   i kopiraj fontove u dist/ (build.mjs copyAsset). Do tada radi sistemski font-stack. */

/*
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 700;
  font-display:swap; src:url('/fonts/inter.woff2') format('woff2'); }
*/

:root {
  --navy: #001e5a;
  --navy-strong: #00133a;
  --ink: #07152f;
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --muted: #53627a;
  --line: #e2e8f5;
  --surface: #f5f8ff;
  --white: #ffffff;
  --gold: #c9a84c;
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(0, 30, 90, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 30, 90, 0.06);
  --maxw: 1120px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 46px 20px; }
.section__title { text-align: center; margin-bottom: 28px; }
.center { text-align: center; margin-top: 22px; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--pill);
  background: var(--navy); color: var(--white); font-weight: 600;
  border: 2px solid var(--navy); cursor: pointer; transition: transform .08s, box-shadow .2s, background .2s;
  text-align: center;
}
.btn:hover { text-decoration: none; background: var(--navy-strong); border-color: var(--navy-strong); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--sm { padding: 9px 18px; font-size: 0.95rem; }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: #eef3ff; border-color: #eef3ff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--white); font-size: 0.8rem; font-weight: 800; }
.brand__word { font-size: 1.12rem; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--accent-dark); text-decoration: none; }
.site-header .btn { margin-left: 8px; }

/* ── Hero ── */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-strong) 100%); color: var(--white); padding: 72px 20px 78px; text-align: center; }
.hero h1 { color: var(--white); max-width: 16ch; margin: 0 auto 0.4em; }
.hero__kicker { display: inline-block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: #9db8f0; margin-bottom: 14px; }
.hero__sub { color: #cfdcfb; font-size: 1.16rem; max-width: 60ch; margin: 0 auto 30px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Prose ── */
.prose { max-width: 74ch; }
.article .prose, .intro { margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--surface); color: var(--navy); }

/* ── Tiles / directory ── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tile { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .1s, box-shadow .2s, border-color .2s; }
.tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cbd8f5; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.tile__more { color: var(--accent-dark); font-weight: 600; font-size: 0.92rem; }
.directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.dir-col h3 { border-bottom: 2px solid var(--line); padding-bottom: 8px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--pill); background: var(--accent); color: var(--white); font-weight: 800; margin-bottom: 12px; }

/* ── Two ways ── */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.way { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.way--managed { border-color: #ead9a6; background: linear-gradient(180deg, #fffdf6, var(--white)); }
.way h3 { margin-bottom: 10px; }
.way p { color: var(--muted); }

/* ── Why grid ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why { padding: 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.why h3 { font-size: 1.08rem; }
.why p { color: var(--muted); margin: 0; }

/* ── Link lists / related ── */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { color: var(--ink); }
.link-list a:hover { color: var(--accent-dark); }
.related { margin-top: 34px; padding: 22px; background: var(--surface); border-radius: var(--radius); }
.related h2 { font-size: 1.2rem; }
.inline-cta { margin: 28px 0; }

/* ── FAQ (details/summary) ── */
.faq { max-width: 78ch; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--white); overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 20px; font-size: 1.3rem; color: var(--accent); }
.faq__item[open] summary::after { content: '−'; }
.faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--accent-dark)); color: var(--white); text-align: center; padding: 54px 20px; margin-top: 20px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbe6ff; max-width: 56ch; margin: 0 auto 26px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.9rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.sep { margin: 0 8px; color: var(--line); }

/* ── Footer ── */
.site-footer { background: var(--navy-strong); color: #cfdcfb; margin-top: 10px; padding: 46px 20px 24px; }
.site-footer a { color: #cfdcfb; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 0.92rem; }
.site-footer__brand .muted { color: #93a7d4; }
.site-footer__brand .brand { color: var(--white); }
.site-footer__brand .brand__word { color: var(--white); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.88rem; }
.site-footer__bottom .muted { color: #93a7d4; }
.site-footer__legal a { margin: 0 2px; }

/* ── Responsive ── */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .site-header__inner { min-height: 58px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .hero { padding: 54px 20px 58px; }
}
@media (max-width: 460px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band__actions .btn { width: 100%; }
}
