/******************************

FONTS / COLORS

*******************************/

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
  --font-default: "Nunito", sans-serif;
  --font-primary: "Nunito", sans-serif;
  --font-secondary: "Nunito", sans-serif;
}

:root {
  --color-default: #fff;
  --color-header: #1476C7;
  --color-primary: #065fa8;
  --color-primary-light: #1476C7;
  --color-primary-dark: #0B518A;
  --color-secondary: #fff;
  --color-background: #fff;
  --color-font: #222;
  --color-one: #fff;
  --color-two: #f2f2f2;
}

html {
  scroll-behavior: smooth;
}

html, body{
  width: 100%;
  height: 100%;
  background-color: var(--color-default);
  color: var(--color-font);
  font-family: var(--font-default);
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
  text-decoration: none;
}


/******************************

HERO

*******************************/

.cln-hero {
  position: relative;
  padding: 140px 24px 160px;     /* više prostora dole zbog prelivanja boxova */
  min-height: 90vh;              /* sekcija malo viša da sve lepo stane */
  color: white;
  background: var(--color-primary-dark); /* fallback ako slika kasni */
  overflow: visible;             /* dozvoljava prelivanje boxova ispod slike */
}

.cln-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Leva strana – slika + grid boxova dole */
.cln-left-side {
  position: relative;
}

.cln-owner-wrapper {
  position: relative;
  overflow: visible;
}

.cln-owner-image {
  width: 100%;
  height: auto;
  min-height: 520px;
  max-height: 720px;
  object-fit: cover;
  object-position: center 20%;   /* prilagodi ako lice treba više gore */
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* Grid benefit boxova – dole, manji, zauzimaju samo donji deo slike + prelaze malo dole */
.cln-benefits-grid {
  position: absolute;
  bottom: -15%;                  /* prelaze 15% ispod slike → više vidljive slike gore */
  left: 5%;
  right: 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;                   /* manji razmak između boxova */
  z-index: 2;
  padding: 0;
}

.cln-benefits-grid .cln-benefit-box {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #111;
  padding: 1.2rem 1.3rem;        /* manje paddinga → manji boxovi */
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.cln-benefits-grid .cln-benefit-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.22);
}

.cln-benefits-grid .cln-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cln-benefits-grid .cln-icon i {
  font-size: 24px !important;
  color: white !important;
}

.cln-benefits-grid h3 {
  font-size: 1.22rem;
  margin: 0 0 0.55rem;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.cln-benefits-grid p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0.92;
}

