@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-900: #000000;
  --primary: #374151;
  --accent: #d4bf48;
  --bg: var(--white);
  --card: #ffffff;
  --text: #000000;
  --muted: #6b7280;
  --radius: 14px;
  --max-width: 1200px;
  --shadow-1: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.14);
  --shadow-3: 0 14px 40px rgba(0, 0, 0, 0.2);
  --transition-fast: 180ms ease;
  --transition-mid: 340ms cubic-bezier(0.18, 0.69, 0.26, 1);
}
/* Gasi double-tap zoom na celom sajtu */
html,
body {
  touch-action: manipulation;
}

/* Dodatna sigurnost za dugmiće i linkove */
a,
button,
.arrow-btn,
.main-floating-btn,
.option-btn {
  touch-action: manipulation;
}

* {
  box-sizing: border-box;
}

html.prevent-scroll-smooth {
  scroll-behavior: auto !important;
}

html {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  animation: fadeIn 0.7s ease forwards;
  padding-top: 90px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-modal[aria-hidden="true"] {
  display: none;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 24px;
}

:root {
  --yellow: #ffd700;
  --dark: #1a1a1a;
  --white: #ffffff;
}

.new-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  width: 95%; /* Wider on mobile */
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* --- DESKTOP NAVIGATION --- */
.navbar-main ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.navbar-main a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
}
.mobile-menu-call {
  display: none;
}

/* --- HEADER RIGHT ACTIONS --- */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between Phone and Hamburger */
}

.nav-call-btn {
  background: var(--yellow);
  color: #000;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}
/* --- ANIMACIJA TELEFONSKE SLUŠALICE --- */

/* Ciljamo ikonicu unutar dugmeta */
.nav-call-btn i {
  display: inline-block; /* Neophodno da bi transformacije radile */
  animation: phoneRing 3s infinite ease-in-out;
  transform-origin: center;
}

/* Keyframes za "zvonjenje" */
@keyframes phoneRing {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(15deg);
  }
  10% {
    transform: rotate(-15deg);
  }
  15% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  25% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  } /* Pauza između dva zvonjenja */
}

/* Hover efekat - ubrzavamo mrdanje kada korisnik postavi miš */
.nav-call-btn:hover i {
  animation: phoneShake 0.5s infinite linear;
}

@keyframes phoneShake {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  25% {
    transform: translate(1px, 1px) rotate(5deg);
  }
  50% {
    transform: translate(0, 0) rotate(0);
  }
  75% {
    transform: translate(-1px, 1px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0);
  }
}

/* Opciono: Dodajemo blagi "Glow" celom dugmetu na mobilnom da se ističe */
@media (max-width: 992px) {
  .nav-call-btn {
    animation: buttonGlow 3s infinite;
  }
}

@keyframes buttonGlow {
  0% {
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  }
  100% {
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
  }
}

/* --- HAMBURGER BUTTON --- */
.hamburger-btn {
  display: none; /* Desktop hidden */
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-direction: column;
  gap: 6px;
  z-index: 1100; /* Stays above menu when open */
}

.hamburger-btn .bar {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 5px;
  transition: 0.3s;
}

/* --- MOBILE RESPONSIVE (WIDE) --- */
@media (max-width: 992px) {
  .hamburger-btn {
    display: flex;
  }
  .navbar-main ul {
    display: none;
  } /* Hide old desktop list */

  /* Show only icon on small mobile screens to save space */
  .call-text {
    display: none;
  }
  .nav-call-btn {
    padding: 12px;
    border-radius: 50%;
  } /* Round icon button next to burger */

  /* MOBILE NAV OVERLAY */
  .navbar-main {
    position: fixed;
    top: 0;
    right: -100%; /* Slide out */
    width: 85%; /* Wider look */
    height: 100vh;
    background: #fff;
    padding: 100px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
    z-index: 1050;
    display: block !important;
  }

  .navbar-main.active {
    right: 0;
  }

  .navbar-main ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .navbar-main a {
    font-size: 24px;
    font-weight: 800;
    display: block;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
  }

  .mobile-menu-call {
    display: block;
    margin-top: 20px;
  }
  .mobile-menu-call a {
    background: var(--yellow) !important;
    text-align: center;
    border-radius: 12px;
    padding: 18px !important;
    border: none;
  }

  /* --- HAMBURGER TO X --- */
  .hamburger-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger-btn.open .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (min-width: 480px) and (max-width: 992px) {
  .call-text {
    display: inline;
  } /* On tablets/large phones show text again */
  .nav-call-btn {
    border-radius: 12px;
    padding: 12px 20px;
  }
}

/* --- HERO SECTION --- */
:root {
  --yellow: #ffd700;
  --yellow-dark: #e6c200;
  --white: #ffffff;
  --dark: #121212;
  --gray-bg: #f9f9fb;
}

.hero-premium-wide {
  background-color: var(--white);
  padding: 60px 0;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* Container: Wider on Mobile */
.hero-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px; /* Smaller side padding for "wider" feel */
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

/* Typography Scaling */
.hero-text-content h1 {
  font-size: clamp(34px, 8vw, 60px); /* Larger & more responsive */
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.text-yellow {
  color: var(--yellow);
  display: inline-block;
}

.description {
  font-size: clamp(17px, 4vw, 21px);
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Badge Style */
.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-bg);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  color: #666;
  margin-bottom: 25px;
  text-transform: uppercase;
  border: 1px solid #eee;
}

.pulse-icon {
  width: 10px;
  height: 10px;
  background-color: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255, 215, 0, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

/* List Style */
.check-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.check-list li {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check {
  color: var(--yellow-dark);
  font-weight: 900;
  font-size: 20px;
}

/* BUTTON: Ultra Wide on Mobile */
.cta-yellow-wide {
  position: relative; /* Neophodno za shine efekat */
  overflow: hidden; /* Skriva sjaj van ivica dugmeta */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--yellow);
  color: #000;
  padding: 22px 30px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);

  /* Dodajemo pulsirajuću animaciju senke */
  animation: ctaPulse 3s infinite;
}

/* --- ANIMACIJA STRELICE (SVG) --- */
.cta-yellow-wide svg {
  transition: transform 0.3s ease;
}

.cta-yellow-wide:hover {
  transform: translateY(-5px) scale(1.02);
  background-color: var(--yellow-dark);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.5);
}

/* Pomeranje strelice na hover */
.cta-yellow-wide:hover svg {
  transform: translateX(8px);
}

/* --- SHINE EFEKAT (Sjaj koji prolazi) --- */
.cta-yellow-wide::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
  animation: ctaShine 4s infinite;
}

