/* ============================================================
   NOISIA CREW - prodajni web, design system
   Brand: NOISIA tamnozelena #003724, krem podloga, zlatni akcent
   Fontovi: Fraunces (display) + Inter (tekst), Google Fonts
   ============================================================ */

:root {
  --green: #003724;
  --green-deep: #002418;
  --green-mid: #0a5c3e;
  --green-soft: #e8f0ec;
  --cream: #f7f4ed;
  --ink: #1a1f1c;
  --muted: #5c6660;
  --gold: #c9a962;
  --gold-soft: #e7d9b8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 40px rgba(0, 35, 22, 0.10);
  --shadow-lg: 0 24px 70px rgba(0, 35, 22, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- tipografija ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ---------- gumbi ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(201, 169, 98, 0.35); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-mid); box-shadow: 0 12px 30px rgba(0, 55, 36, 0.28); }

/* ---------- header / nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled {
  background: rgba(0, 36, 24, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  padding: 12px 0;
}

.nav { display: flex; align-items: center; justify-content: space-between; }

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-links .btn { padding: 10px 22px; font-size: 0.9rem; }

.lang-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.15s ease;
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.22); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green) 55%, #004a30 100%);
  color: var(--white);
  padding: 170px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -180px; top: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -220px; bottom: -260px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(10, 92, 62, 0.55) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { color: rgba(255, 255, 255, 0.82); margin-bottom: 38px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-mark {
  position: absolute;
  right: 6%; bottom: -40px;
  width: 340px;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 1;
}

/* ---------- trust bar (brojke) ---------- */

.trustbar { background: var(--green-deep); color: var(--white); padding: 34px 0; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
}
.trust-item .lbl { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }

/* ---------- sekcije ---------- */

section { padding: 96px 0; }
section.tight { padding: 72px 0; }

.section-alt { background: var(--white); }
.section-green { background: var(--green); color: var(--white); }
.section-green h2 { color: var(--white); }
.section-green .lead, .section-green .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ---------- kartice usluga ---------- */

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid rgba(0, 55, 36, 0.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; color: var(--green); }
.card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- koraci (kako radimo) ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { color: var(--white); margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- zašto mi ---------- */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }

.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(0, 55, 36, 0.1); }
.why-item:nth-last-child(-n+2) { border-bottom: none; }
.why-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 3px;
}
.why-item h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 4px; }
.why-item p { font-size: 0.93rem; color: var(--muted); }

/* ---------- reference ---------- */

.refs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}
.ref-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--muted);
  opacity: 0.75;
  white-space: nowrap;
}

blockquote.testimonial {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--green);
}
blockquote.testimonial footer {
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: var(--white);
  border: 1px solid rgba(0, 55, 36, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- kontakt forma ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { color: var(--white); margin-bottom: 18px; }
.contact-info p { color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; }
.contact-detail { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: rgba(255, 255, 255, 0.9); font-size: 0.96rem; }
.contact-detail a { color: var(--gold-soft); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}

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

.lead-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin: 16px 0 6px;
  letter-spacing: 0.02em;
}
.lead-form label:first-child { margin-top: 0; }

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0, 55, 36, 0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease;
}
.lead-form input:focus,
.lead-form textarea:focus { outline: none; border-color: var(--green-mid); }

.lead-form textarea { resize: vertical; min-height: 110px; }

.lead-form .btn { width: 100%; justify-content: center; margin-top: 24px; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success .big { font-size: 2.6rem; margin-bottom: 12px; }
.form-success h3 { color: var(--green); margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.95rem; }

/* honeypot polje, ljudima nevidljivo */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */

.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.72); padding: 56px 0 32px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; font-family: var(--font-body); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- reveal animacije ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  section { padding: 68px 0; }
  .hero { padding: 130px 0 80px; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--green-deep);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
}
