/* =========================
   INDUSTRIAL MODERN CSS 
   Laboringri Auto Servis
   =========================
*/
/* ------ CSS RESET & NORMALIZE ------ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, footer, header, nav, section, main {
  display: block;
}
body {
  line-height: 1.5;
  background: #181d22;
  color: #F2F3F7;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ------ FONTS ------ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #181d22;
  color: #F2F3F7;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #F2F3F7;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #e9eef3;
}
strong {
  font-weight: 700;
  color: #fff;
}

/* -------- CONTAINER -------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
}

/* --------- HEADER --------- */
header {
  background: #22262B;
  border-bottom: 2.5px solid #40474F;
  padding-top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 18px 18px;
  position: relative;
}
.logo img, .footer-logo img {
  height: 48px;
  width: auto;
  filter: grayscale(40%) contrast(1.15) drop-shadow(0 2px 2px #191b1f60);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.main-nav a {
  font-size: 1rem;
  color: #F2F3F7;
  letter-spacing: 0.5px;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E94E1B;
}

.cta-button {
  background: #E94E1B;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-left: 36px;
  box-shadow: 0 4px 12px rgba(36,49,61,0.12);
  border: none;
  outline: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: #c23b13;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px #E94E1B44;
}
.secondary-cta {
  display: inline-block;
  color: #E94E1B;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  font-family: 'Montserrat';
  background: #181d22;
  border: 2px solid #E94E1B;
  margin-top: 10px;
  transition: background 0.18s, color 0.18s;
}
.secondary-cta:hover {
  background: #E94E1B;
  color: #fff;
}

button.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #F2F3F7;
  background: #232A31;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 29, 34, 0.97);
  z-index: 2020;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.61,.25,.42,1.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  width: 100vw;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #E94E1B;
  background: transparent;
  padding: 24px 22px 12px 24px;
  margin-left: auto;
  cursor: pointer;
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 36px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  color: #fff;
  border-bottom: 1px solid #272b30;
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E94E1B;
}

/* Desktop hide mobile menu */
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ----------- SECTIONS ----------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #23292F;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(36,49,61,0.10);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --------- CARDS & FLEX PATTERNS --------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #1c2227;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(36,49,61,0.13), 0 1.8px 0 #50515744 inset;
  margin-bottom: 20px;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 12px 36px #E94E1B20;
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F2F3F7;
  color: #23292F;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px #23292F22;
  font-size: 1.09rem;
  flex-direction: column;
  min-width: 248px;
  border-left: 7px solid #E94E1B;
}
.testimonial-card p {
  color: #23292F;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #24313D;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  background: #1a1e22;
  color: #e9eef3;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: 1rem;
}

/* List-style for custom icons */
ul {
  list-style: none;
  padding-left: 0;
}
li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
li img {
  width: 32px; height: 32px; min-width: 24px;
  margin-right: 8px;
  filter: grayscale(60%) brightness(1);
}

/* TABLES (Cjenik) */
table {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #1c2227;
  box-shadow: 0 2px 10px #2b323844;
  font-size: 1rem;
  overflow: hidden;
}
thead {
  background: #252d33;
  color: #E94E1B;
}
th, td {
  padding: 14px 10px;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-align: left;
  font-size: 1.05rem;
}
td {
  border-top: 1px solid #252d33;
}
tr:nth-child(even) td {
  background: #23292F;
}

