
@font-face {
  font-family: lexend;
  src: url(../fonts/Lexend/LexendZetta-Light.ttf);
}
@font-face {
  font-family: mrs_saint;
  src: url(../fonts/Mrs_Saint_Delafield/MrsSaintDelafield-Regular.ttf);
}
@font-face {
  src: url(../fonts/Montserrat/static/Montserrat-Medium.ttf);
  font-family: montserrat;
}
@font-face {
  font-family: cinzel;
  src: url(../fonts/Cinzel/static/Cinzel-Regular.ttf);
}
@font-face {
  font-family: cormorant-garamond;
  src: url(../fonts/Cormorant_Garamond/static/CormorantGaramond.ttf);
}
/*------BASIC-----*/
:root {
  --black: #080808;
  --wood: #3d330c;
  --teget: #1d495e;
  --khaki: #b3a184;
  --tan: #d29648;
  --coral: #9c6335;
  --gold: #d5b605;
  --white: #faf8ec;
  --white-white: #fff;
  --price-color: #9a3131;
  --border-radius: 10px;
  --h1-font: cormorant-garamond;
  --head-font: cormorant-garamond;
  --body-font: montserrat;
  --p-color: #998c78;
  
  /* Font sizes */
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.5rem;
  --h4-size: 0.88rem;
  --h5-size: 1.3rem;
  --p-size: 0.88rem;
  --btn-size: 0.88rem;
  --small-size: 0.75rem;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--tan);
  border-radius: var(--border-radius);
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::selection {
  background-color: var(--tan);
  color: var(--white);
}
::-moz-selection {
  background-color: var(--tan);
  color: var(--white);
}
html {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
ol,
a {
  text-decoration: none;
  list-style: none;
}
.wood-color {
  color: var(--wood);
}
body {
  background-color: var(--white);
  overflow-x: hidden;
}
h1,
h2,
h3,
h5,
h6,
h4 {
  font-family: var(--head-font);
  text-align: left;
  color: var(--wood);
    font-weight: 400;
}
h1 {
  font-size: var(--h1-size);
  font-family: var(--h1-font);
}
h2 {
  font-size: var(--h2-size);
}
h3 {
  font-size: var(--h3-size);
}
h4 {
  
  font-family: var(--body-font);
  font-size: var(--h4-size);
  letter-spacing: 4px;
  color: var(--tan);
  text-transform: uppercase;
  word-spacing: 8px;
}
h5 {
  font-size: var(--h5-size);
}
p,
pre {
  font-family: var(--body-font);
  color: var(--p-color);
  font-size: var(--p-size);
  margin: 10px 0;
  text-align: left;
}
.small-text {
    font-size: var(--small-size);
    font-family: var(--body-font);
}
/* BUTOON  */
.btn {
  font-size: var(--btn-size);
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--body-font);
  transition: 0.4s;
  position: relative;
  background: var(--teget);
  border: var(--teget) 1px solid;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  letter-spacing: 1px;
  cursor: pointer;
}
.btn b { 
  display: inline-block; 
  transition: transform .3s ease; 
  will-change: transform; 
}
.btn:hover,
.btn:focus-visible {
  color: var(--wood);
  background: transparent;
}
.btn:hover b, 
.btn:focus-visible b {
  transform: scaleX(1.5) translateX(5px);
}
/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.main-nav {
  height: 80px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav .logo {
  height: 35px;
  display: flex;
  align-items: center;
}
.main-nav .logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
}
.hamburger {
  width: 35px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger .line {
  width: 100%;
  height: 3px;
  background-color: var(--wood);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}
.hamburger.active .line1 {
  transform: translateY(8.5px) rotate(45deg);
  background-color: var(--wood);
}
.hamburger.active .line2 {
  opacity: 0;
  transform: translateX(-20px);
}
.hamburger.active .line3 {
  transform: translateY(-8.5px) rotate(-45deg);
  background-color: var(--wood);
}
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--teget);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.15);
  overflow-y: auto;
  padding: 20px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links > li {
  border-bottom: 1px solid rgba(179, 161, 132, 0.2);
}
.nav-links > li > a {
  display: block;
  padding: 18px 20px;
  color: var(--white);
  font-family: var(--body-font);
  font-size: 1.2rem;
  transition: all 0.3s;
  position: relative;
}
.nav-links > li > a:hover {
  background-color: rgba(213, 182, 5, 0.1);
  color: var(--tan);
  padding-left: 30px;
}
.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.submenu-toggle .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  color: var(--tan);
}
.has-submenu.active .submenu-toggle .arrow {
  transform: rotate(180deg);
  color: var(--tan);
}

/* Pricing Banner */
.pricing-banner {
  width: 100%;
  padding: 50px 20px;
  margin: 30px 0;
  background: var(--teget);
}
.pricing-banner__content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pricing-banner p {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}
.pricing-banner p strong {
  color: var(--gold);
  letter-spacing: 1px;
}
@media (max-width: 600px) {
  .pricing-banner {
    padding: 18px 16px;
    margin: 24px 0;
  }
  .pricing-banner p {
    font-size: 0.95rem;
  }
}

