@font-face {
  font-family: "OpenSans";
  src: url("fonts/OpenSans.ttf");
  src: url("fonts/OpenSans.ttf") format("embedded-opentype"),
    url("fonts/OpenSans.ttf") format("woff2"),
    url("fonts/OpenSans.ttf") format("woff"),
    url("fonts/OpenSans.ttf") format("truetype"),
    url("fonts/OpenSans.ttf") format("svg");
}

@font-face {
  font-family: "OpenSans-Italic";
  src: url("fonts/OpenSans-Italic.ttf");
  src: url("fonts/OpenSans-Italic.ttf") format("embedded-opentype"),
    url("fonts/OpenSans-Italic.ttf") format("woff2"),
    url("fonts/OpenSans-Italic.ttf") format("woff"),
    url("fonts/OpenSans-Italic.ttf") format("truetype"),
    url("fonts/OpenSans-Italic.ttf") format("svg");
}

:root {
  /* --neon-color: #510CEF; */
  /* --neon-color: #22be22; */
  --neon-color: #bc13fe;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
li,
p {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" viewBox="0 0 800 600"><g stroke="%230000fe" stroke-opacity="0.2" stroke-width="0.5" fill="none"><path d="M 100 0 C 120 150, 80 300, 100 600" /><path d="M 200 0 C 220 150, 180 300, 200 600" /><path d="M 300 0 C 320 150, 280 300, 300 600" /><path d="M 400 0 C 420 150, 380 300, 400 600" /><path d="M 500 0 C 520 150, 480 300, 500 600" /><path d="M 600 0 C 620 150, 580 300, 600 600" /><path d="M 700 0 C 720 150, 680 300, 700 600" /></g></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "OpenSans", Arial, Helvetica, sans-serif;
}

.container {
  padding-inline: 20px;
}

@media screen and (min-width: 992px) {
  .container {
    max-width: 992px;
    margin: 0 auto;
  }
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
}

.header-logo {
  height: 54px;
  width: auto;
}

.header-nav-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
}

.header-nav-list-item a {
  text-decoration: none;
  color: black;
}

.header-nav-list-item a {
  position: relative;
}

.header-nav-list-item a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: -4px;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: black;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.header-nav-list-item a:hover:after {
  width: 100%;
  left: 0;
}

.section-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 80vh;
}

.section-hero h1 {
  font-size: 4rem;
  max-width: 15ch;
  line-height: 1.2em;
}

.section-hero p {
  margin-top: 2em;
  max-width: 50ch;
}

@media screen and (max-width: 767px) {
  .section-hero {
    height: 75vh;
  }
  .section-hero h1 {
    font-size: 3.25rem;
  }
  .section-hero p {
    max-width: 35ch;
  }
}

@media screen and (max-width: 400px){
    .section-hero {
        height: 80vh;
    }
    .section-hero h1 {
        font-size: 2.7rem;
        line-height: 1.35em;
    }
}

.section-hero .cta-button {
  margin-top: 2em;
  animation: shake 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  background: #222222;
  padding: 20px 32px;
  border-radius: 9px;
  box-shadow: 0px 2px 15px 5px rgba(0, 0, 0, 0.25);
  text-shadow: 0 0 2px #ffffff00, 0 0 4px #ffffff00, 0 0 6px #ffffff00,
    0 0 10px var(--neon-color), 0 0 13px var(--neon-color),
    0 0 17px var(--neon-color), 0 0 25px var(--neon-color),
    0 0 30px var(--neon-color);
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(1px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-2px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(2px, 0, 0);
  }
}

.section-hero .cta-button:hover {
  animation: none;
}

.h2-heading,
.h3-heading {
  text-align: center;
}

.h2-heading {
  font-size: 2.25rem;
}

.section-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5em;
  margin-top: 3em;
  margin-bottom: 3em;
}

.services-container-item {
  width: 280px;
  height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Omogućava karticama da rastu */
  gap: 1.5em;
  justify-content: start;
  align-items: center;
  padding: 1.5em 1em;
  box-shadow: 2px 4px 18px 5px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: white;
}

.services-container-item:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.services-container-item p,
.services-container-item h3 {
  margin: 0;
  padding: 0;
}