/* Desna strana – tekst, dugmad, ocene, sertifikat */
.cln-right-side {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.cln-trust {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.cln-stars {
  color: #ffd700;
  font-size: 2.5rem;
  letter-spacing: 5px;
}

    .cln-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .cln-btn {
      padding: 1rem 2rem;
      font-size: 1.1rem;
      font-weight: 600;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .cln-btn-primary {
      background: var(--color-default);
      color: var(--color-primary-dark);
    }

    .cln-btn-primary:hover {
      background: var(--color-primary-light);
      color: var(--color-one);
      transform: translateY(-3px);
    }

    .cln-btn-whatsapp {
      background: #25D366 !important;
      color: var(--color-one);
    }

    .cln-btn-whatsapp:hover {
      background: #20b858 !important;
      transform: translateY(-3px);
    }

.cln-cert {
  margin-top: 0.8rem;
}

.cln-cert-img {
  width: 190px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.22s ease;
}

.cln-cert a:hover .cln-cert-img {
  transform: scale(1.07);
}

/* Responzivnost */
@media (max-width: 1100px) {
  .cln-container {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }
  
  .cln-benefits-grid {
    position: relative;
    bottom: auto;
    margin-top: 2rem;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
  }
  
  .cln-owner-image {
    max-height: 480px;
  }
}

@media (max-width: 768px) {
  .cln-hero {
    padding: 110px 16px 140px;
  }
  
  .cln-benefits-grid {
    grid-template-columns: 1fr;   /* na telefonu boxovi u koloni */
    gap: 1rem;
  }
  
  .cln-stars {
    font-size: 2.1rem;
  }
  
  .cln-cert-img {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .cln-left-side h1 {
    font-size: 2.4rem;
  }
  .cln-left-side h2 {
    font-size: 1.5rem;
  }
}

/******************************

TITLES

*******************************/

.section {
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin: auto;
}

.sction-btn {
  display: inline-block;
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #1476c7, #0B518A);
  color: var(--color-one);
  padding: 12px 24px;
  margin: 20px 0px 0px 0px;
  border-radius: 50px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sction-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.section-page {
  margin: 90px 0px 0px 0px !important;
  padding: 70px 0px 0px 0px !important;
  overflow: hidden;
  margin: auto;
}

.section-one {
  padding: 80px 0px 0px 0px;
  background-color: var(--color-one);
}

.section-primary {
  padding: 80px 0px 0px 0px;
  background: linear-gradient(to right, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}

.section-primary h2,
.section-primary h3 {
  color: var(--color-two) !important;
}

.section-primary .gradient-line {
  background-color: var(--color-two);
}

.section-primary .box a {
  color: var(--color-one) !important;
}

.section-two {
  padding: 80px 0px 0px 0px;
  background-color: var(--color-two);
}

.section h1,
.section h2 {
  margin: 0px 24px 30px 24px;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
}

.section h3 {
  margin: 0px 24px 30px 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.section .white-title {
  margin: 0px 24px 30px 24px;
  text-align: center;
  font-size: 34px;
  color: #f0f0f0;
}

.section span {
  color: var(--color-primary);
}

.section h5 {
  margin: 0px 24px 30px 24px;
  text-align: center;
  width: 90%;
  margin: auto;
  font-size: 20px;
  font-weight: 800;
}

.gradient-line {
  width: 94%;
  height: 1px;
  margin: 0px auto 30px auto;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-dark), var(--color-primary));
  background-size: 200% auto;
  border-radius: 3px;
}

.section-qta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-dark), var(--color-primary));
}

.section-qta .qta-btn {
  position: relative;
  margin: 30px 0px 0px 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

a.swipe {
  display: inline-block;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #e0e0e0;
  background: #333333;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px;
  transition: all 0.3s ease;
  border: 1px solid #4a4a4a;
}

a.swipe:hover {
  color: #ffffff;
  background: #444444;
  box-shadow: 0 0 15px rgba(224, 224, 224, 0.5);
  transform: scale(1.05);
}

.section-qta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.section-qta * {
  position: relative;
  z-index: 2;
}

.section-qta h2 {
  color: var(--color-one); 
}

.section-qta h3 {
  margin: auto auto 50px auto !important; 
  color: var(--color-two); 
}

.section-qta p {
  padding: 0px 22px 0px 22px;
  font-size: 16px;
  text-align: center;
  color: var(--color-one); 
}

.section-qta ul {
  padding: 0px 22px 0px 22px;
  margin: auto;
  display: table;
  text-align: center;
}

.section-qta ul li {
  list-style: none;
  position: relative;
  color: var(--color-one);
}

.section-qta .gradient-line {
  background-color: var(--color-two);
}

.section-primary .gradient-line {
  background-color: var(--color-two);
}

/******************************

SECTIONS

*******************************/

.container {
  position: relative;
  margin: 50px auto;
  display: flex;
  flex-wrap: wrap;
  width: 1200px;
  height: auto;
  padding-bottom: 34px;
}

.container .box {
  position: relative;
  float: left;
  width: 550px;
  height: auto;
  margin: 34px 0px 0px 34px;
}

.container .light {
  padding: 24px;
  border-radius: 20px;
  border: 2px solid var(--color-two);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.container .light:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.container .box img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover; /* Osigurava da slika popuni prostor bez deformacija */
  border-radius: 8px; /* Zaobljeni uglovi za moderan izgled */
  transition: all 0.3s ease-in-out; /* Glatki prelazi za efekte */
}

/* Hover efekat za interaktivnost */
.container .box img:hover {
  transform: scale(1.05); /* Blago povećanje slike na hover */
}

/* Responzivnost za manje ekrane */
@media (max-width: 768px) {
  .container .box img {
    border-radius: 4px; /* Manji radius na mobilnim uređajima */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lakša senka */
  }
}

.container .box h1,
.container .card h1 {
  font-size: 32px;
  text-align: right;
  color: #000;
  margin: 20px 0px 20px 0px;
}

.container .box h2,
.container .card h2 {
  text-align: left;
  margin: 20px 0px 20px 0px;
  color: var(--color-primary-dark);
  font-size: 30px;
}

.container .box h3,
.container .card h3 {
  text-align: left;
  margin: 20px 0px 20px 0px;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary-dark) !important;
}

.container .box h4,
.container .card h4 {
  text-align: left;
  margin: 20px 0px 20px 0px;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
  color: var(--color-primary);
}

.container .box h5,
.container .card h5 {
  text-align: left;
  margin: 20px 0px 20px 0px;
  font-size: 18px;
  color: var(--color-primary-light);
}

.container .box h6,
.container .card h6 {
  text-align: left;
  margin: 20px 0px 20px 0px;
  font-size: 18px;
  color: var(--color-font);
}

.container .card {
  position: relative;
  margin: 0px 0px 20px 28px;
  float: left;
  width: 350px;
  height: auto;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.container .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.container .card.special {
  border: 2px solid var(--color-primary);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--color-header) 0%, var(--color-primary-dark) 100%);
}

.container .card.special:hover {
  border: 2px solid var(--color-primary-dark);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-header) 100%);
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.container .card.special:after {
  border: none !important;
}

