/* Font */
@font-face {
  font-family: 'Barlow';
  src: url('/assets/fonts/Barlow-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BarlowSemiCondensed';
  src: url('/assets/fonts/BarlowSemiCondensed-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #aea594;
  --primary-dark: #8f8976;
  --secondary: #0056b3;
  --secondary-dark: #003d80;
  --text-dark: #222;
  --bg-light: #f9f9f9;
}

body {
  font-family: 'Barlow', sans-serif;
  margin: 0;
  color: var(--text-dark);
}

/* Global resets */
img {
  max-width:100%;
  height: auto;
  display: block;
}

hr {
  border: none;
  border-top: 2px solid #ccc;
  margin: 0 0 1.5rem;
}

/* ===== CONTACT PAGE STYLING ===== */

.contact-container {
  padding: 1rem;
}

/* Forma */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Name + Phone uvek u istom redu */
.contact-row-2 {
  display: flex;
  gap: 15px;
}

.contact-row-2 .form-group {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Checkbox + tekst u jednom redu */
.contact-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-checkbox input {
  margin: 0;
}

/* Ispravljanje širine checkboxa */
.contact-checkbox input[type="checkbox"] {
  width: auto;
  flex-shrink: 0; /* sprečava razvlačenje */
}

/* Dugme */
.contact-btn {
  padding: 0.4rem 1rem;
  background-color: #0093dc;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: auto;
  display: inline-block;
  align-self: flex-start;
}

.contact-btn:hover {
  background-color: #007ab8;
}

/* Map */
.contact-map {

}

.contact-map iframe {
  width: 100%;   /* puni širinu ekrana */
  height: 400px; /* ili koliko ti treba */
  border: none;
}

/* Brand deo */
.contact-brand {
  text-align: left;
}

.contact-brand img {
  height: auto;
  display: block;
  margin: 0;
}

.contact-info {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Uklanjanje bullet-a ako je <ul> */
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin: 0.2rem 0;
}

.contact-container h1 {
  font-size: 1.3rem;   /* manji font da stane u jedan red */
  font-weight: normal; /* uklanja bold */
  line-height: 1.3;    /* lepši razmak */
  margin-bottom: 0.5rem;
}

/* Responsivnost */
@media (max-width: 600px) {
  .contact-container {
    margin-top: 40px;
    padding: 1rem;
  }

  .contact-row-2 {
    flex-direction: row; /* ostaje u jednom redu i na mobilnom */
    gap: 15px;
  }

  .contact-brand img {
    max-width: 80%;
  }
}



/* Products */
.products-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.products-container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-block {
  color: white;
  padding: 0 30px;
  text-align: center;
}

.intro-block img {
  margin-bottom: 0.8rem;
}


.machine-title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.machine-tags-download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
}

.package-icon {
    vertical-align: middle;
    margin-right: 5px;
}



.download a {
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
}

.download a:hover {
  background-color: var(--secondary-dark);
}

.media-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.small-image {
  max-width: 200px;
}

.machine-description {
  margin-bottom: 1rem;
}

/* HERO SLIDER */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero__slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__slider img {
   width: 100%;
  height: 100vh;
}

.hero-text {
  position: absolute;
  top: 60px;
  left: 20px;
  color: white;
  font-size: 35px;
  word-wrap: break-word;
 
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
}

/* DOTS */
.slider-dots {
  position: absolute;
  right: 5%;
  bottom: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(50%);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #fff;
}


/* COLLAPSIBLE */
.collapsible {
  margin: 65px auto;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Dodaj poseban wrapper samo za header */
.collapsible-header {
  display: table;          /* ponaša se kao inline-block, ali bolje za centriranje */
  margin: 0 auto;          /* centrira u roditelju */
  border: 1px solid #000;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  background: #fff;
}



/* Linije levo i desno */
.collapsible-header::before,
.collapsible-header::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px; /* dužina linija */
  border-bottom: 1px solid #000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.collapsible-header::before {
  right: 100%; /* linija levo od bordera */
}

.collapsible-header::after {
  left: 100%; /* linija desno od bordera */
}

.collapsible.open .collapsible-header::before,
.collapsible.open .collapsible-header::after {
  transform: scaleX(1);
}



/* CONTENT (skriveno dok nije open) */
.collapsible-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
}

/* Kada je OPEN */
.collapsible.open .collapsible-content {
  max-height: 99999px;
  opacity: 1;
}

/* Uklanjamo ikone */
.collapsible-icon {
  display: none;
}

.small_hero {
  padding: 30px 30px;
}

.hero__button {
  display: inline-flex;
  background-color: #AEA594;
  color: #fff; /* bela slova za kontrast */
  font-weight: 400;
  font-size: 1rem;
  padding: 0.4rem 0.4rem;
  border: none;
  border-radius: 4px; /* blago zaobljene ivice */
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hero__button:hover {
  background-color: #9c9284; /* malo tamnija nijansa pri hoveru */
  transform: translateY(-2px); /* lagani efekat podizanja */
}

.hero__button:active {
  transform: translateY(0); /* klik efekt */
}

.hero__button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(160,150,130,0.4);
}

.process_of_production {
	text-align:center;
	padding: 0 30px;
}

.grey-bg {
	background-color: #F0F0F0;
}

.circle-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.circle {
  flex: 1;
  aspect-ratio: 1 / 1;          /* obezbeđuje da je uvek krug */
  border-radius: 50%;
  background-color: #aea594;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* tekst se skaluje prema širini parent elementa */
  font-size: calc(0.8rem + 1vw);
  line-height: 1.2;
  padding: 10px; /* da tekst ne ide skroz uz ivicu */
  box-sizing: border-box;
}



/* Pojedinačne boje krugova */
.circle:nth-child(1) {
  background-color: #38578A; /* Plavi */
}

.circle:nth-child(2) {
  background-color: #77797D; /* Sivi */
}

.circle:nth-child(3) {
  background-color: #52A36E; /* Zeleni */
}


.bottom-align {
	text-align:left;
	padding:0 0 30px 0;
}

/* ===================== CAROUSEL ===================== */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
  padding: 50px 0;
}

