 html{
scroll-behavior: smooth;

}
 
 /* Reset */
    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: 'Dosis', sans-serif;
      background: #fff;
      color: #222;
    }

    body::-webkit-scrollbar {
  display: none;
  }

  ::-webkit-scrollbar-button:horizontal:decrement:hover
{
  border-color: transparent #b4b1b1 transparent transparent;
}


/* Right */
::-webkit-scrollbar-button:horizontal:increment
{
  border-width: 7px 0 7px 30px;
  border-color: transparent transparent transparent black;
}

::-webkit-scrollbar-button:horizontal:increment:hover
{
  border-color: transparent transparent transparent #b4b1b1;
}

p{
color: black;
font-size: 18px;
text-align: justify;
font-family: "Dosis", sans-serif;
line-height: 1.6;
}

ul li{
    font-size: 20px;
    font-family: "Dosis", sans-serif;
}
li{
  line-height: 1.6;
}

* {
box-sizing: border-box; 
}

a{
text-decoration: none;
font-family: "Dosis", sans-serif;
}

.clear{
clear: both;
}


    /* ======= NAVIGACIJA ======= */
    header {
      position: fixed;
      top: 0; 
      width: 100%;
      background: rgba(0,0,0,0.6);
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;

     
    }


    .logo-header img {
    max-width: 100%;
    width: 270px;
    float: left;
    padding-left: 50px;
    margin-top: -30px;
    margin-bottom: -25px;
     }


nav{
padding-right: 65px;
position: fixed;
right: 0px;
z-index: 33333;
}

nav ul{
margin: 0 auto;
}


ul.nav-ul li {
list-style: none;
float: left;
}



.nav-color ul.nav-ul li a,
ul.nav-ul li a{
  display: block;
text-decoration: none;
font-size: 20px;
padding: 10px 10px;
font-weight: bold;
    background-image: linear-gradient(
  to right,
  #7d1315,
  #7d1315 50%,
  #fff 50%
);
background-size: 200% 100%;
background-position: -100%;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
transition: all .4s ease-in-out;
border: 3px solid transparent;
}

    .dropdown-icon{
display: none;
}

ul.nav-ul .dropdown-icon a,
.nav-color ul.nav-ul .dropdown-icon a{
font-size: 30px;
background-image: linear-gradient(
  to right,
  #7d1315,
  #7d1315 50%,
  white 50%
);
background-size: 200% 100%;
background-position: -100%;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
transition: all .4s ease-in-out;
}

ul.nav-ul .dropdown-icon a:hover{
  color: black;
  background-position: 0;
  }


ul.nav-ul li a:hover{
color: #7d1315;
background-position: 0;

}

/*code to change background color nav*/
.nav-ul>.active>a {
color: #7d1315;

}


.nav-color .solid-header,
.solid-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index:2222222;
  background-color: #030202;
  transition: background-color 0.5s ease-in-out;
 }

    /* ======= SLIDESHOW ======= */
    .slideshow {
      position: relative;
      width: 100%;
      height: clamp(500px, 70vh, 100dvh);
      overflow: hidden;

      background: #000; /* sprječava “prazan flash”  */
    }

    .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slide.active {
      opacity: 1;
    }

    
 #myBtn {
font-family: "Dosis", sans-serif;
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 999;
border: none;
outline: none;
background-color: #7d1315;
color: black;
cursor: pointer;
border-radius: 50%;
padding: 1px;
}

#myBtn:hover {
background-color: #aa7755;
color: black;
}



.copyright p{
text-align: center;
font-style: italic;
font-weight: 600;

}

.copyright a{
color: #7d1315;
}

.copyright a:hover{
color: #181616;
}



.o-nama-dropdown {
     margin: 0 auto;
    max-width: 100%;
    width: 1400px;
    background-color: white;
    border-radius: 8px;
    padding: 0px 80px 50px 80px;
}

.o-nama-dropdown p {
  font-size: 20px;
  letter-spacing: 1px;
}


.o-nama-dropdown h2, .proizvodi-dropdown h2{
font-size: 55px;
text-align: center;
padding-top: 40px;
padding-bottom: 40px;
}