/* --- KEYFRAMES ZA ANIMACIJE --- */

/* Prolazak sjaja preko dugmeta */
@keyframes ctaShine {
  0% {
    left: -100%;
  }
  20% {
    left: 150%;
  } /* Prođe brzo */
  100% {
    left: 150%;
  } /* Pa pauzira do kraja ciklusa */
}

/* Pulsiranje senke */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.5);
  }
  100% {
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
  }
}

/* --- KLIK EFEKAT --- */
.cta-yellow-wide:active {
  transform: translateY(0) scale(0.98);
}

.trust-footer {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.stars {
  color: #f39c12;
  letter-spacing: 2px;
}
.trust-label {
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

/* IMAGE SECTION */
.hero-image-side {
  width: 100%;
  position: relative;
}

.image-wrapper {
  width: 100%;
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.floating-card strong {
  display: block;
  font-size: 22px;
  color: var(--yellow-dark);
}
.floating-card span {
  font-size: 12px;
  font-weight: 600;
  color: #777;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet & Desktop */
@media (min-width: 992px) {
  .hero-premium-wide {
    padding: 4% 0;
  }
  .hero-main-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
  .hero-text-content {
    text-align: left;
  }
  .check-list li {
    justify-content: flex-start;
  }
  .trust-footer {
    justify-content: flex-start;
  }
  .image-wrapper {
    height: 600px;
  }
  .hero-container {
    padding: 0 40px;
  }
}

/* Mobile Specific Tweaks for "Wider" look */
@media (max-width: 768px) {
  .hero-text-content {
    text-align: left; /* Keep text left-aligned for a modern look */
  }
  .hero-container {
    padding: 0 12px; /* Minimal padding for maximum width */
  }
  .hero-text-content h1 {
    width: 100%;
    max-width: 100%;
  }
  .cta-yellow-wide {
    width: 100%; /* Full width button on mobile */
  }
}

/* --- MOBILNA VERZIJA --- */
@media (max-width: 992px) {
  /* Sakriva celu desnu stranu sa slikom i floating karticom */
  .hero-image-side {
    display: none !important;
  }
}
/* --- TRUST BADGE HERO --- */
.hero-badges-wrapper {
  display: flex;
  margin-bottom: 25px;
  justify-content: flex-start;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid #eeeeee; /* Suptilna ivica za premium izgled */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.google-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2); /* Žuti sjaj na hover */
  border-color: var(--yellow);
}

.google-icon-box img {
  width: 35px;
  height: auto;
  display: block;
}

.badge-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.stars-gold {
  color: #ffd700; /* Tvoja zlatno-žuta boja */
  font-size: 14px;
}

.rating-score {
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
}

.review-count {
  font-size: 12px;
  color: #666;
  font-weight: 600;
  text-transform: none; /* Da ne bude sve caps lock */
}

/* --- RESPONZIVNOST --- */
@media (max-width: 768px) {
  .hero-badges-wrapper {
    justify-content: center; /* Centrirano na mobilnom */
    margin-bottom: 20px;
  }

  .google-badge {
    padding: 8px 15px;
    width: auto;
    display: inline-flex;
  }

  .review-count {
    font-size: 11px;
  }
}
/* ---------------- Testimonials Section ---------------- */
.google-testimonials {
  background-color: #f8f9fa; /* Light gray background to make cards pop */
  padding: 100px 0;
  font-family: "Inter", sans-serif;
  background-image: radial-gradient(
    #dee2e6 0.5px,
    transparent 0.5px
  ); /* Subtle triangle/dot pattern */
  background-size: 20px 20px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.title-main {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  color: #001529;
  margin-bottom: 15px;
}

.text-yellow {
  color: #ffd700;
}

.subtitle-main {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* --- GRID --- */
.testimonial-grid-google {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 50px auto;
}

/* --- CARD STYLE --- */
.google-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.card-top-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #ffd700; /* Your Brand Yellow */
  border-radius: 12px 12px 0 0;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.author-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.author-initial {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.author-details h3 {
  font-size: 18px;
  margin: 0;
  color: #001529;
}

.stars {
  color: #ffb400;
  font-size: 16px;
  margin: 2px 0;
}

.platform-label {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.5px;
}

.google-icon {
  width: 25px;
}

.review-body {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  font-style: italic;
  margin: 0;
}

/* --- BUTTONS --- */
.testimonials-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-outline-yellow {
  padding: 18px 35px;
  border: 3px solid #ffd700;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s;
}

.btn-outline-yellow:hover {
  background: #ffd700;
}

.btn-dark-quote {
  padding: 18px 35px;
  background: #001529;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}

.btn-dark-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 21, 41, 0.2);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .google-card {
    padding: 25px;
  }
  .btn-outline-yellow,
  .btn-dark-quote {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .testimonial-grid-google {
    grid-template-columns: 1fr;
  }
}

/* SERVICES TEXT SECTION */
:root {
  --gudo-yellow: #ffd700;
  --dark-blue: #001529;
  --bg-light: #fbfbfb;
}

.services-wrapper-new {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.layout-container-wide {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--dark-blue);
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.text-yellow {
  color: var(--gudo-yellow);
}

/* --- INTRO TEXT --- */
.services-intro-container {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
}

.services-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  max-height: 120px; /* Hidden state */
  overflow: hidden;
  transition: max-height 0.6s ease;
  position: relative;
}

/* Expanded State for JS */
.services-text-detail.expanded .services-intro {
  max-height: 1000px;
}

.read-more-wrapper {
  margin-top: 15px;
}

.read-more-btn {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: 0.3s;
}

.read-more-btn:hover {
  color: var(--gudo-yellow);
}

/* --- GRID & BOXES --- */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.detail-box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  text-align: left; /* Modern look uses left-align */
}

.detail-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--gudo-yellow);
}

/* Step Number Badge */
.step-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.15); /* Very light yellow number */
}

.icon-circle {
  width: 65px;
  height: 65px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--gudo-yellow);
  font-size: 28px;
}

.detail-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 15px;
}