/* Fade maske na krajevima */
.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #E9E9E9 60%, rgba(242,241,240,0) 100%);
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #E9E9E9 60%, rgba(242,241,240,0) 100%);
}

/* Track */
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
  align-items: center; /* vertikalno centriranje */
  transition: transform 0.5s ease; /* smooth animacija */
}

.carousel-track::-webkit-scrollbar { display: none; }

/* Item */
.carousel-item {
  flex: 0 0 auto;
  width: calc((100% - (5 * 16px)) / 6); /* 6 itema u viewportu */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  display: block;
}

.carousel-item:hover {
  transform: scale(1.05);
  z-index: 3;
}

/* Overlay za hover */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.carousel-item:hover .overlay { opacity: 1; }

.overlay a {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Strelice */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 80px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  user-select: none;
  padding: 0;
}

.carousel-btn.left  { left: 3px; }
.carousel-btn.right { right: -15px; }

/* Hover efekat strelica */
.carousel-btn:hover::before,
.carousel-btn:hover::after {
  background: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item {
    width: calc((100% - (5 * 16px)) / 6); /* 6 itema u viewportu */
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: calc((100% - (5 * 16px)) / 6); /* 6 itema u viewportu */
  }
}



    .box-type h2 { margin-bottom: 15px; text-align: center; }
    .box-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
    .box-item {
  display: flex;
  align-items: center;      /* vertikalno centriranje */
  justify-content: center;  /* horizontalno centriranje */
  width: 100%;
  border: 1px solid lightgray;
  background: #fff;
  transition: transform 0.3s ease;
  overflow: hidden;
}

    .box-item img {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

    .box-item:hover { transform: scale(1.03); }
    @media (min-width: 768px) {
      .box-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
    }

@media (max-width: 768px) {
  .box-item {
    height: auto;
    aspect-ratio: 1 / 1; /* kvadratna kutija */
  }
}

/* Intro blok */
.intro-block {
  margin: 20px 0;
  text-align: center;
}
.intro-block img {
  max-width: 100%;
  border-radius: 10px;
}

/* Jedan produkt (mašina) */
.machine-item {
  padding: 20px 30px;
  box-sizing: border-box;
}

/* Naslov mašine */
.machine-title {
  font-size: 22px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

/* Slika mašine */
.machine-image {
  position: relative; /* omogućava da apsolutno pozicioniraš unutar slike */
  display: inline-block;
}

.machine-title {
  position: absolute;
  top: -15px;
  left: 10px;
  color: black;
  font-size: 14px;   /* manji font */
  font-weight: normal;
  padding: 5px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Slika proizvoda (pakovanja) */
.product-image img {
  display: block;
  width: calc(100% - 60px);
  margin: 0 auto 15px auto;
  border-radius: 8px;
}

/* Sive linije */
.grey-line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

.black-line {
  border: none;
  border-top: 1px solid #000;
  margin: 25px 0;
}

/* Tags + PDF sekcija */
.machine-tags-download {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}



/* Vertikalni divider */
.machine-tags-download .divider {
  width: 1px;
  height: 100px;
  background: #ccc;
}

.pdf-icon {
  width: 50px;
  height: auto;
  cursor: pointer;
}

/* Remote assistance + video dugme */
.assist-video {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.assist-img {
  height: 40px;
  object-fit: contain;
}

.yt-btn {
  background: #3291d6;
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.2s;
}

.yt-btn:hover {
  background: #cc0000;
}

/* Opis mašine */
.machine-description {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.machine-tags-download {
  display: flex;
  align-items: stretch; /* umesto center */
  gap: 15px;
}

.machine-tags-download .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;   /* centriraj slike unutar punog prostora */
  flex: 1;               /* rastegni tags da zauzme raspoloživi prostor */
}

.tag {
  width: 50px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
 }

.package-icon {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* Osnovno za sekciju */
.process-section {
  background: #F2F2F2;
  padding: 48px 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111;
}

/* Container centrira sadržaj i ograničava širinu */
.process-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Slika sekcije (responsive) */
.section-figure {
  width: 100%;
  display: flex;
  justify-content: center;
}
.section-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  border-radius: 6px;
}

/* Ikonice kontejner */
.process-icons {
  padding:10px;
  background-color: #F2F2F2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Redovi ikonica */
.icons-row {
  display: flex;
  justify-content: center; /* centriraj sadržaj */
  gap: 48px;               /* razmak izmedju ikonica */
  width: 100%;
  padding: 8px 16px;
  box-sizing: border-box;
}

/* Stavka ikonice */
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 160px;
  flex: 0 0 auto;
}

/* SVG ikonica (možeš promeniti size) */
.icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: block;
  margin-bottom: 8px;
  color: #222; /* koristi currentColor u SVG */
}

/* Natpis ispod ikonice */
.icon-label {
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #222;
}

/* Tanka horizontalna linija (bela), width = 33% */
.divider {
  width: 33%;
  height: 1px;
  background: #fff;
  margin: 4px 0;
  border-radius: 1px;
  box-shadow: 0 0 0 rgba(0,0,0,0); /* nema senke, ali čisto */
}

/* glavni kvadrat (speech bubble-ish) */
   .intro-square{ 
    position:relative; 
	max-width: 800px;
    background:#80B2E1; 
    color:white; 
    margin: 30px;
    padding: 20px; 
    box-sizing:border-box; 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
}

   .intro-square .tail{ 
	position:absolute; 
	right:0px; /* udaljenost od desne ivice boxa */ 
	bottom:-20px; /* spusti ispod boxa */ 
	width:0; 
	height:0; 
	border-left:20px solid transparent; 
	border-top:20px solid #80B2E1; 
}

  /* SVG ikona - centrirana na vrhu */
  .intro-square .icon{
    width:100px;  
    height:100px;
    margin-bottom:15px;
    flex-shrink:0;
  }

  /* tekstovi ispod (9 paragrafa) */
  .intro-square .texts{
    width: 100%;
    /* ako želiš da paragrafi stoje u jednom stubcu i budu pomalo prozračni */
    display:flex;
    flex-direction: column;
    gap: 6px;
    align-items: left; /* promeni u center ako želiš centrirano */
    overflow: auto;          /* ako ima više teksta */
  }

  .intro-square p{
    margin:4px 0;
    font-size:14px;
    line-height:1.3;
    text-align: left;
    flex: 1;
  }

#loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(255, 255, 255, 0.7); /* poluprovidna pozadina */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.8s ease, visibility 0.8s ease;
    }

    #loader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    /* Loader container manjih dimenzija */
    .loader-logo {
      width: 100px;
      height: 100px;
    }

    /* Rotacija celog loga */
    .loader-logo-wrapper {
      animation: rotate 2s linear infinite;
    }

    @keyframes rotate {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Animacija linija pojedinačno */
    .loader-logo line {
      stroke: #0044cc;
      stroke-width: 6;
      stroke-linecap: round;
      stroke-dasharray: 100;
      stroke-dashoffset: 100;
      animation: draw 1s ease-in-out infinite alternate;
    }

    /* Delay za svaku liniju da se ne crta odjednom */
    .loader-logo line:nth-child(1) { animation-delay: 0s; }
    .loader-logo line:nth-child(2) { animation-delay: 0.2s; }
    .loader-logo line:nth-child(3) { animation-delay: 0.4s; }

    @keyframes draw {
      from { stroke-dashoffset: 100; opacity: 0.3; }
      to   { stroke-dashoffset: 0; opacity: 1; }
    }

.carousel-item img,
.box-item img {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto; /* centriranje */
  object-fit: contain;
}

.hero-main {
  max-width: 150%;
  height: auto;
  display: block;
}

.arrows {
  max-width: 50%;
height: auto;
  display: block;
}
/* =========================
   TABLET (769px - 1024px)
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero-text {
    width: 60%;
    font-size: 22px;
  }

  .carousel-item {
    width: calc((100% - (5 * 16px)) / 4); /* 4 itema po redu */
  }

  .box-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  


  .intro-block img { max-width: 90%; }

  .contact-row-2 { flex-direction: row; gap: 15px; }

  .contact-brand img { max-width: 65%; }
}

/* =========================
   DESKTOP (1025px +)
========================= */
@media (min-width: 1025px) {

  .hero-text {
    width: 50%;
    font-size: 28px;
  }

  .carousel-item {
    width: calc((100% - (5 * 16px)) / 6); /* 6 itema po redu */
  }

  .box-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }




  .intro-block img { max-width: 80%; }

  .contact-row-2 { flex-direction: row; gap: 20px; }

  .contact-brand img { }
}

