/* skuteri.hr — street / scooter visual system (distinct from motokacige) */
:root {
  --ink: #eef3f7;
  --ink-dim: rgba(238, 243, 247, 0.72);
  --muted: #8b98a8;
  --asphalt: #070b10;
  --asphalt-2: #0e151d;
  --panel: #131b25;
  --line: rgba(238, 243, 247, 0.1);
  --line-strong: rgba(238, 243, 247, 0.18);
  --signal: #2ee6a8;
  --signal-2: #7dffc8;
  --race: #ff3b4a;
  --chrome: #d7dee8;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius: 6px;
  --font-display: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shell: min(1140px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.02rem/1.65 var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(46, 230, 168, 0.12), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(255, 59, 74, 0.08), transparent 50%),
    linear-gradient(180deg, #05080c 0%, var(--asphalt) 40%, #0a1018 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--signal-2); }
h1, h2, h3, .hero-brand, .footer-brand, .brand-cloud a, .brand-grid a span {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); margin: 0 0 0.35em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0 0 0.3em; font-weight: 700; }
h3 { font-size: 1.28rem; margin: 0 0 0.3em; font-weight: 700; letter-spacing: 0.02em; text-transform: none; font-family: var(--font-body); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 1000;
  background: var(--panel); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 16, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 78px;
}
.brand img { width: auto; height: 48px; filter: brightness(0) invert(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: #fff; border-radius: 2px; }
.nav-root { display: flex; align-items: center; gap: 0.2rem 1.15rem; flex-wrap: wrap; }
.nav-root > li > a {
  color: var(--chrome); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-display);
}
.nav-root > li > a:hover { color: var(--signal); }
.nav-cta {
  border: 1px solid var(--signal) !important;
  color: var(--signal) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
}
.nav-cta:hover { background: rgba(46,230,168,0.12); color: var(--signal-2) !important; }

.has-sub { position: relative; }
.has-sub .sub, .has-sub .mega {
  display: none; position: absolute; top: calc(100% + 0.6rem); left: 0;
  background: #0c121a; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.85rem 1rem; min-width: 210px; box-shadow: var(--shadow); z-index: 60;
}
.has-sub .mega { min-width: 520px; grid-template-columns: 1fr 1fr; gap: 1rem; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
.has-sub:hover > .mega, .has-sub:focus-within > .mega, .has-sub.is-open > .mega { display: grid; }
.mega-label, .footer-label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; color: var(--signal); margin: 0 0 0.45rem;
}
.sub a, .mega a, .footer-links a { color: #c9d2dc; text-decoration: none; display: block; padding: 0.28rem 0; font-size: 0.95rem; }
.sub a:hover, .mega a:hover { color: var(--signal-2); }

.site-notice {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(46,230,168,0.08), transparent 55%);
  font-size: 0.88rem; color: var(--ink-dim);
}
.site-notice .shell { padding: 0.55rem 0; }
.site-notice a { color: var(--signal-2); text-decoration: none; }

.btn, .prose a.btn, .prose button, .prose a > button, button:not(.nav-toggle) {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 46px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid transparent;
  font: 700 0.95rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: 0.2s ease;
}
.btn-primary, .prose a.btn-primary, .prose button, .prose a > button, button:not(.nav-toggle):not(.btn-ghost) {
  background: var(--signal); color: #04140f; box-shadow: 0 10px 30px rgba(46,230,168,0.25);
}
.btn-primary:hover, .prose a.btn-primary:hover, button:not(.nav-toggle):not(.btn-ghost):hover {
  background: var(--signal-2); color: #04140f;
}
.btn-ghost, .cookie-bar .btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--signal); color: var(--signal-2); }