.detail-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .services-wrapper-new {
    padding: 60px 0;
  }
  .detail-box {
    text-align: center;
  }
  .icon-circle {
    margin: 0 auto 20px;
  }
  .step-number {
    display: none;
  } /* Hide numbers on small screens to reduce clutter */
}

/* ========== INTRO PREMIUM & VALUES ========== */
:root {
  --yellow: #ffd700;
  --dark-blue: #001529;
  --bg-soft: #fbfbfb;
}

/* Osnovna sekcija */
.premium-row {
  padding: 80px 0;
  width: 100%;
  overflow: hidden; /* Sprečava mrdanje levo-desno */
}

.bg-light {
  background-color: var(--bg-soft);
}

.layout-container-wide {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Tipografija */
.premium-title {
  font-size: clamp(30px, 5vw, 45px);
  font-weight: 900;
  color: var(--dark-blue);
  line-height: 1.1;
  margin-bottom: 20px;
}

.text-yellow {
  color: var(--yellow);
}

.premium-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

/* Slike (Desktop) */
.image-box {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  position: relative;
  display: block; /* Osigurava vidljivost */
}

/* ========================================= */
/* --- MOBILNA OPTIMIZACIJA (PROVERENO) --- */
/* ========================================= */

@media (max-width: 992px) {
  .premium-row {
    padding: 40px 0 10px 0 !important; /* Smanjen razmak na dnu */
  }

  .grid-2-col {
    display: flex !important;
    flex-direction: column !important; /* Stack: Tekst pa Slika */
    gap: 30px;
    text-align: center;
  }

  /* Force naslov da bude centriran */
  .premium-title {
    text-align: center !important;
    width: 100%;
  }

  /* REVERSE FIX: Da slika uvek bude VIDLJIVA i ISPOD teksta */
  .reverse-on-desktop {
    display: flex !important;
    flex-direction: column !important;
  }

  .premium-text-side {
    order: 1 !important; /* Tekst ide prvi */
    width: 100%;
  }

  .premium-image-side {
    order: 2 !important; /* Slika ide druga */
    width: 100%;
    display: block !important; /* KLJUČNO: Da se ne sakrije */
  }

  .image-box {
    height: 300px !important; /* Mora imati visinu da bi se videla */
    width: 100% !important;
    display: block !important;
    border-radius: 16px;
    margin: 0 auto;
  }

  /* Sklanjamo mrdanje levo-desno od bedževa */
  .floating-info-card {
    right: 10px !important;
    bottom: 10px !important;
    font-size: 12px;
    padding: 10px 15px;
  }

  .btn-outline-dark {
    width: 100%;
    text-align: center;
  }

  .mini-features {
    justify-content: center;
  }
}

/* ========== Services Section  ========== */
/* Sprečava zoom pri brzom kliktanju na strelice i dugmiće */
.arrow-btn,
.nav-call-btn,
.cta-yellow-wide,
.navbar-main a {
  touch-action: manipulation;
}
:root {
  --yellow: #ffd700;
  --dark-blue: #001c3d;
}

.services-infinite {
  padding: 60px 0;
  background-color: #fff;
  width: 100%;
  overflow: hidden; /* This keeps the whole site from shaking */
}

.services-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark-blue);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-track-container {
  width: 100%;
  overflow: hidden; /* Clips the cards at the screen edge */
  padding: 20px 0 40px;
}

.carousel-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important; /* FIXED GAP */
  padding: 0;
  margin: 0;
  justify-content: flex-start !important; /* JS NEEDS THIS */
  will-change: transform;
}

