:root {
  --navy: #10182b;
  --text: #1a2138;
  --muted: #5b6478;
  --primary: #2f5eea;
  --primary-dark: #1e46c4;
  --primary-tint: #eaf0fe;
  --accent-orange: #f5a524;
  --accent-orange-tint: #fef3de;
  --border: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f7f9fd;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 8px 30px rgba(16, 24, 43, 0.06);
  --shadow-md: 0 20px 50px rgba(16, 24, 43, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  color: var(--navy);
  white-space: nowrap;
}

.logo-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  object-fit: contain;
}

.accent { color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 14.5px;
}

.main-nav a {
  color: var(--text);
  padding: 6px 0;
  position: relative;
  transition: color .15s;
}

.main-nav a:hover { color: var(--primary); }

.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 130px;
  padding: 6px;
  display: none;
  flex-direction: column;
}

.lang-menu.open { display: flex; }

.lang-menu button {
  background: none;
  border: none;
  text-align: left;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.lang-menu button:hover { background: var(--primary-tint); color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 30%, transparent);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Pages ---------- */
.page { display: none; animation: fadeIn .35s ease; }
.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-block { padding: 72px 32px 100px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 60%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d7e2fb 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 40%, transparent 90%);
  opacity: .8;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 90px 32px 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.hero-copy h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.accent-text { color: var(--primary); }

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.hero-tags li { display: flex; align-items: center; gap: 7px; }
.hero-tags li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-visual { position: relative; }

.hero-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  margin-top: -60px;
  position: relative;
  z-index: 2;
  margin-left: 20px;
  margin-right: -14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-box {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-box:nth-child(2n) { border-right: none; }
.stat-box:nth-child(3), .stat-box:nth-child(4) { border-bottom: none; }

.stat-box strong { font-size: 24px; font-family: 'Manrope', sans-serif; color: var(--navy); font-weight: 800; }
.stat-box span { font-size: 12.5px; color: var(--muted); font-weight: 500; }

.stat-box.highlight {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--accent-orange-tint);
}

.stat-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent-orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex: none;
}

/* ---------- Eyebrow plain (section label) ---------- */
.eyebrow-plain {
  display: inline-block;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.page-block h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
}

.about-copy p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-photo {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-slideshow { position: relative; }

.about-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.about-slideshow .slide.active { opacity: 1; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.value-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 14px;
}

.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }

.service-card ul { display: flex; flex-direction: column; gap: 9px; }

.service-card li {
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.service-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

/* ---------- References ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ref-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}

.ref-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.ref-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.ref-photo img { width: 100%; height: 100%; object-fit: cover; }

.ref-tag, .ref-year {
  position: absolute;
  top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.ref-tag {
  left: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
}

.ref-year {
  right: 12px;
  background: rgba(16,24,43,0.55);
  color: #fff;
}

.ref-body { padding: 20px 22px 24px; }
.ref-body h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }

.ref-loc {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ref-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- Contact ---------- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}

.contact-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 34px; max-width: 440px; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: none;
}

.info-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 3px;
}

.info-row > div:last-child { font-size: 14.5px; font-weight: 600; color: var(--text); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color .15s, background .15s;
  resize: vertical;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.form-success {
  display: none;
  margin: 14px 0 0;
  text-align: center;
  color: #1e8a4c;
  font-weight: 600;
  font-size: 14px;
}

.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 32px;
  text-align: center;
  background: var(--bg-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 14px;
}

.footer-inner p { color: var(--muted); font-size: 13.5px; margin: 6px 0; }
.footer-copy { font-size: 12.5px; opacity: .8; }

/* ---------- Burger (mobile) ---------- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.burger span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .contact-block { grid-template-columns: 1fr; }
  .stat-grid { margin-left: 0; margin-right: 0; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { display: none; }
  .main-nav.mobile-open .mobile-cta { display: inline-flex; align-self: flex-start; }
  .header-actions .lang-btn span:first-of-type { display: none; }
  .hero-copy h1 { font-size: 34px; }
  .services-grid, .ref-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-block { padding: 50px 20px 70px; }
  .hero-inner { padding: 50px 20px 70px; }

  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
}

.main-nav .mobile-cta { display: none; }

/* ---------- Lightbox galerija (reference) ---------- */
.ref-card { cursor: pointer; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 43, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  width: min(960px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}

.lightbox-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .6s ease;
}

.lightbox-stage img.active { opacity: 1; }

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.92);
  border: none;
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform .15s, background .15s;
}

