@font-face {
  font-family: 'Gabarito';
  src: url('../fonts/Gabarito-Regular.ttf');
  font-weight: 400;
  /* Regular weight */
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* GENERAL */
.language-switch {
  margin-left: .5rem;
}

.language-switch .dropdown-toggle {
  border: none;
  background: none;
  font-weight: 800;
}

.language-switch .dropdown-menu {
  width: 270px;
  /* border-radius: 10px !important;*/
  left: initial;
}

.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 8px;
  display: inline-block;
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}

.flag-hr {
  background-image: url('https://flagcdn.com/w40/hr.png');
}

.flag-en {
  background-image: url('https://flagcdn.com/w40/gb.png');
}

.flag-de {
  background-image: url('https://flagcdn.com/w40/de.png');
}

.flag-it {
  background-image: url('https://flagcdn.com/w40/it.png');
}

.flag-si {
  background-image: url('https://flagcdn.com/w40/si.png');
}

.flag-ru {
  background-image: url('https://flagcdn.com/w40/ru.png');
}

.flag-ua {
  background-image: url('https://flagcdn.com/w40/ua.png');
}

.flag-hu {
  background-image: url('https://flagcdn.com/w40/hu.png');
}

.btn {
  font-weight: 600;
  padding: .5rem 1.5rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  -webkit-transition: background-color 0.3s ease, transform 0.3s ease;
  -moz-transition: background-color 0.3s ease, transform 0.3s ease;
  -ms-transition: background-color 0.3s ease, transform 0.3s ease;
  -o-transition: background-color 0.3s ease, transform 0.3s ease;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.btn-primary {
  color: #111111;
  background-color: #FFCC01;
  border-color: #FFCC01;
  border: none;
}

.btn-primary:hover {
  color: #FFCC01;
  background-color: #111111;
  border-color: #111111;
}

.btn-secondary {
  color: #ffffff;
  background-color: #111111;
  border-color: #111111;
  border: none;
}

.btn-secondary:hover {
  color: #111111;
  background-color: #FFCC01;
  border-color: #FFCC01;
}

.btn-outline-primary {
  color: #FFCC01;
  border: 1px solid #FFCC01;
  background: transparent;
}

.btn-outline-primary:hover {
  color: #111111;
  border: 1px solid #111111;
  background: transparent;
}

.btn-outline-secondary {
  color: #111111;
  border: 1px solid #111111;
  background: transparent;
}

.btn-outline-secondary:hover {
  color: #FFCC01;
  border: 1px solid #FFCC01;
  background: transparent;
}


.btn-primary-text {
  color: #FFCC01;
  border: none;
  background: transparent;
  padding: 0px !important;
  text-align: left;
  font-size: 1rem;
  /* Regular font size */
  transition: font-size 3s ease;
  /* Add the transition property */
  -webkit-transition: font-size 3s ease;
  -moz-transition: font-size 3s ease;
  -ms-transition: font-size 3s ease;
  -o-transition: font-size 3s ease;
}

.btn-primary-text:hover {
  color: #111111;
  border: none;
  background: transparent;
  padding: 0px !important;
  text-align: left;
  font-size: 1.2rem;
  /* Larger font size on hover */
}

.btn-secondary-text {
  color: #111111;
  border: none;
  background: transparent;
  padding: 0px !important;
  text-align: left;
  font-size: 1rem;
  /* Regular font size */
  transition: font-size 3s ease;
  /* Add the transition property */
  -webkit-transition: font-size 3s ease;
  -moz-transition: font-size 3s ease;
  -ms-transition: font-size 3s ease;
  -o-transition: font-size 3s ease;
}

.btn-secondary-text:hover {
  color: #FFCC01;
  border: none;
  background: transparent;
  padding: 0px !important;
  text-align: left;
  font-size: 1.2rem;
  /* Larger font size on hover */
}

.btn .btn-lg {
  font-size: 1.5rem !important;
}

.btn .btn-sm {
  font-size: .75rem !important;
}

header {
  position: relative;
  padding: 1rem;
  padding-bottom: 0 !important;
}

header .header-main-bg {
  position: absolute;
  min-height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  margin: 0rem !important;
  border-radius: 0px !important;
}

header .header-main-bg:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* novi gradient samo za naslovnicu */
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.0) 35%,rgba(0,0,0,0.0) 65%,rgba(0,0,0,1) 100%) !important;
}

@media (max-width: 768px) {
  header .header-main-bg:after {
    min-height: 90vh;
    /* novi gradient samo za naslovnicu */
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.0) 35%,rgba(0,0,0,0.6) 65%,rgba(0,0,0,1) 100%) !important;
  }
}

@media (max-width: 768px) {
  .header-main-bg img {
    object-fit: cover;
    object-position: 85% !important;
  }
}

.header-padding {
    min-height: 80vh;
    display: flex;
    flex-direction: column;    /* ➜ SLOŽI DJECU JEDNO ISPOD DRUGOG */
    align-items: center;       /* ➜ centriraj sadržaj horizontalno */
    justify-content: end;   /* ➜ centriraj vertikalno */
    padding-bottom: 4%;
    text-align: center !important; /* ako ti negdje nešto prepisuje */
    overflow: hidden;
}

@media (min-width: 850px) and (max-width: 1599px) {
    .header-padding {
        min-height: 75vh;
    }
}

header .header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 4px;
  overflow: hidden;

}

@keyframes zoom {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }

  100% {
    transform: scale(1.25);
    -webkit-transform: scale(1.25);
    -moz-transform: scale(1.25);
    -ms-transform: scale(1.25);
    -o-transform: scale(1.25);
  }
}

header .header-bg:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(17, 17, 17);
  background: linear-gradient(0deg, rgba(17, 17, 17, 1) 0%, rgba(0, 212, 255, 0) 100%);
  z-index: 1;
}

header .header-bg img,
header .header-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* animation: zoom 20s reverse; */
  /* -webkit-animation: zoom 20s reverse; */
}

header .header-nav {
  position: relative;
  margin-bottom: 5rem;
  z-index: 100;
}

header nav {
  position: relative !important;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.75);
  margin: 1rem auto;
  padding: .25rem 2rem;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

@media (max-width: 768px) {
  header nav {
    margin: 0;
    margin-top: 1rem;
    position: absolute !important;
    width: 95%;
  }
}

header:hover nav {
  background-color: rgba(255, 255, 255);
}

.nav.header-menu {}

.nav.header-menu .nav-link {
  font-weight: 600;
  color: #111111;
  position: relative;
  transition: color .3s ease;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
}

.nav.header-menu .nav-link:before {
  content: '';
  position: absolute;
  bottom: .5rem;
  left: 1rem;
  right: 1rem;
  border-bottom: 1px solid currentColor;
  transform-origin: 100% 50%;
  -webkit-transform: scale3d(0, 1, 1);
  -moz-transform: scale3d(0, 1, 1);
  -ms-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
}

.nav.header-menu .nav-link:hover:before {
  transform-origin: 0% 50%;
  -webkit-transform: scale3d(1, 1, 1);
  -moz-transform: scale3d(1, 1, 1);
  -ms-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.dropdown {
  position: unset;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100% !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  margin: 0 auto !important;
  background-color: rgba(255, 255, 255) !important;
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
  -ms-border-radius: 20px !important;
  -o-border-radius: 20px !important;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

.language-switch .dropdown-menu {
  padding-left: 1rem !important;
  padding-top: 1rem !important;
}

.dropdown-menu h3.menu-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}


.dropdown-menu h3.menu-title-transp {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
  color: transparent !important;
}

.dropdown-menu h4.menu-sub-title {
  font-size: .875rem;
  text-transform: uppercase;
  margin: 0 auto .5rem;
  font-weight: 400;
  font-family: 'Gabarito';
  color: #9E792F;
}

.dropdown-menu ul {
  margin: 0 auto 1rem;
  padding: 0;
  list-style: none;
}

.dropdown-menu ul li {
  font-size: .875rem;
}

.dropdown-menu ul li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hldnJvbi1yaWdodCIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjY0NiAxLjY0NmEuNS41IDAgMCAxIC43MDggMGw2IDZhLjUuNSAwIDAgMSAwIC43MDhsLTYgNmEuNS41IDAgMCAxLS43MDgtLjcwOEwxMC4yOTMgOCA0LjY0NiAyLjM1NGEuNS41IDAgMCAxIDAtLjcwOHoiLz48L3N2Zz4=");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 3px;
}


.dropdown-menu a {
  text-decoration: none;
  color: #000000;
}

.dropdown-menu a .d-flex {
  transition: all 0.5s;
}

/* .dropdown-menu .col-sm-6:nth-child(1) a:hover .d-flex {
  background-color: var(--bs-warning-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(2) a:hover .d-flex {
  background-color: var(--bs-danger-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(3) a:hover .d-flex {
  background-color: var(--bs-success-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(4) a:hover .d-flex {
  background-color: var(--bs-secondary-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(5) a:hover .d-flex {
  background-color: var(--bs-tertiary-bg);
}
.dropdown-menu .col-sm-6:nth-child(6) a:hover .d-flex {
  background-color: var(--bs-info-bg-subtle);
} */
@media only screen and (min-width: 992px) {
  .dropdown-menu {
    width: 100%;
  }

  /* .dropdown:hover .dropdown-menu {
    display: flex;
  } */
  .dropdown-menu.show {
    /* display: flex; */
  }
}

.search {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 20px;
  display: flex;
  gap: 1px;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search .form-control {
  border: none;
  border-right: none;
  border-radius: 25px 0 0 25px;
  padding-left: 15px;
  font-size: 16px;
  flex: 1;
  height: 50px;
  outline: none !important;
  box-shadow: none !important;
}

.search .btn-primary {
  border: none;
  border-radius: 50px !important;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  -webkit-border-radius: 50px !important;
  -moz-border-radius: 50px !important;
  -ms-border-radius: 50px !important;
  -o-border-radius: 50px !important;
}

.search .btn-primary:hover {
  background-color: #FFCC01;
  border-color: #FFCC01;
}

.search .btn-primary.round {
  border-radius: 50%;
  width: 50px;
  padding: 0;
}


section {
  padding: 3rem 0;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin: 3rem 0 1.5rem;
  padding: 0;
}

.section-title h2 {
  font-family: 'Gabarito';
  font-size: 2.5rem;
  font-weight: 900;
  color: #111111;
}

.section-title p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
}

.section-title-news {
  margin-bottom: 8rem;
}


.home-hero .hero:nth-child(2n+1) .col-md-4 {
  order: 1;
}

@media (max-width: 768px) {
  .home-hero .hero:nth-child(2n+1) .col-md-4 {
    order: 0;
  }
}

.home-hero .hero {
  margin: 0rem auto;
}

