/* MM PC Servis - zajednicki izgled za index.html (HR) i en.html (EN) */
:root {
  --bg: #05070d;
  --bg2: #0a0f1a;
  --panel: #0e1522;
  --panel2: #121b2b;
  --line: #1d2a40;
  --text: #e8eef8;
  --muted: #93a3bb;
  --accent: #19e6a4;      /* zelena "OK" dioda */
  --accent2: #2bb8ff;     /* plava kao zaslon dijagnostike */
  --warn: #ffb547;
  --danger: #ff5c6c;
  --radius: 16px;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* tiskana pločica u pozadini */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(43,184,255,.10), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(25,230,164,.08), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%231a2638' stroke-width='1.2'%3E%3Cpath d='M0 40h40l20 20h40l20-20h40'/%3E%3Cpath d='M40 160v-40l20-20v-40'/%3E%3Cpath d='M120 0v30l-20 20'/%3E%3Cpath d='M100 160v-30l20-20h40'/%3E%3C/g%3E%3Cg fill='%231a2638'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='120' cy='40' r='3'/%3E%3Ccircle cx='60' cy='100' r='3'/%3E%3Ccircle cx='100' cy='50' r='3'/%3E%3Ccircle cx='120' cy='110' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); }

/* zaglavlje */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,7,13,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand .logo { width: 36px; height: 36px; flex: none; }
/* ugrađene ikone */
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--accent); letter-spacing: .12em; line-height: 1; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.links a:hover { color: var(--text); background: var(--panel); }
.nav .call { margin-left: 8px; }
.lang { display: flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-family: var(--mono); font-size: 12px; }
.lang a { text-decoration: none; color: var(--muted); padding: 5px 9px; border-radius: 7px; }
.lang a[aria-current] { background: var(--bg2); color: var(--accent); }

