/* Aktivni thumb (selektovana slika) */

h1 {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 150px;
  font-size: 48px;
  font-family: 'Roboto Serif', serif;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;

}

.thumb.active {
  outline: 3px solid #d1bfa3;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 8px 2px #d1bfa333;
  z-index: 1;
}
@media (max-width: 700px) {
  .thumb-arrow {
    display: none !important;
  }
}
/* Kontejner za slider i strelice */
.thumbs-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 630px;
  margin: 0 auto 0 auto;
  position: relative;
}
/* Toast notification - single rule, desktop and mobile responsive */
#toast-notification {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  width: 270px;
  max-width: 90vw;
  height: 120px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  border: 2px solid #d1bfa3;
}

#toast-notification.show {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}

#toast-notification:not(.show) {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#toast-message {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-left: 0;
}

@media (max-width: 600px) {
  #toast-notification {
    width: 90vw;
    height: 80px;
    border-radius: 16px;
    padding: 0;
  }
  #toast-message {
    font-size: 15px;
    margin-top: 0;
    margin-left: 0;
    padding: 0 8px;
  }
}
/* .texture-palette {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 18px 0 0 0;
    flex-wrap: nowrap;
  padding: 8px 0 0 0;

  .texture-swatch {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .texture-swatch:hover {
    transform: none;
  }
  min-height: 48px;
/* } */ 

.texture-swatch.active,
.texture-swatch:focus {
  /* border: 2.5px solid #222; */
  box-shadow: 0 0 0 2px #bdbdbd;
  
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  scroll-behavior: smooth;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  display: block;
  overflow-x: hidden;
  gap: 14px;
  margin: 0;
}


body.sofe-zemi {
    background:
    linear-gradient(
      160deg,
      rgba(0, 0, 0, 0) 5%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0) 60%
    ),
    #f9f9f9; /* bazna boja */

    background-repeat: no-repeat;
background-size: 100% 100vh;
}

body.modal-open {
  overflow: hidden;
}

.navbar > a {
  margin-left: 60px;
  display: flex;
  align-items: center;
}

/* Navbar border animacija moze da se ukloni ----------------------------------------------------------------------------*/
.navbar-animated {
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateY(-100%);
  animation: slideDown 1.2s ease-out forwards;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 3px;
  right: 0;

  width: min(1500px, calc(100% - 32px));
  margin: 16px auto;

  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;

  padding: 14px 22px;
  border-radius: 50px;
  padding-left: 20px !important;

  background-color: rgba(223, 220, 205, 0.6);
  backdrop-filter: blur(5px);
  transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.navbar.hide {
  transform: translateY(-140%);
}

.navbar .logo {
  height: 70px;
  width: auto;
}

.navbar .logo {
  margin-left: 20pxpx;
}

.navbar .btn.black.open-offer {
  margin-right: 8px;
  width: 19%;
  left: 10px;
}

.nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-right: 20px;

}

.hamburger {
  display: none;
  width: 30px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: 15px;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #313133;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.buttons .btnKolekcija {
  background-color: #fff;
  color: #313133;
  border: none;
  max-width: 600px;
  width: 100%;
  border-radius: 20px;
  padding: 16px 32px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  width: 40%; /* Added to match open-offer button width */
}

.buttons .btnKolekcija:hover {
  background-color: #e6e6e6;
  color: #313133;
}

@media (max-width: 1440px) {
  .navbar .logo {
    margin-left: 0 !important;
  }
}

@media(min-width: 1024px) {
  .logo-link {
    margin-right: auto;
    margin-left: 0;
    transform: translateX(-40px);
  }
  
  .nav-links a { 
    margin-left: 3px;
  }

  .navbar {
    justify-content: flex-start !important;
  }
}

/* Tablet media upit */
@media (max-width: 1024px) {
  /* 1. Sakrivamo običnu navigaciju i prikazujemo hamburger ikonicu */
  .nav-links {
    display: none; /* Sakriveno dok se ne klikne na hamburger */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 60%; /* Na tabletu meni zauzima manje širine nego na telefonu */
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 100px 40px;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  }

  /* 2. Prikaz liste kada je klasa .active dodata preko JS */
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 20px 0;
    text-align: left;
  }

  .nav-links a {
    font-size: 22px; /* Veći font za tablet */
    color: #313133;
    font-weight: 500;
  }

  /* 3. Prikaz hamburger ikonice (ako je bila sakrivena na desktopu) */
  .hamburger {
    display: block !important;
    cursor: pointer;
    z-index: 1000;
  }

  /* 4. Overlay efekat (opciono) */
  .nav-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .buttons {
    flex-direction: row; /* Na tabletu neka stoje jedno pored drugog */
    width: 80%;
    gap: 20px;
  }

  .buttons .btn, 
  .buttons .btnKolekcija {
    flex: 1;
    padding: 16px 0;
  }

  /* Tablet media upit */
@media (max-width: 1024px) {
  /* 1. Sakrivamo običnu navigaciju i prikazujemo hamburger ikonicu */
  .nav-links {
    display: none; /* Sakriveno dok se ne klikne na hamburger */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 60%; /* Na tabletu meni zauzima manje širine nego na telefonu */
    height: 100vh;
    background: #8b6b4e;
    backdrop-filter: blur(10px);
    padding: 100px 40px;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  }

  /* 2. Prikaz liste kada je klasa .active dodata preko JS */
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 20px 0;
    text-align: left;
  }

  .nav-links a {
    font-size: 22px; /* Veći font za tablet */
    color: #313133;
    font-weight: 500;
  }

  /* 3. Prikaz hamburger ikonice (ako je bila sakrivena na desktopu) */
  .hamburger {
    display: block !important;
    cursor: pointer;
    z-index: 1000;
  }

  /* 4. Overlay efekat (opciono) */
  .nav-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
  }
}
}

