


/*-----------------------------------------------------------*/
/*------------------------GLOBAL-----------------------------*/
/*-----------------------------------------------------------*/

/* Font definition */
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Global styles */
html,
body {
  font-family: 'Public Sans', sans-serif;
  color: #2B2B28;
  margin: 0;
  min-height: 100%;
  font-size: 16px;
  line-height: 20px;
  isolation: isolate;
}

* {
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  position: relative;
}

/* Section height classes */
section {
  padding: 8rem 2.5rem;
  display: flex;
  position: relative;
}
.section-10 {
  height: 10vh;
}
.section-25 {
  height: 25vh;
}

.section-30 {
  height: 30vh;
}

.section-40 {
  height: 40vh;
}

.section-50 {
  height: 50vh;
}

.section-60 {
  height: 60vh;
}

.section-70 {
  height: 70vh;
}

.section-100 {
  height: 100vh;
}

/* Flexbox utility classes */
.col-cv {
  flex-direction: column;
  flex-wrap: wrap;
}

.row-cv {
  flex-direction: row;
  flex-wrap: wrap;
}

.center-cv {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.text-center-cv {
  text-align: center;
}

.space-cv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.start-cv {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.around-cv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.margin-auto-cv {
  margin: 0 auto;
}

/* Color utility classes */
.main-color-cv {
  color: #2B2B28;
}

.main-background-cv {
  background-color: #2B2B28;
}

.white-color-cv,
.l-white-color-cv {
  color: #FAF7F1;
}

.white-background-cv,
.l-white-background-cv {
  background-color: #FAF7F1;
}

.blue-color-cv {
  color: #2B2B28;
}

.blue-background-cv {
  background-color: #2B2B28;
}

/* Font size utility classes */
.font-xxs-cv {
  font-size: 0.86rem;
  line-height: 1.17rem;
}

.font-xs-cv {
  font-size: 0.95rem;
  line-height: 1.26rem;
}

.font-sm-cv {
  font-size: 1rem;
  line-height: 1.3rem;
}

.font-md-cv {
  font-size: 1.15rem;
  line-height: 1.46rem;
}

.font-md-2-cv {
  font-size: 1.6rem;
  line-height: 1.9rem;
}

.font-lg-cv {
  font-size: 2.25rem;
  line-height: 2.56rem;
}

.font-lg-2-cv {
  font-size: 2.75rem;
  line-height: 3.06rem;
}

.font-lg-3-cv {
  font-size: 3.75rem;
  line-height: 4.06rem;
}

.font-xl-cv {
  font-size: 6rem;
  line-height: 6.31rem;
}

.font-xxl-cv {
  font-size: 7.25rem;
  line-height: 7.56rem;
}

/* Margin utilities */
.marg-b-2-cv {
  margin-bottom: 2.5rem;
}

.marg-b-1-cv {
  margin-bottom: 1rem;
}

.m-auto {
  margin: 0 auto;
}

.marg-t-1 {
  margin-top: 1rem;
}

.marg-t-2 {
  margin-top: 2.5rem;
}

/* Position utilities */
.fixed-cv {
  position: fixed;
}

.absolute-cv {
  position: absolute;
}

.sticky-cv {
  position: sticky;
  top: 0;
}

/* Width utilities */
.half-width {
  width: 50%;
}

.full-width {
  width: 100%;
}

.col-50 {
  width: 50%;
}

.col-47 {
  width: 47%;
}

.w-110 {
  max-width: 110rem;
  width: 100%;
}

.w-80 {
  max-width: 80rem;
  width: 100%;
}

.w-55 {
  max-width: 55rem;
}

.w-35 {
  max-width: 35rem;
}

.w-960 {
  max-width: 960px;
  width: 100%;
}

/* Section padding utility */
.section-half-top-cv {
  padding-top: 4rem;
}

.img-container img {
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
}

/*-----------------------------------------------------------*/
/*------------------------HEADER-----------------------------*/
/*-----------------------------------------------------------*/
.topbar {
    display: flex;
}
.menu-main-container {
    flex-direction: column;
    justify-content: center;
    display: flex;
    padding-bottom: 2rem;
}
ul#menu-desktop {
    display: flex;
}
ul#menu-desktop li {
    list-style: none;
    padding: .5rem 1rem;
}
ul#menu-desktop li a {
    color: #FAF7F1;
    text-decoration: none;
    text-transform: uppercase;
}
header {
  padding: 0 2.5rem;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: transparent;
}

.header {
  max-width: 110rem;
  width: 100%;
  border-bottom: 1px solid #FAF7F1;
  transform: translateY(0);
  opacity: 1;
  margin: 0 auto;
  transition: all 0.5s;
}



    .header .logo {
        margin-left: 0;
        width: 9rem;
        padding-bottom: 3rem;
        margin-top: 2rem;
        height: 100%;
        max-height: 100%;
    }

.header .logo a,
.header #main-menu li {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.header #main-menu a {
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0.5rem 0.25rem;
  color: #FAF7F1;
  text-decoration: none;
  margin: 0 1rem;
  mix-blend-mode: difference;
}

