/* GastroPilot — Landing pages shared CSS
   Used by: digitalni-haccp.html, avtomatsko-spremljanje-temperature.html, haccp-evidence.html
   and all haccp-za/* SEO pages */

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

:root {
  --green:   #1E4D2E;
  --green2:  #45BA6E;
  --dark:    #0d1a12;
  --text:    #1a2e1e;
  --muted:   #556655;
  --bg-soft: #f4f7f4;
  --bg-hero: #f0f7f2;
  --border:  #d4e0ce;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAVIGATION (identično index.html) ──────────────────────── */

header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid #E8EDE5;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.h-in {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 36px; width: auto; }

#main-nav { display: flex; gap: 20px; align-items: center; }
#main-nav a { font-size: 14px; font-weight: 600; color: #6B7280; transition: color .15s; white-space: nowrap; text-decoration: none; }
#main-nav a:hover { color: #1E4D2E; }

.nav-cta {
  background: #F5A020;
  color: #111 !important;
  padding: 10px 20px;
  border-radius: 9px;
  font-weight: 700 !important;
  white-space: nowrap;
  transition: opacity .15s;
  text-decoration: none;
}
.nav-cta:hover { opacity: .88; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #1A1A2A; border-radius: 2px; }

#main-nav.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #E8EDE5;
  padding: 16px 24px;
  gap: 16px;
  z-index: 200;
}

@media (max-width: 600px) {
  header { position: relative; }
  #main-nav:not(.open) { display: none; }
  .nav-burger { display: flex; }
}

/* ── HERO EYEBROW ───────────────────────────────────────────── */

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(30,77,46,.08);
  border: 1px solid rgba(30,77,46,.18);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

/* ── HERO SECTION ───────────────────────────────────────────── */

.hero-sec {
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-hero) 0%, #fff 60%);
}

.hero-sec h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sec p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero-main {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}

.btn-hero-main:hover {
  background: #163a22;
  transform: translateY(-2px);
}

/* ── FEATURE CARDS ──────────────────────────────────────────── */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feat-card {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 22px;
}

.feat-card .feat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.feat-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.feat-card span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FAQ ────────────────────────────────────────────────────── */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child { padding-top: 0; }

.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── SECTION WRAPPER ────────────────────────────────────────── */

.sec {
  padding: 64px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.sec-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 36px;
  text-align: center;
}

/* ── CTA BAND ───────────────────────────────────────────────── */

.cta-band {
  background: var(--green);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 16px;
  opacity: .85;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-white {
  display: inline-block;
  background: var(--green2);
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}

.btn-cta-white:hover {
  background: #37a35e;
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────────────────────── */

.land-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
}

.land-footer a {
  color: var(--green2);
  text-decoration: none;
  font-weight: 700;
}

.land-footer a.flink {
  color: rgba(255,255,255,.6);
  font-weight: 400;
}

.land-footer a.flink:hover { color: #fff; }

.land-footer .copy {
  margin-top: 8px;
  color: rgba(255,255,255,.4);
}

/* ── UTILITIES ──────────────────────────────────────────────── */

.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }

/* ── FOOTER (full — matches index.html) ─────────────────────── */

footer { background: #0d1f14; padding: 60px 24px 40px; border-top: 1px solid rgba(255,255,255,.08); }
.foot-in { max-width: 1160px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.foot-brand .foot-logo svg { height: 38px; width: auto; }
.foot-tagline { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 12px; line-height: 1.65; }
.foot-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.foot-col a:hover { color: rgba(255,255,255,.9); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .15s; }
.foot-links a:hover { color: rgba(255,255,255,.8); }
/* Footer contact form */
.foot-contact { border-top: 1px solid rgba(255,255,255,.08); padding-top: 40px; margin-bottom: 40px; }
.foot-contact h4 { font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.foot-contact-inner { display: grid; grid-template-columns: 1fr 1fr 1fr auto auto; gap: 10px; align-items: flex-end; }
.fc-field { display: flex; flex-direction: column; gap: 6px; }
.fc-field label { font-size: 11px; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: .5px; }
.fc-field input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 10px 14px; color: #fff; font-size: 13px; font-family: inherit; transition: border-color .15s; width: 100%; }
.fc-field input::placeholder { color: rgba(255,255,255,.45); }
.fc-field input:focus { outline: none; border-color: #45BA6E; }
.fc-submit { background: #45BA6E; color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .15s; white-space: nowrap; height: 42px; }
.fc-submit:hover { opacity: .88; }
.fc-submit:disabled { opacity: .45; cursor: not-allowed; }
#fc-success { font-size: 13px; color: #6EE09A; margin-top: 8px; display: none; }
#fc-error { font-size: 12px; color: #F87171; margin-top: 6px; display: none; }
/* Nav burger for mobile */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-links.open { display: flex !important; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; z-index: 200; }
/* Remove old land-footer */
.land-footer { display: none !important; }
@media (max-width: 768px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-contact-inner { grid-template-columns: 1fr; }
  .foot-contact-inner .fc-submit { width: 100%; }
}
@media (max-width: 600px) {
  .top-nav { position: relative; }
  .nav-links:not(.open) { display: none; }
  .nav-burger { display: flex; }
  .foot-top { grid-template-columns: 1fr; }
}