/* ============================================================
   D2C - Delivering Your Identity
   Editorijalni B2B dizajn (inspiracija: sportdesignsweden.com)
   Boje iz loga: plava #005090, narancasta #f07020
   ============================================================ */

:root {
  --blue: #005090;
  --blue-deep: #072a47;
  --orange: #f07020;
  --ink: #101418;
  --ink-soft: #3d444c;
  --paper: #f5f4f0;
  --paper-warm: #edece6;
  --white: #ffffff;
  --line: #d8d6cd;
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Tipografija ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.015em;
}

h1.display { font-size: clamp(2.6rem, 7.5vw, 6.5rem); }
h2.display { font-size: clamp(2rem, 5vw, 4rem); }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
}

.section-label::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  background: var(--orange);
  flex: none;
}

.section-label .num { color: var(--ink-soft); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46em;
}

/* ---------- Gumbi i linkovi ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  background: transparent;
  color: var(--ink);
}

.btn:hover { background: var(--ink); color: var(--paper); }

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }

.arrow-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.arrow-link:hover { color: var(--orange); }

/* ---------- Navigacija ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 88px;
}

.nav-logo img { height: 54px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
}

.nav-menu a:hover { color: var(--orange); }

.nav-menu .nav-cta {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
}

.nav-menu .nav-cta:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.lang-switch a { text-decoration: none; color: var(--ink-soft); }
.lang-switch a:hover { color: var(--orange); }
.lang-switch .active { color: var(--ink); font-weight: 700; text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  padding-top: 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 42, 71, 0.35) 0%, rgba(7, 42, 71, 0.55) 55%, rgba(7, 42, 71, 0.85) 100%);
}

.hero-inner { width: 100%; padding-bottom: clamp(2.5rem, 6vh, 5rem); }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}

.hero-kicker::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  background: var(--orange);
}

.hero h1 { max-width: 12em; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--orange); }

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  max-width: 38em;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--blue-deep);
  color: var(--paper);
  overflow: hidden;
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "\25AA";
  color: var(--orange);
  margin-left: 3rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Kljucne poruke (ispod heroa) ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid var(--line);
}

.stat {
  border-right: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 1.6vw, 1.6rem);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--blue);
}

.stat-num em { font-style: normal; color: var(--orange); }

.stat-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  line-height: 1.5;
}

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

.section { padding: clamp(3.5rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-dark { background: var(--blue-deep); color: var(--paper); }
.section-dark .section-label { color: var(--paper); }
.section-dark .lead { color: rgba(245, 244, 240, 0.8); }
.section-warm { background: var(--paper-warm); }

.statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 24em;
  letter-spacing: -0.01em;
}

.statement .accent { color: var(--orange); }
.statement .accent-blue { color: var(--blue); }

/* ---------- Ponuda ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.offer-card {
  background: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  background: var(--white);
  box-shadow: 0 14px 40px rgba(7, 42, 71, 0.12);
}

.offer-card figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.offer-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offer-card:hover figure img { transform: scale(1.07); }

.offer-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  text-transform: uppercase;
  line-height: 1.05;
  transition: color 0.2s ease;
}

.offer-card:hover h3 { color: var(--blue); }

.offer-card:hover .offer-cta { color: var(--orange); }

.offer-card p { color: var(--ink-soft); font-size: 1rem; }

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.offer-cta { margin-top: 0.35rem; align-self: flex-start; color: var(--blue); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: var(--ink-soft);
  background: var(--white);
}

.tag-hot { border-color: var(--orange); color: var(--orange); }

/* ---------- Highlight projekti ---------- */

.projects-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  grid-column: span 2;
}

.project-card.wide { grid-column: span 3; min-height: 420px; }

.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img { transform: scale(1.05); }

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 42, 71, 0) 30%, rgba(7, 42, 71, 0.85) 100%);
}

.project-info { padding: 1.4rem; }

.project-info .client {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  display: block;
  margin-bottom: 0.4rem;
}

.project-info h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.project-info p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Reference (loga partnera) ---------- */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.partner-tile {
  background: var(--white);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.partner-tile img {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Za koga ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.section-dark .audience-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.audience-card figure { aspect-ratio: 16 / 9; overflow: hidden; }
.audience-card figure img { width: 100%; height: 100%; object-fit: cover; }

.audience-body { padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }

.audience-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.audience-body h3 .accent { color: var(--orange); }
.audience-body > p { color: inherit; opacity: 0.85; }

.audience-list { list-style: none; display: grid; gap: 0.55rem; margin-top: 0.25rem; }

.audience-list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.95rem;
  align-items: baseline;
}

.audience-list li::before {
  content: "\25AA";
  color: var(--orange);
  flex: none;
}

.audience-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Zasto D2C ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.why-card { background: var(--paper); padding: clamp(1.5rem, 2.2vw, 2.25rem); }

.why-card .why-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  display: block;
  margin-bottom: 1.75rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.why-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Forme ---------- */

.form-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: 2.5rem;
}

.form-aside h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.form-aside p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.25rem; }

.section-dark .form-aside p { color: rgba(245, 244, 240, 0.8); }

.contact-person { border-top: 1px solid var(--line); padding: 1rem 0; }

.section-dark .contact-person { border-color: rgba(255, 255, 255, 0.15); }

.contact-person .name { font-weight: 700; }

.contact-person a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--orange);
  word-break: break-all;
}

.contact-person a:hover { text-decoration: underline; }

.contact-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.section-dark .contact-meta { color: rgba(245, 244, 240, 0.65); }

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

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.section-dark .field input,
.section-dark .field select,
.section-dark .field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--paper);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 0;
  border-color: var(--orange);
}

.field textarea { min-height: 130px; resize: vertical; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.25rem 0 1rem; }

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  font-size: 0.92rem;
  background: var(--white);
}

.section-dark .check { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); }

.check input { accent-color: var(--orange); margin-top: 0.2rem; }

.form-status { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.85rem; min-height: 1.4em; }
.form-status.ok { color: #1e8a4c; }
.section-dark .form-status.ok { color: #6fd39a; }
.form-status.err { color: #c8401f; }

.privacy-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.75rem; }
.section-dark .privacy-note { color: rgba(245, 244, 240, 0.55); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(245, 244, 240, 0.8);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 58px; width: auto; margin-bottom: 1rem; }

.footer-brand p { font-size: 0.95rem; max-width: 28em; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.5rem; }

.footer-col a { text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card.wide { grid-column: span 1; min-height: 300px; }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
  .form-section-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.5rem 0 1rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.8rem var(--pad); }
  .nav-menu .nav-cta { border: none; padding: 0.8rem var(--pad); color: var(--orange); }
  .offer-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  form .form-row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
}