.home-hero .hero .images {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.home-hero .hero .title span {
  letter-spacing: 2px;
  display: block;
  color: #9E792F;
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Gabarito';
}

.home-hero .hero .title {
  margin-top: 0rem;
  font-size: 2.8125rem;
  font-weight: 900;
  color: #111111;
}

.home-hero .hero p {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
}

/* .home-hero .btn {
  font-weight: bold;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.home-hero .btn.btn-secondary {
  background-color: #FFCC01;
  border-color: #FFCC01;
  color: #111111;
} */

.filters {
  padding: 1rem;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.filter-header {
  padding: 2rem 0;
}

.filters .title {
  text-align: center;
  font-size: 2.8125rem;
  font-weight: 900;
  color: #111111;
}

.filters .form-label {
  font-size: .875rem;
  font-weight: 600;
  color: #5e5e5e;
  display: block;
  padding: 0 1rem;
}

.filters .nice-select {
  background-image: none !important;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.filters .accordion,
.filters .accordion-item {
  background: none !important;
  border: none !important;
}

.filters .accordion-header {
  display: inline-block;
}

.filters .accordion-body {
  padding: 0;
}

.filters .accordion-button {
  padding: 0;
  margin: 0 auto 1rem;
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important;
}


/* .swiper-slider {
  position: relative;
  height: auto;
  padding: 10px 10px;
  margin-top: 2.5rem;
}

.swiper {
  width: 100%;
  height: 300px;
  overflow: visible;
}

.swiper-wrapper {}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px;
  transition: all .3s ease;
}

.swiper-slide-active .card {
  transform: scale(1.3);
  margin: 0 3rem;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
}

.swiper-button-prev,
.swiper-button-next {
  color: rgb(246, 146, 89);
}

.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

.news-slider {
  overflow: hidden;
  background: #f2f2f2;
}

.news-slider .card {
  position: relative;
  border: none !important;
  background-color: none;
  aspect-ratio: 12/16;
  margin: 0 1.5rem;
  overflow: hidden;
  transition: all .3s ease;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
}

.news-slider .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slider .card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 8rem 1rem 1rem;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.card-body {
  justify-content: space-between;
  min-height: 220px;
}

.news-slider .card-title {
  position: relative;
  top: 40px;
}

.properties .card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.properties .card .card-body .btn {
  margin-top: auto;
}

.news-slider .card .card-body .card-title {
  color: #ffffff;
  font-size: 15px;
} */


/* TABS */
.nav-tabs {
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 2rem;
  background: #f2f2f2;
  border: none !important;
  border-radius: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -ms-border-radius: none;
  -o-border-radius: none;
}

@media (max-width: 768px) {
  .nav-tabs {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
}

.nav-tabs .nav-item {
  margin: 0;
}

.nav-tabs .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #5f5f5f;
  border: none !important;
  border-radius: 0;
  margin: 0;
  /* remove gaps between tabs */
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ccc !important;
  background: transparent;
  background-color: transparent
}

.nav-tabs .nav-link.active {
  border-bottom: 3px solid #FFCC01 !important;
  font-weight: 900;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #000 !important;
}

.nav-tabs-home {
  background-color: transparent;
}

.nav-filteri {
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 2rem;
  background-color: white;
  border: none !important;
  border-radius: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -ms-border-radius: none;
  -o-border-radius: none;
}

@media (max-width: 768px) {
  .nav-filteri {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: .25rem;
    padding-left: .25rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;        /* pomaže na nekim mobitelima */
    scrollbar-width: none;      /* Firefox */
  }

  .nav-filteri > * {
    flex: 0 0 max-content;             /* spriječi rastezanje u 100% širine */
    white-space: nowrap;
  }

  .nav-filteri::-webkit-scrollbar {
    display: none; /* Chrome/Safari mobilni */
  }
}

.nav-filteri .nav-item {
  margin: 0;
}

.nav-filteri .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #5f5f5f;
  border: none !important;
  border-radius: 0;
  margin: 0;
  padding: .35rem .6rem;
  border-bottom: 1px solid #ccc !important;
  background: transparent;
}

.nav-filteri .nav-link.active {
  border-bottom: 3px solid #FFCC01 !important;
  font-weight: 900;
  background: transparent !important;
  box-shadow: none !important;
  color: #000 !important;
}

.category-section .card {
  position: relative;
  border: none !important;
  background-color: none;
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.category-section .card img,
picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-section .card .card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  z-index: 1;
  padding: 3rem 1rem 1rem;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.category-section .card .card-img-overlay .card-title {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
}


.properties {}

.properties .card {
  height: 100%;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  background-color: #ffffff;
  box-shadow: 2px 2px 10px 3px #bfbfbf;
}

.properties .card img {
  transition: transform 0.3s ease;
}

.properties .card :hover img {
  transform: scale(1.1);
}



.properties .card .card-body {
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}


.properties .card .card-title {
  color: #333333;
  font-weight: 600;
}

.properties .card .card-text {
  color: #666666;
}

.properties .card .btn-primary {
  color: #111111;
  background-color: #FFCC01;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.properties .card .btn-primary:hover {
  background-color: #FFCC01;
  transform: translateY(-3px);
}

.carousel-indicators [data-bs-target] {
  margin-top: 1rem;
  background-color: #ccc;
  /* Gray by default */
  opacity: 0.5;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  /* Make them circular */
  bottom: -3rem !important;
}

.carousel-indicators {
  display: none;
}

@media (max-width: 767.98px) {
  .carousel-indicators {
    display: flex;
    bottom: -3rem;
  }
}

.carousel-indicators .active {
  background-color: #5e5e5e;
  /* Blue when active */
  opacity: 1;
}

.footer {
  background-color: #000;
  color: #d3d3d3;
  position: relative;
  overflow: hidden;
}

.footer-title {
  color: #FFCC01;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.footer-title::after {
  content: '';
  width: 50px;
  height: 3px;
  background-color: #FFCC01;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.footer-title:hover::after {
  width: 100%;
}

.footer-link {
  color: #d3d3d3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FFCC01;
}

.social-links li {
  display: inline-block;
  margin-right: 10px;
}

.social-links a::before {
  content: '• ';
  color: #FFCC01;
  transition: transform 0.3s ease;
}

.social-links a:hover::before {
  transform: scale(1.5);
}

.footer hr {
  border-top: 1px solid #444;
}

@media (max-width: 767.98px) {
  .footer .row>div {
    text-align: start;
  }
}

.modal .modal-content {
  padding: 2rem;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.modal .modal-header,
.modal .modal-footer {
  border: none;
}

.modal .search {
  max-width: 700px;
  margin: 0 auto 3rem;
  border: 1px solid #dddddd;
  box-shadow: none;
}

.modal h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  padding: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .modal h3 {
    text-align: start;
  }
}

.modal-xl {
  max-width: 1000px;
}

.transparent {
  color: transparent !important;
}

.card-body .btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.w-80 {
  width: 80%;
}

.carousel-control-next {
  font-size: 10px;
  background: gray;
  right: -60px;
  height: 80px;
  width: 50px;
  top: calc(50% - 40px);
  border-radius: 20px;
}

.carousel-control-prev {
  font-size: 10px;
  background: gray;
  left: -60px;
  height: 80px;
  width: 50px;
  top: calc(50% - 40px);
  border-radius: 20px;
}

.btn i {
  font-size: x-large;
  vertical-align: middle;
}

.fs-4 {
  font-family: 'Gabarito';
  font-weight: bold;
  font-size: 1.15rem !important;
}

.mx-2 {
  border-radius: 10px;
}

.carousel-item {
  padding: 10px;
  padding-bottom: 10px !important;
}

.carousel-inner {
  padding: 10px;
}

.swiper {
  padding-inline: 1.5rem;
}

.swiper-button-next {
  background: #bfbfbf;
  width: 50px;
  height: 70px;
  right: var(--swiper-navigation-sides-offset, -15px);
  color: #ffffff;
  border-radius: 20px;
  top: 135px;
}

.swiper-button-prev {
  background: #bfbfbf;
  width: 50px;
  height: 70px;
  left: var(--swiper-navigation-sides-offset, -15px);
  color: #ffffff;
  border-radius: 20px;
  top: 135px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.5rem;
}

/* .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 5px);
} */

.animated-link {
  color: #007bff;
  /* Initial link color (example: blue) */
  text-decoration: none;
  /* Remove default underline */
  position: relative;
  /* To position the pseudo-element */
  transition: color 0.4s ease;
  /* Smooth color transition */
  -webkit-transition: color 0.4s ease;
  -moz-transition: color 0.4s ease;
  -ms-transition: color 0.4s ease;
  -o-transition: color 0.4s ease;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  /* Adjust the distance of the underline */
  left: 0;
  width: 100%;
  height: 1px;
  /* Thickness of the underline */
  background-color: #5e5e5e;
  /* Initial underline color (match link color) */
  transform: scaleX(0);
  /* Initially, no underline */
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform-origin: bottom left;
  /* Underline grows from left to right */
  transition: transform 0.4s ease, background-color 0.4s ease;
  /* Smooth underline and color transition */
  -webkit-transition: transform 0.4s ease, background-color 0.4s ease;
  -moz-transition: transform 0.4s ease, background-color 0.4s ease;
  -ms-transition: transform 0.4s ease, background-color 0.4s ease;
  -o-transition: transform 0.4s ease, background-color 0.4s ease;
}

/* .animated-link:hover {
  color: #9E792F;
} */

.animated-link:hover::after {
  transform: scaleX(1);
  /* Show underline on hover */
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  background-color: #000000;
  /* Lighter underline color on hover */
}

.section-title h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111111;
}

.section-title h3 a {
  color: #111 !important;            /* tvoja neutralna crna */
  text-decoration: none !important;  /* makni underline */
  font-weight: 900;
}

.section-title h3 a:hover {
  color: #111111 !important;       /* crna */
  text-decoration: none !important;  /* bez underline */
}

footer a {
  color: inherit;
  text-decoration: none;
}

@media (min-width: 992px) {

  /* Adjust breakpoint to match the JavaScript */
  .mobile-card-slider .swiper-wrapper {
    display: flex !important;
    /* Ensure all cards are displayed in a row */
    flex-wrap: nowrap !important;
    /* Prevent wrapping */
    overflow-x: auto !important;
    /* Enable horizontal scrolling if needed */
  }

  .mobile-card-slider .swiper-slide {
    flex: 0 0 25%;
    /* Adjust width as needed */
  }

  .mobile-card-slider .swiper-button-next,
  .mobile-card-slider .swiper-button-prev {
    display: none !important;
    /* Hide the navigation buttons */
  }
}

@media (max-width: 768px) {

  /* Adjust the breakpoint as needed */
  body {
    overflow-x: hidden;
  }

  .hero {
    padding: 1rem;
    padding-top: 0rem;
  }

  .home-hero .hero .images {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .news-slider .card {
    margin: 0px 4rem;
  }

  .news-slider .card .card-body {
    padding: 13rem 1rem 1rem;
  }

  .category-section .card {
    margin-top: 1rem;
  }

  /* .card-body {
    min-height: 300px;
  } */

  .card {
    margin-bottom: 1.5rem;
  }

  .carousel-control-next {
    right: 0px;
  }

  .carousel-control-prev {
    left: 0px;
  }
}

.card-container {
  display: flex;
  flex-wrap: nowrap;
  /* Prevents wrapping for the scroll effect */
  gap: 16px;
  /* Adds spacing between cards */
  overflow-x: auto;
  /* Enables horizontal scrolling */
  padding: 16px;
}

.card-container .card {
  flex: 0 0 calc(50% - 16px);
  /* 50% width for two cards in view */
}

@media (max-width: 768px) {
  .card-container .card {
    flex: 0 0 calc(70% - 16px);
    /* 50% width for two cards in view */
  }
}

@media (min-width: 992px) {
  /* .card-container {
    flex-wrap: wrap;
    overflow-x: hidden;
  } */

  .card-container .card {
    flex: 0 0 calc(25% - 16px);
    /* Four cards in a row for desktop */
  }
}

/* Optional: Hide scrollbars for a cleaner look */
.card-container::-webkit-scrollbar {
  display: none;
}

.card-container {
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

/* ... other CSS rules ... */

@media (max-width: 768px) {
  .card-display .col {
    width: 100% !important;
    /* Each card takes full width on mobile */
    margin-bottom: 20px;
  }

  .card-display .row {
    margin-bottom: 20px;
    /* Add spacing between rows on mobile */
  }
}

@media (max-width: 992px) {

  /* For tablets */
  .card-display .col {
    width: 50% !important;
    /* Each card takes 50% width on tablet */
  }
}

@media (min-width: 992px) {

  /* Apply only on large screens (desktops and up) */
  .card-container {
    justify-content: center;
  }

  .card-container:nth-child(n+5) {
    /* If more than 4 cards, for example */
    justify-content: flex-start;
    /* Override to flex-start on larger screens */
  }
}

.margin-top-news {
  margin-top: 4rem;
}


/* NEWS SLIDER */

.main-news {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  width: calc(min(90rem, 90%));
  margin: 0 auto;
  min-height: 50vh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
}

.bg {
  position: fixed;
  top: -4rem;
  left: -12rem;
  z-index: -1;
  opacity: 0;
}

.bg2 {
  position: fixed;
  bottom: -2rem;
  right: -3rem;
  z-index: -1;
  width: 9.375rem;
  opacity: 0;
}

.main-news>div span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

.main-news>div h1 {
  text-transform: capitalize;
  letter-spacing: 1px;
  font-family: "Gabarito";
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background-color: #000000;
  background-image: linear-gradient(45deg, #000000, #5f5f5f);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.main-news>div hr {
  display: block;
  background: #000000;
  height: 0.25rem;
  width: 6.25rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

.main-news>div p {
  line-height: 1.6;
}

.main-news a {
  display: inline-block;
  text-decoration: none;
  color: #111111;
  background-color: #FFCC01;
  border: none;
  font-weight: 500;
  border-radius: 3.125rem;
  transition: 0.3s ease-in-out;
  z-index: 15
}

.main-news>div>a {
  margin-top: 2.188rem;
  padding: 0.625rem 1.875rem;
}

.main-news>div>a:hover {
  color: #FFCC01;
  background-color: #111111;
  border: none;
}

.main-news .swiper-wrapper,
.main-news .swiper-slide,
.main-news .swiper-pagination,
.main-news .swiper-button-prev,
.main-news .swiper-button-next {
  pointer-events: auto;
}

.swiper {
  padding-inline: 0 !important;
  width: 100%;
  padding-top: 3.125rem;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-pagination {
  bottom: 1.25rem !important;
  z-index: 5;
}

.swiper-slide {
  width: 18.75rem;
  height: 28.125rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
  text-align: center;
}

.swiper-slide h2 {
  color: #fff;
  font-family: "Gabarito";
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.swiper-slide p {
  color: #dadada;
  font-family: "Gabarito";
  font-weight: 300;
  padding: 0 1.563rem;
  line-height: 1.6;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiper-slide a {
  margin: 1.0rem 1.25rem 2.5rem 1.25rem;
  padding: 0.438em 1.875rem;
  font-family: 'Gabarito';
  font-size: 0.9rem;
}

.swiper-slide a:hover {
  color: #FFCC01;
  background-color: #111111
}

.swiper-slide div {
  display: none;
  opacity: 0;
  padding-bottom: 0.625rem;
  border-radius: 10px;
}

.swiper-slide-active div {
  display: block;
  opacity: 1;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  pointer-events: none !important;
  background-image: none;
}

@media screen and (min-width: 48rem) {
  .main-news {
    display: flex;
    align-items: center;
  }

  .bg,
  .bg2 {
    opacity: 0.1;
  }
}

.border-round {
  border-radius: 20px;
}

@media screen and (min-width: 93.75rem) {
  .swiper {
    width: 85%;
  }
}

.swiper-slide {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #000000, #00000088, #2c536400);
  z-index: 1;
  pointer-events: none;
}

.slider {
  background: #F7F7F7;
}

.bottom-info {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 2rem;
}

.mr-2 {
  margin-right: 2rem;
}

@media (max-width: 992px) {
  .bottom-info {
    display: grid;
  }

  .bottom-info .mr-2 {
    margin-right: 0px;
  }

}

.news-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #111111;
}

.news-title span {
  letter-spacing: 2px;
  display: block;
  color: #9E792F !important;
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Gabarito';
}

.w-100.text-center span {
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  color: white !important;
  font-size: 2.3rem;
  font-weight: 800;
}

.news-title-width {
  max-width: 320px !important;
}

@media (min-width: 768px) {
  .news-title-width {
    max-width: 768px;
  }
}

.main-zanimljiv {
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  width: calc(min(90rem, 90%));
  min-height: 50vh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);

  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* desktop: slider lijevo, tekst desno */
.main-zanimljiv .swiper {
  order: 1;
  flex: 2;
}

.news-title-zanimljiv {
  order: 2;
  flex: 1;
  width: 30%;
}

/* mobile: tekst gore, slider ispod */
@media (max-width: 768px) {
  .main-zanimljiv .swiper {
    order: 2;
    flex: 1 1 100%;
  }

  .news-title-zanimljiv {
    order: 1;
    flex: 1 1 100%;
    width: 100% !important;
    margin-bottom: 1rem;
  }
}

/* naslovi i tekstovi unutar news-title-zanimljiv */
.main-zanimljiv>div span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

.main-zanimljiv>div h1 {
  text-transform: capitalize;
  letter-spacing: 1px;
  font-family: "Gabarito";
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background: linear-gradient(45deg, #000000, #5f5f5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-zanimljiv>div hr {
  display: block;
  background: #000000;
  height: 0.25rem;
  width: 6.25rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

.main-zanimljiv a {
  display: inline-block;
  text-decoration: none;
  color: #111111;
  background-color: #FFCC01;
  border: none;
  font-weight: 500;
  border-radius: 3.125rem;
  transition: 0.3s ease-in-out;
  z-index: 15
}

.main-zanimljiv>div>a {
  border: 2px solid #c2c2c2;
  margin-top: 2.188rem;
  padding: 0.625rem 1.875rem;
}

.main-zanimljiv>div>a:hover {
  border: 0.125rem solid #005baa;
  color: #FFCC01;
}

.main-zanimljiv .swiper-slide .w-100 {
  position: relative;
  z-index: 10;
}

.main-zanimljiv .swiper-slide a {
  position: relative;
  z-index: 15;
  pointer-events: auto;
  cursor: pointer;
}

/* NEWS SLIDER END */

/* FILTER CAT NAV TABS START */
.nav-tabs {
  justify-content: start !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  /* For iOS momentum scrolling */
  width: 100%;
  /* Allow the container to expand as needed */
  max-width: none !important;
  /* Remove any maximum width restriction */
}

.nav-tabs-container {
  overflow: hidden;
  /* Hide scrollbar initially */
  position: relative;
  /* For background extension */
}

.nav-tabs-container.scrollable {
  overflow-x: auto;
  /* Show scrollbar when needed */
}

.nav-tabs-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50px;
  /* Adjust as needed */
  background: inherit;
  z-index: 1;
  pointer-events: none;
}

.nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  /* Prevent wrapping */
  -webkit-overflow-scrolling: touch;
  /* Momentum scrolling for iOS */
  width: max-content;
  /* Default width for 3 or more tabs */
  max-width: 100%;
  /* Prevent overflow on smaller screens */
}


.nav-item {
  z-index: 2;
  /* Ensure tabs are above the pseudo-element */
}

.nav-link {
  white-space: nowrap;
  /* Prevent word-break within tabs */
}

.mobile-underneath-display {
  display: block
}

.mobile-underneath-none {
  display: none;
}

/* Media query for mobile devices */
@media (max-width: 767px) {

  /* Adjust the breakpoint as needed */
  .nav-tabs {
    width: auto;
  }

  .scrollable {
    overflow-x: auto !important;
    /* Force scrolling when needed */
  }

  .mobile-underneath-none {
    display: none;
  }

  .mobile-underneath-display {
    display: block;
  }
}

/* FILTER CAT NAV TABS END */

/* .card-container {
  display: flex;
  overflow-x: scroll;
  gap: 1rem;
  -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
/* scrollbar-width: auto; Makes the scrollbar always visible in Firefox */
/* scrollbar-color: #efefef #e9ecef; Firefox: thumb color, track color */
/* }  */

/* .card { */
/* min-width: 250px; Adjust as needed */
/* } */

/* WebKit (Chrome, Safari, Edge) */
/* .card-container::-webkit-scrollbar { */
/* height: 12px; Make scrollbar taller for easier touch */
/* -webkit-appearance: none; Override default appearance */
/* } */

/* .card-container::-webkit-scrollbar-track {
  background: #e9ecef;
} */

/* .card-container::-webkit-scrollbar-thumb { */
/* background-color: #efefef; Thumb color */
/* border-radius: 6px; Rounded thumb edges */
/* border: 2px solid #e9ecef; Add a border for better visibility */
/* } */

/* .card-container::-webkit-scrollbar-thumb:hover {
  background-color: efefef; /* Darker blue on hover */
/* } */

/* Ensure scrollbar remains visible on hover for touch devices */
/* @media (hover: none) {
  .card-container::-webkit-scrollbar {
    display: block;
  }
} */

.card-container-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* Smooth scrolling */
  /* Space for the custom scrollbar */
}


.custom-scrollbar {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: #e9ecef;
  cursor: pointer;
  margin-inline: 1rem;
}

.scroll-thumb {
  height: 100%;
  width: 50px;
  /* Initial width of the thumb */
  background: #222;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
}

.scroll-thumb {
  transition: none;
  /* Remove transition for instant feedback */
  cursor: grab;
}

.scroll-thumb:active {
  cursor: grabbing;
}

@media (max-width: 767px) {
  .section-title p {
    padding-inline: 2rem;
  }
}


/* SLIDER FOR FILTER CATERGORIES END*/


/* NAVIGATION MOBILE ADAPTATION START */
.nav-item-flex {
  display: flex;
  /* justify-content: center; */
  align-items: center;
}


@media (max-width: 767px) {

  .nav-pills {
    display: block;
    justify-content: start;
    text-align: start;
  }

  .nav-item {
    width: 100%;
    font-size: larger;
    font-family: 'GABARITO';
    /* border-bottom: 1px solid #111111; */
    /* margin-top: 0.5rem; */
  }

  .nav-item li {
    width: 100%;
  }

  .nav-item a {
    width: 100%;
  }

  .menu-class-btn {
    width: 80%;
    display: flex;
    justify-content: start;
    margin: 1rem;
  }

  .all-properties {
    width: 75% !important;
  }

  .dropdown-menu-mobile h3.menu-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 auto 0.5rem;
  }


  .dropdown-menu-mobile h3.menu-title-transp {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    color: transparent !important;
  }

  .dropdown-menu-mobile h4.menu-sub-title {
    font-size: .875rem;
    text-transform: uppercase;
    margin: 0.5rem 0 0.5rem 0;
    font-weight: 400;
    font-family: 'Gabarito';
    color: #9E792F;
  }

  .dropdown-menu-mobile ul {
    padding: 0;
    list-style: none;
    margin-bottom: 1rem;
  }

  .dropdown-menu-mobile ul li {
    position: relative;
    padding-left: 1.6rem;
    font-size: .875rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .dropdown-menu-mobile ul li::before {
    content: '';
    position: absolute;
    top: 0.3rem;
    left: 0;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hldnJvbi1yaWdodCIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjY0NiAxLjY0NmEuNS41IDAgMCAxIC43MDggMGw2IDZhLjUuNSAwIDAgMSAwIC43MDhsLTYgNmEuNS41IDAgMCAxLS43MDgtLjcwOEwxMC4yOTMgOCA0LjY0NiAyLjM1NGEuNS41IDAgMCAxIDAtLjcwOHoiLz48L3N2Zz4=");
    background-size: contain;
    background-repeat: no-repeat;
  }


  .dropdown-menu-mobile a {
    text-decoration: none;
    color: #000000;
    font-size: 1.1rem;
  }

  .dropdown-menu-mobile a .d-flex {
    transition: all 0.5s;
  }

  .dropdown-menu-mobile h3.menu-title-transp {
    font-size: 0px;
    font-weight: 100;
    margin: 0 !important;
    color: transparent !important;
  }

  .dropdown-menu-mobile {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .dropdown-menu-mobile h3.menu-title {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .submenu .nav-item::before {
    content: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: start;
  }
}

iframe {
  /* pointer-events: none; */
  position: relative;
  top: -10%;
  left: -20%;
}


/* NAVIGATION MOBILE ADAPTATION END */


/* NEWS ADAPTATION START */

@media (max-width: 767px) {
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .carousel-control-next,
  .carousel-control-prev {
    display: none;
  }

  .swiper-slide h2 {
    padding-inline: 1rem;
  }
}

/* NEWS ADAPTATION END */

.properties .card .card-body {
  display: grid !important;
  align-content: space-between !important;
}


/* CATALOG START*/


.height-full {
  height: 100%;
}

.height-us {
  height: auto !important;
}

@media (max-width: 768px) {
  .height-us {
    height: 100% !important;
  }
}

.catalog-hero-bg img {
  border-radius: 10px;
}

header .catalog-header-bg {
  margin: 1rem;
  border-radius: 10px !important;
}

@media (min-width: 995px) {

  .header-bg,
  .catalog-header {
    min-height: 37rem;
    max-height: 37rem;
  }
}

@media (max-width: 995px) {

  .header-bg,
  .catalog-header {
    min-height: 39rem;
    max-height: 43rem;
  }
}

@media (max-width: 768px) {

  .catalog-header,
  .catalog-header-bg {
    /* min-height: 350px; */
    max-height: 450px;
  }

  .catalog-header-bg img {
    aspect-ratio: 1/1;
    border-radius: 4px
  }

  header .catalog-header-bg {
    border-radius: 4px !important;
  }

}


/* .catalog-hero .hero:nth-child(2n+1) .col-md-4 {
  order: 1;
} */

.catalog-hero .hero {
  margin: 2.5rem auto;
}

.catalog-hero .hero .images {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  color: var(--bs-btn-active-color);
  background-color: #FFCC01;
  border-color: #FFCC01
}

.catalog-hero .hero .title span {
  letter-spacing: 2px;
  display: block;
  color: #9E792F;
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Gabarito';
}

.catalog-hero .hero .title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #111111;
}

.catalog-hero .hero p {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
}

@media (max-width: 768px) {

  .catalog-hero .hero .images {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  header .header-nav {
    margin-bottom: 0;
  }


}

.catalog-gray-info {
  background: #FAFAFA;
  padding: 1rem;
  border-radius: 20px;
}

.catalog-gray-info h3 {
  font-weight: 700;
}

.catalog-info {
  font-size: 2rem;
}



.catalog-info {
  padding-top: 1rem;
  font-weight: 900;
}

.catalog-hero-list {
  list-style: none;
  padding-left: 0px;
}

.catalog-hero-list li {
  position: relative;
  padding-left: 25px;
}

.catalog-hero-list li i {
  position: absolute;
  left: 0;
  top: 3px;
}

.catalog-hero-key-value {
  display: flex;
  /* justify-content: space-between; */
  align-items: baseline;
}

.catalog-hero-key-value .key {
  font-family: 'Gabarito';
  white-space: nowrap;
  /* Ensures "Oznaka" stays on one line */
}

.catalog-hero-key-value .value {
  font-family: 'Gabarito';
  white-space: normal;
  font-weight: 900;
  /* Ensures the value stays on one line */
}

.catalog-hero-key-value .dots {
  flex-grow: 1;
  /* Fill the space between the label and value */
  display: flex;
  align-items: center;
  /* Align dots vertically */
  margin: 0 8px;
  /* Spacing between text and dots */
  position: relative;
  height: 15px;
  /* Height matches dot size */
}

.catalog-hero-key-value .dots::before {
  content: '';
  display: block;
  width: 100%;
  height: 11px;
  /* Space for dots */
  position: absolute;
  bottom: 0;
  background: transparent;
  background-image: radial-gradient(circle, #d3d3d3 1px, transparent 1px);
  background-size: 5px 15px;
  /* Dot size and spacing */
  background-repeat: repeat-x;
}

.catalog-hero-info-small {
  color: #5f5f5f;
  font-size: smaller !important;
}

.catalog-hero-info-small a {
  text-decoration: none;
  font-size: small;
  font-weight: 500;
  color: #444
}

.catalog-hero-action-button {
  /* position: absolute; */
  bottom: 2rem;
  display: flex;
  justify-content: center;
}

.catalog-hero-action-button i {
  margin-left: 1rem;
  font-size: medium;
}

.header-nav-sticky {
  top: 0;
  z-index: 9999;
  border-radius: 20px;
  top: 0;
  background: #FFF !important;
  transition: top 1s ease;
}

.header-sticky {
  width: 95%;
  position: fixed !important;
  top: 0;
  transition: top 1s ease;
}

.catalog-header .header-bg:after {
  background: linear-gradient(0deg, rgba(17, 17, 17, 1) 0%, rgba(0, 212, 255, 0) 40%);
}

@media (max-width: 768px) {
  .catalog-header .header-bg:after {
    background: linear-gradient(0deg, rgba(17, 17, 17, 1) 0%, rgba(0, 212, 255, 0) 55%);
  }
}

.catalog-hero-image .images {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.catalog-header {
  margin: 0 !important;
  background-size: cover;
  background-attachment: fixed;
  /* Important for parallax */
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .catalog-header {
    margin: 0;

  }
}

.catalog-header-bg {
  position: relative;
  /* Allow positioning for parallax */
}

.catalog-hero {
  background: #fff;
  /* margin: 2.5rem auto; */
  background-size: cover;
  background-attachment: fixed;
  /* Important for parallax */
  background-repeat: no-repeat;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .header-sticky {
    width: 85%;
  }
}

.navbar-toggler:focus {
  box-shadow: none;
}

.title {
  margin-top: 2rem;
}

.catalog-hero-key-value-gray {
  display: flex;
  /* justify-content: space-between; */
  align-items: start;
}

.catalog-hero-key-value-gray .key {
  font-family: 'Gabarito';
  white-space: nowrap;
  color: #717171
    /* Ensures "Oznaka" stays on one line */
}

.catalog-hero-key-value-gray .value {
  font-family: 'Gabarito';
  white-space: nowrap;
  color: #717171
    /* Ensures the value stays on one line */
}

.catalog-hero-key-value-gray .dots {
  flex-grow: 1;
  /* Fill the space between the label and value */
  display: flex;
  align-items: center;
  /* Align dots vertically */
  margin: 0 8px;
  /* Spacing between text and dots */
  position: relative;
  height: 15px;
  /* Height matches dot size */
}

.catalog-hero-key-value-gray .dots::before {
  content: '';
  display: block;
  width: 100%;
  height: 11px;
  /* Space for dots */
  position: absolute;
  bottom: 0;
  background: transparent;
  background-image: radial-gradient(circle, #d3d3d3 1px, transparent 1px);
  background-size: 5px 15px;
  /* Dot size and spacing */
  background-repeat: repeat-x;
}

.catalog-hero-key-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-hero-key-value .value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.catalog-hero-key-value .value-asterix::after {
  content: '*';
  margin-left: -8px;
  /* Adjust this value to position the asterisk */
  position: relative;
  top: -4px;
  /* Adjust this value to position the asterisk */
  left: 10px;
}

.catalog-hero-key-value-gray {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-hero-key-value-gray .value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.catalog-hero-key-value-gray .value-asterix::after {
  content: '*';
  margin-left: -8px;
  /* Adjust this value to position the asterisk */
  position: relative;
  top: -4px;
  /* Adjust this value to position the asterisk */
  left: 10px;
}

/* CATALOG SUB NAV */

.catalog-sub-nav {
  position: fixed;
  top: -100px;
  left: 0;
  height: 4.5rem;
  width: 100%;
  z-index: 1000;
  background-color: white;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  top: 0px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-inline: 1rem;
}

.catalog-sub-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  position: relative;
}

/* Progress Underline */
.catalog-sub-nav a::after {
  content: "";
  border-radius: 20px;
  position: absolute;
  bottom: -10%;
  left: -35%;
  width: 0;
  height: 130%;
  background: #FFE593;
  transition: width 0.3s ease;
  z-index: -1;
}

.catalog-sub-nav a.active-tab::after {
  /* Changed class name */
  width: 170%;
}

@media (max-width: 768px) {

  .catalog-sub-nav {
    /* background: #FFF7EB; */
    background: rgb(246, 239, 224);
  }

  /* Progress Underline */
  .catalog-sub-nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9E792F;
    transition: width 0.3s ease;
  }

  .catalog-sub-nav a.active-tab::after {
    /* Changed class name */
    width: 100%;
  }
}

/* Scroll Animation Styles */
.catalog-scroll-animation {
  /* Changed class name */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.catalog-scroll-animation.show {
  /* Changed class name */
  opacity: 1;
  transform: translateY(0);
}

/* Section Styles (for demonstration) */
.catalog-section {
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

@media (max-width: 768px) {
  .catalog-section {
    min-height: 60vh;
    padding-top: 2rem;
    margin-top: 2rem;
    padding: 1rem 0 !important
  }

}

#section1,
#section3,
#section5,
#section7 {
  background-color: #F7F7F7;
  margin-top: 5rem;
  scroll-margin-top: 1rem;
  /* Moves the anchor position 2rem up */
}

#section1 {
  scroll-margin-top: 3rem;
}

#section2,
#section4,
#section6 {
  background-color: #FFF;
  scroll-margin-top: 1rem;
  /* Moves the anchor position 2rem up */
}

@media (max-width: 768px) {
  .catalog-section {
    min-height: 60vh;
    padding-top: 2rem;
    margin-top: 2rem;
    padding: 1rem 0 !important
  }

  #section1,
  #section3,
  #section5 {
    margin-top: 1rem;
  }

}

.key-value-catalog-info {
  display: flex;
}

.catalog-section h2 {
  display: flex;
  font-size: 1.5rem;
  font-weight: 900;
}

.catalog-section h3 {
  display: flex;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem !important;
}

.catalog-section p {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
}

.catalog-section h4 {
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  margin-top: 2rem;
}

.key-value-catalog-info ul {
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.key-value-catalog-info ul li {
  display: flex;
}

.key-value-catalog-info .key {
  font-weight: 700;
}

.line {
  margin-right: 0.2rem;
  margin-left: 0.2rem;
}

.catalog-video-hero {
  height: 75vh;
}

.catalog-video-hero .videos {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.catalog-video-hero iframe {
  /* pointer-events: none; */
  position: relative;
  top: 0;
  left: 0;
}

.catalog-hero-map {
  height: 75vh;
}

.catalog-hero-map .maps {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.catalog-hero-map iframe {
  /* pointer-events: none; */
  position: relative;
  top: 0;
  left: 0;
}

/* GALLERY CATALOG */

.xy-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.transition {
  transition: all 350ms ease-in-out;
}

.r-3-2 {
  width: 100%;
  padding-bottom: 66.667%;
  background-color: #FAFAFA;
}

.image-holder {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

.item-wrapper .image-holder {
  background-size: cover;
}

/* Main Styles */
.gallery-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery {
  overflow: auto;
  position: relative;
  white-space: nowrap;
  font-size: 0;
}

.gallery::-webkit-scrollbar {
  height: 10px;
  /* width of the entire scrollbar */
}

.gallery::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* color of the tracking area */
}

.gallery::-webkit-scrollbar-thumb {
  background-color: #9E792F;
  /* color of the scroll thumb */
  border-radius: 20px;
  /* roundness of the scroll thumb */
  border: 2px solid #9E792F;
  /* creates padding around scroll thumb */
}


.item-wrapper {
  cursor: pointer;
  width: 23%;
  /* arbitrary value */
  display: inline-block;
  background-color: #FAFAFA;
}

.gallery-item {
  opacity: 0.5;
  margin: 0;
}

.gallery-item.active {
  opacity: 1;
}

.controls {
  position: absolute;
  top: calc(0.5 * (100% - 10rem));
  font-size: 0;
  border-top: none;
}

.move-btn {
  height: 100%;
  border-radius: 20px;
  /* display: inline-block; */
  width: 3rem;
  height: 3rem;
  border: none;
  color: #fff;
  font-size: xx-large;
  background-color: #5f5f5f99;
  display: flex;
  /* Enables flexbox layout */
  justify-content: center;
  /* Centers content horizontally */
  align-items: center;
}

.move-btn:first-child {
  border-right: none;
}

.move-btn.left {
  position: absolute;
  left: -75px;
}

.move-btn.right {
  position: absolute;
  right: -75px;
}

.featured-item {
  height: 60vh;
  background-color: #FAFAFA;
}

.featured-item,
.gallery-wrapper,
.controls {
  width: 90%;
}

.gallery-container {
  position: relative;
}

.gallery-container li {
  padding-top: 1rem;
  width: 90%;
  display: flex;
  justify-content: start;
}

.gallery-container li ul {
  cursor: pointer;
}



/* CATALOG CONTACT */
.catalog-contact {
  display: flex;
}

.catalog-contact-image {
  width: 100px;
  /* Adjust as needed */
  height: 100px;
  /* Adjust as needed */
  border-radius: 50%;
  overflow: hidden;
}

.catalog-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-contact-info {
  flex-grow: 1;
}

.catalog-contact-name {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.catalog-contact-details {
  /* Style the contact details as needed */
}

/* Form Styling */
.catalog-contact-form label {
  display: block;
  margin-bottom: 5px;
}

.catalog-contact-form input,
.catalog-contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Ovo je tvoj stari stil za textarea.
   Kasnije ga prekrivamo za .float-label textarea
   kako bi imala isti “boxed” izgled kao input. */
.catalog-form textarea {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  border-bottom: 1px solid;
  color: #717171;
  font-size: 1rem;
  padding: 0;
  padding-left: 2px;
  align-content: center;
}

.catalog-form .checkbox {
  border: 1px solid black;
}

.catalog-form .checkbox-label a {
  color: black;
  font-weight: 600;
}

.catalog-contact-form button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.catalog-contact-form button:hover { background-color: #3b8f3e; }

.form-check-input:checked {
  background-color: #9E792F;
  border-color: #000;
}

.catalog-contact-agent { display: grid; }

/* ===============================
   CATALOG FORM – GLOBAL
   =============================== */

.catalog-form {
  --cf-border: #0f0f0f;     /* boja ruba polja */
  --cf-border-focus: #0f0f0f;
  --cf-label: #6c7883;      /* pasivna boja labele */
  --cf-label-active: #000;  /* aktivna boja labele */
  --cf-bg: #fff;            /* pozadina iza labele */
  --cf-radius: 6px;
  --cf-font: 16px;
}

.catalog-form .flex { display: flex; justify-content: center; }

/* ===============================
   FLOAT LABEL – WRAPPER
   =============================== */

.catalog-form .float-label {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: visible; /* da label može “sjediti” na rubu */
}

/* ===============================
   POLJA (input + textarea)
   =============================== */

.catalog-form .float-label input,
.catalog-form .float-label textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 18px 12px 8px 12px; /* više gore – prostor za labelu */
  font-size: var(--cf-font);
  line-height: 1.25;
  color: #000;
  box-sizing: border-box;
}

/* pregazi eventualne stare stilove textaree – “boxed” kao input */
.catalog-form .float-label textarea {
  min-height: 56px;
}

/* Fokus okviri */
.catalog-form .float-label input:focus,
.catalog-form .float-label textarea:focus {
  outline: none;
  border-color: var(--cf-border-focus);
}

/* ===============================
   LABEL – POČETNO UNUTAR POLJA
   =============================== */

.catalog-form .float-label label {
  position: absolute;
  top: 16px;               /* start unutar polja */
  left: 12px;
  margin: 0;
  z-index: 1;              /* iznad ruba */
  color: var(--cf-label);
  font-size: var(--cf-font);
  line-height: 1;
  pointer-events: none;
  background: var(--cf-bg);
  padding: 0 6px;          /* mali “jastučić” za notch efekt */
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* opcionalni “mostić” – proširi pozadinu da presječe crtu ruba ispod labele */
.catalog-form .float-label label::before,
.catalog-form .float-label label::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--cf-bg);
}
.catalog-form .float-label label::before { left: -6px; }
.catalog-form .float-label label::after  { right: -6px; }

/* ===============================
   AKTIVNO STANJE – LABEL NA GORNJOJ CRTI
   =============================== */

.catalog-form .float-label input:focus + label,
.catalog-form .float-label input:not(:placeholder-shown) + label,
.catalog-form .float-label textarea:focus + label,
.catalog-form .float-label textarea:not(:placeholder-shown) + label {
  top: 0;                  /* sjedne NA gornji rub */
  left: 10px;
  font-size: 12px;
  color: var(--cf-label-active);
  background: var(--cf-bg);
  padding: 0 6px;
}

/* ===============================
   STANJA – INVALID/AUTOFILL/DISABLED (opcionalno)
   =============================== */

.catalog-form .float-label input:invalid:focus,
.catalog-form .float-label textarea:invalid:focus {
  border-color: #c62828;
}

.catalog-form .float-label input:-webkit-autofill,
.catalog-form .float-label textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  -webkit-text-fill-color: #000;
  transition: background-color 5000s ease-in-out 0s;
}

.catalog-form .float-label input:disabled,
.catalog-form .float-label textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* ===============================
   CHECKBOX + LINKOVI U UVJETIMA
   =============================== */

.catalog-form .checkbox-label {
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.95rem;
  color: #333;
}

.catalog-form .checkbox-label a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.catalog-form .form-check-input.checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--cf-border);
}

.form-check-input:checked {
  background-color: #9E792F;
  border-color: #000;
}

/* ===============================
   GUMB
   =============================== */

.catalog-form button {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: var(--cf-radius);
  cursor: pointer;
  transition: background-color .2s ease;
}
.catalog-form button:hover { background-color: #333; }

.catalog-form .float-label textarea { resize: vertical; }

/* glatkija animacija */
.catalog-form .float-label label { will-change: top, left, font-size; }

.catalog-contact-agent .title span {
  letter-spacing: 2px;
  display: block !important;
  color: #9E792F;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Gabarito';
}

.catalog-contact-agent h3 {
  display: block !important;
}

.catalog-contact-agent .title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111111;
}

.agent-info {
  font-size: 0.8rem;
}

.agent-picture-container {
  display: flex;
  padding: 1rem;
}

.agent-picture {
  border-radius: 4px;
  box-shadow: #717171 5px 5px 10px 0px;
  width: 90%;
}

@media (max-width: 768px) {
  .agent-picture {
    object-fit: cover;
    aspect-ratio: 1/1;
    min-width: 350px;
  }
}

.agent-social {
  font-size: 2.5rem;
}


.agent-social a {
  text-decoration: none;
  margin: 1rem;
}

.agent-sub-info {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.social-text {
  height: 1.5rem;
  font-size: 1.125rem;
}

.social-text p {
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.social-text a {
  font-size: 1.125rem;
  text-decoration: none;
  color: #222;
}

.catalog-form-title {
  display: grid;
}

.catalog-form-title .title span {
  letter-spacing: 2px;
  display: block !important;
  color: #9E792F;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Gabarito';
}

.catalog-form-title h3 {
  display: block !important;
}

.catalog-form-title .title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111111;
}

.catalog-form {
  display: grid;
  margin-top: 4rem;
}

.catalog-form label {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: #333333
}

.catalog-form input {
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #333333 !important;
}

.catalog-form input:focus-visible {
  border: none;
}

.catalog-category-hero {
  position: relative;
}

.image-wrapper {
  position: relative;
  /* Add position relative to the wrapper */
  border-radius: 20px;
  /* Apply border-radius to the wrapper */
  overflow: hidden;
  /* Hide any content that overflows the wrapper */
}

.category-hero-images {
  aspect-ratio: 12 / 5;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Ensure the image covers the entire wrapper */
}

@media (max-width: 768px) {
  .category-hero-images {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Ensure the image covers the entire wrapper */
  }
}

.image-wrapper::after {
  /* Apply the gradient to the wrapper */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #000000aa 0%, #00000088 30%, #00000000 60%);
  pointer-events: none;
}

/* 
.category-hero-images {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  z-index: -1;
}

.category-hero-images::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(0deg, #000000aa 0%, #00000088 20%, #00000000 60%);
  pointer-events: none;
} */


.catalog-category-hero-info {
  display: block;
  position: relative;
  bottom: 13rem;
  text-align: center;
  color: #fff;
}

.catalog-category-hero-info h3 {
  /* font-family: 'Gabarito'; */
  font-size: 2.2rem;
  font-weight: 900;
}

.catalog-category-hero-info h4 {
  font-weight: 700;
  font-size: 1rem;
}

.catalog-category-hero a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 2rem;
}

.catalog-legal-info h3 {
  margin-top: 4rem;
  font-weight: 900;
  font-size: 2.2rem;
}



.catalog-legal-info p {
  color: #717171;
  font-size: 1rem;
}

.catalog-legal-info {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .catalog-nav-tabs {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .catalog-nav-tabs {
    margin-bottom: 0.5rem;
  }

  .catalog-category-hero-info h3 {
    /* font-family: 'Gabarito'; */
    font-size: 1.5rem;
    font-weight: 900;
  }
}

.gallery-container p {
  font-weight: 500;
  font-size: 0.8rem;
}

.gallery-container li {
  padding-left: 0;
}

.gallery-container ul {
  padding-left: 0;
  margin-right: 1rem;
}

sup {
  font-size: 0.7rem;
  /* Adjust size relative to parent */
  vertical-align: middle;
  line-height: 0;
}

.arrow-top {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 760px) {
  .arrow-top {
    position: relative;
    text-align: center;
    bottom: 1px;
    width: 1.35rem;
    height: 1.35rem;
  }

  #productCarousel .f-carousel__slide img {
    width: 100%;
  }

}

.catalog-legal-info p {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
}


/* ISTAKNUTE NOVI SLIDER */
#cardSlider {
  --f-carousel-slide-width: 100%;
  --f-carousel-spacing: 0;
  --f-carousel-slide-padding: 0 1rem;

  --f-button-prev-pos: 5rem;
  --f-button-next-pos: 5rem;

  --f-button-bg: #fff;
  --f-button-color: #333;

  --f-button-width: 48px;
  --f-button-height: 48px;
  --f-button-border-radius: 50%;

  --f-button-svg-width: 27px;
  --f-button-svg-height: 27px;
  --f-button-svg-stroke-width: 1.5;

  --f-button-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

@media screen and (min-width: 640px) {
  #cardSlider {
    --f-carousel-slide-width: calc(100% / 3);
  }
}

.rounded-lg {
  border-radius: 10px;
}

.is-horizontal .f-carousel__nav .f-button.is-prev,
.is-horizontal .f-carousel__nav .f-button.is-next,
.is-horizontal .fancybox__nav .f-button.is-prev,
.is-horizontal .fancybox__nav .f-button.is-next {
  top: 50%;
  transform: translateY(-150%);
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* .bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
} */

.max-w-6xl {
  max-width: 72rem;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.paralax-hero {
  padding: 1rem;
}

.paralax-hero img {
  border-radius: 20px !important;
}

/*Location slider catalog */
#locationSlider,
#locationSlider-2,
#locationSlider-3 {
  --f-carousel-slide-width: 100%;
  --f-carousel-spacing: 0;
  --f-carousel-slide-padding: 0 1rem;

  --f-button-prev-pos: 5rem;
  --f-button-next-pos: 5rem;

  --f-button-bg: #fff;
  --f-button-color: #333;

  --f-button-width: 48px;
  --f-button-height: 48px;
  --f-button-border-radius: 50%;

  --f-button-svg-width: 27px;
  --f-button-svg-height: 27px;
  --f-button-svg-stroke-width: 1.5;

  --f-button-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.location-slider {
  --f-carousel-slide-width: 100%;
  --f-carousel-spacing: 0;
  --f-carousel-slide-padding: 0 1rem;

  --f-button-prev-pos: 5rem;
  --f-button-next-pos: 5rem;

  --f-button-bg: #fff;
  --f-button-color: #333;

  --f-button-width: 48px;
  --f-button-height: 48px;
  --f-button-border-radius: 50%;

  --f-button-svg-width: 27px;
  --f-button-svg-height: 27px;
  --f-button-svg-stroke-width: 1.5;

  --f-button-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

@media screen and (min-width: 768px) {

  #locationSlider,
  #locationSlider-2,
  #locationSlider-3 {
    --f-carousel-slide-width: calc(100% / 1);
    height: auto;
  }

  #locationSlider .f-carousel__viewport,
  #locationSlider-2 .f-carousel__viewport,
  #locationSlider-3 .f-carousel__viewport {
    /* height: 290px; */
  }

  #locationSlider .image-wrapper,
  #locationSlider-2 .image-wrapper,
  #locationSlider-3 .image-wrapper {
    height: 100%;
  }

  .location-slider {
    --f-carousel-slide-width: calc(100% / 1);
    aspect-ratio: 12/5;
    height: auto;
  }

  .location-slider .f-carousel__viewport {
    /* height: 290px; */
  }

  .location-slider .image-wrapper {
    height: auto;
  }
}

.mobile-hero {
  display: none;
}

.desktop-hero {
  display: block;
}

@media (max-width: 768px) {
  .mobile-hero {
    display: block;

  }

  .image-wrapper {

    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .desktop-hero {
    display: none;
  }

  #locationSlider .f-carousel__viewport,
  #locationSlider-2 .f-carousel__viewport,
  #locationSlider-3 .f-carousel__viewport {
    width: 110%;
  }

  .location-slider .f-carousel__viewport {
    width: 110%;
  }

  .catalog-category-hero-info {
    margin-top: 1rem;
    bottom: 0px;
    color: #000
  }

  .catalog-category-hero-info a {
    color: #000
  }

  .image-wrapper::after {
    background: transparent;
  }

  .image-wrapper img {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .catalog-category-hero {
    margin-bottom: 2rem;
  }
}

#locationSlider li,
#locationSlider-2 li,
#locationSlider-3 li {
  width: auto;
}

.location-slider li {
  width: auto;
}

.purple {
  color: #7360F2
}

.green {
  color: #25D366
}

@media (max-width: 768px) {
  .catalog-info {
    font-weight: 900;
    font-size: 2rem;
    padding-top: 2rem;
  }

  .catalog-section h3 {
    font-size: 2.2rem;
  }

  .catalog-section h4 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .catalog-hero {
    margin-top: 0;
    margin-bottom: 0;
  }

  .catalog-hero .hero {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.share-dropdown {
  width: 190px;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 1rem !important;
  height: fit-content;
  z-index: 99999;
}

.share-dropdown-item {
  padding-left: 0;
}

.share-dropdown-item i {
  margin-right: 1rem;
}

.catalog-title {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  #section1 {
    padding-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .catalog-info-title {
    font-size: 1.8rem;
  }

  #section2,
  #section3,
  #section4,
  #section5,
  #section6,
  #section7 {
    scroll-margin-top: 2.2rem;
  }
}

#locationSlider,
#locationSlider-2,
#locationSlider-3 {
  padding-top: 1rem;
}

.location-slider {
  padding-top: 1rem;
}

#cardSlider {
  padding-top: 1rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.pt-7 {
  padding-top: 8rem;
}

#cardSlider .f-carousel__slide img {
  width: 300px !important;
  height: 400px !important;
  object-fit: cover;
}

.f-carousel__slide .card-body {
  min-height: 175px;
  display: grid;
  align-content: space-between;
}

.catalog-title {
  padding-top: 10rem;
}

.catalog-title h2,
.catalog-title p {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}


.catalog-title p {
  font-weight: 600;
  font-size: large;
  text-transform: uppercase;
}

.catalog-title h2 {
  font-weight: 600;
  font-size: large;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .catalog-header-mobile {
    height: 650px;
  }


  .catalog-title {
    padding-top: 16rem;
  }

  .location-title {
    padding-top: 16rem;
  }

  .location-description h1 {
    font-size: 2rem !important;
  }

  .location-description {
    padding-inline: 2rem;
  }
}

.capital-case p {
  text-transform: lowercase;
}

.capital-case p {
  text-transform: capitalize !important;
}

.catalog-header-content {
  color: #ffffff
}

.header-text {
  min-height: 2rem;
  margin: 0.0rem;
  padding: 0rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* font-family: 'GABARITO'; */
  text-align: center;
}

/* .header-text p {
  padding-left: 4rem;
  padding-right: 4rem;
} */

.catalog-title-padding {
  padding-top: 1rem !important
}

.catalog-category-hero-info h4 {
  text-transform: capitalize;
}

.catalog-category-hero-info a {
  text-decoration: underline;
}

.location-carousel {
  justify-content: center;
  align-items: center;
}

.sold {
  text-transform: uppercase;
  font-family: GABARITO;
  color: white;
  background: #78070Be6;
  height: 5rem;
  width: 20rem;
  border-radius: 20px;
  font-size: xx-large;
  text-align: center;
  position: absolute;
  top: 38%;
  left: calc(50% - 10rem);
  rotate: -30deg;
  align-content: center;
}

.reserved {
  text-transform: uppercase;
  font-family: GABARITO;
  color: white;
  background: #071E07E6;
  height: 5rem;
  width: 20rem;
  border-radius: 20px;
  font-size: xx-large;
  text-align: center;
  position: absolute;
  top: 38%;
  left: calc(50% - 10rem);
  rotate: -30deg;
  align-content: center;
}

.sold-small {
  text-transform: uppercase;
  font-family: GABARITO;
  color: white;
  background: #78070Be6;
  height: 3rem;
  width: 10rem;
  border-radius: 20px;
  font-size: x-large;
  text-align: center;
  position: absolute;
  top: 40%;
  left: calc(50% - 5rem);
  rotate: -30deg;
  align-content: center;
}

.reserved-small {
  text-transform: uppercase;
  font-family: GABARITO;
  color: white;
  background: #071E07E6;
  height: 3rem;
  width: 15rem;
  border-radius: 20px;
  font-size: x-large;
  text-align: center;
  position: absolute;
  top: 40%;
  left: calc(50% - 7.5rem);
  rotate: -30deg;
  align-content: center;
}


.fix-page-padding {
  padding-top: 10rem;
}

@media (max-width: 768px) {
  .fix-page-padding {
    padding-top: 26rem;
  }

}

.hero-number {
  position: absolute;
  background: #FFCC01;
  width: 4rem;
  height: 4rem;
  text-align: center;
  align-items: center;
  align-content: center;
  top: -5rem;
  left: 20rem;
  font-size: xx-large;
  border-radius: 50%;
  color: #ffffff;
}

.hero-number-test {
  margin-right: 1rem;
  height: 3rem;
  width: 3rem;
  background: #ffffff;
  color: #000;
  text-align: center;
  align-content: center;
  font-size: xx-large !important;
  position: relative;
  top: -1rem;
  font-weight: 800 !important;
  border-radius: 50%;
}

.padding-3 {
  padding-inline: 3rem;
}

.filter-form .nice-select {
  border: 1px solid #000;
  display: flex;
  justify-content: center;

}

.filter-form .nice-select span {
  font-weight: 600;
  font-size: 1rem;
  /* font-size: larger; */
}

.ml-2 {
  margin-left: 1rem;
}

@media (max-width: 768px) {
  .header-padding {
    min-height: 90vh;          /* cijeli ekran */
    display: flex;
    flex-direction: column;
    justify-content: flex-end !important;
    align-items: center;
    padding-top: 7rem !important;
    position: relative;
    padding-top: 80px;   /* udaljenost naslova od vrha */
    padding-bottom: 20px;
  }

/* 1) Naslov prvi ispod loga/menija */
  .header-padding .hero-title {
    order: 1 !important;
    margin-bottom: 0 !important;
  }

  /* 3) Podnaslov / opis teksta ispod gumba */
  .header-padding .hero-text,
  .header-padding .home-buttons {
    margin-bottom: 0 !important;   /* ništa ne gura prema gore */
  }

  .header-padding .home-buttons {
    order: 2;
    width: 100%;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .header-padding .home-buttons .btn {
    width: 100%;
  }

  .header-padding .lead.mb-2.mt-2 {
    display: none !important;
    order: 3;
    max-width: 310px;
    text-align: center;
  }

  .home-hero .hero .title {
    font-size: 2.6rem;
  }

  .section-title h3 {
    font-size: 2.4rem;
  }

  .filters {
    padding: 1rem;
    padding-top: 1rem !important;
    padding-bottom: 0rem;
  }

  .filter-header {
    padding: 0rem;
  }

  section {
    padding: 1rem 0;
  }

  .section-title {
    margin: 2rem 1rem 1.5rem;
  }

  .section-title p {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 768px) {
  #shareList {
    display: none !important;
  }
}

.text-unset {
  text-transform: unset !important;
  font-weight: 300 !important;
}

/* .fixed-bottom {
  display: none;
} */

.header-down {
  padding-top: 0;
  position: absolute !important;
  bottom: 2rem !important;
}

.cookie-div {
  border-radius: 4px;
  color: #717171;
  font-size: small;
}

.cookie-div a {
  color: #5f5f5f;
  font-weight: 600;
}

.cookie-div h2 {
  color: #222
}

.cookie-div .form-check,
.cookie-div .form-check-label {
  font-size: medium;
}

.agent-hero-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.agent-hero-image {
  border-radius: 4px;
}

.agent-info {
  margin-top: 1rem;
  display: grid;
  justify-content: center;
  text-align: center;
}

.agent-info p {
  margin-bottom: 0.2rem;
}

.working-place {
  color: #9E792F;
  font-size: 1rem;
  /* letter-spacing: 1.5px; */
}

.agent-info {
  min-height: 310px;
}

.agent-hero {
  justify-content: center;
  text-align: center;
}

.agent-hero-image {
  margin-top: 1rem;
  height: 300px;
}

@media (max-width:768px) {
  .agent-hero-image {
    height: 350px;
  }
}

.agent-info .name {
  color: #000;
  font-weight: 700;
  font-size: 1.5rem;
}

.agent-info .other {
  color: #5f5f5f;
  font-size: 0.8rem;
}

.agent-info a {
  color: #333
}

.agent-info button {
  margin-top: 1rem;
}

.agent-info a::before {
  font-size: x-large;
  margin-top: 1rem;
}

.agent-info .purple {
  color: #7360F2;
  text-decoration: none;
}

.agent-info .green {
  color: #25D366;
  text-decoration: none;
}

p.agent-info {
  min-height: 0;
}

.fix-images {
  width: 250px !important;
  height: 250px !important;
  object-fit: cover !important;
}

.content h4 {
  font-family: 'GABARITO';
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 2rem;
}

.location-description h2 {
  font-size: 2.5rem;
  font-weight: 900;
}

gmp-map #shadow-root div {
  margin-bottom: 4px !important;
  border-radius: 4px;
}

.menu-margin {
  margin: 0;
}

.hide {
  display: none;
}

.swal2-select {
  display: none;
}

.news-update {
  background: #FAFAFA;
  border-radius: 4px;
  padding: 1.5rem;
}

.news-hero-key-details {
  font-size: 1.2rem;
  display: block;
  align-items: center;
  align-content: center;
}

.news-hero-image img {
  border-radius: 4px;
}

.news-update .news-hero-features {
    display: flex;
    flex-direction: column;   /* naslov + lista ispod */
    justify-content: center;
}

.upper-news-title {
  color: #9E792F;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.news-details-title {
  font-size: 2.5rem !important;
  font-weight: 900;
  margin-bottom: 1rem;
}

.news-details-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #5f5f5f;
}

.news-images img {
  border-radius: 4px;
  margin-bottom: 1rem;
}

.news-date-title {
  font-size: 1.5rem !important;
}

.news-description {
  padding-left: 2rem;
  padding-right: 2rem;
}

.news-price-heading {
  height: 2.5rem;
  border-bottom: 1.5px solid #d3d3d3;
  text-align: center;
  align-content: center;
  color: #5f5f5f;
  padding: 10px;
}

.news-price-row {
  height: 3.5rem;
  border-bottom: 1.5px solid #d3d3d3;
  text-align: center;
  align-content: center;
  color: #5f5f5f;
  padding: 10px;
  align-items: center;
}

.news-price-price {
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .news-price-row {
    font-size: 0.8rem;
  }

  .news-price-price {
    font-size: 1rem;
  }
}

.new-price {
  color: #000;
}

.old-price {
  color: #d3d3d3;
}

.news-price-disclaimer {
  color: #c2c2c2;
  font-size: 0.8rem;
}

.pdv-row {
  border-bottom: 2px solid black;
}

.home-news-title {
    font-size: 2.5rem !important;
    font-weight: 800;
  }

@media (min-width: 768px) {
  .home-news-title {
    font-size: 2.5rem !important;
  }
}

.swiper-slide {
  display: flex !important;
  flex-wrap: wrap;
}

.swiper-slide>.col-12 {
  display: block;
}

.gallery-info {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  margin-left: 0.5rem;
}

.navbar-toggler {
  padding: 0.5rem;
  transition: background 0.3s ease;
  border-radius: 20px;
}

/* Default hamburger bars */
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Show X icon and background when menu is open (no .collapsed) */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.9%29' stroke-linecap='round' stroke-width='2' d='M6 6 L24 24 M6 24 L24 6'/%3E%3C/svg%3E");
  background-color: #e0e0e0;
  padding: 0.5rem;
  border-radius: 7px;
}

.language-item a {
  align-items: center;
  justify-content: center;
}

.glide__arrow {
  background-color: transparent;
  font-size: 2rem;
  border: 0px solid #000;
  /* color: #000; */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glide__arrow:hover {
  background-color: #f8f8f8;
  color: #000;
  border-color: #9e792f;
  /* zlatno-smeđa boja s portun.com */
}

/* Pozicioniranje strelica ako su unutar pozicioniranog roditelja */
.glide__arrow--left {
  position: absolute;
  left: -50px;
  top: calc(50% - 1.5rem);
  /* centers vertically minus 1rem */
  transform: translateY(-50%);
}

.glide__arrow--right {
  position: absolute;
  right: -50px;
  top: calc(50% - 1rem);
  /* centers vertically minus 1rem */
  transform: translateY(-50%);
}

.glide__arrow--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Desktop – koristi originalne Glide strelice */
@media (min-width: 769px) {
  .glide__arrow {
    display: flex !important;
    font-size: 2rem;     /* prikazuje originalni znak unutar <button> */
  }

  .glide__arrow::before {
    content: none !important;  /* sakrij pseudo-element */
  }
}

/* Mobitel – koristi kapsule s našim strelicama */
@media (max-width: 768px) {
  .glide__arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 40px;
    height: 120px;
    background: rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0; /* sakrij originalni znak iz <button> */
    color: #fff;
    transition: background 0.3s ease;
    padding: 20px;
  }

  .glide__arrow--left::before {
    content: "\276C"; /* naš simbol */
    font-size: 2.5rem;
  }

  .glide__arrow--right::before {
    content: "\276D"; /* naš simbol */
    font-size: 2.5rem;
  }

  .glide__arrow--left {
    left: -40px;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border-top-left-radius: 0;       /* ravno prema rubu */
    border-bottom-left-radius: 0;
  }

  .glide__arrow--right {
    right: -40px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-right-radius: 0;      /* ravno prema rubu */
    border-bottom-right-radius: 0;
  }

  .glide__arrow--hidden {
  opacity: 0;
  pointer-events: none;
  }
}

.glide__bullets {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center !important;
  ;
  align-items: center;
}

@media (max-width: 768px) {
  .glide__bullets {
    display: none !important;
  }
}

.glide__bullet {
  background-color: #d6d6d6;
  width: 8px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  display: inline-block;
  border: none;
  transition: background-color 0.3s ease;
}

@-moz-document url-prefix() {

  /* Firefox only */
  .glide__bullet {
    height: 8px;
    width: 8px;
  }
}

/* Mobile Safari only */
@supports (-webkit-overflow-scrolling: touch) {
  @media screen and (max-width: 1024px) {

    /* adjust width as needed for mobile */
    .glide__bullet {
      width: 12px;
      height: 12px;
    }
  }
}

.glide__bullet--active {
  background-color: #000;
  /* crna za aktivnu točku */
}

.default-fonts h1 {
  font-size: 3rem;
}

.default-fonts h2 {
  font-size: 2.5rem;
  margin-top: 2rem;
}

.default-fonts h3 {
  font-size: 2rem;
  margin-top: 1.4rem !important;
  font-weight: 900 !important;
}

/* .default-fonts a {
  color: #333333 !important;
  font-weight: 800 !important;
} */

@media (max-width:768px) {
  .default-fonts h1 {
    font-size: 2.2rem;
  }

  .default-fonts h2 {
    font-size: 1.9rem;
    margin-top: 1.7rem !important;
    margin-bottom: 1.3rem !important;
  }

  .default-fonts h3 {
    font-size: 1.5rem !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1rem !important;
  }
}

/* FULLSCREEN STYLE for MOBILE MENU */
body.menu-open .header {
  padding: 0;
  margin: 0;
  background: white;
  transition: all 0.5s ease-in-out;
}

/* Remove transition jump */
body.menu-open .navbar.header-menu {
  position: absolute !important;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  align-items: baseline;
}

/* Hide scrollbar on body when menu is open */
body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .catalog-hero-key-value .key {
    white-space: normal;
    word-break: break-word;
  }
}

.news-category {
  font-weight: 800;
  font-size: 2.2rem;
}
@media (max-width: 768px) {
.news-category {
  padding-left: 0.5rem;
  }
}
.f-carousel__slide img {
  transition: none !important;
  opacity: 1 !important;
  background-color: transparent !important;
}

.highlighs-date {
  color: #717171;
}

.news-image-format {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}

/* ✅ FEATURES LIST — PORAVNAVANJE */
.features-list {
  margin: 0;
  padding: 0;
}

/* Stil za svaku stavku */
.feature {
  display: flex;
  align-items: flex-start;
}

/* Ikonica kvačice ✔ */
.feature .icon {
  color: #22c55e;
  /* zelena kvačica ✔ */
  font-size: 1em;
  /* automatski prati veličinu teksta */
  margin-right: 8px;
  /* razmak između kvačice i teksta */
  flex-shrink: 0;
}

/* Tekst poravnat s početkom */
.feature .text {
  display: inline-block;
  word-break: break-word;
  /* sprječava prelamanje ikone */
}

/* 📱 Mobilna verzija */
@media (max-width: 768px) {
  .feature {
    margin-bottom: 3px;
    /* manji razmak na mobitelu */
  }

  .feature .icon {
    font-size: 1em;
    /* prati veličinu teksta i na mobitelu */
    margin-right: 6px;
  }
}

/* Pusti klikove "kroz" kontejner, ali ne kroz stvarne interaktivne dijelove */
.swiper {
  pointer-events: none;
}

.swiper .swiper-wrapper,
.swiper .swiper-slide,
.swiper .swiper-button-prev,
.swiper .swiper-button-next,
.swiper .swiper-pagination {
  pointer-events: auto;
}

/* Coverflow/shadow slojevi ne smiju hvatati klik */
.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-cube-shadow {
  pointer-events: none;
}

/* (Opcionalno) ako koristiš overlaye ili maske izvan slajda */
.swiper .swiper-slide>* {
  pointer-events: auto;
}

/* --- Stilovi za centriranje aktivnog bulleta na SREDINU EKRANA --- */

/* Desktop i zadani stilovi (kako se ponaša na velikim ekranima) */
.glide__bullets {
  justify-content: center;
  /* Normalno centrira sve točkice */
}

/* --- Stilovi za centriranje i prikazivanje samo 5 točkica --- */

/* Desktop i zadani stilovi */
.glide__bullets {
  justify-content: center;
}

.text-wrapper {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* collapsed = početno stanje */
.text-wrapper.collapsed {
  max-height: 18rem;   /* desktop */
}

@media (max-width: 768px) {
  .text-wrapper.collapsed {
    max-height: 20rem; /* mobitel */
  }
  .text-wrapper.collapsed::after {
    height: 4rem; /* fade na dnu */
  }
}

/* fade efekt */
.text-wrapper.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, #fff 80%);
  pointer-events: none;
}

/* expanded stanje */
.text-wrapper:not(.collapsed) {
  max-height: 9999px; /* praktično neograničeno */
}

/* gumb */
.toggle-btn {
  display: none; /* default skriven dok JS ne odluči */
  margin-top: 0.5rem; 
  color: #111111;
  background: none; 
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.toggle-btn:hover {
  color: #0056b3;
}

.no-results .filters {
  display: none !important;
}

/* Sakrij default bullet-e SAMO na pametnom pageru */
.use-smart-pager .glide__bullets {
  display: none !important;
}

/* Samo unutar naših pametnih pagera */
.glide.use-smart-pager .glide__bullets { display: none !important; } /* ne diramo druge glideove */
.smart-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  user-select: none;
}

/* Točka – baza (mala) */
.smart-pager .sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: .35;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
  color: #000; /* preuzet ćeš iz svog teme ako želiš */
}

/* Aktivna i susjedi – ISTA veličina (tvoja želja), ali susjedi “tiši” */
.smart-pager .sp-dot.is-active {
  background-color: #FFCC01 !important;
  border-color: #FFCC01 !important;
  transform: scale(1.6);
  opacity: 1;
}
.smart-pager .sp-dot.is-neighbor {
  transform: scale(1.2);  /* ista veličina kao aktivna */
  opacity: .6;            /* ali manje naglašena */
}

/* Sakrij dotove izvan prozora */
.smart-pager .sp-dot.is-hidden { display: none; }

/* Strelice – auto hide */
.glide__arrow--hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}

/* Po želji: u uskom prikazu malo zbij točkice */
@media (max-width: 768px) {
  .smart-pager { gap: 8px; margin-top: 10px; }
}

@media (max-width: 768px) {
    .nice-select.wide {
        margin-top: 0px !important;   /* ili 0px ili što već želiš */
    }
}

@media (max-width: 768px) {
  .padding-3 {
      padding-inline: 1rem;
  }
}

/* osnovni stil kao Drumelia */
.nice-select.wide {
    background-color: #f5f5f7 !important;   /* svjetlosiva pozadina */
    border-radius: 6px !important;          /* zaobljeni rubovi */
    border-color: transparent;
    height: 42px !important;
    padding-left: 14px !important;
    padding-right: 30px !important; /* mjesto za strelicu */
    line-height: 40px !important;
}

/* tekst placeholdera (value=0) malo svjetliji */
.nice-select.is-placeholder .current {
    color: #9b9b9b !important;
}

/* otvoreni dropdown – drumelia style */
.nice-select .list {
    border-radius: 6px !important;
    background-color: #fff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.fw-home.display-4 {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 200 !important;
    text-transform: uppercase;
  }

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;              /* razmak između gumba */
    margin-bottom: 0.5rem;
}