.container .card:hover .content {
  color: var(--color-primary-dark);
}

.section .card.special:hover .content .contentBx h3,
.section .card.special:hover .content .contentBx h4,
.section .card.special:hover .content .contentBx h5 {
  color: var(--color-primary-light);
}

.section .card.special .content .contentBx p {
  color: var(--color-two);
}

.section .card.special:hover .content .contentBx p {
  color: var(--color-default);
}

.container .card .content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 14px 20px 14px;
}

.container .card .content .imgBx {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
}

.container .card .content .icon {
	  align-items: center;
	  display: flex;
	  justify-content: center;
	  width: 60px;
	  height: 60px;
      margin-bottom: 1rem;
      background-color: var(--color-primary);
	  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

.container .card .content .icon i {
      font-size: 32px !important;
      color: var(--color-one) !important;
    }

.container .card .content .icon img {
  width: 120px;
  height: 100%;
}

.container .card .content .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .card .content .imgBlog {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.container .card .content .imgBlog img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .card .content .contentBx p {
  font-size: 16px; 
  font-weight: 300;
  text-transform: initial;
}

a[itemprop="url"] {
  display: inline-block;
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #1476c7, #0B518A);
  padding: 12px 24px;
  margin: 20px 0px 0px 0px;
  border-radius: 50px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a[itemprop="url"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

a[itemprop="url"] span {
  position: relative;
  color: #fff;
  z-index: 1;
}

a[itemprop="url"] .liquid {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
  transition: transform 0.5s ease;
  transform: translateY(100%);
}

a[itemprop="url"]:hover .liquid {
  transform: translateY(0);
}

.container .poravnanje {
  font-size: 18px;
  text-align: left;
  margin: 12px 12px 0px 12px;
}

.zoom-effect {
  display: inline-block;
  overflow: hidden;
}

.zoom-effect img {
  transition: transform 4s;
}

.zoom-effect:hover img {
  transform: scale(1.2);
}

.container .fa-angle-double-right,
.container .fa-question-circle-o {
  cursor: pointer;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-color: var(--color-background);
  color: var(--color-primary);
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  margin: 0px 0px 0px 10px;
}

.container .box ul {
  margin: 20px 0px 20px 20px;
}

.container .box li {
  list-style: none;
}

.container .box p {
  font-size: 18px;
  margin: 6px auto;
}

.container-b .box-b p {
  font-size: 12px;
  margin: 0px 0px 20px 0px;
  text-align: left;
}

.container-b .box-b a {
  color: var(--color-one) !important;
}

.container-b .box-b i {
  margin: 0px 6px 0px 0px;
  background-color: var(--color-primary);
  color: #000;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  font-size: 10px;
}

.container .box .white-font {
  color: var(--color-default);
}

.container span {
  font-weight: 700;
}

.line-up {
  border-top: 1px solid #f0f0f0;
}

.cube-o {
  position: relative;
  margin: 50px auto;
  width: 100%;
  height: auto;
}

.container-b {
  position: relative;
  margin: 50px auto;
  display: flex;
  flex-wrap: wrap;
  width: 1200px;
  height: auto;
  background-color: transparent;
  color: #f0f0f0;
  padding-bottom: 34px;
}

.container-b .box-b {
  position: relative;
  float: left;
  width: 350px;
  height: auto;
  font-size: 18px;
  margin: 34px 0px 0px 34px;
  text-align: center;
}

.container .box i {
  background-color: var(--color-primary);
  color: var(--color-default);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 30px;
  margin: 10px;
}

.container-b .box-b h4 {
  font-size: 36px;
  color: var(--color-primary);
  text-align: center;
  margin: 6px auto;
}

.container-b .box-b .web {
  color: var(--color-primary);
}

#call-icons {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 9999;
}

#call-icons img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  -webkit-filter: drop-shadow(5px 5px 5px #090909);
  filter: drop-shadow(5px 5px 5px #090909);
  cursor: pointer;
  transition: transform 0.3s ease;
}

#call-icons img:hover {
  transform: scale(1.1);
}

.telefon-icon {
  position: fixed;
  padding: 6px 32px 6px 32px;
  bottom: 0;
  right: 15px;
  cursor: pointer;
  background-color: var(--color-primary);
}

.notification {
  width: 10px;
  height: 10px;
  background-color: #d50808;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  right: 5px;
  transition: background-color 0.5s ease;
}

.notification.pulsate {
  animation: pulsate 1s infinite;
}

@keyframes pulsate {
    0% {
      box-shadow: 0 0 5px 0px #0e9916;
    }
    50% {
      box-shadow: 0 0 20px 10px rgba(0, 128, 0, 0);
    }
    100% {
      box-shadow: 0 0 5px 0px #0e9916;
    }
}

/******************************

GALLERY

*******************************/

.gallery-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0px 0px 0px;
  margin: 50px auto;
  width: 1200px;
  height: auto;
  border-radius: 8px;
}

.gallery-container h4 {
  position: relative;
  width: 100%;
  padding: 0px 0px 10px 0px;
  text-align: center;
  font-size: 18px;
  color: var(--color-primary);
}

.gallery-container .gallery-item {
  position: relative;
  margin: 0px 0px 20px 20px;
  float: left;
  width: 275px;
  height: 280px;
  transition: 0.5s ease-in-out;
}

.gallery-container .gallery-item:hover {
  transform: translate(0px,-5px);
  box-shadow: -4px -4px 10px #ababab, 4px 4px 10px #ababab;
}

.gallery-container .gallery-item img {
  width: 100%;
  height: 100%;
}

.lightbox {
  position: fixed;
  display: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100vh;              
  overflow: auto;
  top: 0;
  left: 0;
  z-index: 9999;
}

.lightbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100vh;
  margin: auto;
}