/* THE CARD STYLE */
.service-card {
  flex: 0 0 350px; /* FIXED WIDTH ON DESKTOP */
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f2f2f2;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  margin: 12px;
  border-radius: 12px;
  position: relative;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 10px;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-content {
  padding: 10px 20px 30px;
}
.card-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 15px;
}
.card-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
  height: 70px;
  overflow: hidden;
}

.learn-more {
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ARROWS */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: var(--yellow);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.arrow-btn.prev {
  left: 10px;
}
.arrow-btn.next {
  right: 10px;
}

/* MOBILE FIX */
@media (max-width: 992px) {
  .service-card {
    flex: 0 0 280px; /* FIXED WIDTH ON MOBILE */
  }
  .section-title {
    font-size: 32px;
  }
}
/* ========== Projects preview  ========== */
.projects-section .section-title {
  font-size: 34px;
  margin-bottom: 6px;
  color: var(--primary-900);
  font-weight: 800;
}

.projects-section .section-subtitle {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 15.5px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
}

/* card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 24, 40, 0.48),
    rgba(6, 24, 40, 0.18)
  );
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.project-meta {
  color: #fff;
  text-align: left;
}

.project-meta h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.project-meta p {
  margin: 0 0 10px;
  font-size: 13.5px;
  opacity: 0.92;
}

/* small CTA inside card */
.project-cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-900);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* hover effect */
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.project-card:hover img {
  transform: scale(1.06);
}
.project-card:hover .project-overlay {
  opacity: 1;
}

/* Modal / lightbox */
.project-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(8, 20, 40, 0.6);
  z-index: 2000;
  padding: 30px;
}

.project-modal[aria-hidden="false"] {
  display: flex;
}

.project-modal .modal-body {
  background: #fff;
  border-radius: 12px;
  max-width: 1100px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  box-shadow: var(--shadow-3);
  padding: 18px;
  align-items: center;
}

.project-modal img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.modal-info {
  padding: 8px 6px;
}
.modal-info h3 {
  margin: 6px 0 12px;
  font-size: 20px;
  color: var(--primary-900);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 880px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card img {
    height: 220px;
  }
  .project-modal .modal-body {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .modal-info {
    padding: 12px 6px;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card img {
    height: 200px;
  }
  .project-modal .modal-body {
    max-width: 92vw;
  }
  .project-modal {
    padding: 12px;
  }
  .projects-section .section-title,
  .projects-section .section-subtitle {
    text-align: center;
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICE CARD */
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-1);
  transition:
    transform var(--transition-mid),
    box-shadow var(--transition-mid),
    opacity var(--transition-fast);
}
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-3);
}

/* --- FLOATING CONTAINER --- */
.floating-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* --- GLAVNO DUGME (Trigger) --- */
.main-floating-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--dark-blue);
  color: #fff;
  border: 4px solid var(--yellow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.main-floating-btn:hover {
  transform: scale(1.1);
  background: #002a5a;
}

/* Animacija pulsiranja oko glavnog dugmeta */
.main-floating-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  animation: fabPulse 2s infinite;
  opacity: 0;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --- OPCIONA DUGMAD (WhatsApp & Poziv) --- */
.floating-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Kada je meni aktivan */
.floating-container.active .floating-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.option-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.option-btn:hover {
  transform: scale(1.15);
}

/* Tekst pored dugmeta (Labels) */
.label-text {
  position: absolute;
  right: 80px;
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s;
  pointer-events: none;
}

.option-btn:hover .label-text {
  opacity: 1;
  transform: translateX(0);
}

/* Specifične boje */
.option-btn.whatsapp {
  background: #25d366;
}
.option-btn.call {
  background: var(--yellow);
  color: #000;
}

/* Rotacija ikonice kad se otvori (u X) */
.floating-container.active .main-floating-btn {
  background: #ff4444; /* Menja boju u crvenu kad je X */
  border-color: #ff4444;
  transform: rotate(135deg);
}

/* --- MOBILNA OPTIMIZACIJA --- */
@media (max-width: 768px) {
  .floating-container {
    bottom: 20px;
    right: 20px;
  }
  .main-floating-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .option-btn {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
  /* Sakrivamo label text na mobilnom da ne smeta */
  .label-text {
    display: none;
  }
}

/* SECTIONS */
.section {
  padding: 40px 0;
}
.about h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  color: var(--primary);
}
.about-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 850px;
  text-align: center;
  margin: 0 auto;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  align-items: center;
}
.split.reverse {
  direction: rtl;
  margin: 0 auto;
  width: 90%;
}
.split.reverse .split-content {
  direction: ltr;
}
.split-image {
  width: 90%;
  height: 500px;
  background-size: cover;
  background-position: center center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  margin: 0 auto;
  margin-right: 0;
  opacity: 1;
  transform: none;
}
.split-content {
  padding: 30px 40px;
  opacity: 1;
  transform: none;
}
.split-content h3 {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 12px;
}
.split-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.split-content ul {
  color: var(--primary);
  font-size: 15px;
}
.split-content li {
  margin-bottom: 6px;
  list-style: "✔ ";
  padding-left: 6px;
}

/* INTRO PREMIUM */
.intro-premium {
  padding: 100px 0;
  padding-top: 50px;
}
.intro-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 70px;
}
.intro-text {
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
}
.intro-title {
  font-size: 44px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-900);
  margin-bottom: 22px;
}
.intro-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 18px;
}
.intro-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  transition: var(--transition-mid);
  box-shadow: var(--shadow-1);
}
.intro-btn:hover {
  background: var(--primary-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.intro-image {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-3);
  animation: fadePic 1.2s ease forwards;
  opacity: 0;
}

/* PREMIUM VALUES */
.premium-values {
  padding: 120px 0;
}

.values-image {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-3);
}