.logo-link {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.nav-links a {
  text-decoration: none;
  color: #313133;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  transition: color 0.25s, transform 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a:hover {
  color: #8b6b4e; /* bronze highlight */
  transform: translateY(-2px) scale(1.08);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.navbar .btn.black.open-offer {
  white-space: nowrap;
}

.nav-links.show {
  display: flex;
}

.nav-offer-link {
  display: none;
}

/* Hero section -------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

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

/* intro ---------------------------------------------------------------------*/
.intro-text {
  text-align: center;
  padding: 120px 24px 100px;
  max-width: 800px;
  margin: 0 auto;
}

.intro-text h1 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.intro-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  margin-bottom: 48px;
}

/* Dugmad */
.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.about {
  background-color: #DFDCCD;
  padding: 120px 24px;
  text-align: center;
}

.about h2 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-weight: 400;
  color: rgba(49, 49, 51, 0.7);
  margin-bottom: 32px;
}

.about p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 24px auto;
}


/* KOLEKCIJA ---------------------------------------------------------------------*/

/* Kolekcija sekcija */
.kolekcija {
  padding: 50px 24px;
  text-align: center;
  background-color: #ffffff;
  
}

.kolekcija h2 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-weight: 400;
  color: rgba(49, 49, 51, 0.7);
  margin-bottom: 50px;
  
}

.kolekcija p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  margin-bottom: 50px;
}

/* Grid layout */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}


/* Grid item */
.item {
  position: relative;
  width: 600px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

/* Slika mora da se popuni */
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%; /* 👈 ključna linija */
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 20px;
}

/* Hover overlay */
.overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  pointer-events: none;
  overflow: hidden;
}


.item:hover .overlay {
  opacity: 1;
  pointer-events: auto;
}

.item:hover img {
  filter: blur(1px);
  transform: scale(1.02);
}



/* Dugme unutar hover */
.btn-hover {
  padding: 12px 24px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 24px;
  text-decoration: none;
  background-color: transparent;
  transform: translateY(100%);
  opacity: 0;
transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;}

.item:hover .btn-hover {
  transform: translateY(0);
  opacity: 1;
}


.btn-hover:hover {
  opacity: 1;
  transform: translateY(-4px) !important;
  background-color: #fefae0; /* Boja brenda na hover */
  color: black !important; /* Beli tekst na hover */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2); /* Jača senka pojačava utisak lebdenja */  border: 0;
}

.category-label {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -150%);
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 2px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 5;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  opacity: 0;
  color: #fff;
}

.item:hover .category-label {
  opacity: 1;
  transform: translate(-50%, -100%);
}

/* tri kolone tekst ---------------------------------------------------------------------*/

.prednosti {
  background-color: #DFDCCD;
  padding: 100px 24px;
}

.grid-prednosti {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.kartica {
  flex: 1 1 300px;
  max-width: 320px;
}

.kartica h3 {
  font-family: 'Roboto Serif', serif;
  font-size: 24px;
  font-weight: 400;
  color: rgba(49, 49, 51, 0.7);
  margin-bottom: 50px;
}

.kartica p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
}



/* kontaktirajte naaas ---------------------------------------------------------------------*/

.cta-section {
  background-color: #313133;
  text-align: center;
  padding: 100px 24px;
}

.cta-section h2 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  font-weight: 400;
  color:rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
}

.cta-section p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(223, 220, 205, 0.5); /* svetla, ali ne prejaka */
  max-width: 640px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}
/*
.cta-button-white {
  display: inline-block;
  width: 304px;
  padding: 16px 24px;
  background-color: #ffffff;
  color: #313133;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button-white:hover {
  background-color: #e5e2d5;
}
*/



/* uslovi koriscenja ------------------------------------------------------- */
.terms {
  background-color: #ffffff;
  padding: 100px 24px;
}

.terms-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  transform: translateX(-10px); /* pomeriš sadržaj levo ručno */
}

.terms-inner h3 {
    
  font-family: 'Roboto Serif', serif;
  font-size: 20px;
  font-weight: 1000;
  color: #313133;
  margin-bottom: 24px;
}

.terms-inner p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #313133;
  line-height: 1.6;
}









.site-footer {
  background-color: #DFDCCD;
  padding: 80px 24px;
  color: #313133;
  font-family: 'Inter', sans-serif;
  width: 100vw;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  justify-content: space-between;
}

.footer-container h4,
.logo,
.footer-logo {
  cursor: pointer;
  transition: 0.2s ease;
}

.footer-container h4:hover {
  opacity: 0.7;
}

.footer-brand {
  flex: 1 1 280px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 16px;
  color: rgba(49, 49, 51, 0.7);
  margin-bottom: 24px;
  line-height: 1.5;
}

.footer-socials a img {
  width: 24px;
  margin-right: 16px;
  transition: opacity 0.3s;
}

.footer-socials a:hover img {
  opacity: 0.7;
}