.ideja-realizacija{
  text-align: center;
  width: 100%;
  padding: 40px;

}

.ideja-realizacija img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}




/* THUMB LINKOVI NA INDEX STRANICI*/


/* LINK */

#thumb {
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  
 
}
.thumb-link {
    position: relative;
    display: inline-block;
    margin: 30px;
    text-decoration: none;
    
}

/* KARTICA */
.oprema {
    position: relative;
    width: 240px;
    height: 270px;
    overflow: hidden;
    border-radius: 10px;
}

/* SVE SLIKE */
.oprema img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* POČETNA SLIKA */
.img-default {
    opacity: 0.5;
}

/* HOVER SLIKA */
.img-hover {
    opacity: 0;
}

/* HOVER PRELAZ SLIKA */
.thumb-link:hover .img-default {
    opacity: 1;
    transform: scale(1.05);
}

.thumb-link:hover .img-hover {
    opacity: 1;
    transform: scale(1.05);
}

/* TEKST PREKO SLIKE */
.oprema-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 22px;
    font-weight: bold;
    text-align: center;

    color: #000;
    padding: 16px 28px;

    border-radius: 12px;



    pointer-events: none;
    transition: all 0.5s ease;
}

/* HOVER TEKSTA */
.thumb-link:hover .oprema-text {
    color: #fff;
    border-color: #fff;
    background: rgba(0, 0, 0, 0.6);
}






/*BRENDOVI I DOBAVLJACI*/

.mobile-hide{
display: none;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 10%,
    white 90%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}


.scroller[data-speed="slow"] {
  --_animation-duration: 50s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}


.container-partners, .zastupnici, .usluge{ 
clear: both;
text-align: center;
padding-top: 40px;
letter-spacing: 4px;
}

.container-partners{
  border-top: 1px solid rgba(39, 33, 33, 0.774);
  border-bottom: 1px solid rgba(39, 33, 33, 0.774);
}


.container-partners h3, .usluge h3{
font-size: 33px;
padding-bottom: 50px;
}

.zastupnici h3{
  font-size: 33px;
}

.zastupnici{
  border-top: 1px solid rgba(39, 33, 33, 0.774);
  border-bottom: 1px solid rgba(39, 33, 33, 0.774) ;
}

.usluge h3{
font-size: 37px;
padding-bottom: 50px;
color: white;


}

.partners .images{
display: inline;
padding: 12px;

}

.partners .images img{
    display: inline-block;
width: 180px;

}

.container-partners .partners{
position: relative; 
margin: 4px, 4px;
padding: 4px;
background-color: white;

overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
}

.zastupnici .imageszastupnici {
  display: flex;
  flex-wrap: wrap;      
  align-items: center;
  justify-content: center; 
}



.zastupnici .imageszastupnici img {
  width: 200px;     /* prilagodi po potrebi */
  height: auto;
  padding: 10px;
}

.usluge{
  background-image: url(../images/IMG_3122.jpg);
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}



/*projektovanje, montaza, servis*/
.holographic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 30px;
}

.holographic-card {
  width: 240px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.5s ease;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.holographic-card h2 {
  color: white;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.holographic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #110606e3;
  z-index: 1;
}
.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(#2b2b2b)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px white;
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}


.holographic-card:hover {
  transform: scale(1.05);
}

.holographic-card:hover {
  background-size: 110%;
}




.footer {
  position: relative;
  background-image: url("../images/IMG_3042.jpg"); /* 👈 TVOJA SLIKA */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* PARALLAX */
  color: #ffffff;
  height: 350px;
}

/* Overlay da tekst bude čitljiv */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.904);
  z-index: 1;
}

/* Sadržaj iznad overlay-a */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer .footer-logo {
  max-width: 220px;
  margin: 0 auto;
   z-index: 2;
   position: relative;
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #7d1315;
}

.footer p,
.footer a {
  font-size: 18px;
  color: #e5e7eb;
  text-decoration: none;
  
  transition: 0.3s;
  text-align: center;
}

