/* ════════════════════════════════════════════════════════
   INŠTITUT ODO — Glavna stilska datoteka
   Cormorant Garamond + DM Sans (oba podpirata Š, Č, Ž)
   ════════════════════════════════════════════════════════ */

/* ── CSS spremenljivke ────────────────────────────────── */
:root {
  --navy:       #1E3A5F;
  --navy-deep:  #142840;
  --gold:       #B8974C;
  --gold-light: #D4B06A;
  --cream:      #FAF8F4;
  --white:      #ffffff;
  --text:       #1A2B3C;
  --text-muted: #6B7E92;
  --border:     #E2E8EF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', Helvetica, sans-serif;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* WordPress admin bar popravek */
/* admin bar handled via #site-header */


/* ══════════════════════════════════════════════════════
   HEADER & NAVIGACIJA v3
   ══════════════════════════════════════════════════════ */

#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
}

#site-nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#site-nav.scrolled {
  box-shadow: 0 4px 28px rgba(30,58,95,0.10);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LOGOTIP */
.site-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 56px; width: auto;
  display: block; object-fit: contain;
}
.site-logo .custom-logo-link { display: flex; align-items: center; }
.site-logo .custom-logo { height: 56px; width: auto; display: block; }

/* DESKTOP MENI */
.nav-links {
  display: flex; align-items: center;
  gap: 0; list-style: none;
  flex: 1; justify-content: center;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block; padding: 8px 14px;
  font-size: 13px; font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -1px; left: 14px; right: 14px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* NAV ACTIONS */
.nav-actions {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}

.nav-cta {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); color: var(--white); }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: space-between;
  width: 30px; height: 20px;
  background: none; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.nav-hamburger .bar {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: left center;
}
.nav-hamburger.open .bar:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.nav-hamburger.open .bar:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open .bar:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

/* MOBILNI MENI */
.mobile-menu {
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.28s ease;
  opacity: 0;
}
.mobile-menu.open { max-height: 560px; opacity: 1; }
.mobile-menu ul { list-style: none; padding: 8px 0 16px; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  display: block; padding: 15px 24px;
  font-size: 15px; font-weight: 400; color: var(--navy);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu a:hover { background: var(--cream); color: var(--gold); }
.mobile-menu-cta { border-bottom: none !important; padding: 8px 20px 4px; }
.mobile-menu-cta a {
  background: var(--navy); color: var(--white) !important;
  text-align: center; font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 24px; display: block;
  transition: background 0.2s;
}
.mobile-menu-cta a:hover { background: var(--gold); }

/* Admin bar */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

/* ── SKUPNI ELEMENTI ─────────────────────────────────── */
section { padding: 100px 0; }

.container {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
}

.section-label {
  font-size: 11px; font-weight: 500;
  color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--gold);
  flex-shrink: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600; line-height: 1.0;
  color: var(--white);
  margin-bottom: 12px;
}
h1 em { font-style: italic; color: var(--gold-light); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600; line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}
h2 em { font-style: italic; color: var(--gold); }

h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  color: var(--navy); margin-bottom: 14px;
}

.section-intro {
  font-size: 17px; font-weight: 300;
  color: var(--text-muted);
  max-width: 540px; line-height: 1.75;
}

/* Gumbi */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  color: var(--white);
}
.btn-ghost {
  color: rgba(255,255,255,0.55);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::after { content: '→'; }

/* Scroll animacija */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── HERO ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-bg-line {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, transparent 0%, rgba(184,151,76,0.06) 100%);
  border-left: 1px solid rgba(184,151,76,0.15);
  pointer-events: none;
}
.hero-crosshair {
  position: absolute; right: 20%; top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px; opacity: 0.12;
  pointer-events: none;
}
.hero-crosshair::before, .hero-crosshair::after {
  content: ''; position: absolute; background: var(--gold);
}
.hero-crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; }
.hero-crosshair::after  { top: 50%; left: 0; height: 1px; width: 100%; }
.hero-circle {
  position: absolute; right: 18%; top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  border: 1px solid rgba(184,151,76,0.2);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px; width: 100%;
}
.hero-label {
  font-size: 11px; font-weight: 500;
  color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-label::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}