.header #ham-cv {
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 7rem;
  margin: auto 1rem auto 0; /* buco, na mobu je meni nestajao margin: auto 1rem auto 2rem; */
  padding: 1.8rem 1.5rem;
  cursor: pointer;
}

.header #ham-cv span {
  height: 2px;
  background-color: #FAF7F1;
  margin: 2px 0 3px 0;
  transform: translate(0, 0) rotate(0);
  transition: all 0.5s;
}

.header #ham-cv span:nth-of-type(1) {
  width: 100%;
}

.header #ham-cv span:nth-of-type(2) {
  width: 66%;
}

.header #ham-cv span:nth-of-type(3) {
  width: 33%;
}

/*-----------------------------------------------------------*/
/*--------------------------HERO-----------------------------*/
/*-----------------------------------------------------------*/

.hero {
  overflow: hidden;
  padding: 0;
  position: relative;
}

.hero .cover-bg {
  z-index: 2;
  background-image: linear-gradient(to top, transparent, #000000b3);
  height: 40%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hero video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  width: 100%;
  min-height: 100%;
}

/*-----------------------------------------------------------*/
/*--------------------------VIDEO----------------------------*/
/*-----------------------------------------------------------*/

.video-container {
  overflow: hidden;
  position: absolute;
  bottom: 27%;
}

.video-container img {
  width: 12rem;
  height: 18.5rem;
  margin-bottom: 2rem;
  cursor: none;
  transition: all 0.5s;
}

.video-container:hover img {
  width: 16rem;
  height: 28.5rem;
}

.video-container span {
  display: block;
  width: 320px;
}

#two p {
  max-width: 45rem;
}

/*-----------------------------------------------------------*/
/*---------------------------THREE---------------------------*/
/*-----------------------------------------------------------*/

#three {
  position: sticky;
  top: 0;
  opacity: 0;
}

/*-----------------------------------------------------------*/
/*---------------------------FOUR----------------------------*/
/*-----------------------------------------------------------*/

#four {
  padding: 0;
  position: sticky;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100dvh;
}

#four .img-container {
  overflow: hidden;
  transform: scale(0);
  width: 100%;
}

#four .img-container img {
  object-fit: cover;
  position: fixed;
  width: 100vw;
  height: 100vh;
  /* width: auto; */
  top: 0;
  bottom: 100%;
  left: 0;
  transform: scale(2);
}

#title-anim-3 {
  height: 100%;
  width: 100%;
  display: block;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1;
  transform: translateY(10vh);
  color: #FAF7F1;
  opacity: 0;
  visibility: hidden;
  padding: 4rem 1rem;
}

/*-----------------------------------------------------------*/
/*---------------------------FIVE----------------------------*/
/*-----------------------------------------------------------*/

#five {
  z-index: 3;
}

#five .img-container {
  transform: translateY(30%);
  max-width: 384px;
  overflow: hidden;
  position: relative;
}

.cta {
  padding: 2.5rem 4.5rem 2.5rem 2.25rem;
  z-index: 1;
  position: relative;
  left: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem);
  text-decoration: none;
}

.cta svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
}

.cta.absolute-cv {
  position: absolute;
}

.cv-list {
  padding-left: 0;
  width: 100%;
}

.cv-list li {
  list-style: none;
}

.cv-list svg {
  width: 30px;
}

/*-----------------------------------------------------------*/
/*---------------------------SIX & SEVEN---------------------*/
/*-----------------------------------------------------------*/

#six {
  z-index: 2;
  position: sticky;
  top: 0;
}

#seven {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 0;
  overflow: hidden;
}

#seven .scale-bg-two {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
}

/*-----------------------------------------------------------*/
/*---------------------------EIGHT---------------------------*/
/*-----------------------------------------------------------*/

#eight {
  z-index: 3;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#eight .three-columns-col {
  padding: 5vw 2rem 9rem;
  width: 33.33%;
  display: flex;
  flex-direction: column;
}

#eight .three-columns-col > .font-sm-cv {
  max-width: 480px;
  width: 100%;
  display: block;
  opacity: 0;
}

#eight .three-columns-col>hr {
  border: 0.25px solid #253021 !important;
  margin-bottom: 1rem;
}

/*-----------------------------------------------------------*/
/*---------------------------NINE----------------------------*/
/*-----------------------------------------------------------*/

#nine {
  z-index: 3;
  padding-top: 16rem;
}

#nine .img-container {
  max-width: 384px;
  overflow: hidden;
  position: relative;
  transform: translateY(40%);
}

/*-----------------------------------------------------------*/
/*---------------------------TEN-----------------------------*/
/*-----------------------------------------------------------*/

#ten {
  z-index: 3;
  padding: 0;
  width: 100%;
}

#ten .col-one {
  width: 55%;
}

#ten .col-two {
  width: 45%;
}

#ten .img-container {
  height: 100%;
}

#ten .col-one>.slider-container>* {
  width: 100%;
  margin: 0 auto;
}

#ten .col-one p,
#ten .col-one span {
  margin-bottom: 50px;
}