.footer-columns {
  display: flex;
  gap: 64px;
  flex: 2 1 600px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-columns h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color:rgba(49, 49, 51, 0.5);
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-columns a {
  text-decoration: none;
  color: rgba(49, 49, 51, 0.7);
  font-size: 15px;
  transition: color 0.3s;
}

.footer-columns a:hover {
  color: #8b6b4e;
}

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



/*sofe.html KRECU PRVA STRANICA-------------------- */

.sofe-section {

  padding: 150px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.sofe-title {
   font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.sofe-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.sofa-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.sofa-card {
   text-decoration: none;   /* uklanja underline */
  color: inherit;          /* zadržava boje teksta */
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.sofa-card img {
  height: 400px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.sofa-content {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sofa-name {
  font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.sofa-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.sofa-size {
  font-size: 14px;
  color: #888;
}

@media screen and (max-width: 1300px) {
  .sofa-cards {
    flex-direction: column;
    align-items: center;
  }
}




/*Fotelje.html KRECU PRVA STRANICA-----                 --------------- */


.fotelje-section {

  padding: 150px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.fotelje-title {
   font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.fotelje-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.fotelje-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.fotelje-card {
   text-decoration: none;   /* uklanja underline */
  color: inherit;          /* zadržava boje teksta */
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.fotelje-card img {
  object-position: center 70%;
  height: 400px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.fotelje-content {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fotelje-name {
  font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.fotelje-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.fotelje-size {
  font-size: 14px;
  color: #888;
}

@media screen and (max-width: 1300px) {
  .fotelje-cards {
    flex-direction: column;
    align-items: center;
  }
}



/*Garniture.html KRECU PRVA STRANICA-----                 --------------- */


.garniture-section {

  padding: 150px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.garniture-title {
   font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.garniture-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.garniture-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.garniture-card {
   text-decoration: none;   /* uklanja underline */
  color: inherit;          /* zadržava boje teksta */
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.garniture-card img {
  height: 400px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.garniture-content {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.garniture-name {
  font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.garniture-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.garniture-size {
  font-size: 14px;
  color: #888;
}

@media screen and (max-width: 1300px) {
  .garniture-cards {
    flex-direction: column;
    align-items: center;
  }
}


/*Kreveti kreveti.html KRECU PRVA STRANICA-----                 --------------- */


.kreveti-section {

  padding: 150px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.kreveti-title {
   font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.kreveti-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.kreveti-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.kreveti-card {
   text-decoration: none;   /* uklanja underline */
  color: inherit;          /* zadržava boje teksta */
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.kreveti-card img {
  object-position: center 70%;
  height: 400px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.kreveti-content {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kreveti-name {
  font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.kreveti-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color:rgba(49, 49, 51, 0.5);
}

.kreveti-size {
  font-size: 14px;
  color: #888;
}

@media screen and (max-width: 1300px) {
  .kreveti-cards {
    flex-direction: column;
    align-items: center;
  }
}



/*sofe-zefi.html KRECU PRVA STRANICA----------------------------------------------------------------------------------------------------- */

.product-detail {
  padding: 150px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.back-link {
  display: flex;
  margin-bottom: 30px;
  font-size: 16px;
  text-decoration: none;
  gap: 15px;
  color: #555;
}

.product-content {
  display: flex;
  flex-wrap: wrap;
  gap: 140px;
}

.product-images {
  flex: 1;
  width: 100%;
  max-width: 650px;
}
.product-images.fotelje img{
  object-position: center 70%;

}



/* Glavna slika */
.main-image {
  width: 100%;
  height: 455px;
  max-width: 630px;
  max-height: 455px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease-in-out;
}

/* Thumbnail wrapper sa scroll-om za max 3 slike */
.thumbnail-wrapper {
  width: 90%;
  max-width: 520px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.thumbnail-viewport {
  width: 100%;
  overflow: hidden;
}

.thumbnail-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s cubic-bezier(.4,1.3,.6,1);
  will-change: transform;
}


/* Sakrij scroll bar jer koristimo strelice */
.thumbnail-wrapper::-webkit-scrollbar,
.thumbnail-wrapper::-webkit-scrollbar-thumb {
  display: none;
}
/* Strelice za slider */
.thumb-arrow {
  background: transparent;
  border: none;
  font-size: 3rem;
  width: 56px;
  height: 56px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s cubic-bezier(.4,1.3,.6,1);
  color: #222;
  padding: 0;
}
.thumb-arrow:hover {
  color: #888;
  background: transparent;
  transform: scale(1.2);
}
.thumbs-slider-container {
  position: relative;
}
.thumb-arrow.left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.thumb-arrow.right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Thumbnail slika */
.thumb {
  width: 200px;
  height: 163px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumb:hover {
  transform: scale(1.05);
  opacity: 0.85;
}









/* Desni deo sa opisom */
.product-info {
  flex: 1;
  max-width: 520px;
  width: 100%;
  margin-left: 0px;
}

.product-title {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 40px;
}

.product-description {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  margin-bottom: 48px;
  
}

/* Dimenzije proizvoda */
.dimensions-card {
  width: 100%;
  height: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  padding: 45px;
  margin-bottom: 40px;
}

.dimensions-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
   font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 90%);
  line-height: 1.6;
  
  
}

/* Dugmad Zatrazi ponudu i */
.action-buttons {
  display: flex;
  gap: 20px;
}
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 20px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 304px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  display: inline-block;
  cursor: pointer;
}

/* 🖤 Crno dugme */
.btn.black {
  background-color: #313133;
  color: #fff;
}

.btn.black:hover {
  background-color: #000;
}

/* 🖤 Specijalno crno dugme u headeru (manje padding) */
.btn.black.hed {
  padding: 10px 20px;
  background-color: #313133;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  border-radius: 20px;
  transition: background-color 0.3s;
  width: 170px;
  
}
.btn.black.hed:hover {
  background-color: #000;
}

/* ⚪ Belo dugme */
.btn.white {
  background-color: #fff;
  color: #313133;
  border: 1px solid #ccc;
}

.btn.white:hover {
  border-color: #000;
  color: black;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 90%;
    max-width: 400px; /* Ograničavamo širinu da ne budu predugačka */
    margin: 0 auto;   /* Centriranje celog bloka */
    position: relative; /* Ili absolute ako ih fiksiraš preko GIF-a */
    bottom: 20px;
  }

  /* Ciljamo oba dugmeta istovremeno da bi bila identična */
  .buttons .btn, 
  .buttons .btnKolekcija {
    width: 100% !important; /* Forsiramo punu širinu kontejnera */
    box-sizing: border-box; /* Ključno: uključuje padding u širinu od 100% */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;        /* Isti vertikalni razmak za oba */
    border-radius: 50px;    /* Identično zaobljenje */
    font-size: 16px;
    text-align: center;
    margin: 0;              /* Resetujemo margine */
    border: 2px solid transparent; /* Da imaju istu strukturu okvira */
  }

  /* Specifični stilovi za boje ako ih već nemaš definisane */
  .buttons .btn.black {
    background-color: #313133;
    color: white;
  }

  .buttons .btnKolekcija {
    background-color: white;
    color: #313133;
    border-color: #313133; /* Opciono, za bolju definiciju */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Suptilna senka */
  }


@media (max-width: 480px) {



  .hero {
    height: 230px;
    /* min-height: 350px; */
    overflow: hidden;
    position: relative;
  }

  .hero-img {
    object-position: center;
    object-fit: cover;
    object-position: center;
  }

  .gif-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }

  .about-image {
    flex: 0 0 100%;
    height: auto;
    width: 100%;
    max-width: 100%;
    margin: 1px auto;
  }

  .about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .process-section {
    padding: 10px 20px;
  }

  .process-image {
    flex: 0 0 100%;
    height: auto;
    margin-top: 1px;
    margin-bottom: 1px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
  }

  .process-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
  }

  .about-container,
  .process-container {
    flex-direction: column;
    align-items: center;
  }

  .about-text h3, .process-text h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .product-detail {
    padding: 120px 20px 40px;
  }

  .product-title {
    font-size: 28px;
  }

  .product-description {
    font-size: 16px;
  }

  .dimension-grid {
    grid-template-columns: 1fr;
  }

  .content-box {
    height: 360px;
  }

  .navbar 

  .nav-links {
    padding-top: 20px; 
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;

    flex-direction: column;
    /* padding: 80px 20px 30px 20px; */
    padding-top: 50px;
    gap: 9px;
    background-color: #f1ede4;

    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

    .logo-link, .hamburger {
      position: relative;
      z-index: 1001;
    }

    .nav-links a {
        font-size: 14px; /* Malo manji font da sve stane bez skrolovanja */
         /* Manji vertikalni razmak */
    }

    /* Poseban stil za novo "Zatraži ponudu" dugme unutar menija */
    .nav-links .nav-offer-btn {
        background-color: #8b6b4e; /* Boja sajta */
        color: #fff !important;
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 15px; /* Razmak od ostalih linkova */
        font-weight: 600;
        width: 90%; /* Da dugme lepo izgleda */
    }
}
  .modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.55);
  }
  .modal-overlay.active {
    display: flex;
  }
   .modal {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 550px;
  height: 650px;
  overflow-y: auto;
  padding: 10px 20px;
  position: relative;
  box-sizing: border-box;

  /* DODATO za centriranje sadržaja unutar modala */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


    .close-btn {
      position: absolute;
      top: 16px;
      right: 20px;
      font-size: 24px;
      color: #555;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    .close-btn:hover {
      color: #000;
    }
    .modal h2 {
      margin-top: 8px;
      font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  margin-bottom: 8px;
    }
    .modal p.lead {
      font-size: 14px;
      color: #777;
      margin-bottom: 15px;
    }
    .form-row {
      display: flex;
      gap: 20px;
    }
    @media (max-width: 520px) {
      .form-row {
        flex-direction: column;
      }
    }
    .form-group {
      text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}




    .btn.black.ponuda{
      width: 100%;
  max-width: 100%;
  padding: 10px 24px;
  margin-top: 5px; /* ovo ga spušta niže */
  text-align: center;
}
      
    .contact-info {
      margin-top: 10px;
      font-size: 14px;
      color: #aaa;
      text-align: center;
    }
    .contact-info a {
      color: #aaa;
      text-decoration: none;
      margin: 0 8px;
    }
    .contact-info a:hover {
      color: #777;
    }
/*
Specijalno za prozor koji iskace kada pritisnemo ZATRAZI PONUDU-------------------------------------------------------------------------------
*/




/*
3D modeli prikazivanje-------------------------------------------------------------------------------------------------------------------------
*/

.tabs-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;         /* ✅ ovo centriranje po širini */
  display: flex;
  flex-direction: column;
  align-items: center;      /* ✅ sve unutar kontejnera centrirano */
  margin-bottom: 40px;
  margin-top: 3px;
  ;
}



/* .model-viewer#myModel {
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
} */


.tabs {
  display: flex;
  gap: 20px;
  margin: 0 auto 20px;
  width: 100%;
  max-width: 1000px; /* ✅ ista širina kao content-box */
  justify-content: center;
}



.tab {
  flex: 1;
  text-align: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: none;
  font-family: 'Inter', sans-serif;
}

.tab.active {
  background: #2b2b2b;
  color: #fff;
}

.content-box {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  padding: 20px;
  height: 500px;
  width: 100%;            /* ✅ popuni širinu kontejnera */
  max-width: 1300px;      /* ✅ ograničenje širine */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 20px;
  margin-top: 20px;
}

.content-view {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  animation: fadeInTabe 0.4 ease-in-out;
  overflow: hidden;

}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-view.active {
  display: flex !important;
  flex-direction: column;
  /* opacity: 1; */
  align-items: center;
  justify-content: center;
}

.content-view#tab-3d.active {
  min-height: 420px;
  height: 480px;
  
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
}

/* Samo za 3D model unutar 3D taba: razvuci maksimalno */
#tab-3d model-viewer {
  width: 100%;
  max-width: 800px;
  height: 340px;
  min-height: 280px;
  background: #fff;
  border-radius: 20px;
  margin: 0 auto 18px auto;
  display: block;
  align-self: center;
}


.model-viewer {
  width: 100%;
  height: 100%;
 /* background: transparent;*/
  background-color: #ffffff;
  border-radius: 20px;
  
}

.technical-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: zoom;
}

.text-box {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  padding: 20px;
  text-align: left;
}


/* za dugmeee;*/
.download-wrapper {
  position: absolute;
  bottom: 25px;
  left: 50%;                      /* pomeri na sredinu... */
  transform: translateX(-50%);    /* ...i poravnaj centar */
}

.download-wrapper:hover {
  
  color: white;
}

.download3d-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: #555;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.download3d-btn:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  color: white;
  background-color: #8b6b4e;
}

/*
3D modeli prikazivanje---------------------------------------------------------------------------------------------------------------
*/

.texture-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.tex-btn {
  padding: 10px 18px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tex-btn:hover {
  background: #f3f3f3;
}

.tex-btn.active {
  border-color: #000;
  font-weight: 600;
}


/*
o NAMA stranica-----------------------------------------------------------------------------------------------------------------
*/
.about-section {

  padding: 150px 40px 0px;
  background-color: #fff;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 0px;
  text-align: center;
}

.about-intro h2 {
 font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 10px;
}

.about-intro p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  margin-bottom: 10px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-image {
  flex: 0 0 650px;
  height: 600px;
  border-radius: 16px;
  background-color: #b3b3b3;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.about-text {
  flex: 1;
  max-width: 500px;
}

.about-text h3 {
 font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.about-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  margin-bottom: 48px;
}


/* Statistika */
.stats-section {
  background-color: #e7e3d5;
  padding: 60px 20px; ;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-box {
  text-align: center;
  padding: 50px;
}

.stat-box h3 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51,);
  font-weight: 400;
  margin-bottom: 24px;
  font-size: 40px;
  color: #333;
  
}

.stat-box p {
  font-size: 16px;
  color: #555;
}




/* Naše Vrednosti */
.values-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.values-section h2 {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 80px;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.value-box {
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  flex: 1 1 calc(25% - 20px);
  min-width: 250px;
}

.value-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.value-box h4 {
  font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 10px;
}

.value-box p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(49, 49, 51, 0.5);
  line-height: 1.6;
  margin-bottom: 5px;
}


/*Donji deo pre zakazi ponudu zatrazi*/

.process-section {
  background-color: #e7e3d5;
  padding: 80px 25px;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 0 24px;
  justify-content: space-between;
  gap: 200px;
}

.process-text {
  flex: 1;
  font-family: sans-serif;
  text-align: center;
}

.process-text h1 {
  margin-top: 0;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  text-decoration: underline;
}

.process-step {
  margin-bottom: 25px;
}

.process-step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 5px;
}

.process-step p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  margin-bottom: 5px;
}

.process-image {
  flex: 0 0 650px;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  align-items: center;
  display: flex;
  justify-content: center;

}

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

.process-main-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
}

.image-placeholder {
  position: absolute;
  top: 30px;
  right: -30px;
  width: 100%;
  height: 100%;
  background-color: #DFDCCD;
  z-index: 1;
}
/*
o NAMA stranica----------------------------------------------------------------------------------------------
*/






/*
download stranica--------------------------------------------------------------------------------------------
*/

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  margin-top: 150px;
}

#model-container {
  width: 100%;
  height: 500px;
  display: block;
}


.download-title{
font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(49, 49, 51, 0.7);
  font-weight: 400;
  margin-bottom: 40px;

  
}


.description {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  margin-bottom: 80px;
}



.resource-card {
  position: relative;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 80px;
}

.gif-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
}

.gif-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resource-content h3 {
   font-family: 'Roboto Serif', serif;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 400;
  margin-bottom: 20px;
}

.resource-content p {
   font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

.details {
  font-size: 14px;
  color: #999;
}

.details .dot {
  margin: 0 0px;
}

.download-btn {

  justify-content: center;  /* Centriraj horizontalno */
  align-items: center;      /* Centriraj vertikalno */
  display: flex;
  text-decoration: none;
  background-color: #2c2c2c;
  color: white;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 500;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  
}
.download-btn:hover{

   background-color: #000;
   color:white;
}

.search-section {
  max-width: 1400px;
  margin: auto;
}

.search-section h2 {
  font-family: 'Roboto Serif', serif;
  font-size: 32px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 400;
  margin-bottom: 20px;
}

#searchInput {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.product-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.product-info h3 {
  font-family: 'Roboto Serif', serif;
  font-size: 18px;
  color: rgba(0, 0, 0, 1);
  font-weight: 400;
  margin-bottom: 20px;
}
.product-info p{
font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  margin-bottom: 20px;

}

.tag {
  background-color: #7a6341;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 10px;
}

.file-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.file-btn {
  background-color: #7a6341;
  color: white;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-family: 'Roboto Serif', serif;
  text-decoration: none;
}

.file-btn:hover {
  background-color: #5e4d33;
  transition: transform 0.4s ease;
  transform: scale(1.1);
}

#productList {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 500px;
  min-height: 500px;  /* Fiksna visina i kada je prazno */
  gap: 20px;
  padding-right: 10px;
  position: relative;
  margin-bottom: 80px;
}

.product-card {
  flex: 0 0 auto;                /* ne širi se */
  min-width: 500px;             /* širina kartice */
  scroll-snap-align: start;     /* poravnanje kartica */
}


/*
download stranica----------------------------------------------------------------------------------------------
*/


/*
kontakt stranica----------------------------------------------------------------------------------------------
*/

/* Reset & Osnovno */
.kontaktupit-container {
  display: flex;
  justify-content: center;   /* centriranje oba boxa horizontalno */
  padding: 40px;
  gap: 60px;
  flex-wrap: wrap; /* dodatno: na manjim ekranima ide jedan ispod drugog */
}

/* Glavni box */
.kontaktupit-box {
  background-color: white;
  width: 700px;
  height: 700px;
  overflow-y: auto; /* omogući skrol ako sadržaj pređe visinu */
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Naslov i opis */
.kontaktupit-title {
  font-family: 'Roboto Serif', serif;
  font-size: 40px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 400;
  margin-bottom: 60px;
  text-align: center;
}

.kontaktupit-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Forma */
.kontaktupit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.kontaktupit-row {
  display: flex;
  gap: 20px;
}

.kontaktupit-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 12px !important;
}

.kontaktupit-group label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 5px;
}

.kontaktupit-group input,
.kontaktupit-group textarea {
  padding: 10px 20px;
  border: none;
  border-radius: 24px;
  background-color: #f2f2f2;
  font-size: 16px;
   box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  resize: none;
}

.kontaktupit-group textarea {
  height: 120px;
  border-radius: 16px;
}

/* Dugme */
.kontaktupit-button {
  background-color: #2c2c2c;
  color: white;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  align-self: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.kontaktupit-button:hover {
  background-color: #000000;
}

.kontaktinfo-box {
  background-color: white;
  width: 600px;
  min-height: 600px;
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0px;
}

.kontaktinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

.kontaktinfo-icon {
  width: 80px;
  height: 80px;
  background-color: #84735F;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kontaktinfo-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.kontaktinfo-text h4 {
  margin: 0 0 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  
}

.kontaktinfo-text p {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.navbar .logo {
  height: 70px;
  margin-left: 12px;
}

.mapa-container {
  max-width: 1200px; 
  margin: 40px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (max-width: 1023px) {
  
  .navbar {
    padding: 10px 20px;
    min-height: 60px;
  }
  
  .hamburger {
    display: flex !important;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width:100%;
    height: 100vh;
    display: flex;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    transition: 0.5s ease-in-out;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    gap: 20px;
    font-size: 22px;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links a{
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    color: #313133;
  }
  
  .mobile-only-link {
    display: block !important;
    font-weight: bold;
    color: #fff !important;
    background: #313133;
    padding: 12px 30px;
    border-radius: 25px;
    margin-bottom: 10px;
  }
}

@media (max-width: 992px) {
  .process-container {
    flex-direction: column;
    gap: 40px
  }
  .process-image img {
    max-width: 100%;
    height: 400px;
  }
}

.mobile-only-link {
  display: none;
}

@media screen and (max-width: 768px) {

  .navbar {
    width: 95%;
    max-width: none !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 10px 20px !important;
    justify-content: space-between !important;
    display: flex !important;
    align-items: center !important;
  }

  .logo-link {
    margin-left: 20px !important;
  }

  .logo {
    height: 40px;
    width: auto;
  }

  .desktop-only-btn {
    display: none;
  }

  .hamburger {
    margin-right: 10px !important;
    order: 2;
  }
  
  .navbar .btn.black.open-offer {
    display: none;
  }

  /* Glavni layout */
  .kontaktupit-container {
    flex-direction: column;
    padding: 16px;
    gap: 32px;
  }

  /* Boxovi */
  .kontaktupit-box,
  .kontaktinfo-box {
    max-width: 100%;
    width: 100%;
    padding: 24px;
  }

  /* Naslov */
  .kontaktupit-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  /* Forma – jedan ispod drugog */
  .kontaktupit-row {
    flex-direction: column;
  }

  /* Info sekcija */
  .kontaktinfo-item {
    gap: 20px;
  }

  .kontaktinfo-icon {
    width: 56px;
    height: 56px;
  }

  .kontaktinfo-icon img {
    width: 28px;
    height: 28px;
  }

  /* Mapa */
  .mapa-container {
    margin: 24px 16px;
  }

  /* Sakrij linkove dok se ne otvori */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    position: fixed;
    top: 15px; 
    left: 15px;
    right: 15px;
    
    height: auto;
    max-height: calc(100vh - 30px);
    width: auto;
    
    background: #ffffff;
    border-radius: 30px; 
    padding: 20px 0 20px 0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    clip-path: circle(0% at 85% 5%);
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    z-index: 1000;
    pointer-events: none; /* Onemogućava klik dok je zatvoren */
  }

    .nav-links a {
      margin: 10px 0; 
      font-size: 18px;
      font-weight: 500;
      color: #000;
      text-decoration: none;
      transition: opacity 0.3s;
    }

    .nav-links.active {
      clip-path: circle(150% at 85% 5%);
      pointer-events: all;
    }

  .navbar .open-offer {
    display: none;
  }

  .nav-offer-link {
    display: block;
    margin-top: 16px;
    padding: 14px 18px;
    text-align: center;
    background: #000;
    color: white;
    border-radius: 999px;
    font-weight: 500;
    text-align: center;
  }

  .nav-links.show {
    right: 0;
  }

  .mobile-only-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-weight: 600;
    color: #000;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
  }

  .nav-links a {
    font-size: 18px;
    margin: 15px 0;
  }

  .gif-icon {
    display: none;
  }

  .tabs {
    display: block;          /* 🔥 gasi flex */
    width: 100%;
    max-width: 420px;        /* da ne budu preširoki */
    margin: 0 auto;
  }

  .tab {
    display: block;
    width: 100%;             /* svaki dugmić pun red */
    margin-bottom: 12px;     /* razmak između dugmića */
  }

  .tab:last-child {
    margin-bottom: 0;
  }

  .product-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .product-images {
    max-width: 80%;
  }

  .product-info {
    /* Poništavamo fiksnu širinu i marginu sa desktopa */
    max-width: 100% !important; 
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    /* Aktiviramo centriranje sadržaja */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Ovo centrirka kartice i dugmad */
    text-align: center !important;  /* Ovo centrirka naslov i opis (tekst) */
    padding: 0 20px !important;    /* Da tekst ne udara u ivice ekrana */
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  /* Mobile: thumbnail scroll without arrows */
  .thumb-arrow {
    display: none !important;
  }

  .thumbnail-wrapper {
    overflow: hidden;
  }

  .thumbnail-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .thumbnail-track {
    width: max-content;
  }

  /* Mobile: technical drawing static, no zoom buttons */
  .zoom-controls {
    display: none !important;
  }

  .technical-image {
    cursor: default !important;
    transform: none !important;
  }

  .image-viewport,
  .technical-image,
  .main-image {
    touch-action: pan-y;
  }

  .texture-palette {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    white-space: nowrap;
    max-width: 100%;
  }

}

@media (max-width: 425px) {
  .navbar .logo {
    height: 45px;
    margin-left: 0;
  }

  .navbar {
    width: calc(100% - 16px);
    padding: 10px 15px;
  }
}

/*
dugme na svakoj stranici za vracanje na vrh----------------------------------------------------------------------------------------------
*/

.content-view.dragging {
  cursor: grabbing;
}

.zoom-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
  flex-direction: column;
}

.zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: #555;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-btn:hover {
  background-color: #8b6b4e;
  color: #fff;
}

/*Teksture izlged dugmica PALETA */
#tab-3d {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fff;
}


#tab-crtez {
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 500px;
  background: #f9f9f9;
  position: relative;
}

#tab-crtez.active {
  display: block;
}

.image-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.technical-image {
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.2s ease-out;
  transform-origin: center;
  cursor: zoom-in;
}

/* PALETA */
.texture-palette {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  
  
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);

  background: transparent !important;
  box-shadow: none !important;
  
  padding: 10px 14px;
  border-radius: 15px;
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

/* POJEDINAČNA TEKSTURA */
.texture-swatch {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;

  border-radius: 12%;
  border: 2px solid transparent;

  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.2s;
}

.texture-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* HOVER */
.texture-swatch:hover {
  transform: scale(1.3);
}

/* AKTIVNA TEKSTURA (kao na slici) */
/* .texture-swatch.active {
  border-color: #8b6b4e; ljubičasti outline kao primer
} */
 

/* MATERIJAL SLIDER              */

/* ===== MATERIAL SLIDER FIX ===== */

.material-slider {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* jedan slajd = ceo slider */
.material-slide {
  width: 80%;
  height: 60%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* slika u slajdu */
.material-slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 1.2s ease-in-out;
  object-fit: cover;
}

#btnMaterijali {
  background-color: transparent;
  color: #000;
  transition: all 0.4 ease;
}

#btnMaterijali:hover {
  background-color: #8b6b4e;
  color: #fff;
  border: 1px solid #8b6b4e;
}


/* ============================= */
/* HOVER OVERLAY + DUGME          */
/* ============================= */

.material-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.material-slide:hover .material-overlay {
  opacity: 1;
}

.material-btn {
  padding: 10px 28px;
  border-radius: 20px;
  border: 1px solid white;
  background: transparent;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* ============================= */
/* STRELICE                      */
/* ============================= */

.arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  z-index: 10;
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

/* ============================= */
/* DOT INDIKATORI                */
/* ============================= */

.material-dots {
  display: flex;
  align-items: center;   /* 🔑 KLJUČNO */
  gap: 10px;
  margin-top: 6px;
}


.material-dots span {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.material-dots span.active {
  width: 14px;
  height: 14px;
  background: #cfc7b8;
}

/* ============================= */
/* DONJE DUGME                   */
/* ============================= */

.all-materials-btn.inside {
  margin-top: 8px;
}

.all-materials-btn.inside button {
  padding: 18px 48px;                 /* veće, prozračno */
  border-radius: 999px;               /* pill shape */
  border: none;

  background: #ffffff;
  color: #555;
  font-size: 16px;
  font-weight: 500;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.04);

  cursor: pointer;
  transition: all 0.25s ease;
}

.all-materials-btn.inside button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

@media (max-width: 600px) {
  .sofe-zemi .content-box {
    height: auto;
    padding: 8px;
  }

  .sofe-zemi #tab-materijal.content-view.active {
    align-items: stretch;
    justify-content: flex-start;
  }

  .sofe-zemi #tab-materijal .material-slider {
    width: 100%;
    height: auto;
    gap: 12px;
  }

  .sofe-zemi #tab-materijal .material-slide {
    width: 80vw;
    height: 70%;
    border-radius: 12px;
  }

  .sofe-zemi #tab-materijal .material-slide img {
    height: 100%;
  }

  .sofe-zemi #tab-materijal .arrow.left {
    left: 8px;
  }

  .sofe-zemi #tab-materijal .arrow.right {
    right: 8px;
  }
}