.hero-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 32px; margin-top: 16px;
}
.hero-desc {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 520px; line-height: 1.75;
  margin-bottom: 48px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 72px; padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 600;
  color: var(--gold-light); line-height: 1;
}
.stat-label {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px; margin-top: 4px;
}

/* ── O NAS ────────────────────────────────────────────── */
#o-nas { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.about-text p {
  font-size: 16px; font-weight: 300;
  color: var(--text); line-height: 1.8; margin-bottom: 20px;
}
.about-pillars {
  display: flex; flex-direction: column; gap: 1px;
  border: 1px solid var(--border);
}
.pillar {
  padding: 24px 28px; background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 20px;
  transition: background 0.25s;
  cursor: default;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover { background: var(--navy); }
.pillar:hover .pillar-title { color: var(--white); }
.pillar:hover .pillar-desc  { color: rgba(255,255,255,0.6); }
.pillar:hover .pillar-num   { color: var(--gold); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  color: var(--border); min-width: 44px; line-height: 1;
  transition: color 0.25s;
}
.pillar-title {
  font-size: 15px; font-weight: 500;
  color: var(--navy); margin-bottom: 4px;
  transition: color 0.25s;
}
.pillar-desc {
  font-size: 13px; font-weight: 300;
  color: var(--text-muted); line-height: 1.6;
  transition: color 0.25s;
}

/* ── PRISTOP ──────────────────────────────────────────── */
#pristop { background: var(--white); }
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 60px;
  border: 1px solid var(--border);
}
.step {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 700;
  color: var(--cream); line-height: 1; margin-bottom: 24px;
}
.step-title {
  font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 12px;
}
.step p {
  font-size: 14px; font-weight: 300;
  color: var(--text-muted); line-height: 1.75;
}
.step-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--border); overflow: hidden;
}
.step-bar-fill {
  height: 100%; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.step:hover .step-bar-fill { transform: scaleX(1); }

/* ── STORITVE ─────────────────────────────────────────── */
#storitve { background: var(--navy-deep); }
#storitve h2 { color: var(--white); }
#storitve .section-intro { color: rgba(255,255,255,0.45); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  margin-top: 60px;
  border: 1px solid rgba(255,255,255,0.06);
}
.service-card {
  background: var(--navy-deep);
  padding: 40px 36px;
  position: relative; cursor: default;
  transition: background 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: rgba(184,151,76,0.06); }
.service-card:hover::before { transform: scaleX(1); }
.service-tag {
  font-size: 10px; font-weight: 500;
  color: var(--gold); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
}
.service-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.service-desc {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75; margin-bottom: 24px;
}
.service-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
}
.service-features li {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.35);
  display: flex; align-items: flex-start; gap: 8px;
}
.service-features li::before {
  content: '—'; color: var(--gold); flex-shrink: 0;
}