.lightbox-content img {
  border-radius: 8px;
  box-shadow: 0 0 3px 0 rgba(225, 225, 225, .25);
  border: 2px solid #252525;
  width: 520px;
  height: auto;
  object-fit: cover;
  transition: 0.5s ease-in-out;
}

.lightbox-content img:hover {
  transform: translate(0px,-5px);
  box-shadow: -4px -4px 10px #000, 4px 4px 10px #000;
}

.lightbox-prev,
.lightbox-next {
  position: absolute !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  text-align: center !important;
  background-color: var(--color-primary);
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 10px !important;
  color: #303A48 !important;
  border: 2px solid #252525;
  top: 45% !important;
  cursor: pointer !important;
}

.lightbox-next {
  margin: 0px -120px 0px 0px;
  right: 0;
  opacity: 0.5;
}

.lightbox-prev {
  margin: 0px 0px 0px -120px;
  left: 0;
  opacity: 0.5;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  top: 30px;
  right: 30px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  background-color: var(--color-primary);
  color: var(--color-default);
  font-size: 28px;
  border: 2px solid #252525;
  border-radius: 100px;
  z-index: 1000;
}

/******************************

PAGE HEADER

*******************************/
.page-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0px auto;
  width: 100%;
  height: 380px;

  background: var(--navy);
  background-image:
    radial-gradient(ellipse 70% 60% at 15% 50%,  rgba(75,163,211,.15) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 85% 20%,  rgba(29,59,110,.65) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 75% 85%,  rgba(75,163,211,.09) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 45% 5%,   rgba(126,196,232,.08) 0%, transparent 50%);
}
/* Crystal texture on hero */
.page-header::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--crystal-bg);
  background-size: 120px 120px;
}