.status-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.status-modal.active {
  opacity: 1;
  pointer-events: all;
}

.status-modal.active .status-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.status-box {
  background: #ffffff;
  width: 90%;
  max-width: 320px;
  padding: 28px 24px 40px;
  border-radius: 20px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

  transform: scale(0.92) translateY(10px);
  opacity: 0;

  transition: 
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15);

  animation: statusPop 0.25s ease;
}

/* SUCCESS / ERROR TOP LINE */
.status-box.success {
  border-top: 6px solid #3fa36c;
}

.status-box.error {
  border-top: 6px solid #d9534f;
}

/* ICON */
.status-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.status-box.success .status-icon::before {
  content: "✔";
  color: #3fa36c;
}

.status-box.error .status-icon::before {
  content: "✖";
  color: #d9534f;
}

@keyframes statusPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.status-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.status-box p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.status-box .btn {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: none;
}




@keyframes statusPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.status-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.status-box p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.status-box button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  font-size: 14px;
}

.status-box .btn {
  box-shadow: none;     /* ⬅️ KLJUČNO */
  margin-top: 8px;      /* malo vazduha */
}

/* ===== Custom dropdown za Ponuda (skrol, pada nadole, ne prekriva celu formu) ===== */

.modal .form-group{
  width: 100%;
}