/* ── ODO INDEX ────────────────────────────────────────── */
#odo-index { background: var(--cream); }
.index-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.score-circle {
  width: 240px; height: 240px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; margin-bottom: 40px;
}
.score-circle::before {
  content: ''; position: absolute;
  width: 220px; height: 220px;
  border: 1px solid rgba(184,151,76,0.3);
  border-radius: 50%;
  pointer-events: none;
}
.score-number {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.score-label {
  font-size: 10px; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
}
.dimensions { display: flex; flex-direction: column; gap: 16px; }
.dim-row    { display: flex; flex-direction: column; gap: 6px; }
.dim-header { display: flex; justify-content: space-between; }
.dim-name   { font-size: 13px; font-weight: 400; color: var(--navy); }
.dim-value  { font-size: 13px; font-weight: 500; color: var(--gold); }
.dim-bar    { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.dim-fill   { height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: 2px; }
.index-text h3 {
  font-family: var(--font-display);
  font-size: 28px; color: var(--navy); margin-bottom: 16px;
}
.index-text p {
  font-size: 15px; font-weight: 300;
  color: var(--text-muted); line-height: 1.8; margin-bottom: 16px;
}
.index-dims-label {
  font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px; margin-top: 32px;
}

/* ── ZAKAJ ODO ────────────────────────────────────────── */
#zakaj { background: var(--white); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border: 1px solid var(--border); margin-top: 60px;
}
.benefit {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefit:nth-child(2n)      { border-right: none; }
.benefit:nth-last-child(-n+2) { border-bottom: none; }
.benefit-icon  { font-size: 28px; margin-bottom: 16px; display: block; }
.benefit-title { font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.benefit-text  { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* ── ESG ──────────────────────────────────────────────── */
#esg { background: var(--navy); padding: 80px 0; }
.esg-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
#esg h2 { color: var(--white); }
#esg .section-intro { color: rgba(255,255,255,0.5); }
.esg-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.esg-tag {
  padding: 6px 14px;
  border: 1px solid rgba(184,151,76,0.4);
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.6); letter-spacing: 0.5px;
}
.esg-features { display: flex; flex-direction: column; gap: 24px; }
.esg-feat { display: flex; gap: 20px; align-items: flex-start; }
.esg-feat-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  color: rgba(184,151,76,0.3); min-width: 48px; line-height: 1;
}
.esg-feat-title { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.esg-feat-text  { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ── CERTIFIKAT ───────────────────────────────────────── */
#certifikat { background: var(--cream); }
.cert-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.cert-visual {
  border: 1px solid var(--border); padding: 52px;
  text-align: center; position: relative;
}
.cert-visual::before {
  content: ''; position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px solid rgba(184,151,76,0.2);
  pointer-events: none;
}
.cert-badge {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.cert-title-big {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.cert-sub {
  font-size: 13px; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase;
}
.cert-divider { width: 48px; height: 1px; background: var(--gold); margin: 20px auto; }
.cert-year {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 300;
  color: rgba(30,58,95,0.12);
}
.cert-text p {
  font-size: 15px; font-weight: 300;
  color: var(--text-muted); line-height: 1.8; margin-bottom: 16px;
}
.cert-points {
  list-style: none; display: flex;
  flex-direction: column; gap: 10px; margin-top: 24px;
}
.cert-points li {
  font-size: 14px; font-weight: 300;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.cert-points li::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--gold); flex-shrink: 0;
}

/* ── KONTAKT ──────────────────────────────────────────── */
#kontakt {
  background: var(--navy-deep);
  padding: 100px 0; text-align: center;
}
#kontakt h2 { color: var(--white); margin-bottom: 16px; }
#kontakt .section-intro { color: rgba(255,255,255,0.4); margin: 0 auto 48px; }
#kontakt .section-label { justify-content: center; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  max-width: 700px; margin: 0 auto 48px;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-item { padding: 32px 24px; background: var(--navy-deep); }
.contact-type {
  font-size: 10px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
}
.contact-val { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7); }
.contact-val a { color: inherit; transition: color 0.2s; }
.contact-val a:hover { color: var(--gold-light); }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.25);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════
   MOBILNA VERZIJA — max-width: 768px
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav — mobilni */
  .nav-inner    { padding: 0 20px; height: 68px; }
  .nav-hamburger { display: flex; }
  .nav-links    { display: none; }  /* skrij desktop meni */

  /* Sekcije */
  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero-inner    { padding: 0 20px; }
  .hero-crosshair,
  .hero-circle   { display: none; }
  .hero-stats    { gap: 28px; flex-wrap: wrap; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }

  /* O nas */
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }

  /* Pristop */
  .steps-row     { grid-template-columns: 1fr; }
  .step          { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }

  /* Storitve */
  .services-grid { grid-template-columns: 1fr; }

  /* Index */
  .index-layout  { grid-template-columns: 1fr; gap: 48px; }
  .score-circle  { width: 180px; height: 180px; }
  .score-number  { font-size: 52px; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit       { border-right: none; }
  .benefit:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .benefit:last-child { border-bottom: none; }

  /* ESG */
  .esg-inner     { grid-template-columns: 1fr; gap: 48px; }

  /* Certifikat */
  .cert-layout   { grid-template-columns: 1fr; }
  .cert-visual   { padding: 36px; }

  /* Kontakt */
  .contact-grid  { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner  {
    flex-direction: column; gap: 16px;
    text-align: center; padding: 0 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .hero-stats { flex-direction: column; gap: 20px; }
}


/* ════════════════════════════════════════════════════════
   ODO v2.0 — DODANA CSS (Blog, Logo, Kontaktni obrazec)
   ════════════════════════════════════════════════════════ */

/* ── Logo v navigaciji ───────────────────────────────── */
.logo-img {
  height: 48px; width: auto;
  display: block;
  object-fit: contain;
}
.nav-inner .logo img { height: 48px; width: auto; }

/* ── BLOG SEKCIJA (domača stran + blog arhiv) ─────────── */
#blog { background: var(--cream); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(30,58,95,0.10);
  transform: translateY(-3px);
}

.blog-card-img-wrap { display: block; overflow: hidden; }
.blog-card-img {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }

.blog-card-img-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
}
.blog-card-img-placeholder::after {
  content: 'ODO';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  color: rgba(184,151,76,0.3);
  letter-spacing: 4px;
}

.blog-card-body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; flex: 1;
}

