/* ---------- Fontovi ----------
   Fontovi su na našem serveru (assets/fonts), ne kod Googlea:
   posjetiočeva IP adresa ne ide trećoj strani (GDPR), a sajt je brži.
   Samo latinica (latin + latin-ext za č, ć, š, ž, đ). */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/barlow-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/barlow-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   servis.css – demo sajt "Auto Servis Točak"
   Svijetla tema, tamni hero, narandžasti akcent,
   uski "industrijski" font za naslove.
   ========================================================= */

:root {
  --bg: #F2F3F5;
  --surface: #FFFFFF;
  --dark: #14181F;
  --dark-2: #1F252E;
  --line: #D9DCE2;
  --line-dark: #2F3743;
  --input-line: #B9BEC8;
  --text: #14181F;
  --muted: #4A5260;
  --text-on-dark: #F2F3F5;
  --muted-on-dark: #C9CED8;
  --accent: #FF5A1F;        /* narandžasta */
  --accent-light: #FF8A5C;  /* svjetlija – za tekst na tamnoj pozadini */
  --accent-dark: #D9430C;   /* tamnija – za tekst na svijetloj pozadini */

  --display: 'Barlow Condensed', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;

  /* za demo.css */
  --banner-bg: var(--dark);
  --banner-text: var(--muted-on-dark);
  --banner-link: var(--accent-light);
  --lang-idle: var(--muted-on-dark);
  --lang-active: #FFFFFF;
  --lang-line: var(--accent-light);
  --menu-bg: var(--surface);
  --menu-line: var(--line);
  --menu-text: var(--text);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

a { color: var(--text); }
a:hover { color: var(--accent-dark); }

/* =========================================================
   Elementi koji se ponavljaju
   ========================================================= */

/* Naslovi: uski font, velika slova */
.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.btn-primary,
.btn-primary:hover {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

/* Dugme s okvirom na tamnoj pozadini */
.btn-outline-dark,
.btn-outline-dark:hover {
  border-color: #4A5260;
  color: var(--text-on-dark);
  font-weight: 500;
}

.btn-outline-dark:hover {
  border-color: var(--accent-light);
}

.btn-dark,
.btn-dark:hover {
  background: var(--dark);
  color: var(--text-on-dark);
}

.btn-dark:hover {
  background: var(--dark-2);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.media {
  overflow: hidden;
}

.media svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* =========================================================
   Navigacija (bijela traka)
   ========================================================= */
.nav-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Narandžasta tačka ispred imena */
.logo-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

.nav-cta,
.nav-cta:hover {
  background: var(--accent);
  color: var(--dark);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

/* =========================================================
   Hero (tamna pozadina)
   ========================================================= */
.hero {
  background: var(--dark);
  color: var(--text-on-dark);
}

.hero-inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero-text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 500px;
}

.hero-visual {
  flex: 1 1 340px;
  min-width: 0;
  height: 380px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}

/* =========================================================
   Usluge (6 kartica)
   ========================================================= */
.services {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-grid {
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   Zašto mi (bijela pozadina)
   ========================================================= */
.why {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.why-head {
  flex: 1 1 300px;
  min-width: 0;
}

.why-grid {
  flex: 2 1 520px;
  min-width: 0;
  gap: 32px;
}

/* Debela narandžasta linija iznad svake prednosti */
.why-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--accent);
  padding-top: 16px;
}

.why-item h3 {
  margin: 0;
  font-size: 20px;
}

.why-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   Kontakt / zakaži servis
   ========================================================= */
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.contact-info {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.9;
}

.contact-details .gap-before {
  margin-top: 8px;
}

.contact-info .btn {
  align-self: flex-start;
  padding: 14px 26px;
  font-size: 16px;
}

.service-form {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-form label {
  font-size: 14px;
  font-weight: 600;
}

.service-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--input-line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.service-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.service-form button {
  margin-top: 4px;
  padding: 16px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--dark);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.service-form button:hover {
  filter: brightness(1.08);
}

/* =========================================================
   Footer (tamni)
   ========================================================= */
.footer {
  background: var(--dark);
  color: var(--muted-on-dark);
}

.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 14px;
}

/* =========================================================
   Mobitel
   ========================================================= */
@media (max-width: 560px) {
  .nav {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo {
    font-size: 24px;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 64px;
    gap: 40px;
  }

  .hero-text {
    gap: 20px;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero .btn-row .btn {
    flex: 1 1 200px;
  }

  .hero-visual {
    height: 260px;
  }

  .section-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .services {
    gap: 32px;
  }

  .card {
    padding: 24px;
  }

  .why-inner,
  .contact-inner {
    gap: 32px;
  }

  .service-form {
    padding: 24px;
  }
}

/* Vrlo uski telefoni (npr. 320px): dugo ime "AUTO SERVIS TOČAK"
   mora biti manje, da stane u isti red s hamburgerom */
@media (max-width: 380px) {
  .logo {
    font-size: 20px;
    gap: 8px;
  }

  .logo-dot {
    width: 11px;
    height: 11px;
  }
}