/* GRID KONTEJNER */
.contact-grid {
  display: flex;
  flex-direction: column; /* default za mobilni */
  gap: 2rem;              /* razmak između form i desne strane */
}

/* LEFT i RIGHT SIDE */
.contact-left,
.contact-right {
  width: 100%;
}

/* VEĆI EKRANI (tablet / desktop) */
@media (min-width: 1025px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* dva stubca: form | map+info */
    gap: 2rem;
    align-items: start;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-map iframe {
    height: 300px; /* ili koliko želiš */
    width: 100%;
  }

  .contact-brand img {
    margin-bottom: 0.5rem;
  }
}

/* =========================
   DESKTOP RESPONSIVE STYLES
   ========================= */
@media (min-width: 1025px) {

  .hero__slider img {
    width: 120%;
}

    .hero-text {
        left: auto;
        right: 50px;
        top: 20%;
        transform: translateY(-50%);
        text-align: left;
        max-width: 24%;
    }

  /* 2. Small hero sekcija (slika levo, tekst desno) */
  .small-hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .small-hero-container img {
    flex: 1;
    max-width: 50%;
    height: auto;
  }

  .hero-text-block {
    flex: 1;
    text-align: left;
  }

  /* 3. Process of Production – ikonice u jednom redu */
  .process-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: nowrap;
  }

  /* Ako su ikonice u karticama, ograniči širinu */
  .process-icons .icon {
    max-width:125%;
    flex: 1 1 auto;
    text-align: center;
  }

 

  /* 5. Tekst sekcija (generalno da ne ide preko cele širine) */
  .text-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  .small_hero {
    flex-direction: column;
  }

}
.small_hero {
  display: flex;
}

