@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Quicksand:wght@300..700&display=swap');
*{
    box-sizing: border-box;
}
body {
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
}
/*------------------- HEADER SEKCIJA -------------------*/
header {
  border-bottom: 1px solid #ccc;
  background-color: white;
  border-bottom: red 1px solid;
  margin: center;
}
.logo{
    -outline: red dotted 2px;
    width: 120px;
    height: 60px;
    margin-left: 10px;
    margin-top: 5px;
    background-image: url('../img/mima-logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    object-fit: fill;
}
.nav-link, .dropdown-item{
    color: red;
    background-color: white;
}
.dropdown-item:active{
    background-color: red;
}




/*------------------- HERO SEKCIJA -------------------*/
.hero {
  background-image: url('../img/slider/slika1.png');
  background-size:cover;
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px 40px;
  margin: 3rem auto;
  border: 2px solid #aaa; /* pomoćni border da vidiš gdje je blok */
  opacity: 1;
  height: 440px;

  /*------slideshow efekt-----*/
  transition: background-image 0.5s ease-in-out;
}


.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  max-width: 700px;
  color: white;
}

.hero-text button:hover{
  background-color: red;
  border: red;
  color: white;
}

/*------------------- KATEGORIJE -------------------*/
.kategorije {
  display: flex;
  justify-content: center;
  gap: 4.6rem;
  padding: 3rem 1rem;
  flex-wrap: wrap;
  -outline: #933131 dotted 2px;
}
.kategorije p{
    color: red;
}
.kategorija {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  width: 300px;
}

.kategorija .slika1 {
  width: 280px;
  height: 280px;
  background-image: url('../img/Kuhinje/Kuhinje/cd722b11-15fe-4986-b64a-1937e9eafa81.JPG');
  background-repeat: no-repeat;
  background-size: cover;
  background-position:bottom-center;
  border: 2px solid #aaa;
  margin-bottom: 0.5rem;
}
.kategorija .slika2 {
  width: 280px;
  height: 280px;
  background-image:url('../img/Ormari/075d005d-d472-4562-a465-4a2438f72850.JPG') ;
  background-repeat: no-repeat;
  background-size: cover;
  background-position:bottom-center;
  border: 2px solid #aaa;
  margin-bottom: 0.5rem;
}
.kategorija .slika3 {
  width: 280px;
  height: 280px;
  background-image: url('../img/Kupatila/5c5736cd-cc00-456b-8ca3-65b675d542d1.JPG');
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center;
  border: 2px solid #aaa;
  margin-bottom: 0.5rem;
  
}
.kategorija .slika4 {
  width: 280px;
  height: 280px;
  background-image: url('../img/Ormari/7f9acacd-ef14-478a-ba29-35cf32dca5a2.JPG');
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center;
  border: 2px solid #aaa;
  margin-bottom: 0.5rem;
}

/*-------------- ANIMACIJE -----------*/
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease-out;
}

.slide-in-left.show,
.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}
/*------------------- FOOTER -------------------*/
.footer {
  background: red;
  margin-top: 40px;
  padding: 2rem 1rem;
  color: white;
}

.footer h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.footer ul li a{
    text-decoration: none;
    color: white;
}
.footer .row > div {
  margin-bottom: 1.5rem;
}

.footer .text-center {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.footer .col-md-3 ul{
    border-left: white 1px solid;
    padding-left: 10px;
    height: 120px;
}


/*------------------- MOBILNA VERZIJA -------------------*/
@media (max-width: 768px) {
  .kategorije {
    flex-direction: column;
    align-items: center;
  }

  .kategorija {
    width: 100%;
    max-width: 300px;
  }

  .kategorija .slika {
    width: 100%;
    height: 200px;
  }

    .hero {
    padding: 2rem 1rem;
    margin: 2rem 1rem;
  }

  .logo{
    -outline: red dotted 2px;
    padding: 30px;
    width: 100px;
    background-image: url('../img/mima-logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

  .hero h1 {
    font-size: 1.4rem;
  }
  .footer .row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }
  .footer .col-md-3{
    width: 50%;
  }
}