#ten .link-cv {
  margin: 0 auto;
  color: #253021;
  text-transform: uppercase;
  align-items: center;
  padding: 0.5rem 1.75rem 0.5rem 0;
  text-decoration: none;
  width: 100%;
  display: flex;
  flex-direction: row;
}

#ten .link-cv svg {
  width: 35px;
  margin-left: 1rem;
}

.slider-container {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.slider-vertical .slide {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background-color: #000;
}

.slider-vertical .slide img {
  position: absolute;
  min-height: 100%;
  min-width: 100%;
  width: auto !important;
  height: auto;
  object-fit: cover !important;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0) scale(1);
}

/* Horizontal slider column */
.slider-horizontal {
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  width: 55%;
  max-height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
  overflow: hidden;
  flex-wrap: nowrap;
}

.decorate {
    display: none!important;
}

.slider-horizontal .slide {
  flex-direction: column;
  flex: none;
  justify-content: center;
  width: 100%;
  max-height: 100vh;
  display: flex;
  padding: 0 5rem 0 4rem;
  opacity: 0;
}

.slider-horizontal .slide > *{
  max-width: 40rem;
  margin: 0 auto;
}

#ten .link {
  color: var(--green-1);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  align-items: flex-start;
  padding: 0.5rem 1.75rem 0.5rem 0;
  font-size: 0.86rem;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-decoration: none;
}

#ten a>span {
  margin: 0 !important;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#ten svg {
  width: 50px;
  margin-left: 1rem;
}

/*-----------------------------------------------------------*/
/*-----------------------ELEVEN & GALLERY--------------------*/
/*-----------------------------------------------------------*/

#eleven,
.gallery-scroll-zoom {
  z-index: 4;
  overflow: hidden;
}

.gallery-scroll-zoom {
  display: flex;
  padding-top: 30vh !important;
  overflow: visible;
  height: 200vh;
}

.gallery-scroll-zoom .zoomed-cv {
  margin: 0 1.3%;
  top: 0;
}

.gallery-scroll-zoom .three-columns-col {
  width: 32.03%;
  background-color: #FAF7F1;
  height: min-content;
  position: sticky;
  top: 0;
  gap: 1.3%;
}

.gallery-scroll-zoom .img-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 33vh;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.gallery-scroll-zoom img {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  inset: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.gallery-scroll-zoom .overflow-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
}

.gallery-scroll-zoom .overflow-content .font-xl-cv {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #FAF7F1 !important;
}

.gallery-scroll-zoom .overflow-content .cta {
  position: relative;
  max-width: 24rem;
  margin: 0 auto;
}

.shrink-cv {
  width: 32.03%;
}

/*-----------------------------------------------------------*/
/*---------------------------OVERLAYS------------------------*/
/*-----------------------------------------------------------*/

#full-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  z-index: 9999; /* ensure it appears above other elements */
  background: url('../img/slika-3.jpg') no-repeat center center;
  background-size: cover;
}

/* Dark overlay layer using a pseudo-element */
#full-screen-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust opacity as needed */
}

/* Centered overlay text */
#full-screen-overlay .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 1; /* above the dark layer */
}

/* Styling for the large font class */
#full-screen-overlay .font-xl-cv {
  font-size: 2.5rem; /* adjust the size as needed */
  font-weight: bold;
      flex-wrap: wrap;
    flex: 1;
    width: 100%;
    padding-top: 10vh;
    padding-left: 0;
    padding-right: 0;
    display: flex;
        z-index: 2;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: 110rem;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 20vh 2.6rem 2rem 2.6rem;
    display: flex;
    position: relative;
    overflow: auto;
}
.left-menu {
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    padding-top: 2.25rem;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    width: 40%;
}
.left-menu #menu-main {
    
    display: none;
}
#full-screen-overlay ul {
    padding-left: 0!important;
}
#full-screen-overlay li {
    list-style: none;
    text-align: left;
}
#full-screen-overlay li a:after {
    content: "";
    width: 100%;
    position: absolute;
    height: 2.4rem;
    background: rgb(65, 71, 64);
    bottom: -2.4rem;
    left: 0;
    transition: all .5s;
    z-index: -1;
}
#full-screen-overlay #menu-main-1 a {
    width: min-content;
    position: relative;
    color: #FAF7F1 !important;
    text-decoration: none;
    font-size: 6rem;
    line-height: 7rem;
    font-weight: 100;
    overflow: hidden;
    display: flex
;
    padding: 0 1rem;
}

#full-screen-overlay li:hover a:after {
    bottom: 0rem;
}
.overlay-text .menu-main-container {
    flex-direction: column;
    flex: 0 auto;
    align-items: flex-start;
    width: 60%;
    display: flex;
}

#full-screen-overlay .header #ham-cv span {
  width: 100%!important;
  top: 10%;
  left: 60%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#full-screen-overlay .header #ham-cv span:nth-of-type(2) {
  width: 100%!important;
  top: 0%;
  left: 60%;
  transform: translate(-50%, -50%) rotate(135deg);
}

#full-screen-overlay .header #ham-cv span:nth-of-type(3) {
  display: none;
}

.hide-h {
  height: 1vh!important;
  overflow: hidden;

  transition: all .5s;
}