.cookie-bar {
  position: fixed; inset: auto 0 0; z-index: 80;
  background: rgba(10, 14, 20, 0.96); border-top: 1px solid var(--line-strong);
  padding: 1rem 0;
}
.cookie-inner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-bar .btn-primary { background: var(--signal); color: #04140f; }

.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; align-items: end; overflow: hidden; isolation: isolate;
}
.hero-media, .hero-veil, .hero-speed { position: absolute; inset: 0; }
.hero-media { z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.05); }
.hero-veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,11,16,0.92) 0%, rgba(7,11,16,0.55) 48%, rgba(7,11,16,0.35) 100%),
    linear-gradient(180deg, rgba(7,11,16,0.25) 0%, rgba(7,11,16,0.85) 100%);
}
.hero-speed {
  z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(
    -18deg,
    transparent 0 18px,
    rgba(46,230,168,0.035) 18px 19px
  );
  mask-image: linear-gradient(90deg, black 0%, transparent 70%);
}
.hero-copy { position: relative; padding: 7rem 0 4.2rem; max-width: 720px; }
.hero-kicker {
  margin: 0 0 0.6rem; font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.22em; color: var(--signal); font-size: 0.85rem;
}
.hero-brand {
  margin: 0 0 0.35rem; font-size: clamp(3rem, 9vw, 5.6rem); color: #fff;
  text-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.hero h1 { max-width: 12ch; color: #fff; }
.hero-lead { color: var(--ink-dim); max-width: 38ch; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.section { padding: 4.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head p, .lead, .article-deck { color: var(--muted); }
.eyebrow {
  margin: 0 0 0.55rem; font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal); font-size: 0.8rem;
}
.page-hero { padding: 3.2rem 0 1rem; }
.page-hero .lead { max-width: 52ch; }

.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.story {
  background: linear-gradient(180deg, rgba(19,27,37,0.95), rgba(14,21,29,0.98));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.story:hover { border-color: rgba(46,230,168,0.35); transform: translateY(-3px); }
.story-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #0a1016; }
.story-media img, .story-media picture { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 1rem 1.05rem 1.2rem; }
.story-tag {
  margin: 0 0 0.35rem; font-family: var(--font-display); font-size: 0.75rem;
  letter-spacing: 0.14em; color: var(--signal);
}
.story-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.story-body h3 a { text-decoration: none; }
.story-body h3 a:hover { color: var(--signal-2); }

.brand-cloud {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.brand-cloud a, .chip-row a, .chip-filter {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.88rem; color: var(--chrome);
  background: rgba(255,255,255,0.02);
}
.brand-cloud a:hover, .chip-row a:hover, .chip-filter:hover {
  border-color: var(--signal); color: var(--signal-2);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.chip-filter.is-active { background: rgba(46,230,168,0.15); border-color: var(--signal); color: var(--signal-2); }

.brand-groups { display: grid; gap: 2rem; }
.brand-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.brand-logo-card {
  display: grid; gap: 0.55rem; place-items: center; text-align: center;
  padding: 1rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); text-decoration: none; min-height: 110px;
}
.brand-logo-card:hover { border-color: var(--signal); }
.brand-logo-name { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.article-page { padding-bottom: 3rem; }
.article-hero { position: relative; }
.article-hero-media { max-height: 520px; overflow: hidden; background: #000; }
.article-hero-media img, .article-hero-media picture { width: 100%; max-height: 520px; object-fit: cover; }
.article-hero-copy { padding: 1.6rem 0 0.5rem; }
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; padding-top: 1.5rem;
}
.article-aside .aside-block {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
  background: var(--panel); margin-top: 1rem;
}
.link-list a { text-decoration: none; display: block; padding: 0.4rem 0; border-bottom: 1px solid var(--line); color: var(--chrome); }
.link-list a:hover { color: var(--signal-2); }

.prose { color: var(--ink-dim); font-size: 1.05rem; }
.prose > :first-child { margin-top: 0; }
.prose :where(h2, h3, h4) { color: var(--ink); margin: 1.6em 0 0.5em; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; }
.prose a { color: var(--signal-2); }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin: 0.35em 0; list-style: disc; }

.empty { color: var(--muted); padding: 1rem 0; }
.adsense-slot { margin: 1.5rem 0; min-height: 90px; }

.site-footer {
  margin-top: 2rem; border-top: 1px solid var(--line);
  background: #05080c; padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-size: 1.6rem; margin: 0 0 0.5rem; }
.footer-text, .footer-notice { color: var(--muted); }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.social { display: flex; gap: 0.9rem; margin-top: 1rem; }
.social a { color: var(--signal-2); text-decoration: none; font-weight: 600; }

.promo-widgets { display: grid; grid-template-columns: repeat(var(--promo-cols, 3), 1fr); gap: 1rem; }
.promo-note { color: var(--muted); }

@media (max-width: 960px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .has-sub .mega { min-width: 280px; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; background: #0b1118; border-bottom: 1px solid var(--line); padding: 0.75rem 1rem 1.1rem; }
  .site-nav.is-open { display: block; }
  .nav-root { flex-direction: column; align-items: flex-start; }
  .has-sub .sub, .has-sub .mega { position: static; display: none; min-width: 0; box-shadow: none; border: 0; padding: 0.35rem 0 0.35rem 0.6rem; background: transparent; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub.is-open > .mega { display: grid; }
  .story-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story { transition: none; }
}