/* Bottom CTA */
.cta-bottom {
  width: 100%;
  padding: 60px 20px 80px 20px;
}
.cta-bottom__content {
  max-width: 1200px;
  margin: 0 auto;
}
.cta-bottom h2 {
  margin-bottom: 8px;
}
.cta-bottom p {
  margin-bottom: 18px;
}
.cta-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}
@media (max-width: 600px) {
  .cta-bottom {
    padding: 28px 16px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }
}
.submenu {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
  transition: max-height 0.4s ease-in-out;
}
.has-submenu.active .submenu {
  max-height: 500px;
}
.submenu li {
  border-bottom: 1px solid rgba(179, 161, 132, 0.1);
}
.submenu li:last-child {
  border-bottom: none;
}
.submenu a {
  display: block;
  padding: 15px 20px 15px 40px;
  color: var(--khaki);
  font-family: var(--body-font);
  font-size: 0.95rem;
  transition: all 0.3s;
}
.submenu a:hover {
  color: var(--gold);
  padding-left: 50px;
  background-color: rgba(213, 182, 5, 0.05);
}
.phone-link {
  margin-top: 20px;
  padding: 0 20px;
}
.phone-link a {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--gold);
  color: var(--wood);
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s;
}
.phone-link a:hover {
  background-color: var(--khaki);
  transform: scale(1.05);
}
.language-links {
  display: flex;
  gap: 15px;
  padding: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(179, 161, 132, 0.2);
}
.language-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background-color: rgba(179, 161, 132, 0.1);
  border-radius: var(--border-radius);
  color: var(--white);
  font-family: var(--body-font);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.language-links a img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: var(--border-radius);
}
.language-links a:hover {
  background-color: var(--gold);
  color: var(--wood);
}
body.menu-open {
  overflow: hidden;
}
main {
  margin-top: 80px;
}
@media (max-width: 768px) {
    .main-nav {
  padding: 0 20px;
}
}
/* INDEX HERO  */
.index-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: var(--white);
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 20px;
  max-width: 560px;
  width: 55%;
  justify-self: start;
  left: 10%;
  transform: translateY(60px);
}
.hero-content p {
  margin-top: 10px;
}

/* TITLE DECORATION - Ornament ispod naslova */
.title-decoration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  margin-bottom: 18px;
  height: 10px;
}

.deco-line {
  position: relative;
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--gold) 0%, 
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(213, 182, 5, 0.3);
}

.deco-line::before,
.deco-line::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 
    0 0 10px rgba(213, 182, 5, 0.6),
    0 0 20px rgba(213, 182, 5, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.deco-line::before {
  left: 0;
  width: 6px;
  height: 6px;
}

.deco-line::after {
  left: 15px;
  width: 4px;
  height: 4px;
}

@media (max-width: 768px) {
  .title-decoration {
    margin-bottom: 10px;
    height: 16px;
  }
  
  .deco-line {
    max-width: 150px;
  }
  
  .deco-line::before {
    width: 5px;
    height: 5px;
  }
  
  .deco-line::after {
    left: 12px;
    width: 3px;
    height: 3px;
  }
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.google-review {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}
.google-review h4 {
  color: var(--wood);
  font-size: 1.5rem;
  transform: translateY(-3px);
}
.google-review img {
  height: 26px;
  width: auto;
}
.svg-wraper {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-svg {
  width: 100%;
  height: 100%;
}
.hero-fill { fill: var(--wood); }
.hero-fill2 { fill: var(--khaki); }
.black-fill { fill: var(--gold); }
.hero-svg .shadow-soft {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.708));
}
.hero-svg .shadow-br {
  filter: drop-shadow(8px 10px 20px rgba(0, 0, 0, 0.699));
}
.hero-svg .shadow-bl {
  filter: drop-shadow(-8px 10px 20px rgba(0, 0, 0, 0.695));
}
.hero-svg .shadow-tr {
  filter: drop-shadow(8px -10px 20px rgba(0, 0, 0, 0.696));
}
.hero-svg .shadow-tl {
  filter: drop-shadow(8px -10px 20px rgba(0, 0, 0, 0.692));
}
.hero-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 80vh;
  z-index: 0;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  min-height: 140%;
  object-fit: cover;
  object-position: bottom;
  animation: heroImageMove 20s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroImageMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(33%);
  }
  100% {
    transform: translateY(0);
  }
}

/* About page specific hero adjustments */
.page-about .index-hero {
  height: 50vh;
}
.page-about .hero-content {
  transform: translateY(40px);
}
.page-about .hero-media {
  height: 100%;
}