/* -------- BLOG ARTICLES -------- */
article {
  background: #1a1e22;
  padding: 22px 20px 20px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px #2b323822;
  margin-bottom: 24px;
  border-left: 4px solid #E94E1B;
}
article h2 {
  font-size: 1.3rem;
  color: #E94E1B;
  margin-bottom: 12px;
}
article p {
  color: #d1d7dc;
  margin-bottom: 10px;
}
article a {
  color: #E94E1B;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: underline;
  transition: color 0.18s;
}
article a:hover { color: #C23B13; }

/* ------- FOOTER -------- */
footer {
  background: #22262B;
  border-top: 2.5px solid #40474F;
  margin-top: 70px;
  padding: 0;
}
.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
  filter: grayscale(60%) brightness(1.15);
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a {
  color: #c7ccd2;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  transition: color 0.16s;
}
.footer-nav a:hover { color: #E94E1B; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 4px;
  font-size: 1rem;
  color: #e9eef3;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 20px; height: 20px;
  filter: grayscale(100%) brightness(2);
}

/* ---------- LINKS ---------- */
a {
  transition: color 0.18s, background 0.12s;
}
a:focus {
  outline: 2.5px solid #E94E1B;
  outline-offset: 2px;
}

/* ---------- FORMS (Newsletter/E-mail) ---------- */
input, textarea, select {
  padding: 10px 16px;
  font-size: 1rem;
  border: 1.8px solid #2a323a;
  border-radius: 6px;
  background: #131619;
  color: #f2f3f7;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E94E1B;
  outline: none;
}
label {
  font-weight: 500;
  margin-bottom: 4px;
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #23292F;
  color: #dedfec;
  box-shadow: 0 -4px 20px #1a1d2144;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 24px;
  z-index: 2200;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.44,1.16,.32,1);
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1 1 72%;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: #E94E1B;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.17s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #c23b13;
  transform: scale(1.05);
}
.cookie-btn.secondary {
  background: #23292F;
  color: #E94E1B;
  border: 2px solid #E94E1B;
}
.cookie-btn.secondary:hover {
  background: #E94E1B;
  color: #fff;
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #1C2227;
  color: #F2F3F7;
  box-shadow: 0 16px 56px #10101499;
  border-radius: 14px;
  z-index: 2500;
  width: 96%;
  max-width: 420px;
  padding: 30px 22px 24px 22px;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s, transform 0.24s;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}
.cookie-modal h3 {
  font-size: 1.35rem;
  color: #E94E1B;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-family: 'Montserrat';
  color: #E94E1B;
}
.cookie-category input[type=checkbox] {
  accent-color: #E94E1B;
}
.cookie-category input[disabled] {
  filter: grayscale(80%);
  accent-color: #9DA7B1;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  color: #E94E1B;
  font-size: 1.65rem;
  border: none;
  position: absolute;
  right: 12px;
  top: 8px;
  cursor: pointer;
}

/* ------ RESPONSIVE ------ */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 20px;
  }
  button.mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 18px 0;
  }
}
@media (max-width: 768px) {
  
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 8px;
  }
  header .container {
    padding: 16px 8px 12px 8px;
  }
  section, .section {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 11px;
  }
  .card, .testimonial-card {
    padding: 20px 13px;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 8px 0;
    margin-bottom: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 10px;
    font-size: 0.95rem;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 11px;
  }
  .cookie-modal {
    padding: 20px 9px 15px 12px;
    max-width: 99vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .testimonial-card, .card, .section, section {
    padding: 13px 3px;
    border-radius: 6px;
  }
  .footer-contact div {
    font-size: 0.97rem;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 13px;
  }
}

/* -------- INTERACTIVE STATES -------- */
button, .cta-button, .secondary-cta, .cookie-btn {
  transition: background 0.22s, color 0.17s, box-shadow 0.16s, transform 0.16s;
}
button:active, .cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ---------- Z-INDEX / Layering Guidance ---------- */
header { z-index: 120; position: relative; }
.mobile-menu, .cookie-modal { z-index: 2200; }
.cookie-banner { z-index: 2201; }

/* --------- OTHER UTILS --------- */
.muted {
  color: #aab4bc;
}
.nowrap {
  white-space: nowrap;
}

/* --------- ICON / IMAGE BUTTON STYLES --------- */
button img, .main-nav img, .footer-nav img {
  max-height: 21px;
  vertical-align: middle;
}

/* --------- HIERARCHY & SPACING UTILS --------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-10 { padding-top: 10px !important; }
.pt-20 { padding-top: 20px !important; }

/* --------- GENERAL ELEVATION/ACCENT --------- */
.box-metallic {
  background: #23292F;
  border: 1.7px solid #40474F;
  border-radius: 13px;
  box-shadow: 0 2px 10px #15181c22 inset, 0 3px 13px #2e353d22;
  padding: 16px 14px;
}

/* -------------- SHADOWS --------------- */
.shadow-light {
  box-shadow: 0 2px 16px #40474F12;
}
.shadow-metal {
  box-shadow: 0 2.5px 20px #26282d30, 0 2px 2px #63687012 inset;
}

/* ------ ACCESSIBILITY: FOCUS STATES ------ */
a:focus, button:focus, .cta-button:focus, .secondary-cta:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #E94E1B;
  outline-offset: 2px;
}

/* ============= FLEXBOX SPACING PATTERNS ============= */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ============= END OF INDUSTRIAL MODERN THEME ============= */