.home-buttons .dr-btn {
    flex: 1;     
    min-width: 310px;           /* oba gumba će biti JEDNAKE širine */
    max-width: 260px;       /* (opcija) ako želiš ograničiti da ne budu preširoki */
    text-align: center;
    padding: 14px 20px;
    background-color: #ffffff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s ease;
}

.home-btn:hover {
    background-color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

/* crna sekcija */
.home-hero-black {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    position: relative;
}

@media (max-width: 768px) {
  .home-hero-black {
      padding: 0px 0;
      margin-top: 40px;
      padding-bottom: 3rem;
  }
}

/* lijevi + desni stupac uz malo razmaka */
.home-hero-black .row {
    align-items: center;
    gap: 20px;
}

/* prednaslov */
.home-hero-black .hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffc800;
    display: block;
    margin-bottom: 10px;
}

/* naslov */
.home-hero-black .hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #ffffff !important;
    margin-bottom: 1.5rem;
}

/* tekst */
.home-hero-black .hero-text p {
    color: #dddddd;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* link "Mehr dazu" */
.home-hero-black .hero-more-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
}

.home-hero-black .hero-more-link:hover {
    text-decoration: underline;
}

/* Desktop: dva stupca jedan do drugoga */
.home-hero-black .row.align-items-start {
    display: flex;          /* osigura da radi kao flex */
    flex-direction: row-reverse;    /* VAŽNO: vodoravno */
    flex-wrap: nowrap;
}