/* Example for .hide-h (e.g., move the header out of view) */
.hide-h {
  transform: translateY(-100%);
  opacity: 0;

  transition: all .5s;
}

footer>section {
    position: sticky;
    flex-wrap: wrap;
    top: auto;
    bottom: 0;
    gap: 4rem;
}
section#ytvid {
    position: relative;
}
.slide .font-xl-cv {
  font-size: 5rem;
  line-height: 5.31rem;
}

#slider-homes {
  padding-bottom: 0;
  height: 100%;
}

#slider-homes .slider-wrapper {
  width: 400px;
  position: relative;
  overflow: hidden;
  height: 400px;
}

#slider-homes .slide {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

#slider-homes .slide img {
  width: 100%;
  min-height: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#slider-homes .slider-container {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  height: 100%!important;
  width: 100%;
}

#slider-homes .slide .shadow {
  background: rgba(0, 0, 0, 0.0);
  /* Početna vrijednost */
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#slider-homes .control-slider {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  z-index: 2;
}

#slider-homes .control-slider>div {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.slider-l {
  transform: rotate(180deg);
  padding: .5rem;
  margin-left: .5rem;
  background-color: #FAF7F1;
  cursor: pointer;

  transition: background-color .5s;
}

.slider-r {
  transform: rotate(0deg);
  padding: .5rem;
  margin-left: .5rem;
  background-color: #FAF7F1;
  cursor: pointer;
  transition: background-color .5s;
}

.slider-l:hover,
.slider-r:hover {
  background-color: #ffffff;
}

.slider-l svg {
  width: 1rem;
}

.slider-r svg {
  width: 1rem;
}

#col-text {
  padding-top: 2rem;
}

.three-col-text {
  column-count: 2;
  column-gap: 100px;
  display: block;
  width: 66%;
}

.filters {
  width: 100%;
  display: block;
  z-index: 2;
  flex-direction: column;
  max-width: 27rem;
  min-height: 82vh;
  margin-bottom: 6rem;
  margin-right: 5%;
  display: flex;
  position: sticky;
  top: 10vh;
}

.filters-block {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #76797552;
  padding: 1rem 0;
}

.filters-options {
  width: -webkit-fill-available;
}

.filters-title {
  width: 100%;
}

.filters-block.inline .filters-options {
  width: min-content;
}

.filters-check {
  background-color: #d1d1d1;
  letter-spacing: 0.11rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
  font-size: .8em;
  position: relative;
  white-space: nowrap;
  padding: 0px;
  transition: 0.25s;
}

.filters-check {
  content: " ";
  display: table;
  grid-area: 1 / 1 / 2 / 2;
}

.filters-title {
  margin-bottom: 1rem;
}

.filters-check-input--inputType-custom {
  width: 12px;
  height: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(204, 204, 204);
  border-image: initial;
  border-radius: 2px;
}

.radio {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin-top: 0px;
  margin-left: 0px;
  position: absolute;
  border-style: none;
  border-radius: 0px;
  inset: 0%;
  z-index: 2;
}

.filters-label {
  width: 100%;
  font-weight: 500;
  display: flex;
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.2s, background-color 0.2s;
}

.filters-check:hover {
  background-color: #ffffff;
}

.filters-check::after {
  content: " ";
  clear: both;
  display: table;
  grid-area: 1 / 1 / 2 / 2;
}

.article {
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  height: 400px;
  margin-bottom: 4rem;
}

.article .img-container {
  width: 60%;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.form-sticky {
  position: sticky;
  top: 8rem;
}

.article .categories {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  text-transform: uppercase;
}

span.category {
  background: #2B2B28;
  padding: .5rem;
  color: #FAF7F1;
  font-size: .8rem;
}

.article-content {
  width: 40%;
  display: flex;
  flex-direction: column;
  padding: 3rem;
}

.article h2 {
  font-size: 2rem;
}

.article-content>span {
  opacity: .8;
  font-size: .9rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.article ul {
  padding-left: 0;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
}

.article li {
  border-top: .5px solid rgba(43, 43, 40, .2);
  list-style: none;
  width: calc(50% - .5rem);
  min-width: 150px;
  padding: 1rem 0 .5rem 0;
  text-align: left;
  text-transform: uppercase;
}

/* Lightbox overlay */
#lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

.dark-header header {
  background-color: rgb(43, 43, 40) !important;
}

#lightbox-overlay.open {
  display: flex;
}

/* The enlarged image */
#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Close button */
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  user-select: none;
}

.img-lightbox {
  width: 160px;
  height: 90px;
  position: relative;
  overflow: hidden;
  /*display: flex; maknul flex buco*/
  margin-top: 2rem;
}

/* nav arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  padding: 0 1rem;
  cursor: pointer;
  user-select: none;
  z-index: 10001;
  background: rgba(0, 0, 0, .5);
  border-radius: 100%;
  height: 50px;
  width: 50px;
}

#lightbox-prev {
  left: 3rem;
}

#lightbox-next {
  right: 3rem;
}

/* counter */
#lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  user-select: none;
  z-index: 10001;
}

