/* Reset & base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root{
  --bg:#0c0c0f;
  --bg-alt:#121218;
  --text:#e9e9ee;
  --muted:#a9adbb;
  --accent:#36c;
  --accent-2:#54d6a1;
  --card:#161623;
  --border:#25263a;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji', 'Segoe UI Symbol';
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -20%, rgba(84,214,161,.15), transparent 40%),
              radial-gradient(1200px 600px at 120% 10%, rgba(54,102,204,.15), transparent 30%),
              linear-gradient(180deg, #0b0b10, #0a0a0d 60%);
}

/* Layout */
.container{ width: min(1100px, 92vw); margin-inline: auto; }
.section{ padding: clamp(48px, 7vw, 96px) 0; }
.section.alt{ background: var(--bg-alt); }
.two-col{ display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px){ .two-col{ grid-template-columns: 1fr; }}

/* Nav */
.nav{
  position: sticky; top: 0; z-index: 10;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px min(24px,4vw);
  background: rgba(12,12,15,.7); backdrop-filter: blur(10px); border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{ display:flex; gap:10px; align-items:center; color:var(--text); text-decoration:none; font-weight:700;}
.menu{ display:flex; gap:18px; align-items:center;}
.menu a{ color:var(--text); text-decoration:none; padding:8px 10px; border-radius:8px; border:1px solid transparent; }
.menu a:hover{ border-color: var(--border); }
.menu-toggle{ display:none; font-size:22px; background:none; border:1px solid var(--border); color:var(--text); border-radius:10px; padding:6px 10px; }
.lang{ display:flex; gap:8px; margin-right: 10px;}
.lang-btn{ background:#0e0f16; color:var(--text); border:1px solid var(--border); border-radius:10px; padding:6px 10px; cursor:pointer; }
.lang-btn.active{ outline: 2px solid var(--accent); }
@media (max-width: 760px){
  .menu{ display:none; position:absolute; top:58px; right:10px; background:var(--bg-alt); padding:12px; border:1px solid var(--border); border-radius:12px; flex-direction:column; width: 220px; box-shadow: var(--shadow); }
  .menu.open{ display:flex; }
  .menu-toggle{ display:block; }
}

/* Buttons */
.btn{ display:inline-flex; align-items:center; gap:8px; padding:12px 18px; border-radius:12px; border:1px solid var(--border); text-decoration:none; font-weight:600; }
.btn-primary{ background: linear-gradient(135deg, var(--accent), #3a7af0); color:white; border-color: transparent; }
.btn-ghost{ background: transparent; color: var(--text); }
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }

/* Hero */
.hero{ display:grid; grid-template-columns:1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items:center; min-height: 70vh; padding: clamp(24px, 6vw, 64px) 0; }
.hero-content{ padding-inline: min(24px,4vw); }
.hero h1{ font-size: clamp(28px, 6vw, 52px); line-height:1.1; margin:0 0 12px; }
.hero .accent{ background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p{ color: var(--muted); max-width: 60ch; }
.cta{ display:flex; gap:12px; margin:14px 0 8px; flex-wrap: wrap; }
.badges{ display:flex; gap:12px; list-style:none; padding:0; margin:12px 0 0; flex-wrap: wrap; color: var(--muted); }
.hero-art img{ width:100%; max-width:520px; display:block; margin-inline:auto; }
.price-note{ margin-top:12px; color: var(--text); font-weight:600; }
@media (max-width: 900px){ .hero{ grid-template-columns:1fr; } .hero-art{ order:-1; }}

/* Cards */
.cards{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-top:22px; }
@media (max-width: 1100px){ .cards{ grid-template-columns: repeat(2,1fr);}}
@media (max-width: 600px){ .cards{ grid-template-columns: 1fr;}}
.card{ background: var(--card); border:1px solid var(--border); border-radius:16px; padding:18px; }
.card h3{ margin-top:0; }
.card ul{ margin:0; padding-left:18px; color: var(--muted); }
.price-inline{ margin-top:10px; font-weight:700; color: var(--text); }

/* Grid gallery */
.grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:16px; }
@media (max-width: 900px){ .grid{ grid-template-columns: repeat(2,1fr);}}
@media (max-width: 520px){ .grid{ grid-template-columns: 1fr;}}
.grid figure{ margin:0; border:1px solid var(--border); border-radius:14px; overflow:hidden; background: #0f1018; }
.grid img{ width:100%; height:auto; display:block; }
.grid figcaption{ padding:10px 12px; color: var(--muted); }

/* Before/After slider */
.ba-list{ display:grid; gap:18px; }
.ba{ position: relative; border:1px solid var(--border); border-radius:16px; overflow:hidden; background:#0f1018; }
.ba img{ display:block; width:100%; height:auto; user-select:none; pointer-events:none; }
.ba-after{ position:absolute; inset:0; clip-path: inset(0 50% 0 0); transition: clip-path .15s ease-out; }
.ba::before,
.ba::after{
  position:absolute; top:10px; z-index:2; padding:6px 10px; background: rgba(0,0,0,.45);
  border:1px solid var(--border); border-radius:10px; color: var(--text); font-size:.9rem;
}
.ba::before{ content: attr(data-label-before); left:10px; }
.ba::after{ content: attr(data-label-after); right:10px; }
.ba-handle{
  position:absolute; inset:0; cursor: ew-resize; z-index:3;
  display:grid; place-items:center;
}
.ba-handle::before{
  content:""; position:absolute; top:0; bottom:0; width:2px; background: linear-gradient(var(--accent), var(--accent-2));
  left:50%; transform: translateX(-50%);
}
.ba-handle::after{
  content:"↔"; position:absolute; left:50%; transform: translate(-50%, -50%); top:50%;
  padding:10px 12px; border-radius:12px; background:#0e0f16; border:1px solid var(--border);
}

/* About card (spacing fix) */
.about-card{ display:grid; gap:8px; }
.about-line{ display:flex; align-items:center; gap:8px; }
.about-line span{ color: var(--muted); min-width: 110px; }
.about-line address{ font-style: italic; }

/* Contact */
.contact .map{ border:1px solid var(--border); border-radius:14px; overflow:hidden; }
.contact iframe{ width:100%; height: 300px; border:0; display:block; }
.form-actions{ display:flex; gap:12px; align-items:center; flex-wrap: wrap; }
.form-note{ color: var(--muted); margin-top: 10px; }
.muted{ color: var(--muted); }

/* Footer */
.footer{ border-top: 1px solid var(--border); background: #0b0c12; padding: 24px 0; }
.footer-grid{ display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap: 12px; }
.footer-nav{ display:flex; gap:12px; }
.footer-nav a{ color: var(--muted); text-decoration:none; }
.footer-copy{ text-align:right; color: var(--muted); }
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr; } .footer-copy{ text-align:left; } }

/*logo*/
.site-logo {
  height: 48px;      /* visina loga u navigaciji */
  width: auto;       /* proporcije ostaju iste */
  margin-right: 8px; /* razmak od teksta */
}

.ba img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  background: #000; /* ili neka neutralna boja */
}
.before-after-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pair {
  display: flex;
  gap: 1rem;
}

.pair div {
  flex: 1;
  text-align: center;
}

.pair img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  background: #f0f0f0; /* neutralna pozadina ako su slike uže */
  border-radius: 8px;
}

.label {
  margin-top: 0.5rem;
  font-weight: bold;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ba {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  max-height: 400px; /* visina slidera */
}

.ba img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* slike će se lijepo popuniti okvir */
  display: block;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(255,255,255,0.7);
  cursor: ew-resize;
}
  
@media (max-width: 1024px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}
.ba-label-before,
.ba-label-after {
  position: absolute;
  top: 10px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

.ba-label-before {
  left: 10px;
}

.ba-label-after {
  right: 10px;
}