.values-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.values-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.35s ease;
}

.values-content:hover {
  transform: translateY(-8px);
}

.values-title {
  font-size: 42px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary-900);
  margin-bottom: 14px;
}
.values-tagline {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: 16px;
}
.values-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 600px;
}
.values-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.values-features .v-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 500;
  color: var(--primary-900);
  box-shadow: var(--shadow-1);
  transition: var(--transition-mid);
}
.values-features .v-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.values-btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-900) 100%
  );
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-2);
  transition: 0.25s;
  font-size: 15px;
  max-width: fit-content;
}
.values-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* REVEAL + SLIDE */
.reveal {
  opacity: 0;
  translate: 0 30px;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible .slide-left,
.reveal.visible .slide-right {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* SERVICES */
.services {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  padding: 80px 0;
  text-align: center;
}
.services .section-title {
  font-size: 36px;
  color: #0a3e6f;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.services .section-subtitle {
  font-size: 18px;
  color: #6b7b8c;
  margin-bottom: 50px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}
.service-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  padding-bottom: 25px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}
.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.service-card h3 {
  font-size: 22px;
  margin: 18px 0 10px;
  color: #0a3e6f;
  font-weight: 600;
}
.service-card p {
  font-size: 15px;
  padding: 0 20px;
  color: #6b7b8c;
  line-height: 1.6;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* =============================== */
/*  CAROUSEL SECTION */
/* =============================== */

.services-carousel {
  background: linear-gradient(180deg, #f9fafb 0%, #eef5ff 100%);
  text-align: center;
}

.carousel-title {
  font-size: 38px;
  color: #0a3e6f;
  font-weight: 800;
  margin-bottom: 8px;
}

.carousel-subtitle {
  color: #65738a;
  font-size: 17px;
  margin-bottom: 40px;
}

.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
}

.carousel-track {
  display: flex;
  gap: 26px;
}

.carousel-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  padding-bottom: 20px;
  transition: transform 0.35s;
}

.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.13);
}

.cc-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  border-radius: 18px 18px 0 0;
}

.carousel-card h3 {
  font-size: 20px;
  margin: 14px 0 6px;
  color: #0a3e6f;
  font-weight: 600;
}

.carousel-card p {
  font-size: 14px;
  padding: 0 18px;
  color: #6d7b8c;
  line-height: 1.55;
}

/* nav buttons */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
}

.nav-btn {
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: 0.25s;
}

.nav-btn:hover {
  background: var(--accent);
  color: #1e1e1e;
}

.view-all-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #bca83c);
  font-weight: 700;
  color: #1a1a1a;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.view-all-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
}

/* cc-img wrapper */
.cc-img {
  position: relative;
  overflow: hidden;
  height: 190px;
  background-size: cover;
  background-position: center;
  border-radius: 18px 18px 0 0;
}

.cc-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 54, 0.06);
  pointer-events: none;
  transition: background 0.35s ease;
}

.cc-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.295) 100%
  );
  transition: opacity 0.35s ease;
  opacity: 1;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 54, 0.34);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition:
    opacity 0.32s ease,
    background 0.32s ease;
}

.card-hover-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a3e6f;
  border: 1px solid rgba(10, 62, 111, 0.06);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(10, 62, 111, 0.06);
  white-space: nowrap;
  z-index: 6;
}

.carousel-card:hover .img-overlay {
  opacity: 1;
}

.carousel-card:hover .card-hover-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 12px 26px rgba(10, 62, 111, 0.1);
}

.carousel-card:hover .cc-img::after {
  opacity: 0;
}