/* Custom dropdown */
.custom-select{
  width: 100%;
  position: relative;
}

.cs-trigger{
  width: 100%;
  text-align: left;
  border: 1px solid #ddd;
  border-radius: 30px;
  background-color: #8b6f58;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-trigger::after{
  content: "▾";
  font-size: 14px;
  opacity: 0.9;
}

/* LISTA je mala i skroluje */
.cs-menu{
  margin-top: 8px;
  background: #fff;
  border: 1px solid #d1bfa3;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(139,107,78,0.10), 0 2px 8px rgba(0,0,0,0.08);
  padding: 6px 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  min-width: 220px;
}

.custom-select.open .cs-menu{
  max-height: 520px;   /* dovoljno za sve opcije, skroluje samo ako je baš puno */
  overflow-y: auto;
  opacity: 1;
  border: 1.5px solid #d1bfa3;
}

.cs-option{
  width: 100%;
  border: none;
  background: transparent;
  padding: 13px 22px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  color: #222;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
  margin: 0 4px;
}

.cs-option:hover, .cs-option:focus{
  background: #f5efe7;
  color: #8b6b4e;
  outline: none;
}

.cs-menu::-webkit-scrollbar{ width: 8px; }
.cs-menu::-webkit-scrollbar-thumb{
  background: #d1bfa3;
  border-radius: 10px;
}


