/* =========================================================
   ASPECT Nekretnine — landing page
   Boje iz loga (avgust 2026):
   mornarsko #16314E · zlato #F9B842
   ========================================================= */

:root {
  --navy: #16314E;
  --zlato: #F9B842;
  --zlato-taman: #C48920;
  --papir: #F7F4EE;
  --mastilo: #16314E;
  --mastilo-blago: #5A6A7A;
  --linija: #E4DCD0;
  --tamna-tekst: #EDE7DC;

  --font-naslov: "Fraunces", Georgia, serif;
  --font-tekst: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-tekst);
  background: var(--papir);
  color: var(--mastilo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--zlato-taman); }
a:focus-visible {
  outline: 2px solid var(--zlato);
  outline-offset: 3px;
}

.okvir {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Zaglavlje ---------- */

.zaglavlje {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
}

.logo-link { display: block; line-height: 0; }

.logo {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.navigacija { display: flex; gap: clamp(16px, 3vw, 32px); }

.navigacija a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.9;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.navigacija a:hover { opacity: 1; border-bottom-color: var(--zlato); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slika {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 45%;
}

.hero-preliv {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 28, 48, 0.78) 0%, rgba(12, 28, 48, 0.28) 46%, rgba(12, 28, 48, 0.12) 100%);
}

.hero-sadrzaj {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 clamp(24px, 5vw, 56px) clamp(48px, 8vh, 88px);
  max-width: 780px;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zlato);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-naslov);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-podnaslov {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 520px;
  opacity: 0.94;
  margin-bottom: 30px;
}

.hero-akcije { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.dugme {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dugme-puno { background: var(--zlato); color: var(--navy); }
.dugme-puno:hover { background: #E0A432; }

.dugme-obris {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}
.dugme-obris:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.hero-status {
  font-size: 14px;
  opacity: 0.78;
  border-left: 2px solid var(--zlato);
  padding-left: 12px;
  max-width: 480px;
}

/* ---------- Sekcije ---------- */

.sekcija { padding: clamp(72px, 11vh, 120px) 0; }

.kicker {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zlato-taman);
  font-weight: 600;
  margin-bottom: 14px;
}

.sekcija h2 {
  font-family: var(--font-naslov);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  max-width: 640px;
  margin-bottom: 26px;
}

.sekcija p + p { margin-top: 16px; }

/* Priča — tekst i slika */

.deljeno {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.deljeno-tekst p {
  color: var(--mastilo-blago);
  font-size: 17px;
  max-width: 480px;
}

.deljeno-slika img { border-radius: 6px; }

.deljeno-slika figcaption {
  font-size: 13px;
  color: var(--mastilo-blago);
  margin-top: 10px;
}

/* Kako radimo — tamna sekcija */

.sekcija-tamna {
  background: var(--navy);
  color: var(--tamna-tekst);
}

.sekcija-tamna .kicker { color: var(--zlato); }

.sekcija-tamna h2 { color: #fff; }

.kartice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 36px;
}

.kartica {
  border: 1px solid rgba(249, 184, 66, 0.28);
  border-radius: 8px;
  padding: 28px 24px;
}

.kartica-broj {
  font-family: var(--font-naslov);
  font-size: 15px;
  color: var(--zlato);
  letter-spacing: 0.1em;
}

.kartica h3 {
  font-family: var(--font-naslov);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  margin: 12px 0 10px;
  color: #fff;
}

.kartica p { font-size: 15px; opacity: 0.82; }

.opseg {
  font-size: 15px;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 32px;
}

.napomena {
  border-left: 3px solid var(--zlato);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  max-width: 720px;
}

.napomena p { font-size: 15px; opacity: 0.92; }

.napomena a { color: var(--zlato); }

/* Kontakt */

.kontakt-mreza {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
  margin-top: 44px;
}

.kontakt-stavka h3 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mastilo-blago);
  font-weight: 600;
  margin-bottom: 12px;
}

.kontakt-stavka p { font-size: 16px; margin-bottom: 10px; }

.kontakt-veliki {
  font-family: var(--font-naslov);
  font-size: 24px;
  font-weight: 600;
  color: var(--mastilo);
  text-decoration: none;
}

.kontakt-email { font-size: 19px; word-break: break-all; }

.kontakt-veliki:hover { color: var(--zlato-taman); }

.kontakt-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--zlato-taman);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin-right: 16px;
  margin-top: 4px;
}

.kontakt-link:hover { color: var(--navy); }

/* ---------- Podnožje ---------- */

.podnozje {
  background: var(--navy);
  color: var(--tamna-tekst);
  padding: 44px 0 40px;
}

.logo-podnozje {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  filter: none;
}

.podnozje-brend {
  font-family: var(--font-naslov);
  font-size: 18px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.podnozje-pravno {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.65;
  margin-bottom: 18px;
}

.podnozje-sitno { font-size: 12px; opacity: 0.45; }

.podnozje-sitno a { color: inherit; }

/* ---------- Mobilni ---------- */

@media (max-width: 860px) {
  .kartice { grid-template-columns: 1fr; }
  .kontakt-mreza { grid-template-columns: repeat(2, 1fr); }
  .deljeno { grid-template-columns: 1fr; }
  .deljeno-slika { order: -1; }
}

@media (max-width: 560px) {
  .navigacija { display: none; }
  .hero { min-height: 86vh; }
  .kontakt-mreza { grid-template-columns: 1fr; }
  .logo { width: 76px; height: 76px; }
}