.card-hover-btn:focus {
  outline: 3px solid rgba(10, 62, 111, 0.12);
  outline-offset: 2px;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- FAQ PREMIUM STYLE --- */
/* --- FAQ PREMIUM - GLOBAL STYLES --- */
.faq-premium {
  padding: 100px 0; /* Više prostora na desktopu */
  background-color: #fcfcfc;
}

.layout-container-extra-wide {
  width: 90%;
  max-width: 1000px; /* Povećano na 1000px za bolji desktop utisak */
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.faq-header .section-title {
  font-size: clamp(34px, 5vw, 52px); /* Veći naslov */
  margin-bottom: 20px;
}

/* --- ACCORDION CONTAINER --- */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-item {
  background: #ffffff;
  border-radius: 18px; /* Jače zaobljeno za premium look */
  border: 1px solid #eee;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.accordion-item:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.accordion-title {
  width: 100%;
  padding: 28px 35px; /* Veći padding za bolji desktop feel */
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 20px; /* Veći font za desktop */
  font-weight: 700;
  color: var(--dark-blue);
  cursor: pointer;
}

/* --- FAQ ICON (PLUS/MINUS) --- */
.faq-icon-plus {
  position: relative;
  width: 24px;
  height: 24px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.faq-icon-plus::before,
.faq-icon-plus::after {
  content: "";
  position: absolute;
  background-color: var(--dark-blue);
  transition: 0.3s;
}

.faq-icon-plus::before {
  width: 10px;
  height: 2px;
}
.faq-icon-plus::after {
  width: 2px;
  height: 100%;
  max-height: 10px;
}

/* Aktivno stanje ikone */
.accordion-item.active .faq-icon-plus {
  background: var(--yellow);
}
.accordion-item.active .faq-icon-plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* --- CONTENT REVEAL --- */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.inner-padding {
  padding: 0 35px 30px 35px;
}

.accordion-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  border-left: 3px solid var(--yellow);
  padding-left: 20px;
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 992px) {
  .faq-premium {
    padding: 60px 0;
  }

  .layout-container-extra-wide {
    width: 95%;
  }

  .accordion-title {
    padding: 22px 25px;
    font-size: 17px; /* Smanjeno za mobilni, ali i dalje krupno */
  }

  .inner-padding {
    padding: 0 25px 25px 25px;
  }

  .accordion-content p {
    font-size: 16px;
  }

  .faq-icon-plus {
    width: 32px; /* Veća ikona na mobilnom za lakši "tap" */
    height: 32px;
  }
}

/* --- SIMPLE CONTACT FORM --- */
.simple-contact-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.layout-container-small {
  width: 90%;
  max-width: 850px; /* Uže nego ostatak sajta da bi izgledalo kao obrazac */
  margin: 0 auto;
}

.contact-header-simple {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header-simple p {
  color: #666;
  font-size: 17px;
  max-width: 600px;
  margin: 10px auto 0;
}

/* --- FORM LAYOUT --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dve kolone na desktopu */
  gap: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fdfdfd;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

/* Checkbox Style */
.checkbox-group-simple {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group-simple input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group-simple label {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: #777;
}

.checkbox-group-simple a {
  color: var(--dark-blue);
  text-decoration: underline;
}

/* --- SUBMIT BUTTON --- */
.submit-btn-simple {
  width: 100%;
  background: var(--yellow);
  color: #000;
  border: none;
  padding: 20px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
  margin-top: 10px;
}

.submit-btn-simple:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.3);
}

.contact-trust-footer {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.contact-trust-footer span {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr; /* Sve u jednu kolonu na mobilnom */
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .simple-contact-section {
    padding: 60px 0;
  }

  .submit-btn-simple {
    padding: 18px;
    font-size: 16px;
  }

  .contact-trust-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* --- FOOTER STYLING --- */
.site-footer-premium {
  background-color: var(--dark-blue);
  color: #ffffff;
  padding: 80px 0 0;
  font-family: "Inter", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Macht Logo weiß, falls es dunkel ist */
}

.footer-text {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: #eee;
  font-size: 15px;
}

.footer-contact i {
  color: var(--yellow);
  margin-top: 4px;
}

.footer-contact a {
  color: #eee;
  text-decoration: none;
}

.service-area {
  font-size: 13px;
  color: #999;
  margin-top: 20px;
  line-height: 1.4;
}

.hwk-badge {
  margin-top: 20px;
  padding: 15px;
  border: 1px dashed #555;
  border-radius: 10px;
  display: inline-block;
}

.hwk-badge span {
  display: block;
  font-size: 12px;
  color: #999;
}

.hwk-badge strong {
  font-size: 14px;
  color: #fff;
}

/* --- BOTTOM BAR --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
}

.bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #888;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-footer-premium {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 40px;
  }

  .bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hwk-badge {
    width: 100%;
    box-sizing: border-box;
  }
}

.services-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.services-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.services-hero h1 span {
  color: var(--accent-color);
}

.services-list {
  padding: 40px 20px 80px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 10px 0;
}

/* Card wrapper */
.service-box {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #0b1a2e;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.26s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.service-box img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

/* Title below image */
.service-box h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 12px 14px;
  line-height: 1.3;
}

/* Hover effect */
.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14);
}

.service-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.service-content p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.95;
}

/* hover */
.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(3, 18, 34, 0.14);
}
.service-box:hover img {
  transform: scale(1.06);
}
.service-box:hover .service-overlay {
  background: linear-gradient(
    180deg,
    rgba(6, 24, 40, 0.12),
    rgba(6, 24, 40, 0.36)
  );
}
.service-box:focus-visible {
  outline: 3px solid rgba(212, 191, 72, 0.18);
  outline-offset: 4px;
}

/* SERVICE PAGE TEMPLATE */
.service-page-intro p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.service-main-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.service-long-text.section {
  padding-top: 36px;
}

.service-long-text h2 {
  text-align: left;
  font-size: 32px;
  margin: 0 auto 18px;
  max-width: 900px;
}

.service-long-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--primary);
  max-width: 900px;
  margin: 0 auto 14px;
  text-align: left;
}

.service-cta .cta-box {
  text-align: center;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.service-cta h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.service-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* NEW HERO LAYOUT FOR SERVICE PAGES */
.service-hero-2 {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-left p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 25px;
}

.hero-btn {
  padding: 14px 26px;
  font-size: 16px;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: 85%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  object-fit: cover;
}

@media (max-width: 520px) {
  .service-content {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 12px;
    background: #fff;
    color: var(--primary-900);
    text-shadow: none;
    border-radius: 0 0 12px 12px;
    align-items: flex-start;
    margin-top: -6px;
  }
  .service-box img {
    height: 190px;
  }
  .service-content h3 {
    color: #0a1a2f;
  }
  .service-content p {
    color: var(--muted);
    font-size: 14px;
  }
}

/* =============================== */
/*  MEDIA QUERIES */
/* =============================== */

@media (max-width: 1300px) {
  .menu {
    display: flex;
    font-size: 22px;
    line-height: 1;
    color: var(--primary-900);
    z-index: 1200;
    padding: 6px 10px;
    border-radius: 8px;
  }

  .menu i {
    font-size: 20px;
    color: var(--primary-900);
    display: inline-block;
    vertical-align: middle;
  }

  .nav-inner {
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
    position: relative;
    align-items: center;
    gap: 12px;
  }

  .nav-call-new {
    display: none;
    margin-right: 10px;
  }

  .navbar-new ul {
    display: none;
  }
}

@media (min-width: 993px) {
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 6px;
  }

  .hero-actions a {
    flex: 0 0 240px;
    padding: 14px 18px;
    min-width: 0;
  }

  .primary-btn {
    margin-right: 0 !important;
  }
  .secondary-btn {
    margin-left: 0 !important;
  }
}