.custom-select.open .cs-menu{
  max-height: 220px;   /* visina liste */
  overflow-y: auto;    /* scroll */
  opacity: 1;
}

.cs-option{
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #222;
}

.cs-option:hover{
  background: rgba(0,0,0,0.06);
}

/* Scrollbar (opciono) */
.cs-menu::-webkit-scrollbar{ width: 8px; }
.cs-menu::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
}





/*
kontakt stranica----------------------------------------------------------------------------------------------
*/

/*
dugme na svakoj stranici za vracanje na vrh----------------------------------------------------------------------------------------------
*/



.search-highlight {
  background: rgba(139, 107, 78, 0.25);
  color: #000;
  padding: 2px 4px;
  border-radius: 6px;
  font-weight: 600;
}

/* Toast glavni kontejner */
#toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); /* Početni scale za animaciju */
    width: 500px;
    height: 500px;
    background-color: #f1ede4; /* BOJA TVOG NAVBARA */
    display: none; /* Sakriveno po defaultu */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; /* Da ne smeta klikovima dok je nevidljiv */
}

/* Kada se toast prikaže */
#toast-notification.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Stil za tekst unutar toasta */
#toast-message {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #313133;
    text-align: center;
    padding: 0 40px;
}

/* Različite boje za uspeh i grešku (opciono, menjaju samo border ili boju teksta) */
#toast-notification.success #toast-message { color: #8b6b4e; }
#toast-notification.error #toast-message { color: #d9534f; }