.lighbox-container.marg-t-2.row-cv.start-cv {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: 1rem;
  background-color: transparent;
}

.article-content .article-contact {
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  color: #2B2B28;
  margin-top: 2rem;
  font-size: 1.2rem;
}

.article-content .article-contact svg {
  width: 3rem;
  margin-left: 1rem;
}


.button-arrow {
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  color: #2B2B28;
  margin-top: 2rem;
  font-size: 1.2rem;
}

.button-arrow svg {
  width: 3rem;
  margin-left: 1rem;
}

.img-lightbox img {
  /*position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); buco maknul i to jer nije dobro prikazivao lsike */
}

section.become-dark.homes.section-75.col-cv.center-cv.main-background-cv.white-color-cv,
section.become-dark.home.section-75.col-cv.center-cv.main-background-cv.white-color-cv {
  overflow: hidden;
}

section.become-dark.homes.section-75.col-cv.center-cv.main-background-cv.white-color-cv img,
section.become-dark.home.section-75.col-cv.center-cv.main-background-cv.white-color-cv img {
  position: absolute;
  left: 5rem;
  right: 5rem;
  width: calc(100% - 10rem);
}

#about-intro,
#about-intro-two,
#about-intro-three {
  padding-bottom: 4rem;
}

#about-intro .cv-left,
#about-intro-two .cv-left,
#about-intro-three .cv-left {
  flex-direction: column;
  padding-top: 5rem;
}

#about-intro .cv-left>*,
#about-intro-three .cv-left>* {
  padding-right: 6rem;
}

#about-intro-two .cv-left>* {
  padding-left: 6rem;
}

#about-percantage .percent-item {
  max-width: 110rem;
  margin: 0 auto;
  height: 75vh;
  top: 25vh;
}

#about-intro .cv-left,
#about-intro .cv-right,
#about-intro-two .cv-left,
#about-intro-two .cv-right,
#about-intro-three .cv-left,
#about-intro-three .cv-right,
#about-percantage .cv-left,
#about-percantage .cv-right {
  width: 50%;
  overflow: hidden;
  max-height: 100%;
  margin-top: 2rem;
}
#about-intro-three .cv-left{
    opacity: 0;
}
#full-about {
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
  padding-right: 0;
  display: flex;
  transform: translate(0);
  padding: 0;
}

#about-intro-three .font-xl-cv,
#about-intro-two .font-lg-3-cv, 
#about-intro .font-xl-cv {
  margin-bottom: 2rem;
}

#about-percantage .percent {
  font-size: 20rem;
  line-height: 21rem;
  transform: scale(2);
}

#construct #about-percantage .percent {
  font-size: 15rem;
  line-height: 16rem;
  transform: scale(2);
}

#about-percantage .cv-right {
  padding-top: 10rem;
}

#about-percantage .cv-left {
  overflow: visible;
  height: min-content;
}

#about-percantage p {
  opacity: 0;
  visibility: hidden;
  margin-top: 5rem;
}

#about-intro .space-cv,
#about-intro-two .space-cv,
#about-intro-three .space-cv {
  max-width: 110rem;
  margin: 0 auto;
}

.percent-item {
  overflow: hidden;
}

#full-about {
  overflow: hidden;
}

#full-about img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#about-text {
  width: 100%;
  height: 100vh;
  z-index: 2;
  text-align: center;
}

#about-text h2 {
  margin-bottom: 1rem;
}

#about-text p {
  width: 100%;
  position: relative;
  margin: 0 auto;
  max-width: 857px;
}

.articles {
  width: 100%;
}

#single-house .articles {
  max-width: 110rem;
  margin: 0 auto;
}

#single-house .article .img-container {
  width: 600px;
}

#single-house .article-content {
  width: calc(100% - 630px);
}

#single-house #slider-homes {
  width: 600px;
  height: auto;
  margin: 0;
  background-color: transparent !important;
}

#single-house h1 {
  font-size: 3rem;
  padding: 4rem 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 6;
  background: #FAF7F1;
  border-bottom: 1px solid #c1c1c1;
}

#single-house .article {
  height: auto;
}

#single-house .slider-wrapper {
  max-height: 600px;
  max-width: 600px;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
}

.under-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  background-color: transparent;
}

.under-slider .slidepic {
  flex: 8 1 60px;
  aspect-ratio: 1 / 1;
  background: lightblue;
  max-width: 60px;
  cursor: pointer;
  overflow: hidden;
}

.under-slider .slidepic::before {
  content: "";
  display: block;
  padding-top: 100%;
  /* 100% of the element’s width → height = width */
}

.under-slider .slidepic>img {
  position: absolute;
  /* overlay your actual content */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

#single-house .article {
  max-height: 100000px;
}


#filetrs > div {
  max-width: 110rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

#filetrs .article .img-container {
  width: 400px;
}

#filetrs .img-container img {
  min-width: auto;
  object-fit: cover;
  min-height: 100%;
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

#filetrs .article-content {
  width: calc(100% - 400px);
  padding: 3rem 20% 3rem 3rem;
}

#single-house .article ul {
  max-width: 40rem;
}

.cv-right p {
  opacity: 0;
}