.hero__image-container {
  flex: 1;
}

.hero__content {
  flex: 1;
}
/* =========================
   DESKTOP – UVEĆANO PRIKAZIVANJE
   ========================= */
@media (min-width: 1025px) {

  body {
    font-size: 30px;
    line-height: 1.7;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }

  .contact-container {
    padding: 3rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1.2rem;
    padding: 1rem;
  }
.contact-form textarea {
 height:210px;
}
  .contact-btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }

  .contact-info {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .hero__slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-text {
    font-size: 32px;
    line-height: 1.6;
    max-width: 35%;
    top: 30%;
    right: 80px;
  }

  .products-container {
    max-width: 1400px;
    padding: 2rem;
  }

  .machine-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .machine-description {
    font-size: 1.1rem;
    line-height: 1.7;
  }



  .carousel-item {
    width: calc((100% - (5 * 20px)) / 6); /* veći razmak i veće slike */
  }

  .carousel-item img,
  .box-item img {
    max-width: 120px;
    max-height: 120px;
  }

  .box-item {
    padding: 20px;
  }

  .box-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
  }

  .intro-square {
    max-width: 1000px;
    padding: 40px;
    font-size: 1.1rem;
  }

  .intro-square p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .icon {
    width: 70px;
    height: 70px;
  }

  .icon-label {
    font-size: 16px;
  }
}
@media (min-width: 1025px) {
  .collapsible-header {
    font-size: 22px;
    padding: 10px;
  }

  .collapsible-icon {
    width: 20px;
    height: 20px;
  }
}
.process-icons {
  width: 100%;
  margin: 40px auto;
}