@media (max-width: 1199px) and (min-width: 993px) {
  .hero-left h1 {
    font-size: 42px;
    line-height: 1.15;
    max-width: 540px;
  }

  .hero-left p {
    font-size: 17px;
    max-width: 500px;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-actions a {
    flex: 0 0 210px;
    padding: 12px 18px;
  }
}

@media (max-width: 980px) {
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-new {
    height: auto !important;
    padding: 100px 0 90px;
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
  }

  .hero-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    padding: 18px 20px;
  }

  .hero-left h1 {
    font-size: 30px !important;
    line-height: 1.18 !important;
    max-width: 90%;
    margin-bottom: 22px !important;
  }

  .hero-left p {
    max-width: 92%;
    font-size: 15.5px !important;
    margin-bottom: 32px !important;
    line-height: 1.68 !important;
  }

  .hero-actions {
    gap: 18px !important;
    margin-top: 10px !important;
  }

  .hero-actions a {
    width: auto !important;
    min-width: 220px;
    box-sizing: border-box;
  }

  .hero-right {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .floating-btn {
    width: 65px;
    height: 65px;
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .floating-btn {
    width: 65px;
    height: 65px;
    font-size: 30px;
    bottom: 18px;
    right: 18px;
  }

  .menu {
    padding: 8px 12px;
  }
  .menu i {
    font-size: 18px;
  }
  .service-box h3 {
    font-size: 14px;
  }
  .service-box img {
    height: 110px;
  }
  .carousel-container {
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.35s ease;
  }

  .carousel-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-left {
    padding-bottom: 20px;
  }
}
@media (max-width: 992px) {
  .hero-new {
    height: auto;
    padding: 0 0 80px;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
    margin-top: 0 !important;
  }

  .cta-main {
    padding: 12px 26px !important;
  }

  .cta-main::before {
    inset: -6px -10px !important;
    filter: blur(14px) !important;
  }

  header.site-header {
    margin-bottom: 0 !important;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .hero-actions a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 calc(50% - 6px);
    text-align: center;
    padding: 12px 18px;
    min-width: 0;
    white-space: nowrap;
  }

  .primary-btn {
    margin-right: 0 !important;
  }

  .secondary-btn {
    margin-left: 0;
  }

  .hero-right {
    height: 360px;
    width: 100%;
  }
}

@media (max-width: 920px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .values-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-image {
    height: 330px;
    order: -1;
  }
}

@media (max-width: 900px) {
  .intro-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-image {
    height: 330px;
  }
  .intro-title {
    font-size: 36px;
  }
  .split-image {
    height: 340px;
  }
  .projects-section .section-title,
  .projects-section .section-subtitle {
    text-align: center;
  }
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse {
    direction: ltr;
  }
  .split-image {
    height: 340px;
  }
}

@media (max-width: 820px) {
  .navbar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .checkbox-group {
    grid-template-columns: repeat(2, auto);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 26px;
  }
  .contact-info h2 {
    font-size: 34px;
  }

  .hero-new {
    padding: 0 0 60px;
  }

  .hero-left h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero-right {
    height: 260px;
    border-radius: 12px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .projects-section .section-title,
  .projects-section .section-subtitle {
    text-align: center;
  }

  .projects-section .section-title {
    margin-top: 10px;
  }
}

@media (max-width: 540px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
  }

  .hero-new {
    padding: 0 0 60px;
  }

  .brand-small {
    font-size: 20px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .hero-actions a {
    flex: 0 0 100%;
    width: 100%;
    white-space: normal;
  }
}

.mobile-nav.open {
  display: flex;
}

@media (max-width: 420px) {
  .brand {
    font-size: 20px;
  }
  .hero-inner h1 {
    font-size: 30px;
  }
  .prev-btn {
    margin-bottom: 5px;
  }
}
@media (max-width: 390px) {
  .mobile-nav {
    width: 88%;
    right: 12px;
  }
}

.service-hero {
  background: url("../images/service-hero.jpg") center/cover no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
}
.service-title {
  font-size: 42px;
  font-weight: 800;
}
.service-subtitle {
  max-width: 700px;
  margin: 10px auto;
}

.service-intro p {
  max-width: 750px;
  margin: 20px auto;
  font-size: 17px;
  text-align: center;
}

.service-benefits h2,
.service-gallery h2,
.service-process h2 {
  text-align: center;
  margin-bottom: 15px;
}

.benefit-grid,
.gallery-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.benefit-box {
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  text-align: center;
  font-weight: 600;
}

.service-process {
  text-align: center;
}
.service-process ol {
  display: inline-block;
  text-align: left;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.service-cta {
  padding: 30px 20px;
  text-align: center;
}

.service-hero-final {
  height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.hero-wrap {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-right img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.cta-main {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 14px 30px;
  border-radius: 999px;
  background: #004aad;
  color: #fff;
  font-weight: 700;
  transition: 0.3s ease;
  animation: ctaPulse 2.4s infinite ease-in-out;
  max-width: 250px;
  justify-content: center;
}
.cta-main::before {
  content: "";
  position: absolute;
  inset: -14px -22px;
  background: radial-gradient(
    rgba(0, 74, 173, 0.55),
    rgba(0, 75, 173, 0.404),
    rgba(0, 74, 173, 0.15)
  );
  border-radius: 999px;
  filter: blur(30px);
  z-index: -1;
  animation: ctaGlow 3s infinite ease-in-out;
}

@keyframes ctaPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ctaGlow {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.cta-main:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(0, 74, 173, 0.5);
}

/* FIXED ACCORDION */
.accordion-title {
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  text-align: left;
  padding: 14px 0;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding-top: 10px;
}

.accordion-item {
  position: relative;
}
.accordion-title {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding-right: 36px;
  cursor: pointer;
}

.accordion-title::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  pointer-events: none;
  color: var(--muted);
}

.accordion-item.active .accordion-title::after {
  content: "−";
}

/* content animacija */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  z-index: 1;
  padding-left: 0;
  padding-right: 0;
}
.accordion-item.active .accordion-content {
  padding-top: 10px;
}

.service-hero-final .hero-right {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
}

.service-hero-final .hero-right img {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
}

/* =============================== */
/* UNIVERSAL SERVICE PAGE MOBILE 
/* =============================== */

@media (max-width: 780px) {
  .service-hero-final {
    height: auto !important;
    padding: 40px 20px 60px;

    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-wrap {
    flex-direction: column;
    text-align: center;
    gap: 30px !important;
  }

  .hero-left h1 {
    font-size: 32px !important;
  }

  .hero-subtext {
    font-size: 16px;
    max-width: 95%;
    margin: 0 auto 26px auto;
  }

  /* CTA - mobilni */
  .cta-main {
    width: 90%;
    display: block;
    margin: 0 auto;
    padding: 14px 22px !important;
    font-size: 17px !important;
  }

  /* HERO image */
  .hero-right img {
    width: 92%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
  }

  .service-long-text.section {
    padding-top: 20px !important;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 28px !important;
  }

  .cta-main {
    padding: 12px 22px;
    font-size: 15px;
    animation: ctaPulse 2.4s infinite ease-in-out;
  }

  .cta-main::before {
    inset: -8px -10px !important;
    filter: blur(18px);
  }
  .carousel-container {
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.35s ease;
  }

  .carousel-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-left {
    max-height: 450px;
    padding-top: 120px !important;
  }

  .service-hero-final {
    padding: 0px;
  }

  .primary-btn:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .service-hero-final .hero-right {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .service-hero-final .hero-right img {
    display: block !important;
    visibility: visible !important;
    width: 92% !important;
    max-width: 640px !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }

  .service-hero-final .hero-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 22px !important;
  }
}

@media (max-width: 768px) {
  .hero-new {
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center center;
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    padding-top: 0;
    border-radius: 0;
  }

  .hero-new::before {
    border-radius: 0 !important;
  }
  .hero-new h1 {
    color: white;
    z-index: 10;
  }

  .hero-new p {
    color: white;
    z-index: 10;
  }

  .primary-btn {
    color: white;
    z-index: 10;
  }

  .secondary-btn {
    color: white !important;
    background: rgb(161, 154, 154) !important;
    z-index: 10;
  }

  .hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius);
  }

  .hero-right img {
    display: none;
  }
  body {
    padding-top: 0;
  }

  .service-hero-final {
    min-height: calc(100vh - 90px) !important;
  }

  .hero-wrap {
    min-height: 100vh !important;
  }
}

@media (max-width: 780px) {
  .service-hero-final {
    height: 100vh !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
  }

  .service-hero-final .hero-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Fade-in animacija za sekcije ispod hero-a */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  padding-bottom: 120px;
}

/* --- REFERENZEN GRID STYLE --- */
.referenzen-page {
  padding: 80px 0;
  background-color: #ffffff;
}

.referenzen-grid {
  display: grid;
  /* 3 u redu na desktopu */
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.ref-item {
  width: 100%;
}

.ref-img-box {
  width: 100%;
  position: relative;
  /* Ovo osigurava da su sve slike iste visine (Format 4:3) */
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  background-color: #f5f5f5; /* Boja dok se slika učitava */
}

.ref-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* KLJUČNO: Ne dozvoljava slici da se rasteže */
  transition: transform 0.5s ease;
}

/* Hover efekat na sliku */
.ref-img-box:hover img {
  transform: scale(1.1);
}

/* Overlay efekat na slici */
.ref-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 28, 61, 0.4); /* Dark blue sa providnošću */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ref-overlay span {
  color: #fff;
  border: 2px solid var(--yellow);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
}

.ref-img-box:hover .ref-overlay {
  opacity: 1;
}

/* --- MOBILNA VERZIJA --- */
@media (max-width: 992px) {
  .referenzen-grid {
    /* 2 u redu na tabletima */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .referenzen-grid {
    /* 1 u redu na mobilnom - BAŠ KAKO SI TRAŽIO */
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ref-img-box {
    /* Na mobilnom slika može biti malo niža da ne zauzme ceo ekran */
    aspect-ratio: 16 / 10;
  }
}
