@import url("https://use.typekit.net/qdn0mna.css");

@import "button.css";
@import "variables.css";
@import "header.css";
@import "form.css";
@import "icons.css";
@import "slider.css";
@import "logo.css";
@import "pie.css";
@import "stats.css";
@import "herostats.css";
@import "hero.css";
@import "badge.css";


* {
  box-sizing: border-box;
}

@import url("https://use.typekit.net/qdn0mna.css");


body, html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--primary);
  font-size: 16px;
}



#blob-background {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: screen; /* 🔥 ključ za lijepo miješanje boja */
}


body {
  background-color: var(--background);
  transition: background-color 0.5s ease;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


footer .letter-logo {
  font-size: 20px;
  padding-bottom: 5px;
}

button {
  font-weight: 400;
  width: auto;
  height: auto;
  cursor: pointer;
  transition: var(--button-transitions);
  background-color: transparent;
  color: var(--primary);
  font-size: 10pt;
  white-space: nowrap;
  padding: 10px 17px;
  border: .5px solid var(--primary);
  border-radius: 100px;
}
button:hover {
  background-color: var(--primary);
  color: var(--background);
}
button a:hover {
  color: var(--background);
}

button a {
  display: block;
  width: 100%;
  height: 100%;
}



.calendly-badge-widget {
  display: none;
}

article a {
  display: block;
}








.index-galerija {
  height: 100%;
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: var(--gap);
  justify-content: center;
  align-content: center;
  align-items: center; /* Za vertikalno poravnanje */
}

.project-frame {
  width: 100%;
  border-radius: 30px;
  padding: 15px;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.s-text-div{
  width: 100%;
  display: none;
}

.column-gap {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: var(--text-gap);
  align-items: center;
  text-align: center;
}


footer {
  z-index: 1;
  margin: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: var(--top-bottom-padding) var(--left-right-padding);
  padding-top: calc(var(--text-gap) / 2);
  gap: var(--gutter);
  height: auto;
  width: 100%;
}
.footer-div{
  display: flex;
  width: auto;
  flex-direction: column;
  gap: 0px;
  text-align: left;
}
.footer-logo-div {
  height: 25px;
  width: auto;
  align-items: center;
}
.footer-logo {
  height: 25px;
  width: 100%;
  align-self: center;
  text-align: left;
}
.footer a {
  font-size: var(--footer-font-size);
}

.footer-div p {
  width: auto;
  font-size: var(--footer-font-size);
}

.copyright {
  padding-top: calc(var(--text-gap) / 2) ;
  width: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 12pt;
}

.fa {
  margin: 0;
  color: var(--primary);
}

.row {
  flex-direction: row;
}


.services-frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  text-align: center;
}
.services-frame h2 {
  width: 100%;
  padding-bottom: 10px;
  border-bottom: var(--primary) solid .5px;
}
.services-frame:first-of-type h2{
  border-top: 0;
}
.services-frame:last-of-type h2{
  border-bottom: 0;
  padding-bottom: 0;
}







.clutch-container {
  width: 100%;
  padding: 15px;
  height: 100%;
}


.faq-container {
  width: 50vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: center;
}




.clients-section {
  width: 100%;
  padding: var(--top-bottom-padding) var(--left-right-padding);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--top-bottom-padding);
}
.clients-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
}
.clients-track {
  display: flex;
  gap: 70px;
  animation: scroll 60s linear infinite;
  width: max-content;
}
/* Keyframes za animaciju */
@keyframes scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.clients-container {
  display: flex;
  width: auto;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.clients-container img {
  width: 100%;
  height: auto;
  max-height: 80px;
  max-width: 110px;
}



.about-section {
  display: flex;
  flex: 1;
  flex-direction: column;
  position: relative;
  margin: 0;
  width: 100%;
  padding: var(--top-bottom-padding) var(--left-right-padding);
  padding-top: 110px;
  align-items: center;
}
video {
  object-fit: cover;
}
.about-section .column{
  width: 80vw;
}

.column-section {
  display: flex;
  flex-direction: row;
  position: relative;
  margin: 0;
  width: 100%;
  padding: var(--top-bottom-padding) var(--left-right-padding);
  gap: var(--text-gap);
  justify-content: center;
  align-items: center;
}
.services-hero {
  display: flex;
  flex: 1;
  flex-direction: row;
  position: relative;
  margin: 0;
  width: 100%;
  padding: var(--top-bottom-padding) var(--left-right-padding);
  padding-top:150px;
  gap: var(--text-gap);
}

.services-section {
  display: flex;
  flex: 1;
  flex-direction: column;
  position: relative;
  margin: 0;
  width: 100%;
  padding: var(--top-bottom-padding) var(--left-right-padding);
  gap: var(--text-gap);
}

.column-wrapper {
  display: flex;
  flex-direction: row;
  position: relative;
  margin: 0;
  gap: 50px;
}


.column, .text-column {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: var(--text-gap);
  height: auto;
  width: 100%;
}

#project .column .single-img {
  width: 100%;
}