.blog-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.blog-card-date {
  font-size: 11px; font-weight: 400;
  color: var(--text-muted); letter-spacing: 0.5px;
}
.blog-card-cat {
  font-size: 10px; font-weight: 500;
  color: var(--gold); letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid rgba(184,151,76,0.4);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--navy); line-height: 1.25;
  margin-bottom: 12px;
}
.blog-card-title a { color: inherit; transition: color 0.2s; }
.blog-card-title a:hover { color: var(--gold); }

.blog-card-excerpt {
  font-size: 13px; font-weight: 300;
  color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px; flex: 1;
}

.blog-card-link {
  font-size: 12px; font-weight: 500;
  color: var(--navy); letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s, gap 0.2s;
}
.blog-card-link:hover { color: var(--gold); gap: 8px; }

.blog-cta {
  text-align: center; margin-top: 52px;
}

.blog-empty {
  text-align: center; padding: 48px 0;
  color: var(--text-muted); font-size: 15px;
}
.blog-empty a { color: var(--gold); }

.blog-pagination {
  margin-top: 48px; text-align: center;
}
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span {
  display: inline-block; padding: 8px 14px;
  border: 1px solid var(--border);
  font-size: 13px; color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.blog-pagination a:hover { background: var(--navy); color: var(--white); }
.blog-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Blog arhiv hero ─────────────────────────────────── */
.blog-archive-hero {
  background: var(--navy-deep);
  padding: 80px 0 60px;
}
.blog-archive-hero h2 { color: var(--white); }
.blog-archive-hero .section-intro { color: rgba(255,255,255,0.45); }

/* ── Single post ─────────────────────────────────────── */
.single-hero {
  background: var(--navy-deep);
  padding: 80px 0 60px;
}
.single-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.single-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; line-height: 1.1;
  color: var(--white); margin-bottom: 40px;
}
.single-thumbnail img {
  width: 100%; max-height: 480px;
  object-fit: cover; display: block;
}
.single-content { padding: 72px 0; background: var(--white); }
.single-body {
  max-width: 760px; margin: 0 auto;
  font-size: 17px; font-weight: 300;
  line-height: 1.8; color: var(--text);
}
.single-body h2, .single-body h3 {
  font-family: var(--font-display);
  color: var(--navy); margin: 40px 0 16px;
}
.single-body p { margin-bottom: 20px; }
.single-body a { color: var(--gold); border-bottom: 1px solid rgba(184,151,76,0.3); }
.single-footer { max-width: 760px; margin: 48px auto 0; }