#about-percantage .cv-right {
  position: absolute;
  padding-top: 0;
  margin-top: 0;
  margin-left: auto;
  margin-right: 0;
  right: 0;
  top: 0;
  width: 100%;
  border-top: 1px solid #c1c1c1;
}

#about-percantage p {
  max-width: 35rem;
  margin-left: auto;
}

footer .half-width.col-cv.start-cv {
  max-width: 110rem;
  margin: 2rem auto;
  width: 100%;
}

footer .half-width.col-cv.start-cv > span {
  max-width: 42rem;
}

.half-width.col-cv.start-cv:first-of-type, #contactform {
    width: 55rem;
    margin: 0 auto;
}

.cv-main-contact input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {}

.cv-main-contact textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required, .cv-main-contact input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    display: flex;
    width: calc(100% - 3rem);
    margin-bottom: 1rem;
    height: 3rem;
    background: none;
    outline: none!important;
    box-shadow: none!important;
    border-color: #efefef;
    border-width: 0 0 2px 2px;
    padding: 1rem;
    color: #efefef;
}

.cv-main-contact span.wpcf7-form-control-wrap {
    max-width: 50%;
    display: flex;
    width: 100%;
}

#contactform p {
    display: flex;
    flex-wrap: wrap;
}

#contactform p br {
}

.cv-main-contact  textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    height: 10rem;
    margin-bottom: 0;
}

.cv-main-contact  input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: none;
    color: #efefef;
    border-color: #efefef;
    border-width: 1px 1px 4px 4px;
    width: calc(50% - 3rem);
}

#ytvid footer .half-width.col-cv.start-cv {}

#ytvid .col.half-width.col-cv.start-cv {
    width: 55rem;
    margin: 0 auto;
    overflow: hidden;
}

.copyright {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid #c1c1c1;
}

    #construct .percent {
        font-size: 11rem!important;
        line-height: 10rem !important;
                display: flex;
        flex-direction: column;
    }
/*-----------------------------------------------------------*/
/*---------------------------MEDIA QUERIES-------------------*/
/*-----------------------------------------------------------*/
@media screen and (max-width: 1611px) {
    /*header*/
    #full-screen-overlay #menu-main-1 a {
        font-size: 5rem;
        line-height: 6rem;
    }
    #about-percantage .percent-item {
        top: 10vh;
    }
}
@media screen and (max-width: 1311px) {
.font-xxl-cv {
    font-size: 5.25rem;
    line-height: 5.56rem;
}
  .article-content,
  .article .img-container {
    width: 50% !important;
  }

  .article li {
    min-width: 100px;
  }
.font-xl-cv {
    font-size: 4rem;
    line-height: 4.31rem;
}
#two p {
    max-width: 32rem;
    font-size: 1.5rem!important;
    line-height: 2.16rem!important;
}
.w-35 {
    max-width: 32rem;
}
.font-lg-2-cv {
    font-size: 1.75rem;
    line-height: 2.06rem;
}
    .font-xxl-cv {
        font-size: 4.25rem;
        line-height: 3.56rem;
    }
    #nine .img-container {
    max-width: 320px;
    transform: translateY(10%) !important;
}
.section-30 {
    height: 50vh;
}
.slide .font-xl-cv {
    font-size: 4rem;
    line-height: 4.31rem;
}

    #full-screen-overlay #menu-main-1 a {
        font-size: 3rem;
        line-height: 4rem;
    }
    #about-intro-two .cv-left>* {
    line-height: 20px!important;
    }
    #construct #about-percantage p {
        max-width: 50%;
    }
    #construct .percent {
        font-size: 6rem!important;
        line-height: 6rem !important;
    }
    #about-percantage .percent-item {
        max-width: 110rem;
        margin: 0 auto;
        height: 90vh;
        top: 5vh;
    }
    #construct #about-percantage p {
        font-size: 2vh !important;
        line-height: 2.2vh !important;
        margin-top: 5rem !important;
    }
}
#filetrs {
        background: #fff !important;
    }
    .desktop-nav {
        display: flex;
    }
@media screen and (max-width: 992px) {
    #single-house .slider-container {
    padding-bottom: 0;
}
.topbar {
    display: none!important;
}
    .desktop-nav {
        display: none;
    }
    header #ham-cv {
        display: flex!important;
    }
        .video-container img {
    width: 12rem!important;
    height: 18.5rem!important;
}
    .homes.section-75 > img {
        transform: scale(2) !important;
    }
    .article {
        max-height: 2000px;
    }
    .filters {
        position: fixed !important;
        flex-direction: column;
        justify-content: flex-start;
        background: #fff;
        width: 100%;
        display: flex;
        max-width: 100%;
        z-index: 999999999;
        padding-bottom: 50px;
        top: 0;
        height: 100%;
        left: -100%;
        opacity: 0;
        
        transition: all .5s;
    }
    .showFilters {
        left: 0;
        opacity: 1;
    }