/* Mobile: tek tada stupce stavljamo jedan ispod drugog */
@media (max-width: 768px) {
    .home-hero-black .row.align-items-start {
        flex-direction: column;
        flex-wrap: nowrap;
    }
}

/* mobile: gumbi jedan ispod drugoga */
@media (max-width: 768px) {
  .col-lg-8.mx-auto,
  .home-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    min-width: 30px;
    /*margin: 24px auto 0 auto;*/   
    align-items: center;         /* dodatno osiguranje */
    text-align: center;
  }

  .home-buttons .btn {
    display: block;
    width: 100%;                 
    margin: 0 auto;              
  }
}

.btshlead {
    font-size: 1rem;
    margin: 0.1rem;
  }

@media (max-width: 768px) {
  .col-md-4 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  
  .btshlead {
    display: none !important;
    font-size: 0.7rem;
    margin: 0.1rem;
  }
}

.align-items-start {
  align-items: center !important;
}

/* POCETAK OWL CAROUSEL*/
.similar-carousel {
  position: relative;
}

.similar-carousel .item {
  padding: 10px 0;
}

.hero-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 400px; 
}

.hero-card img {
  display: block;
  width: auto !important;
  height: 400px !important;
  object-fit: cover;
}

/* Overlay preko slike */
.hero-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0) 100%
  );
}