.page-about .hero-image {
  animation: heroImageZoom 22s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes heroImageZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


@media (max-width: 768px) {
  .index-hero {
    min-height: 460px;
    padding: 40px 16px;
  }
  .hero-content {
    padding: 10px;
    width: 100%;
    z-index: 2;
    left: 10%;
  }
  .google-review h4 {
    color: var(--white);
  }
  .hero-content h1, .hero-content p {
    color: var(--white);
  }
  .hero-content .btn {
    border: solid 1px var(--white);
  }
  .hero-decor {
    margin: 10px auto 0;
  }
  .hero-media {
    width: 100%;
    height: 100%;
  }
  .hero-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.48);
  }
  @keyframes heroImageMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(27%);
  }
  100% {
    transform: translateY(0);
  }
}
}
@media (max-width: 450px) {
  .hero-content {
    left: 5%;
  }
}
/* HERO BACKGROUND DECOR SHAPES */
.hero-bg {
  position: absolute;
  left: 12%;
  top: 30%;
  width: 60%;
  height: 100%;
  z-index: 0; 
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
}

.bg-shape {
  position: absolute;
  background: rgba(175, 175, 175, 0.074);
  border: 3px solid rgba(85, 85, 85, 0.18);
  mix-blend-mode: multiply;
  opacity: .15;
}

.bg-square {
  width: 170px;
  height: 170px;
}
.bg-square2 {
  width: 140px;
  height: 190px;
}

.bg-rect-wide {
  width: 120px;
  height: 140px;
}

.bg-rect-tall {
  width: 160px;
  height: 180px;
}

.hero-bg-shapes .bg-square:nth-child(1) {
  left: 30%;
  top: 170px;
}
.hero-bg-shapes .bg-square2:nth-child(5) {
  left: 24%;
  top: 220px;
}

.hero-bg-shapes .bg-rect-wide:nth-child(2) {
  left: 15.5%;
  top: 270px;
}

.hero-bg-shapes .bg-rect-tall:nth-child(3) {
  left: 28%;
  top: 80px;
}

.hero-bg-shapes .bg-square:nth-child(4) {
  left: 36%;
  top: 300px;
}

@media (max-width: 768px) {
  .hero-bg {
    width: 100%;
  }
  .hero-bg-shapes {
    display: none;
  }
}



/* SAJT DEKORACIJA  */
.site-dekoracija {
  border-top: 5px solid var(--gold);
  border-bottom: 0.6px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.225);
}
.site-dekoracija2 {
  border-top: 0.6px solid var(--gold);
  border-bottom: 5px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  box-shadow: -5px -5px 5px rgba(0, 0, 0, 0.222);
}