.page-header h1 {
  font-size: 28px;
  color: var(--color-one);
  z-index: 3;
}

.breadcrumb {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-one);
  font-size: 14px;
  z-index: 3;
}

.breadcrumb span {
  margin: 0px 12px 0px 12px;
  color: #e7a300;
}

.breadcrumb i {
  margin: 0px 8px 0px 0px;
  color: #e7a300;
}

.page-header-slider {
  position: relative;
  margin: 90px auto;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.page-header-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.page-header-box.active {
  opacity: 1;
  z-index: 1;
}

/******************************

TESTIMONIALS

*******************************/
.container-2 {
    max-width: 1240px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

#properties-slider-2 {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* bolji scroll na iOS */
}

.div-box {
    flex: 0 0 33.333%;           /* ~3 kartice na desktopu */
    min-width: 320px;
    background: var(--color-two); /* #f2f2f2 – tvoj light background */
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.28s ease;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.div-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.div-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 118, 199, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.div-box:hover::before {
    opacity: 1;
}

.div-box > * {
    position: relative;
    z-index: 1;
}

.div-box img {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--color-default);
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    object-fit: contain;
}

.div-box h4 {
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--color-primary);       /* #065fa8 – tvoja primarna boja */
    margin: 0 0 12px;
    line-height: 1.2;
}

.div-box .fa-star {
    color: #f1c40f;          /* zadržavamo zlatnu, nije nova boja */
    font-size: 1.1rem;
    margin: 0 3px;
}

.div-box p {
    font-size: 1.03rem;
    line-height: 1.58;
    color: #444;
    margin: 16px 0 0;
    font-weight: 400;
}

/* Strelice – modernije i u tvojim bojama */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    color: var(--color-primary-light);  /* #1476C7 */
    background: rgba(255,255,255,0.9);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    text-decoration: none;
    z-index: 10;
}