.footer a:hover {
  color: #7d1315;
}

.footer-col {
  position: relative;
  z-index: 2;
}

.social-icon i {
  font-size: 30px;
  color: #e5e7eb;
  padding: 10px 10px 0px 15px;
  transition: 0.3s;
}

.social-icon:hover i{
  color: #7d1315;
}

/* MAPA */
.map-container {
  width: 100%;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}








/*O NAMA*/

.o_nama_image {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden; 
}

.o_nama_image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  transform: scale(1.1);
  margin-top: 100px;
}

.slika::before {
  background-image: url("../images/onama.png");
}

.slika1::before {
  background-image: url("../images/Proizvodi/termoelementi.png");
}

.slika2::before {
  background-image: url("../images/Proizvodi/pranje.jpg");
}
.slika3::before {
  background-image: url("../images/Proizvodi/ledomat.webp");
}

.slika4::before {
  background-image: url("../images/Proizvodi/inox.png");
}

.slika5::before {
  background-image: url("../images/Proizvodi/pomocnikuhinjskiaparati.png");
}

.slika6::before {
  background-image: url("../images/Proizvodi/barskaoprema.png");
}

.slika7::before {
  background-image: url("../images/Proizvodi/dryager.png");
}

.slika8::before {
  background-image: url("../images/Proizvodi/sitniinventar.png");
}


#myHeader1 {
  background: black;           /* skroz crni */
  position: fixed;               /* da stoji gore */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}


/*LISTA*/
 .list {
  position: relative;
}

.list ul {
  position: relative;
}
.list ul li {
  position: relative;
  
  left: 0;
  list-style: none;
  margin: 20px 0;
  border-left: 12px solid #7d1315;
  border-radius: 8px;
  transition: 0.5s;
  cursor: pointer;
  font-size: 20px;
   font-family: "Dosis", sans-serif;
   font-weight: bold;
   display: block;
}
.list ul li:hover {
  left: 10px;
}

.list a {
  color: #222222;
}
.list ul li span {
  position: relative;
  padding: 8px;
  padding-left: 12px;
  display: inline-block;
  z-index: 1;
  transition: 0.5s;
  letter-spacing: 1px;
 
}
.list ul li:hover span {
  color: #ffffff;
}
.list ul li:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
    background:
    url("../images/logo50x50.png") right center / 50px no-repeat,
    linear-gradient(to right, #7d1315, transparent);

  transform: scaleX(0);
  transform-origin: left;
  transition: 0.5s;
}

.list ul li:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;


  transform: scaleX(0);
  transform-origin: left;
  transition: 0.5s;
}

.list ul li:hover:before {
  transform: scaleX(1);

}

/*REFERENCE*/

/* 🔴 TAMNA SEKCIJA */
.nasereference {
   background: linear-gradient(135deg, #000000, #1a1a1a, #0f0f0f);
    padding: 60px 40px;
}



/* 🔴 GRID LOGOTIPA */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    align-items: center;
    padding-top: 0px 40px;
}

/* 🔴 LOGO */
.logo-grid img {
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.4s ease;
}

/* 🔴 HOVER */
.logo-grid img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.cta-btn,
.cta-btna {
  position: relative;
  z-index: 1;
text-align: center;
  display: inline-block;
  width: 100%;
  max-width: 300px;
  padding: 16px 20px;

  background: linear-gradient(135deg, #7d1315, #7d1315);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;

  border-radius: 10px;
  border: none;

  box-shadow: 0 8px 25px rgba(239, 65, 94, 0.4);

  transition: all 0.3s ease;
}

/* hover = premium osjećaj */
.cta-btn:hover,
.cta-btna:hover {
  transform: translateY(-3px) scale(1.02);

}

/* mali sjaj preko dugmeta */
.cta-btn::after,
.cta-btna::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.8s;
}

.cta-btn:hover::after,
.cta-btna:hover::after {
  left: 130%;
}