.lightbox-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: -22px; }
.lightbox-next { right: -22px; }

.lightbox-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

.lightbox-counter {
  background: rgba(255,255,255,0.15);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: -44px; right: 8px; }
}

/* ---------- Hero slideshow sa "kockice" efektom ---------- */
.hero-slideshow { position: relative; }

.hero-slideshow .hero-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow .tile {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .45s ease, transform .45s ease;
}

.hero-slideshow .tile.show {
  opacity: 1;
  transform: scale(1);
}

.hero-slideshow .tile img {
  position: absolute;
  object-fit: cover;
  max-width: none;
}

.form-error {
  display: none;
  margin: 14px 0 0;
  text-align: center;
  color: #c62828;
  font-weight: 600;
  font-size: 14px;
}

.form-error.show { display: block; }

.service-card { cursor: pointer; }

/* pauza dugme i ceo ekran u galeriji */
.lightbox-pause {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  transition: background .15s;
}

.lightbox-pause:hover { background: rgba(255,255,255,0.3); }

.lightbox-stage { cursor: pointer; }

.lightbox-stage:fullscreen {
  aspect-ratio: auto;
  border-radius: 0;
  background: #000;
}

.lightbox-stage:fullscreen img { object-fit: contain; }

/* ---------- Mobilna prilagođavanja ---------- */

/* sprečava slučajni zum na dvoklik i horizontalno pomeranje stranice */
.lightbox-stage { touch-action: pan-y; }
body { overflow-x: hidden; }

/* ceo ekran za uređaje bez standardnog fullscreen-a (iPhone/iPad) */
.lightbox-stage.pseudo-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 300;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  background: #000;
}

.lightbox-stage.pseudo-fullscreen img { object-fit: contain; }

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* hero */
  .hero-tags { flex-wrap: wrap; gap: 10px 18px; }
  .hero-copy h1 { font-size: 30px; }
  .lead { font-size: 15.5px; }
  .stat-grid { margin-top: -30px; }
  .stat-box { padding: 16px 16px; }
  .stat-box strong { font-size: 20px; }

  /* naslovi sekcija */
  .page-block h2 { font-size: 27px; }
  .section-lead { font-size: 15px; margin-bottom: 34px; }

  /* galerija */
  .lightbox-content { width: 100vw; padding: 0 10px; }
  .lightbox-stage { max-height: 62vh; }
  .lightbox-arrow { width: 38px; height: 38px; font-size: 22px; }
  .lightbox-caption {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 13.5px;
    padding: 0 12px;
  }
  .lightbox-close { width: 42px; height: 42px; }

  /* kontakt forma */
  .contact-form { padding: 24px 18px; }

  /* dugmad preko cele širine na uskim ekranima */
  .hero-btns .btn { flex: 1 1 auto; }
}

@media (max-width: 400px) {
  .hero-copy h1 { font-size: 26px; }
  .logo { font-size: 15px; }
  .logo-icon { width: 28px; height: 28px; min-width: 28px; }
}

/* ---------- Panel sa opisom usluge ---------- */
.service-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.service-drawer.open { visibility: visible; pointer-events: auto; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 43, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}

.service-drawer.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 92vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(16, 24, 43, 0.25);
  padding: 40px 38px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
}

.service-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.drawer-close:hover { background: var(--primary-tint); color: var(--primary); }

.drawer-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.drawer-panel h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
  padding-right: 40px;
}

.drawer-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}

@media (max-width: 720px) {
  .drawer-panel { padding: 30px 22px; }
  .drawer-panel h3 { font-size: 20px; }
}