.poruka {
  font-style: italic;
  padding: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* NEKRETNINA  */
 
        .property-details-section,
        .property-features-section,
        .property-description-section,
        .property-price-section {
          border-radius: var(--border-radius);
          padding: 28px 20px;
        }
        .info-card {
          max-width: 1200px;
          margin: 0 auto;
          border: 1px solid rgba(29, 73, 94, 0.14);
          border-radius: var(--border-radius);
          background: linear-gradient(150deg, rgba(250, 248, 236, 0.9), rgba(250, 248, 236, 0.9),rgba(250, 248, 236, 0.9), rgb(225, 199, 151));
          box-shadow: 0 12px 30px rgba(29, 73, 94, 0.12);
          padding: 32px;
          position: relative;
          overflow: hidden;
        }
        .info-card::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 4px;
          background: linear-gradient(90deg, var(--teget), var(--tan));
        }
        .info-card-head {
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          gap: 16px;
          margin-bottom: 22px;
          position: relative;
        }
        .info-card-title h2 {
          margin: 0;
        }
        .eyebrow {
          margin: 0 0 6px;
          text-transform: uppercase;
          letter-spacing: 2px;
          font-size: 0.72rem;
          color: var(--teget);
          font-family: var(--body-font);
        }
        .info-chip {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 6px 14px;
          border-radius: 999px;
          border: 1px solid rgba(210, 150, 72, 0.4);
          background: rgba(210, 150, 72, 0.12);
          color: var(--teget);
          font-size: 0.8rem;
          font-family: var(--body-font);
          white-space: nowrap;
        }
        .info-chip--accent {
          background: var(--teget);
          color: var(--white);
          border-color: var(--teget);
        }
        .property-details-list {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
          gap: 14px 28px;
          margin: 0;
          padding: 0;
          list-style: none;
        }
        .property-details-list li {
          display: flex;
          align-items: baseline;
          justify-content: space-between;
          gap: 12px;
          padding: 10px 14px;
          border-radius: 12px;
          border: 1px solid rgba(29, 73, 94, 0.08);
          background: rgba(29, 73, 94, 0.04);
          font-family: var(--body-font);
          font-size: var(--p-size);
        }
        .feature-list {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin: 0;
          padding: 0;
          list-style: none;
        }
        .feature-item {
          display: inline-flex;
          align-items: center;
          padding: 8px 14px;
          border-radius: 999px;
          border: 1px solid rgba(29, 73, 94, 0.12);
          background: rgba(29, 73, 94, 0.06);
          font-family: var(--body-font);
          font-size: 0.82rem;
          color: var(--teget);
          letter-spacing: 0.2px;
        }
        .feature-empty {
          margin: 0;
          font-family: var(--body-font);
          font-size: var(--p-size);
          color: var(--p-color);
        }
        .detail-label {
          color: var(--teget);
          font-weight: 600;
        }
        .detail-value {
          color: #1b1b1b;
          text-align: right;
        }
        .description-text pre {
          width: 100%;
          white-space: pre-wrap;
          word-wrap: break-word;
          overflow-wrap: break-word;
          word-break: break-word;
          margin: 0;
          padding: 16px 18px;
          border-radius: 12px;
          border: 1px solid rgba(29, 73, 94, 0.12);
          background: rgba(255, 255, 255, 0.9);
          font-family: var(--body-font);
          line-height: 1.7;
        }
        .property-map-section {
          border-radius: var(--border-radius);
          padding: 25px 20px;
        }
        .property-map-container {
          max-width: 1200px;
          margin: 0 auto;
          border: 1px solid rgba(128, 128, 128, 0.314);
          box-shadow: 0 4px 24px rgba(0,0,0,0.07);
          padding: 32px;
        }
        .property-map-embed {
          width: 100%;
          height: 320px;
          border-radius: var(--border-radius);
          overflow: hidden;
          box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        }
        .property-map-embed iframe {
          width: 100%;
          height: 100%;
          border: none;
        }
        .property-contact-section {
          border-radius: var(--border-radius);
          padding: 25px 20px;
        }
        .property-contact-container  {
          max-width: 1200px;
          margin: 0 auto;
          background-color: var(--white-white);
          box-shadow: 0 4px 24px rgba(0,0,0,0.07);
          padding: 32px;
        }
        
        @media (max-width: 900px) {
          .property-flex-wrap {
            flex-direction: column;
          }
          .property-main-image-wrap, .property-main-info {
            max-width: 100%;
          }
          .property-gallery {
            gap: 10px;
          }
          .property-details-section,
          .property-features-section,
          .property-description-section,
          .property-map-section,
          .property-contact-section,
          .property-price-section {
            padding: 18px 10px;
          }
          .info-card {
            padding: 24px;
          }
        }
        @media (max-width: 600px) {
          .property-details-list li {
            flex-direction: column;
            align-items: flex-start;
          }
          .detail-value {
            text-align: left;
          }
          .property-map-container, .description-text pre {
            padding: 16px;
          }
        }

        .property-price-section .price-display-large {
          margin-top: 6px;
          display: flex;
          align-items: baseline;
          gap: 10px;
        }
        .price-display-large .price-amount {
          color: var(--price-color);
          font-size: 2.2rem;
          letter-spacing: 1px;
          font-family: var(--h1-font, var(--head-font, var(--body-font)));
        }
        .price-display-large .price-currency {
          color: var(--price-color);
          font-size: 1.1rem;
          letter-spacing: 2px;
          font-family: var(--body-font);
        }
        .price-display-large .price-contact {
          font-family: var(--body-font);
          font-size: var(--p-size);
          margin-top: 6px;
        }
        .property-price-container .price-per-sqm {
          margin-top: 14px;
          padding: 10px 14px;
          border-radius: 12px;
          border: 1px solid rgba(29, 73, 94, 0.12);
          background: rgba(255, 255, 255, 0.85);
          font-family: var(--body-font);
          font-size: var(--p-size);
        }
        .property-price-container .price-value {
          color: var(--price-color);
          font-weight: 600;
        }