/* --- osnovno za mobilni --- */
.icons-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.icon {
  width: 111px;
  height: 111px;
  margin-bottom: 10px;
}

.icon-label {
  font-size: 14px;
  font-weight: bold;
}

/* horizontalna linija za mobile */
.divider {
  width: 33%;
  height: 2px;
  background-color: white;
}

/* --- DESKTOP --- */
@media (min-width: 1025px) {
  .process-icons {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }

  /* obriši redove i divider */
  .icons-row {
    display: contents; /* raspakuj decu u parent grid/flex */
    margin: 0;
  }
  .divider {
    display: none;
  }

  /* pet ikona u jednom redu */
  .process-icons .icon-item {
    flex: 1;
    padding: 30px 10px;
  }


  /* uvećane ikonice i tekst */
  .icon {
    width: 100px;
    height: 100px;
  }
  .icon-label {
    font-size: 18px;
  }
}
@media (min-width: 1025px) {
  .process-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;   /* centriraj ikonice vertikalno */
    justify-items: center; /* centriraj ikonice horizontalno */
    position: relative;
    padding: 40px 0; /* malo prostora gore/dole */
  }

  .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .icon {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
  }

  .icon-label {
    font-size: 18px;
    font-weight: bold;
  }

  /* pseudo-element za 4 vertikalne linije */
  .process-icons::before {
    content: "";
    position: absolute;
    top: 50%;                   /* centriraj po visini */
    transform: translateY(-50%);
    height: 60%;                /* dužina linija (60% wrappera) */
    left: 0;
    right: 0;
    background-image: linear-gradient(to right,
      transparent 20%,
      white 20%, white calc(20% + 2px),
      transparent calc(20% + 2px),

      transparent 40%,
      white 40%, white calc(40% + 2px),
      transparent calc(40% + 2px),

      transparent 60%,
      white 60%, white calc(60% + 2px),
      transparent calc(60% + 2px),

      transparent 80%,
      white 80%, white calc(80% + 2px),
      transparent calc(80% + 2px)
    );
    background-repeat: no-repeat;
  }
}
/* Desktop verzija – 12 itema */
@media (min-width: 1025px) {
  .carousel-item {
    flex: 0 0 calc(100% / 14);
  }
.carousel-container {
margin-top:20px;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* tačno 5 u redu */
  gap: 0; /* nema razmaka između redova/kolona */
}

.box-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px; /* malo unutrašnjeg prostora */
  transition: background-color 0.3s ease;
}

