/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* =========================
   BASE
========================= */

body {
  font-family: 'Manrope', sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

p {
  font-weight: 400;
}

/* =========================
   CONTAINER
========================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 999 !important;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  height: 64px;
}

/* NAV */

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  position: relative;
}

.main-nav a:hover {
  color: #1f5fa8;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #1f5fa8;
  transition: width .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* =========================
   SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  transition-delay: 0.1s;
}

/* =========================
   HERO
========================= */

.hero {
  padding: 100px 0;
  background: #f5f7fa;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #444;
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
}

/* BUTTON */

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: #1f5fa8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(31,95,168,0.25);
}

/* =========================
   USLUGE
========================= */

.services {
  padding: 120px 0;
  position: relative;
  background: url("Photos/nase_usluge.webp") center/cover no-repeat;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.services .container {
  position: relative;
  z-index: 2;
}

.services h2,
.services .section-intro {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 32px;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.service-card {
  background: rgba(255,255,255,0.92);
  padding: 36px;
  border-radius: 8px;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.services h3,
.clients h3,
.trust h3,
.contact h3 {
  color: #1f5fa8;
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card p {
  line-height: 1.7;
}

/* =========================
   KLIJENTI FINAL CLEAN
========================= */

.clients {
  padding: 120px 0;
  background: #f5f7fa;
  overflow: hidden;
}

.clients h2 {
  margin-bottom: 60px;
}

.clients-slider {
  position: relative;
  width: 100%;
}

.clients-viewport {
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  will-change: transform;
}

.client-logo {
  flex: 0 0 auto;

  width: 220px;
  height: 110px;

  background: #fff;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* BUTTONS */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: #ffffff;
  color: #111;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  font-weight: 700;

  cursor: pointer;

  z-index: 9999;

  box-shadow: 0 8px 20px rgba(0,0,0,0.14);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.slider-btn:hover {
  background: #1f5fa8;
  color: #fff;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

/* =========================
   TRUST
========================= */

.trust {
  padding: 120px 0;
}

.trust h2 {
  margin-bottom: 60px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
}

.trust-item {
  background: #f9fafb;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: .25s ease;
}

.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.trust-number {
  font-size: 32px;
  font-weight: 700;
  color: #1f5fa8;
  margin-bottom: 12px;
}

/* =========================
   KONTAKT
========================= */

.contact {
  padding: 120px 0;
  background: url("Photos/kontakt2.webp") center/cover no-repeat;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  margin-bottom: 32px;
}

.contact-details {
  list-style: none;
  margin-top: 24px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
}

.contact-details .icon {
  width: 20px;
  height: 20px;
  color: #1f5fa8;
  flex-shrink: 0;
}

.contact-details .icon svg {
  width: 100%;
  height: 100%;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1f5fa8;
  box-shadow: 0 0 0 3px rgba(31,95,168,0.15);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 6px;
  color: #065f46;
  font-size: 14px;
}

/* =========================
   NEWS
========================= */

.news-hero {
  padding: 120px 0 60px;
  background-color: #f5f7fa;
  text-align: center;
}

.news-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
  color: #1f5fa8;
}

.news-hero p {
  font-size: 18px;
  color: #555;
}

.news-section {
  padding: 60px 0 120px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  box-shadow: 0 6px 20px rgba(0,0,0,0.05);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-content {
  padding: 24px;
}

.news-meta {
  font-size: 13px;
  color: #1f5fa8;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.news-content p {
  font-size: 14px;
  color: #555;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
}

.footer-grid {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.site-footer ul {
  list-style: none;
}

.site-footer a {
  text-decoration: none;
  color: #cbd5f5;
}

.site-footer a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  font-size: 13px;
  color: #94a3b8;
}

/* =========================
   HAMBURGER
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #1f5fa8;
  border-radius: 2px;
  transition: .3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    background: #fff;

    flex-direction: column;
    align-items: center;

    gap: 20px;

    padding: 32px 0;

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition: .3s ease;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero-grid,
  .services-grid,
  .trust-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  .services-grid {
    gap: 20px;
  }

  .trust-grid {
    gap: 20px;
  }

  .contact-grid {
    gap: 40px;
  }

  .footer-grid {
    gap: 40px;
  }
}

/* =========================
   MOBILE CLIENTS
========================= */

@media (max-width: 768px) {

  .clients {
    padding: 90px 0;
  }

  .clients h2 {
    margin-bottom: 40px;
  }

  .clients-track {
    gap: 18px;
  }

  .client-logo {
    width: 170px;
    height: 90px;
    padding: 14px;
  }

  .client-logo img {
    max-height: 42px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .slider-btn.prev {
    left: 6px;
  }

  .slider-btn.next {
    right: 6px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    padding-left: 15px;
    padding-right: 15px;
  }
}
/* ========================================
   FOOTER FIX
======================================== */

.site-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-certificates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-certificates img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* ========================================
   CONTACT FORM FIX
======================================== */

.contact-form {
  position: relative;
  z-index: 2;
}

.honeypot {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ========================================
   MOBILE FOOTER FIX
======================================== */

@media (max-width: 900px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-certificates {
    justify-content: flex-start;
  }

}