/* .toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #000;
  color: #fff;
  padding: 16px 32px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  border-bottom: 3px solid #27ae60;
}

.toast.error {
  background: #000;
  border-left: 5px solid #ff4444;
} */
#no-results-message {
    animation: fadeIn 0.3s ease-in;
    font-family: 'Inter', sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.material-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
}

.material-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Statistikа stranica */
.stats-hero {
  padding: 90px 6vw 40px;
  background: linear-gradient(180deg, #f6f1e9 0%, #fff 70%);
}

.stats-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.stats-hero h1 {
  font-family: 'Roboto Serif', serif;
  font-size: 42px;
  margin-bottom: 12px;
  color: #1e1e1e;
}

.stats-hero p {
  font-size: 16px;
  color: #5b5148;
  margin-bottom: 28px;
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.stats-kpi-card {
  background: #fff;
  border: 1px solid #eadfcf;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-kpi-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b6b4e;
}

.stats-kpi-value {
  font-size: 28px;
  font-weight: 600;
  color: #1d1d1d;
}

.stats-kpi-note {
  font-size: 12px;
  color: #8a7f75;
}

.stats-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 6vw 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-panel {
  background: #fff;
  border: 1px solid #eadfcf;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.06);
}

.stats-panel h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.stats-panel-sub {
  color: #6b6259;
  margin-bottom: 18px;
}

.stats-embed {
  position: relative;
  padding-top: 62%;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f1ea;
  border: 1px dashed #d9c6ac;
}

.stats-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stats-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.stats-box {
  border: 1px solid #f0e4d4;
  border-radius: 12px;
  padding: 16px;
  background: #fffaf2;
}

.stats-box h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #483d32;
}

.stats-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