.box-item:hover {
  background-color: #f0f0f0; /* siva pozadina na hover */
}

.box-item img {
  max-width: 80%;
  height: auto;
}
.box-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 u redu */
  gap: 0; /* nema razmaka između redova/kolona */
}

.box-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  aspect-ratio: 1 / 1; /* kvadrat: visina = širina */
}

.box-item:hover {
  background-color: #f0f0f0; /* siva pozadina */
}

.box-item img {
  max-width: 70%; /* ili koliko želiš da slika zauzima kvadrat */
  height: auto;
}
.industries-grid {
  padding:30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 u prvom redu */
  grid-auto-rows: auto;
  gap: 16px; /* razmak između slika, možeš promeniti */
}

.industries-grid img:nth-child(4) {
  grid-column: 1 / -1; /* četvrta slika zauzima ceo red */
}
}

.industries-grid {
  padding:30px;
}
.recent-project {
padding:0 30px;
}

.recent-project-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Desktop prikaz: dva stubca */
.recent-project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.recent-left, .recent-right {
  flex: 1 1 45%; /* svaki stubac zauzima ~45% širine */
  box-sizing: border-box;
}

/* Mobile prikaz: stubci se slažu jedan ispod drugog */
@media (max-width: 1024px) {
  .recent-project-grid {
    flex-direction: column;
  }

  .recent-left, .recent-right {
    flex: 1 1 100%;
  }
}
/* ===== SO-FAR / Circle Section ===== */
.so-far .circle {
  flex: 1 1 150px; /* minimalna širina kruga */
  aspect-ratio: 1 / 1; /* uvek kvadrat -> krug */
  border-radius: 50%;
  background-color: #aea594;
  color: white;
  display: flex;
  flex-direction: column; /* broj iznad teksta */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}


.so-far .circle-number {
  font-size: clamp(2rem, 5vw, 6rem); /* raste sa ekranom */
  font-weight: bold;
  line-height: 1;
}

.so-far .circle-text {
  font-family: 'BarlowSemiCondensed', sans-serif;
  font-size: clamp(0.9rem, 2vw, 3.2rem); /* raste sa ekranom */
  margin-top: 0.2rem;
  line-height: 1.2;
}

/* Individualne boje */
.so-far .circle:nth-child(1) { background-color: #38578A; }
.so-far .circle:nth-child(2) { background-color: #77797D; }
.so-far .circle:nth-child(3) { background-color: #52A36E; }

/* SAMO NA VEĆIM EKRANIMA */
@media (min-width: 992px) {
  /* Intro sekcija */
  .intro-square {
    margin: 10 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;            /* puna širina */
    gap: 2rem;
    text-align: left;
  }

  .intro-square img.icon {
    flex: 1;
    max-width: 40%;         /* slika zauzima oko 40% */
    height: auto;
  }

  .intro-square .texts {
    flex: 2;
    font-size: calc(16px + 0.5vw); /* skalira font prema širini ekrana */
  }
.machine-top {
text-align:center;
}
  /* Machine item */
  .machine-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .machine-item .machine-image {
    flex: 1;
    max-width: 50%;
  }

  .machine-item .assist-video {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .machine-item .assist-left {
    flex: 1;
    max-width: 50%;
  }

  .machine-item .assist-right {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }

  /* Da gornji deo (slika + assist) stoje u redu */
  .machine-item {
    display: flex;
    flex-direction: column;
  }

  .machine-item > .machine-image,
  .machine-item > .assist-video {
    display: inline-block;
    vertical-align: top;
  }

  .machine-item .machine-description {
    font-size: calc(14px + 0.4vw); /* skaliranje fonta opisa */
  }
}