.reference-cta {
  margin-bottom: 4.5em;
}
/*#reference-cta {*/
/*  background: #4747b7;*/
/*  color: white;*/
/*  font-weight: bold;*/
/*  text-decoration: none;*/
/*  padding: 1.15em 2.25em;*/
/*  font-size: 1.15rem;*/
/*  display: block;*/
/*  border-radius: 10px;*/
/*  box-shadow: 0px 2px 15px 5px rgba(0, 0, 0, 0.25);*/
/*}*/

  .reference-cta{
    background: #4747b7;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 1em 1.75em;
    font-size: 1rem;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 2px 15px 5px rgba(0, 0, 0, .25);
    margin-top: auto;
  margin-bottom: 0.75em;
    animation: gradient-animation 5s infinite alternate;
  background: linear-gradient(45deg, #4747b7, #BC13FE);
  background-size: 200% 200%;
  }
  
  @keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

#reference-cta:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}
/* 
  .services-container-item p {
    line-height: 1.4em;
  } */

.testemonial-container {
  margin-top: 3em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: center;
  justify-content: center;
  margin-bottom: 4.5em;
}

.testemonial-container-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.testemonial-container-item > * {
  margin: 0;
  padding: 0;
}

.quote {
  height: 64px;
  width: auto;
}

.testemonial-container-item p {
  line-height: 1.5em;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f0f0fa;
}

.footer-top {
  background: #4747b7;
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  gap: 1em;
}

@media screen and (max-width: 767px){
    .footer-top{
        height: auto;
        padding: 1.25em 0;
        flex-direction: column;
    }
}

.footer-top a {
  text-decoration: none;
  background: white;
  color: red;
  padding: 0.75em 1.25em;
  border-radius: 9px;
  box-shadow: 0px 2px 15px 5px rgba(188, 19, 254, 0.75);
    animation: shake 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.footer-top a:hover {
  box-shadow: 0px 2px 15px 5px rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
  color: rgb(188, 19, 254);
}


@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(1px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-2px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(2px, 0, 0);
  }
}

.footer-bottom {
  width: 100%;

  display: flex;
  justify-content: center;
  gap: 5em;
  padding-block: 2em;
}

.footer-bottom .column-1 img {
  width: 170px;
  height: auto;
}

.footer-bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
.footer-bottom a {
  text-decoration: none;
  color: black;
}

.footer-icon {
  margin-right: 0.5em;
}

#fb_link {
  /* border-bottom: 1px solid #1a79f4;
    padding-bottom: 2px; */
  color: #4747b7;
  font-weight: bold;
}
#yt_link {
  /* border-bottom: 1px solid #1a79f4;
    padding-bottom: 2px; */
  color: #000000;
  font-weight: bold;
}

.mobile-menu {
  display: none;
}

.close-menu {
  display: none;
}

.page-section {
  margin-top: 1.5em;
}

.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  text-align: center;
}

.contact-list a {
  text-decoration: none;
  color: black;
}

.contact-list a strong {
  /* text-decoration: underline; */
}

.map-container {
  text-align: center;
  margin-top: 2.25em;
  margin-bottom: 4.5em;
}

.contact-map {
  width: 70%;
  height: 400px;
  border-radius: 13px;
}

.about-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-h1 {
  margin-bottom: 1em;
}

.about-paragraph {
  margin-bottom: 1.25em;
}

.about-paragraph:last-child {
  margin-bottom: 4.5em;
}

.reference-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.reference-h1 {
  margin-bottom: 1.25em;
}

/* Osnovni stilovi */
.category-list {
  margin-bottom: 2.25em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5em;
}

.category-btn {
  font-size: 1rem;
  background: white;
  outline: none;
  border: none;
  border-radius: 6px;
  padding: 0.75em 1em;
  cursor: pointer;
  /* box-shadow: 0px 1px 8px 2px rgba(0, 0, 0, .2); */
  border: 1px solid rgb(199, 199, 199);
}

.category-btn:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.category-btn.active {
  background-color: #4747b7;
  color: white;
}

.gallery {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 4.5em;
}

.category-images {
  display: none; /* Sakrij sve kategorije na početku */
}

.category-images img {
  height: 128px !important;
  width: auto !important;
  border-radius: 6px !important;
  margin: 0.5em;
  box-shadow: 2px 4px 18px 5px rgba(0, 0, 0, 0.15);
}

.category-images img:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* 
.reference-image{
  height: 128px !important;
  width: auto !important;
  border-radius: 6px !important;
} */

/* mobile responsive */

@media screen and (max-width: 767px) {
  .header-nav-list {
    display: none;
  }
  .header-nav-list.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: all 0.25s ease;
    font-size: 1.5rem;
  }

  .close-menu {
    display: block;
    position: fixed;
    right: 20px;
    top: 32px;
    z-index: 9999;
    cursor: pointer;
    border-bottom: 3px solid black;
    padding-bottom: 5px;
  }

  .mobile-menu {
    display: block;
    cursor: pointer;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25em;
    text-align: center;
  }
  .footer-bottom > * {
    padding: 0 20px;
  }
}

@media screen and (min-width: 767px) {
}

p {
  line-height: 1.5em !important;
}