#toggleFilters {
        position: fixed;
        bottom: 1rem;
        left: 1rem;
        z-index: 999999999999999;
        height: 36px;
        border: 1px solid gray;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 1rem;
        background: #fff;
        top: auto;
        
        transition: all .5s;
    }
  #toggleFilters .zatvori { display: none; }
  #toggleFilters.zatvoriFiltere .otvori { display: none; }
  #toggleFilters.zatvoriFiltere .zatvori { display: inline; }
    
    #filetrs > div {
        max-width: 110rem;
        width: 100%;
        margin: 0 auto;
        display: flex;
        min-width: 100% !important;
    }
    .filters .form-sticky {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        flex-direction: row;
        justify-content: flex-start;
    }
    .filters-block {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid #76797552;
        padding: .5rem;
    }
    .filters-title {
        margin-bottom: .5rem;
    }
    .filters-check {
        background-color: #d1d1d1;
        letter-spacing: 0.11rem;
        text-transform: uppercase;
        margin-bottom: 0;
        margin-right: 0.5rem;
        font-size: .8em;
        position: relative;
        white-space: nowrap;
        padding: 0px;
        transition: 0.25s;
    }

.decorate {
    display: flex!important;
}
/* ================================
   1. Global Layout
   ================================ */
header,
footer {
  overflow: hidden;
}

section {
  padding: 4rem 1rem;
  max-width: 100% !important;
  height: auto !important;
}

/* ================================
   2. Page Padding
   ================================ */
#single-house {
  padding-top: 9rem;
}

#homes-intro {
  padding-top: 15rem;
}

/* ================================
   3. Overlay Menu
   ================================ */
#full-screen-overlay .left-menu {
  width: 0% !important;
  max-width: 0;
}

/* ================================
   4. Typography Utilities
   ================================ */
.font-md-cv {
  font-size: 1.15rem;
  line-height: 1.46rem;
  margin-bottom: 1rem;
}

.font-lg-cv {
  font-size: 1.25rem;
  line-height: 1.56rem;
  margin-top: 1rem;
}

.font-lg-2-cv {
  font-size: 1.75rem;
  line-height: 2.06rem;
  margin-bottom: 1rem;
}

.font-xl-cv {
  font-size: 3rem;
  line-height: 3.31rem;
}

.font-xxl-cv {
  font-size: 4.25rem;
  line-height: 4.56rem;
}

/* ================================
   5. Hero Image
   ================================ */
.hero video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 200%;
  min-height: 100%;
}

/* ================================
   6. Width Utilities
   ================================ */
.col-50,
.half-width {
  width: 100%;
}

/* ================================
   7. Section One & Three
   ================================ */
#one {
  height: 60vh !important;
}

#three {
  position: sticky;
  top: 0;
  height: 100vh !important;
}

/* ================================
   8. Video Section
   ================================ */
section#video .w-110 {
  flex-direction: column-reverse;
}

section#video .font-xl-cv {
  margin-top: 50px;
}

#video {
  position: relative;
  top: -100px !important;
}

#video .col-47 {
  margin-left: auto;
}

/* ================================
   9. Sticky Full-Height Section Four
   ================================ */
#four {
  position: sticky;
  top: 0;
  overflow: hidden;
  height: 100vh !important;
}

#four .img-container img {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  max-width: 1000%;
  height: 100vh;
  width: auto;
}

/* ================================
   10. “Eight” Three-Column Layout
   ================================ */
#eight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#eight .three-columns-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vw 2rem 2rem;
}

/* ================================
   11. Slider Container
   ================================ */
.slider-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 50vh;
  justify-content: flex-start;
}

/* ================================
   12. Vertical Slider (#ten)
   ================================ */
.slider-vertical {
  position: relative;
  width: 100% !important;
  height: 50vh !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
}

#ten .slider-vertical .slides {
  position: relative;
  height: 50vh;
}

#ten .slider-vertical .slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50vh;
}

.slider-vertical .slide img {
  object-fit: cover !important;
  height: 50vh;
  min-height: 50vh;
  max-height: 50vh;
  margin-bottom: 50vh;
}

.slider-horizontal .slide {
  padding: 2rem !important;
}

/* ================================
   13. Gallery Scroll Zoom
   ================================ */
.gallery-scroll-zoom {
  padding-top: 0 !important;
  height: 200vh !important;
}

/* ================================
   14. Section Ten (Long Sticky Scroll)
   ================================ */
#ten {
  background-color: #FAF7F1;
}

#ten .pin-spacer,
#ten .col-one {
  width: 100% !important;
  height: 50vh !important;
}

#ten .col-one span,
#ten .col-one p {
  margin-bottom: 1rem;
}

#ten .font-xl-cv {
  font-size: 2rem;
}

#ten .font-md-cv {
  font-size: 1rem;
}

#ten .slider-horizontal {
    position: sticky;
    top: 50vh;
}

#ten .slider-horizontal .slide {
    position: absolute;
    top: 0;
    bottom: 0!important;
    height: 100%!important;
    visibility: visible!important;
    background: #FAF7F1;
}

/* ================================
   15. Footer Adjustment
   ================================ */
footer .start-cv {
  display: flex;
  justify-content: center;
  padding-left: 0 !important;
  width: 100%;
}

/* ================================
   16. Miscellaneous
   ================================ */