.zatraziponudu {
  padding: 30px 20px;
    height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.zatraziponudu p{
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.zatraziponudu p,
.cta-btna {
  opacity: 0;
  transform: translateY(20px);
}


/* Aktivacija animacije */
.zatraziponudu.show p {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.zatraziponudu.show .cta-btna {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Animacija */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*POSALJI UPIT FORMA*/


.contact-container {
max-width: 100%;
border-radius: 8px;
padding: 40px;

margin: 0 auto;

}

.contact-container h3{
color: #7d1315;
text-align: center;
font-size: 25px;
}

.contact-class input[type=text], textarea {
width: 100%;
padding: 6px;
background-color: #f0f0f0;
border: 1px solid black;
border-radius: 6px;
font-size: 17px;
margin-top: 2px;
margin-bottom: 15px;
}

.contact-class textarea{
height: 100px;
}


.contact-class input[type=submit] {
width: 100%;;
padding: 12px;
border-radius: 6px;
cursor: pointer;
font-size: 17px;
letter-spacing: 1px;
background-color: white;
border: 3px solid #7d1315;
transition-duration: 0.4s;
font-weight: 600;
}


.contact-class input[type=submit]:hover {
background-color: #7d1315;
  color: white;
}

.contact-class input[type=submit]:active{
transform:scale(.97);
background:#7d1315;
color:white;
box-shadow:inset 0 3px 8px rgba(0,0,0,.2);
}

p#securityCodeDisplay{
  font-size: 18px;
}

.f-p-lice label{
color: black;
font-size: 18px;
font-style: italic;
}

.f-p-lice p{
color: white;
text-align: center;
background-color: #7d1315;
padding: 10px;
border-radius: 8px;
cursor: pointer;
padding: 15px;
margin-bottom: 30px;


position:relative;
transition:all .35s ease;
cursor:pointer;
}

.f-p-lice p#securityCodeDisplay, .f-p-lice p#securityCodeDisplay1{
  background-color: white;
  color: black;
  padding: 0px;
}


#fiz-lice-form, #prav-lice-form{
margin: 0 auto;
display: none;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

padding-top: 20px;
background-color: white;
}

.f-p-lice {
  display: flex;            /* Aktivira flexbox */
  justify-content: space-between; /* Pravi razmak između leve i desne strane */
  gap: 40px;                /* Razmak između kolona */
  padding: 20px;
}

.strana {
  flex: 1;                  /* Obe strane će zauzimati jednako prostora (50-50) */
  min-width: 300px;         /* Sprečava da postanu preuske na manjim ekranima */
}



/* hover efekat */
.naslov-klika:hover{
color:#7d1315;
transform:translateY(-2px);
text-shadow:0 4px 12px rgba(125,19,21,.18);
color: white;
}

/* animirana linija ispod */
.naslov-klika::after{
content:"";
position:absolute;
left:50%;
bottom:-6px;
width:0;
height:2px;
background:#7d1315;
transition:all .35s ease;
transform:translateX(-50%);
border-radius:5px;
}

.naslov-klika:hover::after{
width:80%;
}




/* =========================
   📱 MOBILE TAP (ACTIVE) za thumb rashlada, pranje itd.
========================= */

.thumb-link:active .img-default {
    opacity: 1;
    transform: scale(1.05);
}

.thumb-link:active .img-hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumb-link:active .oprema-text {
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
}


/* =========================
   📱 DISABLE HOVER NA TOUCH
========================= */

@media (hover: none) {
    .thumb-link:hover .img-default,
    .thumb-link:hover .img-hover {
        opacity: initial;
        transform: none;
        background: transparent;
    }
}

/* =========================
   ⚡ SMOOTH TRANSITION FIX
========================= */

.oprema img,
.oprema-text {
    transition: all 0.3s ease;
}


/* 📱 TAP EFEKAT ZA MOBITEL za liste u proizvodima*/
.list ul li:active {
    background-color: #7d1315;
    color: #fff;
    transform: translateX(10px);
    border-left: 12px solid #fff;
}

/* glatka animacija */
.list ul li {
    transition: 0.5s ease;
}

@media (hover: none) {
    .list ul li:hover {
        background: transparent;
        color: inherit;
        transform: none;
    }
}