.column, .services-column {
  align-items: start;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  flex-direction: column;
}
.center {
  align-items: center;
}
.services-column {
  gap: 0;
}

.footer-space-between,
.services-space-between {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: var(--gutter);
}
.services-space-between {
  align-items: center;
}
.footer-space-between {
  align-items: end;
}



/* FAQ card */
.faq-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}



/* Question row */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Arrow image animation */
.arrow {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 0.35s ease;
  opacity: 0.2;
}

/* Rotate arrow when active */
.faq-item.active .arrow {
  transform: rotate(45deg);
}

/* Answer animation */
.faq-answer {

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
}

/* Open state */
.faq-item.active .faq-answer {
    padding-top: 10px;
  max-height: 300px; /* dovoljno za sve odgovore */
  opacity: 1;
  transform: translateY(0);
}


.static-image {
  width: 100%;
  height: 100%;
}







.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 02s ease-out, transform 2s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .works-column .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.bottom-div {
  height: calc(var(--circle-size) + var(--top-bottom-padding) * 2);
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--top-bottom-padding) var(--left-right-padding);
}
#project .bottom-div {
  justify-content: start;
}
#contact .bottom-div {
  height: auto;
  position: relative;
  width: 100%;
  padding: var(--top-bottom-padding) var(--left-right-padding);
}
.bottom-div p {
  width: calc(100% - var(--circle-size) - var(--left-right-padding));
}
#contact .bottom-div p {
  width: 100%;
}

.clutch-widget {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  display: block;
}

.iframe {
  height: 100vh;
  width: 100vw;
}

.l-text {
  display: block;
  font-weight: 400;
  line-height: 1.15;
}

.hide-desktop {
  display: none;
}




