/*
 * OSNOVNI CSS SAJTOVA PLATFORME (volanero.com, car2go.ba, car2.rentals, car2.lease) - docs/13_DOMENE_SEO.md.
 * Svi su u brandu Volanero (materijal/logo/Volanero_A_brand_paket): navy #10243E nosiva boja, amber #E8A317 akcenat
 * (znak volana, glavna dugmad, naglasci), font Sora s našeg servera (assets/fonts/sora.css, ćirilica sistemskim fontom).
 * Amber kao boja teksta na bijelom je preslab - za tekst ide --amber-text.
 */
:root {
  --ink: #10243E;
  --text: #2B3A4E;
  --muted: #5B6B7D;
  --line: #DDE3EA;
  --soft: #F4F6F9;
  --bg: #ffffff;
  --accent: #10243E;
  --accent-ink: #ffffff;
  --accent-soft: #FDF4E0;
  --amber: #E8A317;
  --amber-text: #9A6700;
  --danger: #b42318;
  --success: #067647;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 36, 62, .06), 0 8px 24px rgba(16, 36, 62, .06);
  --container: 1160px;
  --font: 'Sora', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1, h2 { font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { text-align: right; white-space: nowrap; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); margin-bottom: .8em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Sklonjeno IZNAD ekrana, ne lijevo (left: -9999px): na arapskom (dir="rtl") to pravi horizontalni skrol od 10.000 px */
.skip { position: absolute; inset-inline-start: 8px; top: 0; transform: translateY(-120%); background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { transform: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none;
  letter-spacing: -.02em; white-space: nowrap; }
.logo b { color: var(--amber-text); font-weight: 800; }
.foot .logo b { color: var(--amber); }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.menu__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu__list a:hover { background: var(--soft); }
.menu__list a.is-active { color: var(--accent); }
.menu__actions { display: flex; gap: 8px; align-items: center; margin-left: 8px; }
.menu__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); cursor: pointer; }
.menu__toggle span, .menu__toggle span::before, .menu__toggle span::after { display: block; width: 20px; height: 2px; background: currentColor;
  margin: 0 auto; position: relative; content: ""; border-radius: 2px; }
.menu__toggle span::before { position: absolute; top: -6px; }
.menu__toggle span::after { position: absolute; top: 6px; }
/* Padajući meniji jezik / valuta (_langs.php): dugme = ikonica + oznaka, lista ispod (na arapskom poravnata desno) */
.pickers { display: flex; gap: 6px; align-items: center; }
.picker { position: relative; }
.picker__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; min-height: 36px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 700; line-height: 1; color: inherit; cursor: pointer; list-style: none; user-select: none; white-space: nowrap; }
.picker__btn::-webkit-details-marker { display: none; }
.picker__btn:hover, .picker[open] .picker__btn { background: var(--soft); }
.picker__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.picker__btn .picker__chevron { width: 14px; height: 14px; opacity: .7; transition: transform .15s; }
.picker[open] .picker__chevron { transform: rotate(180deg); }
.picker__menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60; min-width: 200px; max-height: min(70vh, 420px); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; color: #1f2937; border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16); text-align: start;
  display: grid; grid-template-columns: max-content 1fr auto; } /* kolone: oznaka | naziv | ✓ - svi nazivi poravnati */
.picker__menu li { display: contents; }
.picker__menu a { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; column-gap: 12px; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.picker__menu a:hover, .picker__menu a:focus-visible { background: #f3f4f6; }
.picker__menu a.is-active { font-weight: 700; background: #eef2ff; }
.picker__menu a.is-active::after { content: "✓"; grid-column: 3; }
.picker__code { font-size: .75rem; font-weight: 700; color: #6b7280; }

/* ---------- Dugmad i forme ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  white-space: nowrap; }
.btn:hover { border-color: #b8c0cc; }
/* Glavno dugme (CTA): amber s navy tekstom (kontrast 7,2) */
.btn--primary { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #F0B53A; border-color: #F0B53A; }
.btn--ghost { background: transparent; }
.btn--large { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field-row { display: flex; gap: 10px; }
.field-row > .field { flex: 1; }
.field--time { flex: 0 0 112px !important; justify-content: flex-end; }
fieldset.field { border: 0; padding: 0; margin: 0 0 12px; }
input, select, textarea { font: inherit; color: var(--text); width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c8cfda;
  border-radius: 10px; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--accent); flex: none; }
input[type="range"] { padding: 0; border: 0; min-height: 32px; accent-color: var(--accent); }
label.inline { display: flex; gap: 8px; align-items: center; font-weight: 400; margin-right: 16px; }
.field-error { color: var(--danger); font-size: .85rem; }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--soft); border-left: 4px solid var(--accent); }
.notice--error { border-color: var(--danger); background: #fef3f2; }
.notice--success { border-color: var(--success); background: #ecfdf3; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; }
.form { padding: 24px; }

/* ---------- Sekcije i kartice ---------- */
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card--pad { padding: 22px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23334155' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.steps-row { counter-reset: st; }
.steps-row .card { position: relative; padding-top: 56px; }
.steps-row .card::before { counter-increment: st; content: counter(st); position: absolute; top: 18px; left: 22px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--soft); color: var(--ink);
  border: 1px solid var(--line); vertical-align: middle; }
.badge--accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.cta-band { background: var(--ink); color: #e2e8f0; border-radius: 20px; padding: clamp(28px, 5vw, 48px); display: flex; gap: 24px;
  align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; }
.table-wrap { overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { font-size: .85rem; color: var(--muted); font-weight: 700; }

/* ---------- Footer ---------- */
.foot { background: #10243E; color: #cbd5e1; padding: 48px 0 20px; margin-top: 0; }
.foot a { color: #e2e8f0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot h2 { color: #fff; font-size: .95rem; margin-bottom: .8em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot .logo { color: #fff; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 16px; font-size: .85rem; color: #94a3b8;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fec84b; color: #000; text-align: center; padding: 8px 16px; font-weight: 700; z-index: 50; font-size: .9rem; }

/* ---------- Mobitel ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu__toggle { display: inline-flex; align-items: center; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; margin: 0; }
  .top.is-open .menu { display: flex; }
  .menu__list { flex-direction: column; }
  .menu__list a { padding: 12px; }
  .menu__actions { margin: 8px 0 0; flex-direction: column; align-items: stretch; }
  .top__row { position: relative; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .field-row { flex-wrap: wrap; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
.btn svg { width: 20px; height: 20px; flex: none; }
.legal-page { max-width: 820px; }

/* Logotipi booking portala (SVG iz brand paketa): visina; u podnožju verzija "powered by Volanero" */
.mk .logo--brand { line-height: 0; }
.mk .logo--brand img { height: 46px; width: auto; display: block; }
.mk .logo--foot img { height: 56px; }
@media (max-width: 480px) { .mk .top .logo--brand img { height: 38px; } }