/* Žuti gumb */
.hero-card__btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  background-color: #ffc800;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hero-card__btn:hover {
  background-color: #ffda42;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
}

/* Nav kontejner preko cijelog slidera */
.similar-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  display: block;
  pointer-events: none; /* nav kontejner ne hvata klikove */
}

/* Pojedinačni gumbi strelica */
.similar-carousel .owl-nav button.owl-prev,
.similar-carousel .owl-nav button.owl-next {
  pointer-events: auto;           /* gumbi se normalno klikaju */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff !important;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (max-width: 768px) {
  .similar-carousel .owl-nav button.owl-prev,
  .similar-carousel .owl-nav button.owl-next {
    pointer-events: auto;           /* gumbi se normalno klikaju */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff !important;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-size: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

    .similar-carousel .owl-nav button.owl-prev {
    opacity: 70%;
    left: -16px !important;   /* po želji podešavaš */
  }

  .similar-carousel .owl-nav button.owl-next {
    opacity: 70%;
    right: -16px !important;  /* pomakni više/lijevo po ukusu */
  }
}

/* lijeva strelica – unutar prve kartice */
.similar-carousel .owl-nav button.owl-prev {
  opacity: 70%;
  left: -32px;   /* po želji podešavaš */
}

/* desna strelica – unutar zadnje vidljive kartice */
.similar-carousel .owl-nav button.owl-next {
  opacity: 70%;
  right: -32px;  /* pomakni više/lijevo po ukusu */
}

/* sakrij defaultni span s > koji Owl dodaje */
.similar-carousel .owl-nav button span {
  display: none;
}

/* hover efekt */
.similar-carousel .owl-nav button.owl-prev:hover,
.similar-carousel .owl-nav button.owl-next:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ikone strelica kao pseudo-elementi */
.similar-carousel .owl-nav button.owl-prev::before,
.similar-carousel .owl-nav button.owl-next::before {
  content: '';
  border: solid #333;
  border-width: 0 3px 3px 0;
  padding: 7px;
  display: inline-block;
}

.similar-carousel .owl-nav button.owl-prev::before {
  transform: rotate(135deg);
}

.similar-carousel .owl-nav button.owl-next::before {
  transform: rotate(-45deg);
}

.similar-carousel .owl-nav .owl-prev.disabled,
.similar-carousel .owl-nav .owl-next.disabled {
  opacity: 0;
  pointer-events: none;
}

/* dots */
.similar-carousel .owl-dots {
  margin-top: 10px;
}

.similar-carousel .owl-dot span {
  background: #ccc;
}

.similar-carousel .owl-dot.active span {
  background: #333;
}

/* Responsivnost */
@media (max-width: 768px) {
  .hero-card__title {
    font-size: 1.0rem;
  }
}

.hero-card__title,
.hero-card__price, 
.hero-card__size {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center !important;
  margin: 0 0 0.6rem 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.hero-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;         /* budi širok kao cijela kartica */
  max-width: 100%;     /* ne sužavaj se po sadržaju */
  margin: 0;
  text-align: center;
}

/* gumb lijevo */
.hero-card__content .btn {
  align-self: center;
}

.hero-card-link {
  display: block;
  text-decoration: none!important;
  color: inherit!important;
}

.hero-card-link button,
.hero-card-link .btn {
    display: none !important;
}

.section-selection {
  text-align: left;
  margin: 3rem 0 1.5rem;
  padding: 0;
} 

@media (max-width: 768px) {
  .section-selection {
    text-align: center !important;
    margin: 3rem 0 1.5rem;
    padding: 0;
  }

  .section-selection-title h3 {
    text-align: center !important;
  }
}

.section-selection-title h3 { 
  font-family: 'Oswald', sans-serif !important;
  text-transform: uppercase;
  font-size: 2.5rem; 
  font-weight: 200 !important;
  color: #111111; 
} 

.section-selection-title h3 a { 
  color: #111 !important; /* tvoja neutralna crna */ 
  text-decoration: none !important; /* makni underline */ 
  font-weight: 200 !important;
} 
  
.section-selection-title h3 a:hover { 
  color: #111111 !important; /* crna */ 
  text-decoration: none !important; /* bez underline */ 
}

.catalog-collection-hero {
  position: relative;
}

.catalog-collection-hero-info { 
  display: block;
  position: relative;
  bottom: 13rem;
  text-align: center;
  color: #fff;
}

.catalog-collection-hero-info h3 {
  /* font-family: 'Gabarito'; */
  font-size: 2.2rem;
  font-weight: 900;
}

.catalog-collection-hero-info h4 {
  font-weight: 700;
  font-size: 1rem;
  text-transform: capitalize;
}

.catalog-collection-hero a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0rem;
  text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .catalog-collection-hero-info h3 {
    /* font-family: 'Gabarito'; */
    font-size: 1.5rem;
    font-weight: 900;
  }

  .catalog-collection-hero-info {
    margin-top: 1rem;
    bottom: 0px;
    color: #000;
  }

  .catalog-collection-hero-info a {
    color: #000;
  }

  .catalog-collection-hero {
    margin-bottom: 0rem;
  }
}