@media(max-width:768px) {
  
  .logo {
    height: 100%;
    width: 100%;
    padding: var(--gutter) 0;
  }
  .logo img {
    width: auto;
    min-height: 30px;
  }
  .letter-logo {
    padding-right: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
  }
  footer .letter-logo {
    padding-bottom: var(--s-gutter);
  }

  .footer-space-between {
    flex-direction: column;
    align-items: center;
    gap: var(--s-text-gap);
    padding:0;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .slide-wrapper {
    max-width: 100vw;
    flex-direction: column;
    border-top: 0;
  }
  .relative-container {
    width: 86vw;
  }




  .frame {
    width: 100%;
    padding: var(--s-top-bottom-padding) var(--left-right-padding);
  }
  .about-section {
    width: 100%;
  }
  .faq-container {
    width: 100%;
  }
  .index-galerija {
  flex-direction: column;
  }
  .clients-section {
    white-space:inherit;
    width: 100%;
    padding: var(--s-top-bottom-padding) var(--s-left-right-padding);
  }
  .clients-wrapper {
    overflow: visible;
    width: 100%;
    height: auto;
    padding: 0;
  }
  .hide-desktop {
    display: block;
  }
  .slider {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
  }
  .clients-track {
    gap: 8vw;

  }
  
  .clients-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .clients-container img {
    width: 17vw;
    height: 14vw;
    height: auto;
  }


  

  .larger-p {
    font-size: 1.3rem;
  }
  #project .column {
    padding: 0;
    border-bottom: 0;
    }
  #index .column {
    padding-top: 0;
    border-bottom: 0;
  }

  .l-img {
    display: none;
  }
  .s-img {
    display: flex;
  }

  
  .popup {
    width: 100%;
  }
  .popup .popuptext {
    width: calc(100% - var(--s-left-right-padding) * 2) ;
    gap: var(--s-text-gap);
    padding: var(--s-gutter);
    z-index: 9999999;
  }

  .popup .close {
    top: 13px;
    right: var(--s-gutter);
  }
  .bold {
    font-size: auto;
    line-height: 1.2;
  }
  h1 {
    font-size: 3rem;
  }

  .blue-frame h3 {
    color: var(--background);
    font-weight: 400;
  }
  .blue-frame {
    background-color: var(--primary);
  }
  .services-frame h3{
    border-bottom: var(--background) solid .5px;
  }
  h6 {
    font-size: 23px;
  }
  h2 {
    font-size: 25px;
  }
  .services-frame h3 {
    padding-bottom: 5px;
  }
  p {
    font-size: var(--s-p-font-size);
    line-height: 1.4rem;
  }

  .column-section {
    overflow: hidden;
    display: flex;
    flex: 1;
    flex-direction: row;
    position: relative;
    margin: 0;
    width: 100%;
    padding: var(--top-bottom-padding) var(--left-right-padding);
    gap: var(--text-gap);
    justify-content: center;
    align-items: center;
  }
  

  .infinite-slider {
    padding: var(--s-top-bottom-padding) 0;
  }  

  footer {
    padding: var(--s-top-bottom-padding) var(--s-left-right-padding);
    text-align: center;
  }
  
  .footer-div{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3px;
    text-align: left;
    width: auto;
    justify-content: center;
  }
  .footer-logo-div {
    height: auto;
    width: 100%;
    align-items: center;
    align-content: center;
  }
  .footer-logo {
    height: 20px;
    width: auto;
    align-self: center;
    text-align: center;
  }
  .footer p {
    width: auto;
    font-size: var(--s-footer-font-size);
  }

  
  
  

  

  
  

  .flex-wrapper {
    padding: 0;
    gap: var(--s-text-gap);
  }
  button {
    height: auto;
    width: auto;
    font-size: var(--s-button-font-size);
  }





  button a {
    font-size: var(--s-button-font-size);
  }

  .column-section, .steps-section {
    flex-direction: column;
    padding: var(--s-top-bottom-padding) var(--s-left-right-padding) ;
    overflow: hidden;
    gap: var(--s-top-bottom-padding);
  }


  #index .column:nth-of-type(3) {
    padding-bottom: 0;
    padding-top: 0;
    border-bottom: 0;
  }
  .serif {
    font-size: var(--s-marquee-font-size);
    font-weight: 500;
  }

  .bottom-div {
    height: auto;
    position: relative;
    padding: var(--s-top-bottom-padding) var(--s-left-right-padding);
    border-top: 0;
    padding-bottom: 0;
  }
  .bottom-div p {
    width: 100%;
  }
  .copyright {
    padding-top: var(--s-top-bottom-padding);
    margin-top: 0;
    border-top: solid var(--primary) 1px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
  }

  .column-gap {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: var(--s-gutter);
    align-items: center;
    text-align: center;
  }


  .row {
    flex-direction: column;
  }


  .about-slide {
    padding: var(--s-top-bottom-padding) var(--s-left-right-padding);
    flex-direction: column;
    gap: var(--s-gutter);
  }
  #about .frame {
    width: 86vw;
  }




  .l-text {
    display: none;
  }

  


  .s-unvisible {
    display: none;
  }

}
