/* AUTO POINT – nova naslovnica (child tema) */
:root {
	--ap-red: #d71b22;
	--ap-red-dark: #a8141a;
	--ap-red-light: #ff3b42;
	--ap-ink: #16181b;
	--ap-ink-2: #2a2d31;
	--ap-muted: #4a4f56;
	--ap-line: #ececee;
	--ap-gray: #f4f4f5;
	--ap-dark: #111317;
	--ap-darker: #0b0c0e;
	--ap-on-dark: #b9bdc3;
	--ap-radius: 20px;
	--ap-head: "Archivo", "Inter", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body.ap-new { margin: 0; background: #fff; color: var(--ap-ink); font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.ap-new *, .ap-new *::before, .ap-new *::after { box-sizing: border-box; }
.ap-new img { max-width: 100%; height: auto; display: block; }
.ap-new a { color: var(--ap-red); }
.ap-new h1, .ap-new h2, .ap-new h3 { font-family: var(--ap-head); margin: 0; color: inherit; }
.ap-new p { margin: 0; }
.ap-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ap-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.ap-skip:focus { left: 8px; }
.ap-new :focus-visible { outline: 3px solid var(--ap-red-light); outline-offset: 3px; }

/* Gumbi */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.ap-btn:hover { transform: translateY(-1px); }
.ap-btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.ap-btn-block { width: 100%; border-radius: 12px; height: 54px; font-size: 16px; }
.ap-new .ap-btn-red { background: var(--ap-red); color: #fff; }
.ap-new .ap-btn-red:hover { background: var(--ap-red-dark); color: #fff; }
.ap-new .ap-btn-dark { background: var(--ap-dark); color: #fff; }
.ap-new .ap-btn-dark:hover { background: #000; color: #fff; }
.ap-new .ap-btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; background: transparent; }
.ap-new .ap-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.ap-btn[disabled] { opacity: .6; cursor: wait; }

/* Zaglavlje */
.ap-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ap-line); }
.admin-bar .ap-header { top: 32px; }
.ap-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.ap-logo img { height: 46px; width: auto; }
.ap-nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ap-nav-list a { color: var(--ap-ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.ap-nav-list a:hover, .ap-nav-list .current-menu-item > a { color: var(--ap-red); border-bottom-color: var(--ap-red); }
.ap-header-cta { display: flex; align-items: center; gap: 10px; }
.ap-mnav { display: none; position: relative; }
.ap-mnav summary { list-style: none; width: 46px; height: 46px; border: 1px solid #d4d6da; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ap-ink); }
.ap-mnav summary::-webkit-details-marker { display: none; }
.ap-mnav-panel { position: absolute; right: 0; top: 56px; width: min(320px, calc(100vw - 32px)); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.18); padding: 10px; }
.ap-mnav-list, .ap-mnav-list ul { list-style: none; margin: 0; padding: 0; }
.ap-mnav-list ul { padding-left: 14px; }
.ap-mnav-list a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ap-ink); text-decoration: none; font-weight: 600; }
.ap-mnav-list a:hover { background: var(--ap-gray); }

/* Uvodni dio */
.ap-hero { background: var(--ap-dark); color: #fff; padding: 80px 0 96px; overflow: hidden; }
.ap-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 56px; align-items: center; }
.ap-hero-copy { display: flex; flex-direction: column; gap: 26px; }
.ap-pill { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(215,27,34,.18); color: #ff9a9e; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ap-hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; }
.ap-hero h1 span { color: var(--ap-red-light); }
.ap-lead { font-size: 19px; line-height: 1.6; color: var(--ap-on-dark); max-width: 540px; }
.ap-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-ticks { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 12px 22px; color: #d6d9dd; font-size: 14px; font-weight: 500; }
.ap-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ap-ticks svg { color: var(--ap-red-light); flex: none; }
.ap-hero-media { position: relative; }
.ap-hero-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.ap-new .ap-hero-badge { position: absolute; left: -20px; bottom: -24px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: #fff; color: var(--ap-ink); text-decoration: none; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.ap-hero-badge strong { display: block; font-size: 15px; }
.ap-hero-badge small { display: block; font-size: 13px; color: #5b6067; }
.ap-badge-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ap-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Sekcije */
.ap-sec { padding: 96px 0; }
.ap-sec-tight { padding-top: 0; }
.ap-gray { background: var(--ap-gray); }
.ap-dark { background: var(--ap-dark); color: #fff; }
.ap-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.ap-sec-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.ap-sec-head-col { flex-direction: column; align-items: flex-start; gap: 12px; max-width: 720px; }
.ap-sec-head p { font-size: 16px; line-height: 1.6; color: var(--ap-muted); max-width: 420px; }
.ap-sec-head-col p { max-width: 720px; font-size: 17px; }
.ap-sec h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; }
.ap-eyebrow { color: var(--ap-red); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ap-eyebrow-light { color: #ff9a9e; }

/* Kartice usluga */
.ap-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.ap-new .ap-card { display: flex; flex-direction: column; border-radius: var(--ap-radius); overflow: hidden; background: #fff; color: var(--ap-ink); text-decoration: none; box-shadow: 0 1px 2px rgba(17,19,23,.06), 0 10px 30px rgba(17,19,23,.06); transition: transform .2s ease, box-shadow .2s ease; }
.ap-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(17,19,23,.08), 0 18px 40px rgba(17,19,23,.12); }
.ap-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ap-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.ap-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fdecec; color: #b3161c; }
.ap-card h3 { font-size: 22px; font-weight: 800; }
.ap-card p { font-size: 15px; line-height: 1.55; color: var(--ap-muted); }
.ap-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--ap-red); }

/* Vozila */
.ap-fleet { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ap-new .ap-car { display: flex; flex-direction: column; border: 1px solid var(--ap-line); border-radius: 18px; overflow: hidden; background: #fff; color: var(--ap-ink); text-decoration: none; }
.ap-car img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ap-gray); }
.ap-car-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; }
.ap-car-body strong { font-family: var(--ap-head); font-size: 17px; }
.ap-car-body span { font-size: 13px; color: #5b6067; }
.ap-car-body .ap-price { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ap-red); }
.ap-req { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 20px 24px; border-radius: 16px; background: var(--ap-gray); font-size: 14px; color: var(--ap-ink-2); }
.ap-req strong { width: 100%; }
.ap-req a { font-weight: 700; }

/* Kran */
.ap-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.ap-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.ap-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
.ap-gallery .ap-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.ap-kran-copy { display: flex; flex-direction: column; gap: 22px; }
.ap-kran-copy > p { font-size: 17px; line-height: 1.65; color: var(--ap-on-dark); }
.ap-kran-copy .ap-small { font-size: 14px; color: #9aa0a6; }
.ap-dash { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: #e4e6e9; }
.ap-dash li { position: relative; padding-left: 28px; }
.ap-dash li::before { content: "—"; position: absolute; left: 0; color: var(--ap-red-light); font-weight: 800; }

/* Razlozi */
.ap-reason { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; background: var(--ap-gray); }
.ap-reason span { font-family: var(--ap-head); font-size: 34px; font-weight: 900; color: var(--ap-red); line-height: 1; }
.ap-reason strong { font-size: 18px; }
.ap-reason p { font-size: 15px; line-height: 1.55; color: var(--ap-muted); }

/* Rezervacija */
.ap-book { padding: 48px; border-radius: 28px; background: var(--ap-red); color: #fff; }
.ap-book-copy { display: flex; flex-direction: column; gap: 16px; }
.ap-book-copy h2 { font-size: clamp(30px, 3.4vw, 42px); }
.ap-book-copy p, .ap-book-copy span { color: #ffe3e4; font-size: 17px; }
.ap-book-copy span { font-size: 14px; }
.ap-new .ap-book-tel { align-self: flex-start; color: #fff; font-family: var(--ap-head); font-size: 30px; font-weight: 800; text-decoration: none; }
.ap-form { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 20px; background: #fff; color: var(--ap-ink); }
.ap-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.ap-field-wide { grid-column: 1 / -1; }
.ap-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ap-ink-2); margin-bottom: 6px; }
.ap-field label span { color: var(--ap-red); }
.ap-field input, .ap-field select, .ap-field textarea { width: 100%; min-height: 48px; border: 1px solid #d4d6da; border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 15px; color: var(--ap-ink); background: #fff; }
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus { border-color: var(--ap-ink); outline: none; box-shadow: 0 0 0 3px rgba(215,27,34,.18); }
.ap-field .ap-bad { border-color: var(--ap-red); background: #fff6f6; }
.ap-form-msg { font-size: 14px; min-height: 1em; }
.ap-form-msg.ap-ok { color: #13703a; font-weight: 600; }
.ap-form-msg.ap-err { color: var(--ap-red-dark); font-weight: 600; }

/* Blog */
.ap-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ap-new .ap-post { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ap-ink); box-shadow: 0 1px 2px rgba(17,19,23,.06); transition: transform .2s ease; }
.ap-post:hover { transform: translateY(-3px); }
.ap-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ap-post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.ap-post-body time { font-size: 13px; color: #5b6067; }
.ap-post-body strong { font-family: var(--ap-head); font-size: 18px; line-height: 1.3; }

/* Podnozje */
.ap-footer { background: var(--ap-darker); color: var(--ap-on-dark); padding: 72px 0 32px; }
.ap-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.ap-foot-grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ap-foot-grid strong { color: #fff; }
.ap-new .ap-footer a { color: var(--ap-on-dark); text-decoration: none; }
.ap-new .ap-footer a:hover { color: #fff; }
.ap-new .ap-footer .ap-foot-tel { color: #fff; font-weight: 600; }
.ap-foot-logo { font-family: var(--ap-head); font-size: 24px; font-weight: 900; }
.ap-foot-logo span { color: var(--ap-red-light); }
.ap-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #23262b; font-size: 13px; color: #8a9097; }

/* Brzi kontakt na mobitelu */
.ap-mbar { display: none; }

@media (max-width: 1080px) {
	.ap-nav { display: none; }
	.ap-mnav { display: block; }
}
@media (max-width: 900px) {
	.ap-hero { padding: 48px 0 72px; }
	.ap-hero-grid, .ap-split { grid-template-columns: minmax(0,1fr); gap: 36px; }
	.ap-new .ap-hero-badge { left: 12px; bottom: -20px; }
	.ap-sec { padding: 64px 0; }
	.ap-sec-tight { padding-top: 0; }
	.ap-book { padding: 28px 20px; }
	.ap-form { padding: 20px; }
	.ap-form-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
	.ap-call span { display: none; }
	.ap-call { width: 46px; padding: 0; }
	.ap-lead { font-size: 17px; }
	.ap-btns .ap-btn { width: 100%; }
	body.ap-new { padding-bottom: 76px; }
	.ap-mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 10px; }
	.ap-mbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
	.ap-new .ap-mbar-call { background: var(--ap-red); color: #fff; }
	.ap-new .ap-mbar-wa { background: #0f7a3f; color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ap-btn, .ap-card, .ap-post { transition: none; }
}

/* Tamni nacin – naslovnica */
html.ap-dark body.ap-new { background: #0f1114; color: #e4e6e9; }
html.ap-dark .ap-new .ap-sec { background: #0f1114; }
html.ap-dark .ap-new .ap-gray { background: #16191d; }
html.ap-dark .ap-new .ap-dark, html.ap-dark .ap-new .ap-hero { background: #111317; }
html.ap-dark .ap-new .ap-sec h2, html.ap-dark .ap-new .ap-card h3, html.ap-dark .ap-new .ap-reason strong, html.ap-dark .ap-new .ap-car-body strong, html.ap-dark .ap-new .ap-post-body strong { color: #fff; }
html.ap-dark .ap-new .ap-sec-head p, html.ap-dark .ap-new .ap-card p, html.ap-dark .ap-new .ap-reason p { color: #a9aeb4; }
html.ap-dark .ap-new .ap-eyebrow, html.ap-dark .ap-new .ap-more, html.ap-dark .ap-new .ap-car-body .ap-price, html.ap-dark .ap-new .ap-reason span, html.ap-dark .ap-new .ap-req a { color: #ff6b70; }
html.ap-dark .ap-new .ap-card, html.ap-dark .ap-new .ap-car, html.ap-dark .ap-new .ap-post, html.ap-dark .ap-new .ap-reason, html.ap-dark .ap-new .ap-req { background: #1b1e22; color: #e4e6e9; border-color: #2a2e33; box-shadow: none; }
html.ap-dark .ap-new .ap-car-body span, html.ap-dark .ap-new .ap-post-body time { color: #9aa0a6; }
html.ap-dark .ap-new .ap-tag { background: rgba(255,107,112,.14); color: #ffb3b6; }
html.ap-dark .ap-new .ap-btn-dark { background: #fff; color: #111317; }
html.ap-dark .ap-new .ap-btn-dark:hover { background: #e4e6e9; color: #111317; }
html.ap-dark .ap-new .ap-hero-badge { background: #1b1e22; color: #fff; }
html.ap-dark .ap-new .ap-hero-badge small { color: #9aa0a6; }
html.ap-dark .ap-new .ap-form { background: #1b1e22; color: #e4e6e9; }
html.ap-dark .ap-new .ap-field label { color: #d6d9dd; }
html.ap-dark .ap-new .ap-field input, html.ap-dark .ap-new .ap-field select, html.ap-dark .ap-new .ap-field textarea { background: #111317; border-color: #33373d; color: #fff; }
html.ap-dark .ap-new .ap-form-msg.ap-ok { color: #6ee7a0; }
html.ap-dark .ap-new .ap-form-msg.ap-err { color: #ff9a9e; }

/* Vozila za najam (naslovnica): bez obruba, samo blaga sjena */
.ap-new .ap-car { border: 0; box-shadow: 0 1px 2px rgba(17,19,23,.06), 0 10px 30px rgba(17,19,23,.06); }
html.ap-dark .ap-new .ap-car { border: 0; box-shadow: none; }

/* Uvod bez slike: jedan stupac */
.ap-hero-grid { grid-template-columns: minmax(0, 1fr); }
.ap-hero-copy { max-width: 820px; }
.ap-hero { padding: 88px 0 96px; }
@media (max-width: 900px) { .ap-hero { padding: 56px 0 64px; } }

/* Nase usluge: samo naslov, veci; kartice iskacu jedna po jedna */
.ap-new .ap-usluge-title { margin: 0 0 40px; font-family: var(--ap-head); font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; color: var(--ap-ink); }
html.ap-dark .ap-new .ap-usluge-title { color: #fff; }
.ap-cards-anim.ap-anim-ready .ap-card { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.ap-cards-anim.ap-anim-ready.ap-in .ap-card { opacity: 1; transform: none; }
.ap-cards-anim.ap-anim-ready.ap-in .ap-card:hover { transform: translateY(-4px); transition-delay: 0s !important; }
@media (max-width: 900px) { .ap-new .ap-usluge-title { margin-bottom: 28px; } }

/* "Nase usluge" u crvenoj boji (kao prije) */
.ap-new .ap-usluge-title, html.ap-dark .ap-new .ap-usluge-title { color: var(--ap-red); }
html.ap-dark .ap-new .ap-usluge-title { color: var(--ap-red-light); }
.ap-new .ap-sec h2.ap-usluge-title { color: var(--ap-red); }
html.ap-dark .ap-new .ap-sec h2.ap-usluge-title { color: var(--ap-red-light); }

/* Nase usluge – 2 kartice u redu, 2 reda (na mobitelu jedna ispod druge) */
.ap-new .ap-cards.ap-cards-anim { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ap-new .ap-cards.ap-cards-anim .ap-card-body { padding: 26px 28px 28px; }
.ap-new .ap-cards.ap-cards-anim .ap-card h3 { font-size: 26px; }
.ap-new .ap-cards.ap-cards-anim .ap-card p { font-size: 16px; }
@media (max-width: 640px) {
	.ap-new .ap-cards.ap-cards-anim { grid-template-columns: 1fr; gap: 20px; }
	.ap-new .ap-cards.ap-cards-anim .ap-card-body { padding: 22px 22px 24px; }
	.ap-new .ap-cards.ap-cards-anim .ap-card h3 { font-size: 22px; }
	.ap-new .ap-cards.ap-cards-anim .ap-card p { font-size: 15px; }
}
