/* ------------------------------
   ROOT VARIJABLE
------------------------------ */
:root {
  --bg: #0b0c10;
  --card: #111318;
  --text: #e6e6e6;
  --muted: #bdbdbd;
  --accent: #57cc99;
  --accent-2: #80ed99;
  --border: #1f232b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* ------------------------------
   OSNOVNO
------------------------------ */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  /* jednostavna, nepromjenjiva pozadina */
  background: #0b0c10;
}

.wrap {
  max-width: 920px;
  margin: 40px auto;
  padding: 0 20px 80px;
}

/* ------------------------------
   NASLOVI I TEKST
------------------------------ */

h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 24px 0 12px; }
h2 { font-size: clamp(20px, 3vw, 28px); margin: 28px 0 12px; }
h3 { font-size: clamp(18px, 2.2vw, 22px); margin: 24px 0 8px; }
p { margin: 8px 0 12px; color: var(--text); }

/*
h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 24px 0 12px;
}

h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 18px 0 12px;
}

h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 12px 0 6px;
}

p { margin: 8px 0 12px; color: var(--text); }
*/
.muted { color: var(--muted); }

/* linkovi unutar sadržaja kartica */
.card a {
  color: var(--accent-2);
  text-decoration: none;
}
.card a:hover {
  text-decoration: underline;
}

/* ------------------------------
   KARTICE
------------------------------ */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.section-inner { margin-top: 18px; }

/* ------------------------------
   PILL
------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(128, 237, 153, 0.08);
  color: var(--accent-2);
  border: 1px solid rgba(128,237,153,.25);
  font-weight: 600;
  letter-spacing: .25px;
}

/* ------------------------------
   GUMBI
------------------------------ */
button, .btn {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #141821;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  box-shadow: var(--shadow);
}

button:hover, .btn:hover {
  border-color: var(--accent-2);
}

/* ------------------------------
   GRID
------------------------------ */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ------------------------------
   KARTICE KONTAKTA
------------------------------ */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(128,237,153,0.06), transparent 55%), #101218;
  border: 1px solid rgba(255,255,255,0.04);
}

.contact-name {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-role {
  font-size: 14px;
  color: var(--muted);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.contact-line a {
  color: var(--accent-2);
  text-decoration: none;
}
.contact-line a:hover { text-decoration: underline; }

.icon-chip {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--accent-2);
  font-size: 14px;
}

/* ------------------------------
   CALL OUT
------------------------------ */
.callout {
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  margin-top: 16px;
  border-radius: 12px;
  background: rgba(87, 204, 153, 0.10);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* ------------------------------
   MAPA
------------------------------ */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.topnav {
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.nav-brand {
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.nav-link:hover {
  color: var(--accent-2);
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  color: var(--accent-2);
  border: 1px solid rgba(128,237,153,0.3);
  background: rgba(128,237,153,0.1);
}

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 10px;
    background: rgba(11,12,16,0.98);
    border-bottom: 1px solid var(--border);
  }

  .topnav.open .nav-links { display: flex; }

  .nav-link {
    width: 100%;
    padding: 10px 20px;
    display: block !important;
  }
}

/* ------------------------------
   HEADER
------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(11,12,16,.95), rgba(11,12,16,.8));
  border-bottom: 1px solid var(--border);
}

.bar {
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #0c2318;
  font-weight: 900;
  letter-spacing: .5px;
  box-shadow: var(--shadow);
}

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer {
  margin-top: 0;
  padding: 18px 0 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  background: #090b10;
}

.footer-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------
   PRINT MODE
------------------------------ */
@media print {
  header, .topnav, .btns, .btn {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .wrap {
    margin: 0;
    max-width: 100%;
    padding: 0;
  }
  .card, .map-wrapper, .site-footer {
    box-shadow: none;
    border-radius: 0;
  }
  a {
    color: black;
    text-decoration: underline;
  }
}

/* Responsive image wrapper */
.img-wrap {
  margin: 16px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Zoomable image cursor */
.zoomable {
  cursor: zoom-in;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.7);
  cursor: zoom-out;
}

/* Responsive YouTube embed */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 proporcija */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 20px 0;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
