 :root {
     --teal-deep: #0a2a2f;
     --teal-mid: #0d4a53;
     --teal-bright: #1a8a96;
     --teal-light: #2ec4d0;
     --teal-glow: #5ee8f0;
     --accent: #f0c94a;
     --white: #f4f9fa;
     --gray-light: #e0ecee;
     --gray-mid: #8fb5bb;
     --text-dark: #0a1f22;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
     font-size: 115%;
     /* Povećana osnovna veličina slova za 15% */
 }

 body {
     font-family: 'DM Sans', sans-serif;
     background: var(--white);
     color: var(--text-dark);
     overflow-x: hidden;
 }

 /* ===== NAV ===== */
 nav {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     padding: 1.2rem 5%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: rgba(10, 42, 47, 0.92);
     backdrop-filter: blur(12px);
     border-bottom: 1px solid rgba(46, 196, 208, 0.15);
     transition: all 0.3s ease;
 }

 .nav-logo {
     font-family: 'Playfair Display', serif;
     font-size: 2rem;
     font-weight: 700;
     color: var(--white);
     letter-spacing: 0.02em;
 }

 .nav-logo span {
     color: var(--teal-light);
 }

 .nav-links {
     display: flex;
     gap: 2rem;
     list-style: none;
 }

 .nav-links a {
     color: var(--gray-light);
     text-decoration: none;
     font-size: 0.9rem;
     font-weight: 500;
     letter-spacing: 0.05em;
     text-transform: uppercase;
     transition: color 0.2s;
     position: relative;
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -4px;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--teal-light);
     transition: width 0.3s ease;
 }

 .nav-links a:hover {
     color: var(--teal-light);
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 .hamburger {
     display: none;
     flex-direction: column;
     gap: 5px;
     cursor: pointer;
 }

 .hamburger span {
     width: 24px;
     height: 2px;
     background: var(--white);
     transition: 0.3s;
 }

 /* ===== HERO ===== */
 #hero {
     min-height: 100vh;
     background: linear-gradient(135deg, rgba(10, 42, 47, 0.4) 0%, rgba(90, 128, 134, 0.4) 20%, rgba(15, 61, 69, 0.4) 70%), url('test.jpg') center/cover no-repeat;
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: 6rem 5% 0;
     position: relative;
     overflow: hidden;
 }

 #hero::before {
     content: '';
     position: absolute;
     top: -50%;
     right: -20%;
     width: 80vw;
     height: 80vw;
     background: radial-gradient(circle, rgba(46, 196, 208, 0.12) 0%, transparent 70%);
     pointer-events: none;
 }

 #hero::after {
     content: '';
     position: absolute;
     bottom: -10%;
     left: -10%;
     width: 50vw;
     height: 50vw;
     background: radial-gradient(circle, rgba(94, 232, 240, 0.06) 0%, transparent 70%);
     pointer-events: none;
 }

 .hero-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     width: 100%;
 }

 .hero-label {
     display: inline-block;
     font-size: 0.75rem;
     font-weight: 600;
     letter-spacing: 0.15em;
     text-transform: uppercase;
     color: var(--white);
     background: rgba(10, 42, 47, 0.65);
     backdrop-filter: blur(6px);
     border: 1px solid rgba(46, 196, 208, 0.4);
     border-radius: 2rem;
     padding: 0.4rem 1.2rem;
     margin-bottom: 1.5rem;
     animation: fadeUp 0.8s ease both;
 }

 .hero-title {
     font-family: 'Playfair Display', serif;
     font-size: clamp(2.5rem, 5vw, 4.2rem);
     font-weight: 700;
     color: var(--white);
     line-height: 1.1;
     margin-bottom: 1.5rem;
     animation: fadeUp 0.8s ease 0.1s both;
 }

 .hero-title em {
     color: var(--teal-light);
     font-style: normal;
 }

 .hero-desc {
     font-size: 1.1rem;
     color: var(--white);
     text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
     line-height: 1.7;
     margin-bottom: 2.5rem;
     font-weight: 400;
     animation: fadeUp 0.8s ease 0.2s both;
 }

 .hero-btns {
     display: flex;
     gap: 1rem;
     animation: fadeUp 0.8s ease 0.3s both;
 }

 .hero-stats {
     display: flex;
     align-items: center;
     gap: 0;
     margin-top: 3rem;
     background: rgba(10, 42, 47, 0.55);
     backdrop-filter: blur(10px);
     border-top: 1px solid rgba(46, 196, 208, 0.18);
     border-bottom: 1px solid rgba(46, 196, 208, 0.18);
     padding: 1.4rem 5%;
     margin-left: -5%;
     margin-right: -5%;
     width: calc(100% + 10%);
     justify-content: space-evenly;
     animation: fadeUp 0.8s ease 0.45s both;
 }

 .hero-stat {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     padding: 0 2rem;
 }

 .hero-stat-num {
     font-family: 'Playfair Display', serif;
     font-size: clamp(1.6rem, 3vw, 2.2rem);
     font-weight: 700;
     color: #c9a227;
     line-height: 1;
     letter-spacing: -0.02em;
 }

 .hero-stat-label {
     font-size: 0.65rem;
     font-weight: 600;
     letter-spacing: 0.12em;
     text-transform: uppercase;
     color: rgba(220, 235, 238, 0.75);
     margin-top: 0.35rem;
 }

 .hero-stat-divider {
     width: 1px;
     height: 2.4rem;
     background: rgba(46, 196, 208, 0.25);
     flex-shrink: 0;
 }

 .btn-primary {
     padding: 0.85rem 2rem;
     border-radius: 0.4rem;
     background: var(--teal-light);
     color: var(--teal-deep);
     font-weight: 600;
     font-size: 0.95rem;
     letter-spacing: 0.03em;
     border: none;
     cursor: pointer;
     text-decoration: none;
     transition: all 0.25s ease;
     display: inline-block;
 }

 .btn-primary:hover {
     background: var(--teal-glow);
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(46, 196, 208, 0.4);
 }

 .btn-outline {
     padding: 0.85rem 2rem;
     border-radius: 0.4rem;
     background: transparent;
     color: var(--white);
     font-weight: 500;
     font-size: 0.95rem;
     border: 1px solid rgba(255, 255, 255, 0.25);
     cursor: pointer;
     text-decoration: none;
     transition: all 0.25s ease;
     display: inline-block;
 }

 .btn-outline:hover {
     border-color: var(--teal-light);
     color: var(--teal-light);
 }

 .hero-visual {
     display: flex;
     justify-content: center;
     align-items: center;
     animation: fadeUp 0.8s ease 0.4s both;
     position: relative;
 }

 .glasses-icon-wrap {
     width: 320px;
     height: 320px;
     background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(46, 196, 208, 0.2);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
 }

 .glasses-icon-wrap::before {
     content: '';
     position: absolute;
     inset: -15px;
     border: 1px solid rgba(46, 196, 208, 0.1);
     border-radius: 50%;
     animation: spinSlow 20s linear infinite;
 }

 .glasses-svg {
     width: 160px;
     opacity: 0.9;
     filter: drop-shadow(0 0 30px rgba(46, 196, 208, 0.5));
 }

 /* ===== SECTIONS SHARED ===== */
 section {
     padding: 6rem 5%;
 }

 .section-label {
     font-size: 0.75rem;
     font-weight: 600;
     letter-spacing: 0.15em;
     text-transform: uppercase;
     color: var(--teal-bright);
     margin-bottom: 0.75rem;
     display: block;
 }

 .section-title {
     font-family: 'Playfair Display', serif;
     font-size: clamp(1.8rem, 3vw, 2.8rem);
     font-weight: 700;
     color: var(--teal-deep);
     margin-bottom: 1rem;
     line-height: 1.2;
 }

 .section-title.light {
     color: var(--white);
 }

 .section-sub {
     font-size: 1rem;
     color: #5a8a90;
     font-weight: 300;
     line-height: 1.7;
     max-width: 560px;
     margin-bottom: 3rem;
 }

 .section-sub.light {
     color: var(--gray-mid);
 }

 /* ===== BRANDS SLIDER ===== */
 .brands-slider-container {
     width: 100%;
     overflow: hidden;
     background: var(--white);
     padding: 3.5rem 0;
     border-bottom: 1px solid rgba(46, 196, 208, 0.15);
     white-space: nowrap;
     position: relative;
     display: flex;
     align-items: center;
 }

 .brands-slider-container::before,
 .brands-slider-container::after {
     content: '';
     position: absolute;
     top: 0;
     width: 15vw;
     height: 100%;
     z-index: 2;
     pointer-events: none;
 }

 .brands-slider-container::before {
     left: 0;
     background: linear-gradient(to right, var(--white), transparent);
 }

 .brands-slider-container::after {
     right: 0;
     background: linear-gradient(to left, var(--white), transparent);
 }

 .brands-slider {
     display: inline-flex;
     align-items: center;
     gap: 5rem;
     padding-left: 5rem;
     /* Match gap exactly for seamless loop */
     animation: slideBrands 40s linear infinite;
 }

 .brand-logo {
     height: 150px;
     object-fit: contain;
     opacity: 0.5;
     filter: grayscale(100%);
     transition: all 0.3s ease;
     user-select: none;
     pointer-events: auto;
     /* allow hover */
 }

 .brand-logo:hover {
     opacity: 1;
     filter: grayscale(0%);
     transform: scale(1.05);
 }

 @keyframes slideBrands {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 /* ===== O NAMA ===== */
 #onama {
     background: linear-gradient(135deg, rgba(10, 42, 47, 0.4) 0%, rgba(13, 74, 83, 0.4) 60%, rgba(15, 61, 69, 0.4) 100%), url('o-nama3.jpeg') center/cover no-repeat;
     color: var(--white);
 }

 #onama .section-title,
 #onama .section-sub,
 #onama .values-list li {
     color: var(--white);
     line-height: 1.2;
 }

 #onama .section-label {
     color: var(--teal-glow);
     font-size: 1.2rem;
     line-height: 0.5;
 }

 .onama-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 5rem;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
 }

 .onama-img-wrap {
     position: relative;
 }

 .onama-img-wrap img,
 .onama-placeholder {
     width: 100%;
     border-radius: 1rem;
     box-shadow: 0 20px 60px rgba(0, 74, 83, 0.15);
 }

 .onama-placeholder {
     aspect-ratio: 4/3;
     background: linear-gradient(135deg, var(--teal-mid), var(--teal-bright));
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     color: var(--white);
     font-size: 3rem;
 }

 .onama-placeholder p {
     font-size: 1rem;
     margin-top: 1rem;
     opacity: 0.7;
     font-weight: 300;
 }

 .accent-card {
     position: absolute;
     bottom: -1.5rem;
     right: -1.5rem;
     background: var(--teal-deep);
     color: var(--white);
     border-radius: 0.75rem;
     padding: 1.25rem 1.5rem;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
 }

 .accent-card .number {
     font-family: 'Playfair Display', serif;
     font-size: 2.2rem;
     font-weight: 700;
     color: var(--teal-light);
 }

 .accent-card .label {
     font-size: 0.8rem;
     color: var(--gray-mid);
     margin-top: 0.2rem;
 }

 .values-list {
     list-style: none;
     margin-top: 1.5rem;
 }

 .values-list li {
     display: flex;
     align-items: flex-start;
     gap: 0.75rem;
     margin-bottom: 1rem;
     font-size: 0.95rem;
     color: #3a5a60;
     opacity: 0;
     transform: translateY(16px);
     transition: opacity 0.5s ease, transform 0.5s ease;
 }

 .values-list li.visible {
     opacity: 1;
     transform: translateY(0);
 }

 .check-icon {
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background: rgba(10, 74, 83, 0.55);
     color: var(--white);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.75rem;
     flex-shrink: 0;
     margin-top: 2px;
 }

 /* ===== POSLOVNICE ===== */
 /* Sakrij galeriju dok kartica nije aktivna */
 .pc-gallery {
     display: none;
     grid-template-columns: repeat(3, 1fr);
     /* Tri kolone */
     gap: 8px;
     margin-top: 15px;
     padding: 10px;
     background: rgba(46, 196, 208, 0.05);
     border-radius: 0.5rem;
     animation: fadeIn 0.4s ease;
 }

 /* Prikaži grid samo kada kartica dobije klasu .active preko JS-a */
 .poslovnica-card.active .pc-gallery {
     display: grid;
 }

 /* Stil slika u maloj galeriji */
 .pc-gallery img {
     width: 100%;
     aspect-ratio: 1 / 1;
     /* Pravi kvadrat od slike */
     object-fit: cover;
     border-radius: 4px;
     cursor: pointer;
     transition: transform 0.2s;
     border: 1px solid rgba(46, 196, 208, 0.2);
 }

 .pc-gallery img:hover {
     transform: scale(1.05);
     border-color: var(--teal-light);
 }

 /* Animacija za ljepše otvaranje */
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(-5px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 #poslovnice {
     background: linear-gradient(180deg, #f0f8f9 0%, var(--white) 100%);
 }

 .poslovnice-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .poslovnica-card {
     background: var(--white);
     border-radius: 1rem;
     border: 1px solid rgba(46, 196, 208, 0.15);
     padding: 1.75rem;
     box-shadow: 0 4px 20px rgba(0, 74, 83, 0.06);
     transition: all 0.3s ease;
     cursor: pointer;
     position: relative;
     overflow: hidden;
 }

 .poslovnica-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 4px;
     height: 100%;
     background: var(--teal-bright);
     transform: scaleY(0);
     transform-origin: top;
     transition: transform 0.3s ease;
 }

 .poslovnica-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 12px 40px rgba(0, 74, 83, 0.12);
 }

 .poslovnica-card:hover::before {
     transform: scaleY(1);
 }

 .pc-head {
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-bottom: 1rem;
 }

 .pc-icon {
     width: 44px;
     height: 44px;
     border-radius: 0.6rem;
     background: linear-gradient(135deg, var(--teal-mid), var(--teal-bright));
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
     flex-shrink: 0;
 }

 .pc-name {
     font-family: 'Playfair Display', serif;
     font-size: 1.1rem;
     font-weight: 600;
     color: var(--teal-deep);
 }

 .pc-info {
     font-size: 0.85rem;
     color: var(--gray-mid);
     margin-top: 0.2rem;
 }

 .pc-details {
     list-style: none;
 }

 .pc-details li {
     display: flex;
     align-items: flex-start;
     gap: 0.6rem;
     font-size: 0.9rem;
     color: #4a7a80;
     padding: 0.45rem 0;
     border-bottom: 1px solid rgba(46, 196, 208, 0.08);
 }

 .pc-details li:last-child {
     border-bottom: none;
 }

 .pc-details li .icon {
     width: 16px;
     opacity: 0.6;
     margin-top: 2px;
     flex-shrink: 0;
 }

 .card-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
     margin-top: 1rem;
 }

 .map-btn,
 .gallery-toggle-btn {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     font-size: 0.85rem;
     font-weight: 600;
     color: var(--teal-bright);
     text-decoration: none;
     padding: 0.5rem 1rem;
     border: 1px solid rgba(46, 196, 208, 0.3);
     border-radius: 2rem;
     background: transparent;
     cursor: pointer;
     font-family: inherit;
     transition: all 0.2s;
 }

 .map-btn:hover,
 .gallery-toggle-btn:hover {
     background: var(--teal-bright);
     color: var(--white);
     border-color: var(--teal-bright);
 }

 /* ===== GALERIJA ===== */
 #galerija {
     background: var(--teal-deep);
     position: relative;
     overflow: hidden;
 }

 #galerija::before {
     content: '';
     position: absolute;
     top: -30%;
     right: -10%;
     width: 60vw;
     height: 60vw;
     background: radial-gradient(circle, rgba(46, 196, 208, 0.08) 0%, transparent 70%);
 }

 .galerija-header {
     max-width: 1200px;
     margin: 0 auto 2.5rem;
 }

 .upload-area {
     max-width: 1200px;
     margin: 0 auto;
     border: 2px dashed rgba(46, 196, 208, 0.3);
     border-radius: 1rem;
     padding: 2.5rem;
     text-align: center;
     cursor: pointer;
     transition: all 0.3s;
     position: relative;
     background: rgba(255, 255, 255, 0.02);
 }

 .upload-area:hover {
     border-color: var(--teal-light);
     background: rgba(46, 196, 208, 0.04);
 }

 .upload-area input[type=file] {
     position: absolute;
     inset: 0;
     opacity: 0;
     cursor: pointer;
     width: 100%;
     height: 100%;
 }

 .upload-icon {
     font-size: 2.5rem;
     margin-bottom: 1rem;
 }

 .upload-area p {
     color: var(--gray-mid);
     font-size: 0.95rem;
 }

 .upload-area strong {
     color: var(--teal-light);
 }

 /* ===== ISTAKNUTI MODEL ===== */
 #istaknuti-model {
     background: var(--white);
     position: relative;
     overflow: hidden;
 }
 
 .im-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 5rem;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
 }
 
 .im-gallery-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 200px;
      gap: 1rem;
      position: relative;
  }
  
  .im-gallery-item {
      position: relative;
      border-radius: 0.8rem;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 74, 83, 0.15);
  }
  
  .im-gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
      cursor: pointer;
  }
  
  .im-gallery-item:hover img {
      transform: scale(1.05);
  }
  
  .im-item-label {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 2rem 1rem 0.8rem;
      background: linear-gradient(to top, rgba(10,42,47,0.95), transparent);
      color: var(--white);
      font-weight: 600;
      font-size: 0.9rem;
      pointer-events: none;
  }
 
  .im-badge {
      position: absolute;
      bottom: -1rem;
      left: -1rem;
      background: var(--teal-deep);
      color: var(--white);
      padding: 0.8rem 1.2rem;
      border-radius: 0.5rem;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      z-index: 5;
  }
  
  .im-badge-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--teal-light);
  }
  
  .im-badge-sub {
      font-size: 0.75rem;
      color: var(--gray-mid);
      margin-top: 0.2rem;
  }
 
 @media screen and (max-width: 900px) {
     #istaknuti-model {
         padding: 3rem 5% 4rem;
     }

     .im-grid {
         grid-template-columns: 1fr;
         gap: 2rem;
     }

     /* Slike idu IZNAD teksta na mobitelu */
     .im-gallery-grid {
         grid-row: 2;
         grid-template-columns: repeat(2, 1fr);
         grid-auto-rows: 160px;
         gap: 0.6rem;
     }

     .im-gallery-item {
         border-radius: 0.6rem;
     }

     .im-item-label {
         font-size: 0.75rem;
         padding: 1.2rem 0.6rem 0.5rem;
     }

     /* Tekst kompaktan i centriran */
     .im-text {
         text-align: center;
     }

     .im-text .section-label {
         margin-bottom: 0.5rem;
     }

     .im-text .section-title {
         font-size: 1.6rem;
         margin-bottom: 0.6rem;
     }

     .im-text .section-sub {
         font-size: 0.85rem;
         max-width: 100%;
         margin-bottom: 1.5rem;
         line-height: 1.5;
     }

     .im-text .btn-primary {
         width: 100%;
         text-align: center;
         padding: 0.9rem 1.5rem;
     }
 }

 .gallery-grid {
     max-width: 1200px;
     margin: 2rem auto 0;
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 1rem;
 }

 .gallery-item {
     aspect-ratio: 1;
     border-radius: 0.75rem;
     overflow: hidden;
     position: relative;
     cursor: pointer;
     border: 1px solid rgba(46, 196, 208, 0.1);
 }

 .gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.4s ease;
 }

 .gallery-item:hover img {
     transform: scale(1.05);
 }

 .gallery-item .overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, transparent, rgba(0, 42, 47, 0.7));
     opacity: 0;
     transition: opacity 0.3s;
     display: flex;
     align-items: flex-end;
     padding: 1rem;
 }

 .gallery-item:hover .overlay {
     opacity: 1;
 }

 .gallery-item .overlay span {
     color: var(--white);
     font-size: 0.85rem;
     font-weight: 500;
 }

 /* ===== MAP ===== */
 #mapa {
     background: var(--white);
     padding: 5rem 5%;
 }

 .mapa-inner {
     max-width: 1200px;
     margin: 0 auto;
 }

 .mapa-header {
     margin-bottom: 2rem;
 }

 .map-embed {
     border-radius: 1rem;
     overflow: hidden;
     border: 1px solid rgba(46, 196, 208, 0.2);
     box-shadow: 0 8px 32px rgba(0, 74, 83, 0.1);
 }

 .map-embed iframe {
     display: block;
     width: 100%;
     height: 400px;
     border: none;
 }

 /* ===== MAP TABS ===== */
 .map-tabs {
     display: flex;
     flex-wrap: wrap;
     gap: 0.6rem;
     margin-bottom: 1.5rem;
 }

 .map-tab {
     padding: 0.65rem 1.3rem;
     border-radius: 2rem;
     border: 1px solid rgba(46, 196, 208, 0.25);
     background: transparent;
     color: #5a8a90;
     font-family: 'DM Sans', sans-serif;
     font-size: 0.88rem;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.25s ease;
 }

 .map-tab:hover {
     border-color: var(--teal-light);
     color: var(--teal-bright);
 }

 .map-tab.active {
     background: var(--teal-bright);
     color: var(--white);
     border-color: var(--teal-bright);
     box-shadow: 0 4px 16px rgba(26, 138, 150, 0.3);
 }

 .map-panel {
     display: none;
 }

 .map-panel.active {
     display: block;
     animation: fadeUp 0.35s ease;
 }

 .map-hint {
     margin-top: 0.75rem;
     font-size: 0.82rem;
     color: #8fb5bb;
 }

 /* ===== FAQ ===== */
 #faq {
     background: linear-gradient(180deg, var(--white) 0%, #f0f8f9 100%);
 }

 .faq-inner {
     max-width: 800px;
     margin: 0 auto;
 }

 .faq-item {
     border-bottom: 1px solid rgba(46, 196, 208, 0.15);
     overflow: hidden;
 }

 .faq-question {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1.4rem 0;
     cursor: pointer;
     font-size: 1rem;
     font-weight: 500;
     color: var(--teal-deep);
     transition: color 0.2s;
     gap: 1rem;
 }

 .faq-question:hover {
     color: var(--teal-bright);
 }

 .faq-toggle {
     width: 28px;
     height: 28px;
     border-radius: 50%;
     background: rgba(46, 196, 208, 0.1);
     color: var(--teal-bright);
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     font-size: 1.1rem;
     font-weight: 300;
     transition: all 0.3s;
 }

 .faq-item.open .faq-toggle {
     background: var(--teal-bright);
     color: var(--white);
     transform: rotate(45deg);
 }

 .faq-answer {
     max-height: 0;
     overflow: hidden;
     font-size: 0.95rem;
     color: #5a8a90;
     line-height: 1.7;
     transition: max-height 0.4s ease, padding 0.3s;
     padding: 0;
 }

 .faq-item.open .faq-answer {
     max-height: 300px;
     padding-bottom: 1.25rem;
 }

 /* ===== KONTAKT ===== */
 #kontakt {
     background: var(--teal-deep);
 }

 .kontakt-grid {
     display: grid;
     grid-template-columns: 1fr 1.4fr;
     gap: 5rem;
     max-width: 1200px;
     margin: 0 auto;
     align-items: start;
 }

 .kontakt-info-item {
     display: flex;
     align-items: flex-start;
     gap: 1rem;
     margin-bottom: 2rem;
 }

 .ki-icon {
     width: 42px;
     height: 42px;
     border-radius: 0.6rem;
     background: rgba(46, 196, 208, 0.12);
     border: 1px solid rgba(46, 196, 208, 0.2);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.1rem;
     flex-shrink: 0;
 }

 .ki-text h4 {
     font-size: 0.85rem;
     font-weight: 600;
     color: var(--gray-mid);
     letter-spacing: 0.05em;
     text-transform: uppercase;
     margin-bottom: 0.25rem;
 }

 .ki-text p {
     color: var(--white);
     font-size: 0.95rem;
     font-weight: 300;
     line-height: 1.5;
 }

 .kontakt-form {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1rem;
 }

 .form-group {
     display: flex;
     flex-direction: column;
     gap: 0.5rem;
 }

 .form-group label {
     font-size: 0.8rem;
     font-weight: 500;
     color: var(--gray-mid);
     letter-spacing: 0.05em;
     text-transform: uppercase;
 }

 .form-group input,
 .form-group textarea,
 .form-group select {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(46, 196, 208, 0.2);
     border-radius: 0.5rem;
     padding: 0.85rem 1rem;
     color: var(--white);
     font-family: 'DM Sans', sans-serif;
     font-size: 0.95rem;
     outline: none;
     transition: border-color 0.2s;
     width: 100%;
 }

 .form-group input::placeholder,
 .form-group textarea::placeholder {
     color: rgba(255, 255, 255, 0.25);
 }

 .form-group input:focus,
 .form-group textarea:focus,
 .form-group select:focus {
     border-color: var(--teal-light);
     background: rgba(46, 196, 208, 0.05);
 }

 .form-group textarea {
     resize: vertical;
     min-height: 120px;
 }

 .form-group select option {
     background: var(--teal-deep);
     color: var(--white);
 }

 .form-success {
     display: none;
     padding: 1rem;
     border-radius: 0.5rem;
     background: rgba(46, 196, 208, 0.1);
     border: 1px solid rgba(46, 196, 208, 0.3);
     color: var(--teal-light);
     font-size: 0.9rem;
     text-align: center;
 }

 /* ===== FOOTER ===== */
 footer {
     background: #060f10;
     padding: 2rem 5%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
 }

 .footer-logo {
     font-family: 'Playfair Display', serif;
     color: var(--white);
     font-size: 1.1rem;
 }

 .footer-logo span {
     color: var(--teal-light);
 }

 footer p {
     font-size: 0.8rem;
     color: var(--gray-mid);
 }

 /* ===== LIGHTBOX ===== */
 #lightbox {
     display: none;
     position: fixed;
     inset: 0;
     z-index: 9999;
     background: rgba(5, 15, 17, 0.95);
     align-items: center;
     justify-content: center;
     padding: 2rem;
 }

 #lightbox.open {
     display: flex;
 }

 #lightbox img {
     max-width: 90vw;
     max-height: 85vh;
     border-radius: 0.75rem;
     box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
 }

 #lightbox-close {
     position: absolute;
     top: 1.5rem;
     right: 1.5rem;
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     color: var(--white);
     font-size: 1.4rem;
     border: none;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.2s;
 }

 #lightbox-close:hover {
     background: rgba(255, 255, 255, 0.2);
 }

 .lightbox-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.1);
     color: var(--white);
     font-size: 2rem;
     border: none;
     cursor: pointer;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.2s;
     z-index: 10000;
 }
 .lightbox-nav:hover {
     background: rgba(255, 255, 255, 0.3);
 }
 .lightbox-prev {
     left: 2rem;
 }
 .lightbox-next {
     right: 2rem;
 }

 /* ===== ANIMATIONS ===== */
 @keyframes fadeUp {
     from {
         opacity: 0;
         transform: translateY(24px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes spinSlow {
     from {
         transform: rotate(0deg);
     }

     to {
         transform: rotate(360deg);
     }
 }

 .fade-in {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.6s ease, transform 0.6s ease;
 }

 .fade-in.visible {
     opacity: 1;
     transform: translateY(0);
 }

 /* ===== DESKTOP HERO OPTIMIZACIJA ===== */
 @media (min-width: 901px) {
     .hero-grid {
         margin-left: 0;
         max-width: 1500px; /* Daje više prostora i drži vizual na desnoj strani */
     }
     .hero-title {
         font-size: clamp(3rem, 6vw, 5rem);
     }
     .hero-desc {
         font-size: 1.25rem;
         max-width: 650px;
     }
     .hero-label {
         font-size: 0.85rem;
         padding: 0.5rem 1.4rem;
     }
     #hero .btn-primary,
     #hero .btn-outline {
         font-size: 1.05rem;
         padding: 0.95rem 2.2rem;
     }
     .hero-stats {
         position: absolute;
         bottom: 0;
         left: 0;
         width: 100%;
         margin: 0;
     }
     #hero {
         padding-bottom: 8rem; /* Da spriječimo preklapanje sa donjom trakom */
     }
 }

 /* ===== RESPONSIVE ===== */
 @media (max-width: 900px) {

     .hero-grid,
     .onama-grid,
     .kontakt-grid {
         grid-template-columns: 1fr;
         gap: 2.5rem;
     }

     .hero-visual {
         display: none;
     }

     /* form-row ostaje 1fr 1fr na manjim ekranima */

     .nav-links {
         display: none;
         flex-direction: column;
         position: fixed;
         top: 72px;
         left: 0;
         right: 0;
         background: var(--teal-deep);
         padding: 1.5rem 5%;
         border-bottom: 1px solid rgba(46, 196, 208, 0.1);
     }

     .nav-links.open {
         display: flex;
     }

     .hamburger {
         display: flex;
     }

     .accent-card {
         position: static;
         margin-top: 1rem;
         display: inline-block;
     }
 }

 /* ===== MOBILNA OPTIMIZACIJA (DODATNO) ===== */
 @media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

     .nav-logo {
        font-size: 1.35rem;
        white-space: nowrap;
    }

    #hero {
        padding-top: 6rem;
        padding-bottom: 1rem;
        min-height: auto;
    }

    .hero-label {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.8rem;
    }

     .hero-title {
         font-size: 2.2rem;
     }

     .hero-desc {
         font-size: 1rem;
         margin-bottom: 1.5rem;
     }

     .hero-btns {
         flex-direction: column;
         gap: 0.8rem;
     }

     .hero-btns .btn-primary, 
     .hero-btns .btn-outline {
         width: 100%;
         text-align: center;
     }

     .hero-stats {
        flex-wrap: nowrap;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 1.5rem;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
        justify-content: space-between;
    }

    .hero-stat {
        padding: 0 0.2rem;
        flex: 1;
    }
    
    .hero-stat-num {
        font-size: 1.2rem;
    }
    
    .hero-stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }

    .hero-stat-divider {
        display: block;
        height: 1.8rem;
    }

     .onama-grid, .kontakt-grid {
         gap: 2rem;
     }

     /* Optimizacija O nama sekcije */
     #onama {
         background-position: top center;
         padding-top: 4rem;
         padding-bottom: 4rem;
     }

     #onama .section-title {
         font-size: 1.8rem;
     }

     #onama .section-sub {
         font-size: 0.9rem;
         margin-bottom: 1.5rem;
     }

     .values-list li {
         font-size: 0.85rem;
         margin-bottom: 0.8rem;
     }

     .onama-img-wrap {
         margin-bottom: 2rem;
     }

     .accent-card {
         position: absolute;
         bottom: -1rem;
         right: 0;
         margin-top: 0;
         padding: 0.8rem 1.2rem;
     }

     .accent-card .number {
         font-size: 1.6rem;
     }

     .accent-card .label {
         font-size: 0.7rem;
     }

     .footer-logo, footer p {
         text-align: center;
         width: 100%;
     }

     .footer-logo, footer p {
         text-align: center;
         width: 100%;
     }

     .mapa-inner {
         padding: 0;
     }

     /* Mobilni horizontalni slider za poslovnice */
     .poslovnice-grid {
         display: flex;
         flex-wrap: nowrap;
         overflow-x: auto;
         scroll-snap-type: x mandatory;
         gap: 1rem;
         padding: 1rem 5%;
         margin-left: -5%;
         margin-right: -5%;
         width: 100vw;
         -webkit-overflow-scrolling: touch;
         scrollbar-width: none; /* Firefox */
     }
     
     .poslovnice-grid::-webkit-scrollbar {
         display: none; /* Chrome/Safari */
     }

     .poslovnica-card {
         flex: 0 0 85vw;
         scroll-snap-align: center;
         padding: 1.25rem;
     }

     .pc-icon {
         width: 36px;
         height: 36px;
         font-size: 1rem;
     }

     .pc-name {
         font-size: 1rem;
     }

     .pc-details li {
         font-size: 0.85rem;
         padding: 0.35rem 0;
     }

     .map-btn, .gallery-toggle-btn {
         font-size: 0.75rem;
         padding: 0.4rem 0.8rem;
     }
     
     .map-tabs {
         flex-direction: column;
     }
     
     .map-tab {
         width: 100%;
         text-align: center;
     }

     /* Optimizacija galerije za mobitel (2 kolone) */
     .gallery-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 0.5rem;
     }

     .gallery-item {
         border-radius: 0.5rem;
     }

     .gallery-item .overlay span {
         font-size: 0.7rem;
     }

     /* Smanjen font za Galerija sekciju */
     #galerija .section-title {
         font-size: 1.8rem;
     }

     #galerija .section-sub {
         font-size: 0.9rem;
     }

     /* Ljepša kontakt sekcija */
     #kontakt {
         padding: 4rem 5%;
         background: linear-gradient(135deg, var(--teal-deep) 0%, #0a353c 100%);
     }

     .kontakt-grid {
         gap: 2rem;
     }

     .kontakt-info-item {
         background: transparent;
         padding: 0;
         border-radius: 0;
         align-items: flex-start;
         border: none;
         margin-bottom: 1.2rem;
     }

     .ki-icon {
         width: 36px;
         height: 36px;
         font-size: 0.9rem;
     }

     .ki-text h4 {
         font-size: 0.75rem;
         margin-bottom: 0.15rem;
     }

     .ki-text p {
         word-break: normal;
         font-size: 0.85rem;
     }

     #kontakt .section-title {
         font-size: 1.8rem;
     }

     #kontakt .section-sub {
         font-size: 0.9rem;
         margin-bottom: 2rem;
     }
     
     .section-label {
         font-size: 0.65rem;
         padding: 0.3rem 0.8rem;
     }

     .kontakt-form {
         background: rgba(255, 255, 255, 0.03);
         padding: 1.5rem;
         border-radius: 1rem;
         border: 1px solid rgba(46, 196, 208, 0.1);
         box-shadow: 0 10px 30px rgba(0,0,0,0.2);
     }

     .form-group label {
         font-size: 0.7rem;
     }

     .form-group input,
     .form-group textarea,
     .form-group select {
         font-size: 0.85rem;
         padding: 0.7rem 0.8rem;
     }
     
     .kontakt-form .btn-primary {
         font-size: 0.9rem;
         padding: 0.8rem;
     }

     /* Lightbox strelice na mobitelu */
     .lightbox-nav {
         top: 50%;
         bottom: auto;
         transform: translateY(-50%);
         width: 38px;
         height: 38px;
         font-size: 1.2rem;
         background: rgba(255, 255, 255, 0.15);
     }

     .lightbox-prev {
         left: 3%;
     }

     .lightbox-next {
         right: 3%;
     }
 }