.slick-prev:hover,
.slick-next:hover {
    color: var(--color-primary-dark);   /* #0B518A */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.slick-prev {
    left: -24px;
}

.slick-next {
    right: -24px;
}

/* Responsivnost */
@media (max-width: 1100px) {
    .div-box {
        flex: 0 0 45%;
        min-width: 45%;
    }
}

@media (max-width: 800px) {
    .div-box {
        flex: 0 0 80%;
        min-width: 80%;
    }
    .slick-prev { left: 12px; }
    .slick-next { right: 12px; }
}

@media (max-width: 520px) {
    .div-box {
        flex: 0 0 94%;
        min-width: 94%;
    }
    .div-box {
        padding: 28px 24px;
    }
}

/******************************

HGF

*******************************/
.container .box .accordion {
  background-color: transparent;
  color: var(--color-font);
  cursor: pointer;
  padding: 20px;
  margin: 0 0 12px 0;
  width: 100%;
  border: 1.5px solid var(--color-default);
  border-radius: 12px;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.container .box .accordion:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.container .box .active {
  background: linear-gradient(135deg, var(--color-one), var(--color-one) 80%, rgba(0, 0, 0, 0.05));
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.container .accordion:after {
  content: '\002B';
  color: var(--color-primary);
  font-weight: bold;
  font-size: 20px;
  float: right;
  margin-left: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.container .box .active:after {
  content: "\2212";
  color: var(--color-primary-dark);
  transform: rotate(180deg);
}

.container .panel {
  padding: 0 20px 20px;
  background-color: rgba(0, 0, 0, 0.02);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  border-radius: 0 0 12px 12px;
}

.container .box .active + .panel {
  max-height: 500px;
  padding: 20px;
}

.container .box .panel {
  padding: 0 18px;
  background-color: var(--color-background);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.container .box .panel p {
  font-size: 14px;
  color: var(--color-font);
}

.container .box .panel a {
  all: unset;
  display: inline;
  vertical-align: middle;
  font-size: 18px;
  text-transform: none;
  text-align: left;
  color: #1b2e7e;
  cursor: pointer;
}

.container .box .panel a::before {
  content: none;
}

.container .box .panel a:hover {
  color: #faa930;
  background-color: transparent;
  transform: none;
  box-shadow: none;
}

/******************************

RESPONSIVE

*******************************/

@media only screen and (max-width: 1080px) {

  .container {
    width: 750px;
  }
  
  .container .box {
    margin: 34px 0px 0px 100px;
  }
  
  .base {
    width: 750px;
  }
  
  .base .side {
    margin: 34px 0px 0px 100px;
  }
  
  .container .card {
    width: 320px;
  }
  
  .container-b {
    width: 750px;
  }
  
  .container-b .box-b {
    width: 320px;
  }
  
  .gallery-container {
    width: 720px;
  }
  
  .gallery-container .gallery-item {
    width: 330px;
  }

}

@media only screen and (max-width: 770px) {

  .sk-cube-grid {
    width: 300px;
    height: 300px;
    margin: 160px auto;
  }

  .section h1 {
    font-size: 22px;
    margin: 0px 8px 30px 8px;
  }

  .section h5 {
    font-size: 16px;
  }

  .container .box h3 {
    font-size: 16px;
  }
  
  .base .side h3 {
    font-size: 16px;
  }

  .section .bor-border {
    width: 70%;
  }

  .container {
    width: 100%;
  }

  .container .box {
    width: 360px;
    margin: 20px auto;
  }

  .base {
    width: 100%;
  }

  .base .side {
    width: 360px;
    margin: 50px auto;
  }
  
  .container .card {
    width: 360px;
    margin: 20px auto;
  }

  .container .box h1 {
    font-size: 20px;
  }

  .container .box p {
    font-size: 16px;
  }

  .container .poravnanje {
    font-size: 16px;
  }

  .form-control {
    width: 94%;
    font-size: 16px;
  }

  .container-b .box-b h6 {
    margin: 6px 0px 6px 0px;
    font-size: 16px;
  } 

  .submit {
    width: 110px;
    font-size: 16px ;
  }

  .container-b .box-b h5 {
    font-size: 16px;
  }

  .container-b {
    width: 98%;
  }

  .container-b .box-b {
    width: 360px;
    margin: 20px auto;
    font-size: 16px;
  }

  .gallery-container {
    width: 100%;
    padding: 2% 0px 0px 0px;
  }

  .gallery-container .gallery-item {
    width: 47%;
    height: 200px;
    margin: 0px 0px 2% 2%;
  }

  .lightbox-content {
    width: 84%;
    margin: 100px auto;
  }

  .gallery-container .gallery-item a.info {
    top: 140px;
    right: 0px;
  }
  
  .lightbox-content img {
    width: 100%;
  }
  
  -webkit-transform: scale(1);
    transform: scale(1);
  }

  .lightbox-next {
    margin: 0;
    right: 0;
  }

  .lightbox-prev {
    margin: 0;
    left: 0;
  }

  #call-icons {
    bottom: 80px;
  }

  .copyright {
    font-size: 16px;
  }
  
  input.captcha-btn {
    margin: 20px 0 20px 0 !important;
 }
}

@media only screen and (max-width: 380px) {
  .container .box {
   width: 310px;
  }

  .container .box img {
    width: 290px;
  }

  .base .side {
   width: 310px;
  }

  .base .side img {
    width: 290px;
  }

  .gallery-container .gallery-item {
    width: 310px;
  }
}