/* FOOTER */
footer {
  background: var(--wood);
  padding: 60px 20px 0;
}
.footer-nekretnine {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-column .logo-footer {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}
.footer-column p {
  color: var(--white);
  line-height: 1.6;
}
.footer-column h4 {
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.footer-column h5 {
  color: var(--khaki);
  font-size: var(--p-size);
  font-family: var(--body-font);
  transition: 0.3s;
}
.footer-column a {
  transition: 0.3s;
}
.footer-column a:hover h5 {
  color: var(--gold);
}
.footer-column iframe {
  border-radius: var(--border-radius);
  margin-top: 10px;
}
.margin-footer-ikone {
  margin-top: 20px;
}
.ikone {
  display: flex;
  gap: 15px;
  align-items: center;
}
.ikone a {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 1px solid var(--khaki);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.ikone a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.ikone svg {
  width: 18px;
  height: 18px;
}
.copyright {
  border-top: 1px solid rgba(179, 161, 132, 0.3);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}
.copyright span {
  color: var(--khaki);
  font-family: var(--body-font);
  font-size: 0.85rem;
}
.copyright .designed11 {
  font-size: 12px;
  font-family: lexend;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -2px;
  color: turquoise;
  margin: 0;
  transition: 0.5s;
}
.copyright .designed11:hover {
  transform: scale(0.95);
}
.copyright .designed11 span {
  font-size: 30px;
  font-family: mrs_saint;
  text-align: center;
  color: var(--gold);
  transition: 0.5s;
}
.copyright .designed11:hover span {
  transform: scale(0.95);
}
/* Google Maps Embed */
.google-map-embed {
  width: 100%;
  height: 200px;
  border: 0;
}

@media (max-width: 768px) {
  .google-map-embed {
    height: 300px;
  }
}
/* call ACTION BUTTONS */
#call-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border: none;
  background: var(--wood);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  bottom: 30px;
  right: 30px;
}

#call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}

#call-btn.visible {
  opacity: 1;
  visibility: visible;
}
#top-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border: none;
  background: var(--wood);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  bottom: 30px;
  left: 30px;
}
#top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}
#top-btn.visible {
  opacity: 1;
  visibility: visible;
}
/* LATEST PROPERTIES */
.latest-section {
  padding: 60px 20px;
}
.latest-container {
  max-width: 1200px;
  margin: 0 auto;
}
.latest-header {
  margin-bottom: 40px;
}
.latest-header img {
  max-width: 200px;
  height: auto;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.latest-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.108);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.decoration-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  z-index: 3;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-left: 3px solid var(--tan);
  border-right: 3px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  transform: translateY(4px);
}
.decoration-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  z-index: 3;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-left: 3px solid var(--tan);
  border-right: 3px solid var(--tan);
  transform: translateX(-2px) translateY(10px);
}
.decoration-card2 {
  position: absolute;
  left: 20%;
  bottom: 0;
  width:15px;
  height: 15px;
  z-index: 3;
  border-radius: 50%;
  background-color: var(--tan);
  transform: translateY(50%);
}
.decoration-card3 {
  position: absolute;
  left: 13%;
  bottom: 0;
  width:22px;
  height: 22px;
  z-index: 3;
  border-radius: 50%;
  background-color: var(--teget);
  transform: translateY(50%);
}
.latest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.latest-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom: 3px solid var(--tan);
}

.latest-image img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  display: block;
}
.latest-body {
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  overflow: hidden;
  
}
.latest-body .svg-wraper {
  z-index: 0;
}
.latest-body-logo {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  opacity: 0.2;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}
.latest-title h3 {
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
}
.latest-title address {
  font-style: normal;
  color:#855f2d;
  font-size:var(--p-size);
  position: relative;
  z-index: 1;
}
.latest-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 16px;
}
.latest-meta .price {
  font-weight: 700;
  color: var(--price-color);
  font-size: 1.1rem;
  font-family: var(--body-font);
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.latest-meta .price span {
  font-size: 0.9rem;
  color: var(--price-color);
  margin-left: 6px;
  font-weight: 600;
}
.meta-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  color: var(--wood);
  font-size: 0.85rem;
  font-family: var(--body-font);
  font-weight: 500;
  width: 100%;
  order: -1;
}

.meta-city {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-type {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-structure {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-surface {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-city,
.meta-type,
.meta-structure,
.meta-surface {
  white-space: nowrap;
}
.divider-dot {
  display: none;
}

@media (max-width: 768px) {
  .latest-section {
    padding: 60px 20px;
  }
}
@media (max-width: 600px) {
  #call-btn{
    right: 18px;
    bottom: 18px;
  }
  #top-btn {
    left: 18px;
    bottom: 18px;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 40px 15px 0;
  }
  .footer-nekretnine {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
  }
}

/* RESPONSIVE FONT SIZES */
@media (max-width: 1024px) {
  :root {
    --h1-size: 2.2rem;
    --h2-size: 1.8rem;
    --h3-size: 1.3rem;
    --h5-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 2rem;
    --h2-size: 1.6rem;
    --h3-size: 1.2rem;
    --h5-size: 1.1rem;
    --p-size: 0.85rem;
    --btn-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  :root {
    --h1-size: 1.7rem;
    --h2-size: 1.4rem;
    --h3-size: 1.1rem;
    --h5-size: 1rem;
    --p-size: 0.82rem;
    --btn-size: 0.78rem;
    --small-size: 0.7rem;
  }
  .language-links a {
  font-size: 0.85rem;
}
.nav-links > li > a {
  font-size: 0.85rem;
}
.submenu a {
  font-size: 0.82rem;
}
.phone-link a {
  font-size: 0.95rem;
}
.language-links a img
 {
    height: 12px;
}
.btn {
  padding: 12px 28px;
}
}

/* Agent CTA Section */
.agent-cta-section {
  padding: 60px 20px;
}
.agent-card {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(29, 73, 94, 0.14);
  border-radius: var(--border-radius);
  background: linear-gradient(160deg, rgba(250, 248, 236, 0.8) 0%, #ffffff 65%);
  box-shadow: 0 16px 34px rgba(29, 73, 94, 0.14);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.agent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teget), var(--tan));
}
.agent-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(188, 111, 11, 0.118);
}
.agent-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.agent-card-title h2 {
  margin: 0;
}
.agent-cta-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.agent-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(29, 73, 94, 0.15);
  box-shadow: 0 12px 24px rgba(29, 73, 94, 0.12);
  aspect-ratio: 4 / 5;
}
.agent-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.agent-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
.agent-license {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 73, 94, 0.2);
  background: rgba(29, 73, 94, 0.06);
  font-size: 0.78rem;
  color: var(--teget);
  font-family: var(--body-font);
}
.agent-info h3 {
  margin: 0;
}
.agent-info p {
  line-height: 1.8;
}
.agent-bio {
  margin: 14px 0 20px;
  max-width: 520px;
}
.agent-contact {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.agent-contact-item {
  display: block;
  color: var(--teget);
  font-family: var(--body-font);
  font-size: var(--p-size);
  text-decoration: none;
}
.agent-contact-item:hover {
  color: var(--tan);
}
.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--teget);
  color: var(--teget);
}
.btn-ghost:hover {
  background: rgba(29, 73, 94, 0.08);
}