/* ---------- Dugme za temu ---------- */
.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, background .15s;
}

.theme-btn:hover { transform: scale(1.08); }

/* ---------- Tamna tema (crna + antracit) ---------- */
[data-theme="dark"] {
  --navy: #f2f4f8;
  --text: #e6e9f0;
  --muted: #9aa3b4;
  --primary: #6d70f5;
  --primary-dark: #8b8ef8;
  --primary-tint: #211f45;
  --accent-orange: #f5a524;
  --accent-orange-tint: #33270f;
  --border: #2a2e38;
  --bg: #0e1014;            /* skoro crna */
  --bg-soft: #14171d;       /* tamni antracit */
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] body { background: var(--bg); }

[data-theme="dark"] .site-header {
  background: rgba(14, 16, 20, 0.85);
  border-bottom-color: var(--border);
}

/* svetli antracit za kartice i povrsine */
[data-theme="dark"] .service-card,
[data-theme="dark"] .ref-card,
[data-theme="dark"] .stat-grid,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .lang-menu,
[data-theme="dark"] .drawer-panel,
[data-theme="dark"] .main-nav.mobile-open {
  background: #171a21;
}

[data-theme="dark"] .value-card { background: #14171d; }

[data-theme="dark"] .btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #14131f 0%, #0e1014 60%);
}

[data-theme="dark"] .hero-bg-grid {
  background-image: radial-gradient(circle, #2b2a4a 1.4px, transparent 1.4px);
  opacity: .6;
}

[data-theme="dark"] .stat-box.highlight { background: var(--accent-orange-tint); }

[data-theme="dark"] .ref-tag { background: rgba(23, 26, 33, 0.9); color: var(--text); }

[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea,
[data-theme="dark"] .form-field select {
  background: #0e1014;
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field textarea:focus,
[data-theme="dark"] .form-field select:focus { background: #12151c; border-color: var(--primary); }

[data-theme="dark"] .site-footer { background: #101319; }

[data-theme="dark"] .drawer-close { background: #14171d; color: var(--text); }

[data-theme="dark"] .lightbox-arrow { background: rgba(23, 26, 33, 0.92); color: var(--text); }
[data-theme="dark"] .lightbox-arrow:hover { background: #20242d; }

/* blagi prelaz izmedju tema */
body, .site-header, .service-card, .ref-card, .stat-grid, .contact-form,
.value-card, .drawer-panel, .site-footer, .form-field input, .form-field textarea, .form-field select {
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* ---------- Indigo akcenti kroz sve strane (dark mod) ---------- */
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .ref-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--primary) 18%, transparent);
}

[data-theme="dark"] .value-card:hover { border-color: var(--primary); }

[data-theme="dark"] .lightbox-counter,
[data-theme="dark"] .lightbox-pause {
  background: color-mix(in srgb, var(--primary) 30%, transparent);
}

[data-theme="dark"] .drawer-icon,
[data-theme="dark"] .service-icon { box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 35%, transparent); }

[data-theme="dark"] ::selection { background: var(--primary); color: #fff; }

[data-theme="dark"] { scrollbar-color: #3d3f7a #14171d; }

/* ---------- Polje za prilog (CV / dokumentacija) ---------- */
.form-field input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}

.form-field input[type="file"]::file-selector-button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  margin-right: 12px;
  cursor: pointer;
  transition: background .15s;
}

.form-field input[type="file"]::file-selector-button:hover {
  background: var(--primary-dark);
}

/* ---------- Cookie consent baner ---------- */
.cookie-banner {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: var(--navy, #10182b);
  color: #fff;
  padding: 18px 24px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
}

.cookie-banner.show { display: block; }

.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #dfe3ec;
  flex: 1;
  min-width: 240px;
}

.cookie-banner-btns {
  display: flex;
  gap: 10px;
  flex: none;
}

.cookie-banner .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.cookie-banner .btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-btns { justify-content: center; }
}