/* ── Kontaktni obrazec (CF7 styling) ─────────────────── */
.contact-form-wrap {
  margin-top: 48px;
  max-width: 660px;
  margin-left: auto; margin-right: auto;
}
.contact-form-placeholder {
  text-align: center; padding: 40px;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-form-hint {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.45); margin-bottom: 24px; line-height: 1.7;
}
.contact-form-hint code {
  background: rgba(255,255,255,0.06);
  padding: 2px 6px; font-size: 12px; color: var(--gold-light);
}
.contact-form-hint strong { color: rgba(255,255,255,0.7); font-weight: 500; }
.contact-form-hint em { color: rgba(255,255,255,0.6); font-style: normal; }

/* CF7 formular elementi */
.contact-form-wrap .wpcf7 input[type="text"],
.contact-form-wrap .wpcf7 input[type="email"],
.contact-form-wrap .wpcf7 input[type="tel"],
.contact-form-wrap .wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 300;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.contact-form-wrap .wpcf7 input:focus,
.contact-form-wrap .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form-wrap .wpcf7 textarea { min-height: 140px; resize: vertical; }
.contact-form-wrap .wpcf7 input[type="submit"] {
  background: var(--gold);
  color: var(--white);
  border: none; cursor: pointer;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: background 0.2s;
}
.contact-form-wrap .wpcf7 input[type="submit"]:hover { background: var(--gold-light); }

/* ── Footer dopolnitev ───────────────────────────────── */
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo img,
.footer-logo-img {
  height: 36px; width: auto;
  opacity: 0.6; filter: brightness(10);
  transition: opacity 0.2s;
}
.footer-logo:hover img { opacity: 0.9; }
.footer-right {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-social {
  display: flex; gap: 16px;
}
.footer-social a {
  font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

/* ── RESPONSIVNOST — mobilni blog ─────────────────────── */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-logo { margin-bottom: 8px; }
  .footer-right { justify-content: center; }
}

/* ════════════════════════════════════════════════════════
   ODO v3.0 — HEADER, O NAS, POPRAVKI
   ════════════════════════════════════════════════════════ */

/* ── O NAS — izboljšana vizualna sekcija ─────────────── */
#o-nas {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#o-nas::before {
  content: 'ODO';
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 260px; font-weight: 700; line-height: 1;
  color: rgba(30,58,95,0.04);
  pointer-events: none; user-select: none;
  letter-spacing: -8px;
}

/* O NAS — grid layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

/* Leva stran — besedilo */
.about-text p {
  font-size: 16px; font-weight: 300;
  color: var(--text); line-height: 1.85;
  margin-bottom: 20px;
}
.about-text p:first-child {
  font-size: 18px; font-weight: 300;
  color: var(--navy); line-height: 1.75;
}

/* Desna stran — pillars */
.about-pillars {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  background: var(--white);
}
.pillar {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 20px;
  transition: background 0.25s;
  cursor: default;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover { background: var(--navy); }
.pillar:hover .pillar-title { color: var(--white); }
.pillar:hover .pillar-desc  { color: rgba(255,255,255,0.55); }
.pillar:hover .pillar-num   { color: var(--gold); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  color: var(--border); min-width: 44px; line-height: 1;
  transition: color 0.25s;
}
.pillar-title {
  font-size: 14px; font-weight: 500;
  color: var(--navy); margin-bottom: 4px;
  transition: color 0.25s;
}
.pillar-desc {
  font-size: 13px; font-weight: 300;
  color: var(--text-muted); line-height: 1.6;
  transition: color 0.25s;
}

/* ── Responsive O NAS ─────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  #o-nas::before { font-size: 140px; right: -20px; opacity: 0.5; }
}

/* ── Popravek hero padding-top na mobilnem ────────────── */
@media (max-width: 768px) {
  #hero { padding-top: 68px; }
  .nav-inner { height: 68px; }
  .nav-logo-img,
  .site-logo .custom-logo { height: 44px; }
}

/* ── Popravek sekcij z novim nav ──────────────────────── */
section:not(#hero) { scroll-margin-top: 80px; }
@media (max-width: 768px) {
  section:not(#hero) { scroll-margin-top: 68px; }
}