@media (max-width: 992px) {
  .agent-cta-content {
    grid-template-columns: 1fr;
  }
  .agent-image {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .agent-cta-section {
    padding: 40px 16px;
  }
  .agent-card {
    padding: 24px;
  }
  .agent-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* call ACTION BUTTONS */
#call-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border: none;
  background: var(--tan);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  bottom: 30px;
  right: 30px;
  border-radius: 8px;
}

#call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}

#call-btn.visible {
  opacity: 1;
  visibility: visible;
}
#top-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border: none;
  background: var(--tan);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  bottom: 30px;
  left: 30px;
  border-radius: 8px;
}
#top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}
#top-btn.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  #call-btn{
    right: 18px;
    bottom: 18px;
  }
  #top-btn {
    left: 18px;
    bottom: 18px;
  }
}
/* About page specific hero adjustments */
.page-about .index-hero {
  height: 50vh;
}
.page-about .hero-content {
  transform: translateY(40px);
}
.page-about .hero-media {
  height: 100%;
}

.page-about .hero-image {
  animation: heroImageZoom 22s ease-in-out infinite;
  transform-origin: center bottom;
  bottom: unset;
}

@keyframes heroImageZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


@media (max-width: 1000px) {
  .index-hero .svg-wraper {
  display: none;
}
  .hero-media {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
  }
  .index-hero {
    padding: 40px 16px;
    background-color: var(--tan);
    }
  .hero-content {
    padding: 10px;
    width: 90%;
    z-index: 2;
    left: 10%;
  }
  .google-review h4 {
    color: var(--white);
  }
  .hero-content h1, .hero-content p {
    color: var(--white);
  }
  .hero-content .btn {
    border: solid 1px var(--white);
  }
  .hero-decor {
    margin: 10px auto 0;
  }

  .hero-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.48);
  }
  @keyframes heroImageMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(27%);
  }
  100% {
    transform: translateY(0);
  }
}
}
@media (max-width: 500px) {
  .derocation-hero {
    width: 100%;
}
}
@media (max-width: 450px) {
  .hero-content {
    left: 5%;
  }
  .hero-content h4 {
    font-size: .7rem;
    letter-spacing: 3px;
  }
}
/* HERO BACKGROUND DECOR SHAPES */
.hero-bg {
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 30%;
  background-color: var(--tan);
  border-bottom-right-radius: 16px;
  border-top-right-radius: 16px;
}

.hero-dots {
  position: absolute;
  left: 8%;
  bottom: 22px;
  display: flex;
  gap: 10px;
  z-index: 2;
  animation: heroDotsDrift 8s ease-in-out infinite;
}

.hero-dot {
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.hero-dot--teget {
  width: 35px;
  height: 35px;
  background: var(--teget);
  animation: heroDotPulse 7s ease-in-out infinite;
}

.hero-dot--tan {
  width: 14px;
  height: 14px;
  background: var(--tan);
  align-self: flex-end;
  transform: translateY(6px);
  animation: heroDotPulseSmall 4s ease-in-out infinite;
}

@keyframes heroDotsDrift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px) translateX(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes heroDotPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heroDotPulseSmall {
  0% {
    transform: translateY(13px) translateX(0) scale(1);
  }
  50% {
    transform: translateY(6px) translateX(16px) scale(1.08);
  }
  100% {
    transform: translateY(13px) translateX(0) scale(1);
  }
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
}

.bg-shape {
  position: absolute;
  background: rgba(175, 175, 175, 0.074);
  border: 3px solid rgba(85, 85, 85, 0.18);
  mix-blend-mode: multiply;
  opacity: .15;
}

.bg-square {
  width: 170px;
  height: 170px;
}
.bg-square2 {
  width: 140px;
  height: 190px;
}

.bg-rect-wide {
  width: 120px;
  height: 140px;
}

.bg-rect-tall {
  width: 160px;
  height: 180px;
}

.hero-bg-shapes .bg-square:nth-child(1) {
  left: 30%;
  top: 170px;
}
.hero-bg-shapes .bg-square2:nth-child(5) {
  left: 24%;
  top: 220px;
}

.hero-bg-shapes .bg-rect-wide:nth-child(2) {
  left: 15.5%;
  top: 270px;
}

.hero-bg-shapes .bg-rect-tall:nth-child(3) {
  left: 28%;
  top: 80px;
}

.hero-bg-shapes .bg-square:nth-child(4) {
  left: 36%;
  top: 300px;
}

@media (max-width: 1000px) {
  .hero-dot--teget {
  width: 30px;
  height: 30px;
  background: var(--white);
}
}
@media (max-width: 470px) {
  .hero-bg {
    width: 14px;
    border-bottom-right-radius: 9px;
  border-top-right-radius: 9px;
  height: 40%;
  }
}



/* SAJT DEKORACIJA  */
.site-dekoracija {
  border-top: 5px solid var(--teget);
  border-bottom: 0.6px solid var(--tan);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.225);
}
.site-dekoracija2 {
  border-top: 0.6px solid var(--tan);
  border-bottom: 5px solid var(--teget);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  box-shadow: -5px -5px 5px rgba(0, 0, 0, 0.222);
}