/* gumbi */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); transition: transform .15s, border-color .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); border-color: #2c3e5c; }
.btn.primary { background: var(--accent); color: #03140e; border-color: transparent; box-shadow: 0 8px 30px rgba(25,230,164,.25); }
.btn.primary:hover { background: #3cf0b6; }
.btn.wa { background: #1fa855; border-color: transparent; color: #fff; }
.btn.sm { padding: 9px 14px; font-size: 14px; }

/* naslovni dio */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--muted);
}
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; animation: blink 2.4s infinite; }
@keyframes blink { 0%, 90%, 100% { opacity: 1; } 95% { opacity: .3; } }
h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.05; margin: 18px 0 18px; letter-spacing: -.02em; }
h1 .hl { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.chips li { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px dashed var(--line); }
.chips li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* servisni nalog (dijagnostika) */
.ticket {
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.ticket-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.dots { display: flex; gap: 6px; margin-right: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3650; }
.dots i:nth-child(1) { background: var(--danger); } .dots i:nth-child(2) { background: var(--warn); } .dots i:nth-child(3) { background: var(--accent); }
.ticket-body { padding: 18px 18px 8px; }
.logo-big { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.logo-big .logo { width: 64px; height: 64px; flex: none; }
.logo-big b { font-size: 20px; display: block; line-height: 1.2; }
.logo-big span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.diag { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 13px; }
.diag li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); }
.diag li span { color: var(--muted); }
.diag .i { color: var(--accent2); }
.diag li b { margin-left: auto; color: var(--accent); font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: var(--bg2); overflow: hidden; margin: 14px 0 6px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); animation: fill 2.6s ease-out forwards; }
@keyframes fill { to { width: 100%; } }
.ticket-foot { padding: 12px 18px 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ticket-foot a { color: var(--accent); text-decoration: none; }

/* sekcije */
section { padding: 56px 0; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 65ch; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  position: relative; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #2a3c5a; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(25,230,164,.08); border: 1px solid rgba(25,230,164,.25); color: var(--accent);
}
.ico svg { width: 22px; height: 22px; }
.ico.blue { background: rgba(43,184,255,.08); border-color: rgba(43,184,255,.25); color: var(--accent2); }

/* simptomi */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.checklist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line); font-weight: 500;
}
.checklist li::before { content: "!"; flex: none; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 700; color: #1a1205; background: var(--warn); }
.note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.fix { padding: 20px 20px 20px 22px; }
.fix::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--danger); }
.fix .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--danger); }
.fix h3 { margin-top: 2px; }
.fix .sol { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.fix .sol .lbl { color: var(--accent); }

/* usluge */
.svc { display: flex; flex-direction: column; }
.svc .num { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 12px; color: #3a4a66; }
.svc ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc ul li { font-size: 12.5px; font-family: var(--mono); padding: 4px 9px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line); color: #b9c6da; }

/* područje */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.places { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.places li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; }
.places li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 8px var(--accent2); }
.seo { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }
.seo li { font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq details[open] { border-color: #2a3c5a; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--mono); font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* kontakt */
.contact-card { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.contact-card .emo { font-size: 24px; color: var(--accent); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line); flex: none; }
.contact-card small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-size: 16px; word-break: break-word; }
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.bench {
  background: linear-gradient(135deg, rgba(25,230,164,.10), rgba(43,184,255,.08)); border: 1px solid #1f3a40;
  border-radius: 22px; padding: 32px;
}

/* podnožje */
footer { border-top: 1px solid var(--line); padding: 40px 0 110px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
footer h4 { margin: 0 0 8px; color: var(--text); font-size: 16px; }
footer p { margin: 0; }
.wordmark { margin-top: 28px; font-family: var(--mono); font-size: clamp(30px, 8vw, 84px); font-weight: 600; letter-spacing: .08em; color: #121c2c; line-height: 1; white-space: nowrap; overflow: hidden; }
.tm { margin-top: 12px; font-size: 12px; }

/* plutajući WhatsApp i donja traka na mobitelu */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 10px 30px rgba(31,168,85,.45); text-decoration: none;
}
.fab svg { width: 30px; height: 30px; }
.mbar { display: none; }

/* projekti: CafeOS */
.proj { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--warn); border: 1px solid rgba(255,181,71,.4); background: rgba(255,181,71,.08); margin-bottom: 12px; }
.feat { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #c9d4e5; }
.feat li::before { content: "▸"; color: var(--accent); font-family: var(--mono); }
/* mali prikaz CafeOS ploče (vidi se i bez slika) */
.mock { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.mock-top { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.mock-top b { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.mock-top .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { border-radius: 10px; padding: 10px 6px 8px; text-align: center; background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tile svg { width: 34px; height: 30px; display: block; margin: 0 auto 4px; }
.tile b { display: block; color: var(--text); font-size: 12px; }
.tile.free { color: var(--accent); border-color: rgba(25,230,164,.35); }
.tile.busy { color: var(--danger); border-color: rgba(255,92,108,.35); }
.tile.mnt { color: var(--warn); border-color: rgba(255,181,71,.35); }
.mock-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mock-foot span b { color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; transition: border-color .2s, transform .2s; }
.gallery figure:hover { border-color: var(--accent); transform: translateY(-2px); }
.gallery figure[hidden] { display: none; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg2); }
.gallery figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(3,5,10,.9); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 12px; margin: 0 auto; }
.lightbox p { text-align: center; color: var(--text); margin: 10px 0 0; }
.lightbox .x { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 22px; cursor: pointer; }

@media (max-width: 960px) {
  .proj { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .lang { margin-left: auto; }
  .hero-grid, .split, .area, .foot { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hero { padding-top: 36px; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .tiles { gap: 6px; }
  .cta .btn { flex: 1 1 100%; }
  section { padding: 44px 0; }
  .bench { padding: 22px; }
  .fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(5,7,13,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mbar .btn { padding: 12px; }
  .nav .call span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .bar i { width: 100%; } }