.dummy-trigger {
  height: 0 !important;
}

#single-house .article {
  max-height: 100% !important;
}

#single-house .article-content {
  width: 100% !important;
  padding: 0;
}

  #video {
      overflow: visible;
      width: 100%;
  }
  .video-container span {
    display: block;
    width: 320px;
    position: absolute;
    left: -100%;
    top: 25vh;
    }
    
    #construct #about-percantage > .percent-item *,
    #construct #about-percantage > .percent-item * > *{
        width: 100%!important;
        max-width: 100%!important;
        position: relative;
    }
    
    #construct #about-percantage p {
        font-size: 1rem !important;
        line-height: 1.1rem !important;
        margin-top: 3rem !important;
    }
    #construct #about-percantage .percent {
        top: 1rem;
        left: 0rem;
        right: 0;
        position: relative;
    }
}
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
a.float-button {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 5px 10px;
  background: #2B2B28;
  border: 1px solid #fff;
  box-sizing: content-box;
  color: #fff;
  text-decoration: none;
}

a.float-button span {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.5s;
}

a.float-button:hover span {
  width: 90px;
}

a.float-button svg {
  width: 25px;
  fill: #fff;
}

@media screen and (max-width: 783px) {
  #about-intro,
  #about-intro-two,
  #about-intro-three {
    flex-direction: column;
  }

  #about-intro .cv-left,
  #about-intro-two .cv-left,
  #about-intro-three .cv-left,
  #about-intro .cv-right,
  #about-intro-two .cv-right,
  #about-intro-three .cv-right {
    width: 100%;
  }

  #about-intro-two .cv-left>*,
  #about-intro .cv-left>*,
  #about-intro-three .cv-left>* {
    padding: 0;
  }

  #about-intro .cv-left>h1 {
    margin-bottom: 2rem;
  }

  #about-intro .cv-left>p {
    margin-bottom: 4rem;
  }

  #filetrs,
  .article {
    height: auto;
  }

  .article {
    flex-direction: column;
  }

  .article-content,
  .article .img-container {
    width: 100% !important;
  }

  .three-col-text {
    column-count: 1;
  }
  /* buco prilagodba kontakt forme na mobu koja je bila odsječena po širini */
  .wpcf7-form{
      max-width:400px !important;
  }
  /* buco prilagodba menija na mobu */
  .left-menu{ 
      padding-left:0 !important;
      padding-right:0 !important;
  }
  .overlay-text .menu-main-container{
      width:100% !important;
  }
  #full-screen-overlay #menu-main-1 a{
      font-size:5rem;
  }
    section#video .font-xl-cv {
        margin-top: 230px;
    }
    #full-screen-overlay #menu-main-1 a {
        font-size: 2rem;
        line-height: 3rem;
    }
    .header .logo {
        margin-left: 0;
        max-width: 10rem;
        margin-bottom: .5rem;
    }
    #full-screen-overlay .font-xl-cv {
        padding: 20vh 2.6rem 2rem 2.6rem;
    }
}

@media screen and (max-width: 475px) {
  #filetrs {
    flex-direction: column;
  }

  .filters {
    position: relative;
    min-height: min-content;
  }

  .article-content,
  .article .img-container {
    width: 100% !important;
  }
  #video .col-47 {
      width: 100%;
  }
  #video {
      overflow: visible;
      width: 100%;
  }
  .video-container img {
      margin-left: auto;
  }
  .video-container span {
    display: block;
    width: 100%;
    left: 0;
    position: absolute;
    top: 50vh;
    }
        section#video .font-xl-cv {
        margin-top: 250px;
        margin-bottom: 150px;
    }
        .font-xxl-cv {
        font-size: 3.25rem;
        line-height: 3.56rem;
    }
    #video {
        top: -150px!important;
    }
    #ten .slider-horizontal .font-xl-cv {
        font-size: 1.25rem!important;
        line-height: 1.5rem!important;
    }
    .header #ham-cv {
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 3rem;
        height: 3rem;
        margin: auto 0rem auto 0;
        padding: 0.8rem 0.5rem;
        cursor: pointer;
    }
    #full-screen-overlay .header #ham-cv span:nth-of-type(2) {
        width: 100% !important;
        top: -20%;
        left: 60%;
        transform: translate(-50%, -50%) rotate(135deg);
    }
}
@media screen and (max-width: 375px) {
    #full-screen-overlay #menu-main-1 a {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    #full-screen-overlay .font-xl-cv {
        padding: 20vh 1rem 1rem 1rem;
    }
        .font-xxl-cv {
        font-size: 2.25rem;
        line-height: 2.56rem;
    }
    
    #six .font-lg-2-cv {
        font-size: 1.35rem;
    }
}
.gsap-marker-scroller-end, .gsap-marker-scroller-start, .gsap-marker-end, .gsap-marker-start{
    display:none !important;
}

.wpcf7-response-output{ 
    color:#fff !important;
}

/* buco */
.filter-link{
    text-decoration:none;
    color:#000;
    font-weight:bold;
}
.podnaslov-faq{
    font-size:0.3em;
    color:#666;
}