.section-slider {
      padding: 60px 20px;
    }

    .slider-container {
      max-width: 1200px;
      margin: 0 auto;
      background: ivory;
      border-radius: var(--border-radius);
      padding: 30px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    }

    .slider-title {
      font-size: 35px;
      font-family: var(--head-font);
      color: #333;
      margin-bottom: 30px;
    }
    /* Osnovni podaci nekretnine */
    .property-quick-info {
      display: flex;
      gap: 30px;
      justify-content: center;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    .quick-info-item {
      flex: 1;
      min-width: 150px;
    }

    .quick-info-item strong {
      display: block;
      font-size: var(--p-size);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
      font-family: var(--body-font);
    }

    .quick-info-item span {
      display: block;
      font-size: 18px;
      color: #333;
      font-weight: 500;
    }

    .price-display {
      font-size: 24px;
      color: var(--price-color) !important;
      font-family: var(--body-font) !important;
      font-weight: 700 !important;
    }

    .location-display, .type-display, .area-display {
      font-size: var(--p-size) !important;
      font-family: var(--body-font) !important;
    }

    @media (max-width: 450px) {
      .property-quick-info {
        gap: 10px;
        margin-bottom: 20px;
        justify-content: stretch;
      }
      .quick-info-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        border: 1px solid rgba(29, 73, 94, 0.12);
        border-radius: 10px;
        padding: 10px 12px;
        background: #ffffff;
      }
      .quick-info-item strong {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
        margin-bottom: 6px;
      }
      .quick-info-item span {
        font-size: 0.85rem;
      }
      .price-display {
        font-size: 1rem;
      }
    }
    /* Glavni slajder */
    .main-slider {
      position: relative;
      width: 100%;
      height: 500px;
      overflow: hidden;
      border-radius: var(--border-radius);
      margin-bottom: 20px;
      cursor: grab;
      user-select: none;
    }

    .main-slider:active {
      cursor: grabbing;
    }

    .main-slides {
      display: flex;
      height: 100%;
      transition: none;
    }

    .main-slide {
      min-width: 100%;
      height: 100%;
      position: relative;
    }

    .main-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--border-radius);
    }

    .slide-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      color: white;
      padding: 30px 20px 20px;
      border-radius: 0 0 4px 4px;
    }

    .slide-info h3 {
      font-size: 24px;
      margin-bottom: 5px;
    }

    .slide-info p {
      font-size: 16px;
      opacity: 0.9;
    }

    /* Navigacioni dugmići */
    .slider-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 50px;
      height: 50px;
      border-radius: var(--border-radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: #333;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .slider-nav:hover {
      background: white;
      transform: translateY(-50%) scale(1.1);
    }

    .slider-nav.prev {
      left: 20px;
    }

    .slider-nav.next {
      right: 20px;
    }

    /* Thumbnail galerija */
    .thumbnail-slider {
      position: relative;
      margin-top: 20px;
    }

    .thumbnail-wrapper {
      overflow: hidden;
      border-radius: var(--border-radius);
    }

    .thumbnail-container {
      display: flex;
      gap: 15px;
      transition: transform 0.3s ease-out;
      cursor: grab;
      user-select: none;
    }

    .thumbnail-container:active {
      cursor: grabbing;
    }

    .thumbnail {
      min-width: 180px;
      height: 120px;
      border-radius: var(--border-radius);
      overflow: hidden;
      cursor: pointer;
      border: 3px solid transparent;
      transition: all 0.3s ease;
      position: relative;
    }

    .thumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .thumbnail:hover img {
      transform: scale(1.1);
    }

    .thumbnail.active {
      border-color: #667eea;
      box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    }

    .thumbnail::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.3);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .thumbnail:hover::after {
      opacity: 1;
    }

    .thumbnail.active::after {
      opacity: 0;
    }

    /* Thumbnail navigation */
    .thumb-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.95);
      border: none;
      width: 40px;
      height: 40px;
      border-radius: var(--border-radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: #333;
      transition: all 0.3s ease;
      z-index: 5;
    }

    .thumb-nav:hover {
      background: white;
      transform: translateY(-50%) scale(1.1);
    }

    .thumb-nav.prev {
      left: -15px;
    }

    .thumb-nav.next {
      right: -15px;
    }

    /* Counter */
    .slide-counter {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 8px 16px;
      border-radius: var(--border-radius);
      font-size: var(--p-size);
      font-family: var(--body-font);   
      font-weight: 600;
      z-index: 10;
    }

    /* Fullscreen icon button for lightbox */
    .fullscreen-icon {
      position: absolute;
      top: 20px;
      left: 20px;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 45px;
      height: 45px;
      border-radius: var(--border-radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #333;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .fullscreen-icon:hover {
      background: white;
      transform: scale(1.1);
    }

    .fullscreen-icon svg {
      width: 22px;
      height: 22px;
    }

    /* Lightbox stilovi */
    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .lightbox.active {
      display: flex;
      opacity: 1;
    }

    .lightbox-content {
      width: 90%;
      max-width: 1400px;
      height: 90%;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .lightbox-close {
      position: absolute;
      top: 10px;
      right: 20px;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 45px;
      height: 45px;
      border-radius: var(--border-radius);
      cursor: pointer;
      font-size: 28px;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 1001;
    }

    .lightbox-close:hover {
      background: white;
      transform: scale(1.1) rotate(90deg);
    }

    .lightbox-slider {
      position: relative;
      flex: 1;
      overflow: hidden;
      border-radius: var(--border-radius);
      cursor: grab;
      user-select: none;
    }

    .lightbox-slider:active {
      cursor: grabbing;
    }

    .lightbox-slides {
      display: flex;
      height: 100%;
      transition: none;
    }

    .lightbox-slide {
      min-width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lightbox-slide img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: var(--border-radius);
    }

    .lightbox-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
      color: white;
      padding: 40px 30px 25px;
      border-radius: 0 0 4px 4px;
    }

    .lightbox-info h3 {
      font-size: 28px;
      margin-bottom: 8px;
    }

    .lightbox-info p {
      font-size: 18px;
      opacity: 0.95;
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 55px;
      height: 55px;
      border-radius: var(--border-radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #333;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .lightbox-nav:hover {
      background: white;
      transform: translateY(-50%) scale(1.1);
    }

    .lightbox-nav.prev {
      left: 20px;
    }

    .lightbox-nav.next {
      right: 20px;
    }

    .lightbox-counter {
      position: absolute;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 10px 20px;
      border-radius: var(--border-radius);
      font-size: 16px;
      font-weight: 600;
      z-index: 10;
    }

    .lightbox-thumbnails {
      margin-top: 20px;
      position: relative;
    }

    .lightbox-thumb-wrapper {
      overflow: hidden;
      border-radius: var(--border-radius);
    }

    .lightbox-thumb-container {
      display: flex;
      gap: 15px;
      transition: transform 0.3s ease-out;
      cursor: grab;
      user-select: none;
    }

    .lightbox-thumb-container:active {
      cursor: grabbing;
    }

    .lightbox-thumbnail {
      min-width: 160px;
      height: 100px;
      border-radius: var(--border-radius);
      overflow: hidden;
      cursor: pointer;
      border: 3px solid rgba(255, 255, 255, 0.3);
      transition: all 0.3s ease;
      position: relative;
    }

    .lightbox-thumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .lightbox-thumbnail:hover img {
      transform: scale(1.1);
    }

    .lightbox-thumbnail.active {
      border-color: #667eea;
      box-shadow: 0 0 20px rgba(102, 126, 234, 0.7);
    }

    .lightbox-thumbnail::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    .lightbox-thumbnail.active::after {
      opacity: 0;
    }

    .lightbox-thumb-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 35px;
      height: 35px;
      border-radius: var(--border-radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      color: #333;
      transition: all 0.3s ease;
      z-index: 5;
    }

    .lightbox-thumb-nav:hover {
      background: white;
      transform: translateY(-50%) scale(1.1);
    }

    .lightbox-thumb-nav.prev {
      left: -15px;
    }

    .lightbox-thumb-nav.next {
      right: -15px;
    }

    @media (max-width: 768px) {
      .main-slider {
        height: 350px;
      }

      .thumbnail {
        min-width: 120px;
        height: 80px;
      }

      .slider-title {
        font-size: 24px;
      }

      .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }

      .slider-container {
        padding: 20px;
      }

      .lightbox-content {
        width: 95%;
        height: 95%;
      }

      .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
      }

      .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 22px;
      }

      .lightbox-thumbnail {
        min-width: 100px;
        height: 70px;
      }

      .lightbox-info h3 {
        font-size: 20px;
      }

      .lightbox-info p {
        font-size: 14px;
      }
    }









