/* ====== Brand palette (centralizovano) ====== */
:root{
  --blue: #244B9D;          /* primarna plava */
  --blue-hover: #1a3670;    /* tamnija plava za hover/gradijente */
  --blue-alt: #0056b3;      /* sekundarna nijansa (opc.) */
  --gold: #f0c418;          /* primarna žuta */
  --gold-hover: #d9ab00;    /* tamnija žuta za hover */
  --text-dark: #333;
  --white: #fff;
}

/* Pregazi Bootstrap primary */
:root {
  --bs-primary: var(--blue);
  --bs-primary-rgb: 36,75,157;
}
.text-primary { color: var(--blue) !important; }
.bg-primary { background-color: var(--blue) !important; }
.btn-primary {
  background-color: var(--blue) !important;
  border-color: var(--blue) !important;
}
.btn-primary:hover {
  background-color: var(--blue-hover) !important;
  border-color: var(--blue-hover) !important;
}

/* ========== Global ========== */
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: auto;
}
main { flex: 1; }

/* HERO sekcija */
.hero-section {
  position: relative;
  height: 100vh;
  background: url('sliderhero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-section::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6); /* tamnija pozadina */
  z-index: 1;
}

.hero-logo-container {
  position: absolute; top: 20px; left: 30px; z-index: 3;
}
.hero-logo { height: 80px; width: auto; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-kicker {
  display:inline-block;
  font-size:1.3rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  background: transparent;
  color: var(--gold);
  padding:8px 14px;
  border: 2px solid var(--gold);
  border-radius:999px;
  margin-bottom:14px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  cursor: default;
}
.hero-kicker:hover {
  transform: scale(1.05);
  background: var(--gold);
  color: var(--blue);
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(240,196,24,0.4);
}


.hero-title {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height:1.2;
  margin: 10px 0 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-title::after {
  content:"";
  display:block;
  width:88px; height:4px;
  background: #f0c418; /* zlatna linija */
  border-radius:3px;
  margin:16px auto 0;
}

.hero-subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  color: #f0f0f0;
  opacity:.95;
  margin: 18px auto 26px;
}

.hero-cta {
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn-ghost {
  border:2px solid #f0c418;
  color:#fff;
  padding: 10px 28px;
  border-radius:50px;
  text-transform:uppercase;
  font-weight:600;
  transition:.25s ease;
  background: transparent;
}
.btn-ghost:hover {
  background: #f0c418;
  color:#000;
  transform: translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}

/* Trust badges u hero sekciji */
.hero-trust-badges {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.trust-item i {
  color: var(--gold);
  font-size: 1.4rem;
}

/* Scroll dugme */
.scroll-cue {
  position:absolute;
  left:50%; bottom:26px;
  transform: translateX(-50%);
  z-index:2;
  width:42px; height:42px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.7);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  opacity:.9;
  transition: all .2s ease;
}
.scroll-cue:hover {
  transform: translateX(-50%) translateY(-3px);
  opacity:1; border-color: #f0c418;
}
.scroll-cue i {
  font-size:18px; animation: bob 1.6s infinite;
}
@keyframes bob {
  0%,100%{ transform: translateY(-1px);}
  50%{ transform: translateY(3px);}
}

/* Smooth scroll i offset */
html { scroll-behavior: smooth; }
#leistungen { scroll-margin-top: 100px; }

@media (max-width:768px) {
  .hero-logo { height: 60px; }
  .hero-content { padding: 0 16px; }
  
  .hero-trust-badges {
    gap: 20px;
    margin-top: 30px;
  }
  
  .trust-item {
    font-size: 0.85rem;
  }
}

/* ========== Buttons ========== */
.btn-custom {
  background: linear-gradient(135deg, var(--blue), var(--blue-hover));
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  padding: 12px 36px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: #000;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ========== Leistungen (cards) ========== */
.leistungen-section { background:#f8f9fa; padding:60px 0; }
.leistungen-card {
  position: relative; overflow: hidden; border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease, border .3s ease;
  border: 5px solid transparent;
}
.leistungen-card:hover { transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0,0,0,.2); border-color:var(--gold); }
.leistungen-image-container { position: relative; }
.leistungen-image { width:100%; height:auto; border-radius:20px; transition: transform .5s ease; }
.leistungen-card:hover .leistungen-image { transform: scale(1.1); }
.leistungen-title {
  position:absolute; bottom:20px; left:20px; color:var(--white); font-size:1.5rem; font-weight:bold;
  text-shadow: 2px 2px 10px rgba(0,0,0,.7); z-index:2;
}
.leistungen-overlay {
  position:absolute; inset:0; background:rgba(0,0,0,.6);
  display:flex; justify-content:center; align-items:center; flex-direction:column;
  opacity:0; transition:opacity .5s ease; z-index:3;
}
.leistungen-card:hover .leistungen-overlay { opacity:1; }
.leistungen-overlay-content { text-align:center; color:var(--white); }

/* ========== About Section - OČIŠĆEN I POPRAVLJEN ========== */
.about-section { 
  background: #f8f9fa; 
}

/* About image kontejner */
.about-image {
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0,0,0,.2);
  overflow: hidden;
  display: block; /* Jednostavno, bez !important */
}

/* About slika unutar kontejnera */
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobilni responsive za About sekciju */
@media (max-width: 768px) {
  .about-image { 
    height: 280px; 
  }
}

/* More info tekst */
.more-info { 
  font-size: 1rem; 
  line-height: 1.6; 
  color: var(--text-dark); 
}

.load-more { 
  cursor: pointer; 
  transition: background-color .2s ease; 
}

.load-more:hover { 
  background-color: var(--blue); 
  color: var(--white); 
}

/* ========== Statistics ========== */
.statistics-section { background:var(--blue); color:var(--white); padding:60px 0; }
.stat-box {
  background:var(--white); color:var(--blue); border-radius:10px; padding:30px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1); transition: transform .3s ease, box-shadow .3s ease;
  text-align:center;
}
.stat-box:hover { transform: translateY(-10px); box-shadow: 0 8px 16px rgba(0,0,0,.2); }
.stat-box h3 { font-size:3rem; font-weight:bold; margin-bottom:10px; }
.stat-box p { font-size:1.25rem; margin:0; color:var(--text-dark); }

/* ========== Timeline ========== */
.timeline { list-style:none; padding:0; position:relative; }
.timeline::before { content:''; position:absolute; top:0; bottom:0; left:50%; width:2px; background:#ddd; }
.timeline > li { position:relative; margin-bottom:50px; }
.timeline-badge {
  background: var(--blue);
  color: var(--white);
  border: 3px solid transparent;
  width:50px; height:50px; line-height:50px; font-size:1.5rem;
  border-radius:50%; position:absolute; left:50%; transform:translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.timeline-badge i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.timeline-badge:hover {
  background: var(--gold);
  color: var(--blue);
  border-color: var(--blue);
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.timeline-badge:hover i {
  color: var(--blue);
  transform: scale(1.2);
}
.timeline-panel {
  position:relative; width:45%; background:var(--white); padding:20px; border:1px solid #ddd;
  border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.1); transition: transform .3s ease;
}
.timeline-panel:hover { transform: translateY(-10px); }
.timeline > li:nth-child(odd) .timeline-panel { left:0; }
.timeline > li:nth-child(even) .timeline-panel { left:55%; }


/* ========== POPRAVLJENA Dual Image Section ========== */
.dual-image-section { 
  position: relative; 
}

.dual-image-section .image-container {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMG tag umesto background-image - MNOGO pouzdaniji na mobilnom! */
.dual-image-section .dual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Overlay preko slike */
.dual-image-section .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 1;
  transition: background-color .3s ease;
}

.dual-image-section .image-container:hover .overlay {
  background-color: rgba(0,0,0,0.8);
}

/* Tekst preko svega */
.dual-image-section .image-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.dual-image-section .image-text h2 { 
  font-size: 2.5rem; 
  font-weight: bold; 
  margin-bottom: 10px; 
}

.dual-image-section .image-text p { 
  font-size: 1.2rem; 
}

/* Zlatna linija animacija */
.dual-image-section .image-text::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
  transition: width .3s ease;
}

.dual-image-section .image-container:hover .image-text::after {
  width: 50%;
}

/* MOBILNI RESPONSIVE - ključno! */
@media (max-width: 768px) {
  .dual-image-section .image-container {
    height: 320px; /* Manja visina na mobilnom */
  }
  
  .dual-image-section .image-text h2 {
    font-size: 1.8rem;
  }
  
  .dual-image-section .image-text p {
    font-size: 1rem;
  }
  
  /* Osiguraj da se slika prikaže na mobilnom */
  .dual-image-section .dual-image {
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Extra mali ekrani */
@media (max-width: 480px) {
  .dual-image-section .image-container {
    height: 280px;
  }
  
  .dual-image-section .image-text h2 {
    font-size: 1.5rem;
  }
  
  .dual-image-section .image-text p {
    font-size: 0.9rem;
  }
}







/* Before/After Section Wrapper */
.before-after-section-wrapper {
  background: #f8f9fa;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dark);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* POPRAVLJEN CSS za Before/After Slider */

.before-after-container {
  position: relative;
  width: 49%;
  height: 300px;
  margin: 0;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  
  /* KLJUČNO za mobilne uređaje */
  touch-action: pan-y; /* Dozvoli vertikalni scroll, spreči horizontalni */
  user-select: none;   /* Spreči selekciju teksta */
  -webkit-user-select: none;
  -webkit-touch-callout: none; /* iOS specifično */
}

.img-before, 
.img-after img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none; /* Važno - spreči image drag */
}

.img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: none; /* Ukloni transition za smooth drag */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.95);
  border: 3px solid var(--gold);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: ew-resize;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
  
  /* Mobilni specifični stilovi */
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.slider-arrow:hover {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.slider-arrow i {
  color: var(--blue);
  font-size: 22px;
  transition: color 0.2s ease;
  pointer-events: none;
}

.slider-arrow:hover i {
  color: var(--white);
}

.label-before, 
.label-after {
  position: absolute;
  top: 15px;
  color: var(--white);
  padding: 8px 12px;
  background: rgba(0,0,0,0.8);
  border-radius: 20px;
  font-size: 14px;
  z-index: 5;
  font-weight: 600;
  pointer-events: none;
  
  /* Mobilni optimizacija */
  -webkit-user-select: none;
  user-select: none;
}

.label-before {
  left: 15px;
}

.label-after {
  right: 15px;
}

/* Mobilni responsive */
@media (max-width: 768px) {
  .before-after-container {
    width: 100%;
    margin-bottom: 20px;
    height: 250px; /* Smanji visinu za mobile */
  }
  
  .slider-arrow {
    width: 50px;
    height: 50px;
  }
  
  .slider-arrow i {
    font-size: 18px;
  }
  
  .label-before,
  .label-after {
    font-size: 12px;
    padding: 6px 10px;
    top: 10px;
  }
  
  .label-before {
    left: 10px;
  }
  
  .label-after {
    right: 10px;
  }
}

/* Dodatne mobilne optimizacije */
@media (max-width: 480px) {
  .before-after-container {
    height: 220px;
  }
  
  .slider-arrow {
    width: 45px;
    height: 45px;
  }
}



 
/* ========== Contact ========== */
.contact-section { background:#f8f9fa; padding:60px 0; }
.contact-image {
  background-size:cover; background-position:center; height:100%; min-height:400px;
  border-radius:10px; box-shadow:0 15px 25px rgba(0,0,0,.2);
}
.contact-section h2 { font-size:2.5rem; margin-bottom:20px; }
.contact-section p { font-size:1.1rem; margin-bottom:30px; }
.form-label { font-weight:bold; }
.form-control { border-radius:5px; border:1px solid #ccc; padding:10px; }
@media (max-width:992px){ .contact-image { height:300px; } }

/* ========== Footer ========== */
.footer-section { background:var(--blue); color:var(--white); }
.footer-section h5 { color:var(--gold); margin-bottom:20px; }
.footer-link { color:var(--white); text-decoration:none; transition: color .3s ease; }
.footer-link:hover { color:var(--gold); }
.social-icons a { color:var(--white); transition: color .3s ease; }
.social-icons a:hover { color:var(--gold); }
.footer-section .row.mt-4 { justify-content:center; }
.footer-section p { text-align:center; margin:0; font-size:14px; color:#f0f0f0; }

/* ========== Back to top ========== */
.back-to-top {
  display:flex; justify-content:center; align-items:center;
  width:50px; height:50px; border-radius:50%;
  background:var(--gold); color:var(--white); text-decoration:none; font-size:1.5rem;
  position:fixed; bottom:70px; right:30px; z-index:1000; opacity:.7;
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top:hover { opacity:1; transform: scale(1.1); }

/* ========== Preloader & Popup ========== */
#preloader {
  position:fixed; inset:0; background:var(--white);
  display:flex; justify-content:center; align-items:center; z-index:9999;
  animation: pulse 1.5s infinite;
}
#preloader img { width:150px; height:auto; }
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.popup-container {
  display:none; position:fixed; inset:0; background:rgba(0,0,0,.7);
  justify-content:center; align-items:center; z-index:1000;
}
.popup {
  background:var(--white); padding:30px; width:90%; max-width:500px; text-align:center;
  border-radius:10px; position:relative;
}
.popup h2 { margin-top:0; font-size:1.5rem; }
.popup p { font-size:1rem; color:#555; margin:20px 0; }
.popup-close {
  position:absolute; top:10px; right:15px; font-size:1.5rem; color:#333; cursor:pointer;
}
.popup button {
  padding:10px 20px; background:var(--blue); color:var(--white); border:none; border-radius:5px; cursor:pointer; font-size:1rem;
}
.popup button:hover { background:var(--blue-hover); }

/* ========== Leistungen Minimal ========== */
.leistungen-minimal { background:var(--white); }
.section-title {
  font-weight:700;
  color:var(--blue);
}
.section-underline {
  display:inline-block;
  width:80px; height:4px;
  background:var(--gold);
  border-radius:3px;
  margin-top:8px;
}
.leistung-item {
  text-align:center;
  transition: transform .3s ease;
}
.leistung-item p {
  margin-top:12px;
  font-weight:600;
  font-size:1rem;
  color:var(--text-dark);
}
.icon-circle {
  width:80px; height:80px;
  border-radius:50%;
  background:var(--blue);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto;
  transition:all .3s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.icon-circle i {
  font-size:1.8rem;
  color:var(--white);
  transition:transform .3s ease, color .3s ease;
}
.leistung-item:hover { transform:translateY(-6px); }
.leistung-item:hover .icon-circle { background:var(--gold); }
.leistung-item:hover i { color:var(--blue); transform:scale(1.15); }



.contact-info {
  padding: 20px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0,0,0,.2);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid #ddd;
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,.2);
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-item:hover .contact-icon {
  background: var(--gold);
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.contact-icon i {
  font-size: 1.8rem;
  color: var(--white);
  transition: transform .3s ease, color .3s ease;
}

.contact-item:hover .contact-icon i {
  color: var(--blue);
  transform: scale(1.2);
}

.contact-details h5 {
  margin: 0 0 8px 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.25rem;
}

.contact-details p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.6;
}



/* Contact Form Modern Styles */
.contact-intro {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-form-modern {
  position: relative;
}

/* Input Group Styling */
.input-group-modern {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group-modern.textarea-group {
  margin-bottom: 2rem;
}

/* Input Icon */
.input-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 3;
  color: #adb5bd;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.textarea-group .input-icon {
  top: 25px;
  transform: none;
}

/* Form Input */
.form-input {
  width: 100%;
  background: var(--white);
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 18px 20px 18px 55px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 18px;
  line-height: 1.6;
}

/* Focus States */
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 
    0 0 0 4px rgba(36, 75, 157, 0.1),
    0 8px 25px rgba(36, 75, 157, 0.15);
  transform: translateY(-2px);
}

.form-input:focus + .form-label-float {
  top: -10px;
  left: 15px;
  font-size: 0.85rem;
  color: var(--blue);
  background: var(--white);
  padding: 0 8px;
}

.form-input:focus ~ .input-icon {
  color: var(--blue);
  transform: translateY(-50%) scale(1.1);
}

.textarea-group .form-input:focus ~ .input-icon {
  color: var(--blue);
  transform: scale(1.1);
}

/* Valid States */
.form-input:not(:placeholder-shown):valid {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, #fefdf8 100%);
}

.form-input:not(:placeholder-shown):valid + .form-label-float {
  top: -10px;
  left: 15px;
  font-size: 0.85rem;
  color: var(--gold);
  background: var(--white);
  padding: 0 8px;
}

.form-input:not(:placeholder-shown):valid ~ .input-icon {
  color: var(--gold);
}

/* Floating Label */
.form-label-float {
  position: absolute;
  top: 50%;
  left: 55px;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 3;
}

.textarea-group .form-label-float {
  top: 25px;
  transform: none;
}

/* Focus Border Animation */
.input-focus-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  z-index: 1;
}

.form-input:focus ~ .input-focus-border {
  width: calc(100% - 4px);
}

/* Submit Button */
.submit-btn {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-hover) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 16px 50px 16px 60px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 25px rgba(36, 75, 157, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: var(--blue);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(240, 196, 24, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.submit-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Button Icon */
.btn-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateY(-50%) rotate(15deg) scale(1.1);
}

/* Button Text */
.btn-text {
  position: relative;
  z-index: 2;
}

/* Wave Effect */
.btn-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 1;
}

.submit-btn:active .btn-wave {
  width: 300px;
  height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-input {
    padding: 16px 18px 16px 50px;
  }
  
  .input-icon {
    left: 18px;
    font-size: 1rem;
  }
  
  .form-label-float {
    left: 50px;
    font-size: 0.95rem;
  }
  
  .submit-btn {
    width: 100%;
    padding: 14px 40px 14px 50px;
  }
  
  .contact-form-modern {
    padding: 0;
  }
}

/* Placeholder hack for floating labels */
.form-input::placeholder {
  color: transparent;
}

.form-input:not(:placeholder-shown) + .form-label-float,
.form-input:focus + .form-label-float {
  top: -10px;
  left: 15px;
  font-size: 0.85rem;
  background: var(--white);
  padding: 0 8px;
}

.textarea-group .form-input:not(:placeholder-shown) + .form-label-float,
.textarea-group .form-input:focus + .form-label-float {
  top: -10px;
  left: 15px;
}

/* Enhanced Visual Effects */
.input-group-modern:hover .form-input:not(:focus) {
  border-color: #ced4da;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.input-group-modern:hover .input-icon {
  color: var(--blue);
}

/* Form Validation Styles */
.form-input:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
  background: linear-gradient(135deg, var(--white) 0%, #fdf2f2 100%);
}

.form-input:invalid:not(:placeholder-shown) + .form-label-float {
  color: #dc3545;
}

.form-input:invalid:not(:placeholder-shown) ~ .input-icon {
  color: #dc3545;
}



.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30'
   xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29'
   stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4
   15h22M4 23h22'/%3E%3C/svg%3E");
}




/* ========== MOBILE FIXES & IMPROVEMENTS ========== */

/* Hamburger Menu Fix */
.navbar-toggler {
  display: block;
  border: 2px solid var(--blue);
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(36,75,157,.3);
  border-color: var(--blue);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23244B9D' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
}






/* Mobile Menu Styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    margin: 0;
    color: var(--blue) !important;
    font-weight: 600;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--gold) !important;
    background: #f8f9fa;
    padding-left: 10px;
  }
  
  .btn {
    margin-top: 15px;
    text-align: center;
    display: block;
  }
}

/* Fix Section Titles Consistency */
.section-title {
  font-weight: 700;
  color: var(--blue) !important;
  margin-bottom: 10px;
}

.section-title.text-white {
  color: var(--white) !important;
}

.section-underline {
  display: inline-block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  border-radius: 3px;
  margin-top: 8px;
}



/* Ensure Contact Info Shows Icons, Not Images */
.contact-section .contact-image,
.contact-section .about-image {
  display: none !important; /* Sakrijemo slike u kontakt sekciji */
}

.contact-info {
  display: block !important;
  padding: 20px 0;
}

.contact-item {
  display: flex !important;
  align-items: center;
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0,0,0,.2);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid #ddd;
  margin-bottom: 1.5rem;
}

/* Force New Contact Form Styles */
.contact-form-modern {
  display: block !important;
}

.input-group-modern {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  background: var(--white) !important;
  border: 2px solid #e9ecef !important;
  border-radius: 15px !important;
  padding: 18px 20px 18px 55px !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

.submit-btn {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-hover) 100%) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 16px 50px 16px 60px !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 220px;
}

/* Hide Old Form Elements */
.form-control:not(.form-input) {
  display: none !important;
}

.form-label:not(.form-label-float) {
  display: none !important;
}

/* Timeline Fix */
.timeline-section .row {
  display: flex;
  justify-content: center;
}

/* Before/After Section Title Fix */
.before-after-section-wrapper .section-title {
  color: var(--blue) !important;
}

/* Statistics Section Title Fix */
.statistics-section .section-title {
  color: var(--white) !important;
}

/* About Section Title Fix */
.about-section .section-title {
  color: var(--blue) !important;
}

/* Contact Section Title Fix */
.contact-section .section-title {
  color: var(--blue) !important;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }
  
  .contact-item {
    padding: 20px;
    text-align: left;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    flex-shrink: 0;
  }
  
  .dual-image-section .image-text h2 {
    font-size: 1.8rem;
  }
  
  .dual-image-section .image-text p {
    font-size: 1rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-badge {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .timeline-panel {
    width: calc(100% - 80px);
    left: 80px !important;
  }
}

/* Force Override for Contact Form Display */
.contact-section .col-lg-6:last-child form:not(.contact-form-modern) {
  display: none !important;
}

.contact-section .contact-form-modern {
  display: block !important;
}


@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }








/* ===== TIMELINE MOBILE: CENTERED, SINGLE-COLUMN ===== */
@media (max-width: 768px) {

  /* malo unutrašnjeg prostora da kartice imaju vazduha */
  .timeline-section .container { padding-left: 16px !important; padding-right: 16px !important; }

  .timeline {
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* centralna linija u sredini */
  .timeline::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important; bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 3px !important;
    background: linear-gradient(to bottom, var(--blue), var(--gold)) !important;
    border-radius: 2px !important;
    opacity: .35 !important;
  }

  /* svaki item ima vertikalni razmak i prostor za badge iznad panela */
  .timeline > li {
    position: relative !important;
    list-style: none !important;
    margin: 0 0 32px 0 !important;
    padding-top: 36px !important;
  }

  /* BADGE U SREDINI */
  .timeline-badge {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, 0) !important;
    width: 46px !important; height: 46px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: var(--blue) !important; color: #fff !important;
    border: 3px solid #fff !important; border-radius: 50% !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.15) !important;
    z-index: 2 !important;
  }

  /* PANEL: širok i centriran */
  .timeline-panel {
    position: relative !important;
    left: auto !important;                 /* ukini desktop offset */
    width: 100% !important;
    max-width: 680px !important;           /* „veća širina" na mobilnom */
    margin: 0 auto !important;             /* centriraj */
    padding: 18px 16px !important;
    border: 1px solid #e9ecef !important;
    border-left: 4px solid var(--gold) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.08) !important;
  }

  /* tipografija za čitljivost */
  .timeline-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    color: var(--blue) !important;
    margin: 0 0 8px 0 !important;
    font-weight: 700 !important;
    text-align: left !important;
  }
  .timeline-body p {
    font-size: .98rem !important;
    line-height: 1.6 !important;
    color: #444 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  /* ukini naizmenični desktop raspored */
  .timeline > li:nth-child(odd) .timeline-panel,
  .timeline > li:nth-child(even) .timeline-panel {
    left: auto !important;
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
  }
}

/* ekstra mali ekrani – mrvu kompaktnije */
@media (max-width: 480px) {
  .timeline-badge { width: 40px !important; height: 40px !important; }
  .timeline-panel { max-width: 640px !important; padding: 16px 14px !important; }
  .timeline-title { font-size: 1.08rem !important; }
  .timeline-body p { font-size: .95rem !important; }
}





/* ========== PRESS/MEDIA SECTION ========== */
.press-section {
  background: #f8f9fa;
}

.press-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.press-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.press-card-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-hover));
  padding: 25px 20px;
  text-align: center;
  position: relative;
}

.press-icon {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  transition: all 0.3s ease;
}

.press-card:hover .press-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

.press-icon i {
  font-size: 2rem;
  color: var(--blue);
  transition: color 0.3s ease;
}

.press-card:hover .press-icon i {
  color: var(--gold);
}

.press-card-header h5 {
  color: var(--white);
  font-weight: 700;
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-card-body {
  padding: 25px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.press-card-body h4 {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.press-card:hover .press-card-body h4 {
  color: var(--gold);
}

.press-card-body p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.press-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.press-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.press-link:hover {
  color: var(--blue);
  gap: 12px;
}

.press-link:hover i {
  transform: translateX(3px);
}

/* Mobile responsive za Press sekciju */
@media (max-width: 768px) {
  .press-card {
    margin-bottom: 20px;
  }
  
  .press-card-body h4 {
    font-size: 1.1rem;
  }
  
  .press-icon {
    width: 60px;
    height: 60px;
  }
  
  .press-icon i {
    font-size: 1.6rem;
  }
  
  .press-card-header {
    padding: 20px 15px;
  }
  
  .press-card-body {
    padding: 20px 15px;
  }
}

/* Accessibility za Press kartice */
.press-card:focus-within {
  outline: 3px solid rgba(36, 75, 157, 0.5);
  outline-offset: 2px;
}

.press-link:focus {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}
/* ═══════════════════════════════════════════
   COOKIE BANNER – MODERN
   ═══════════════════════════════════════════ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  animation: cookieFadeIn 0.4s ease;
}

.cookie-overlay.cookie-closing {
  animation: cookieFadeOut 0.4s ease forwards;
}

@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cookieFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.cookie-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-closing .cookie-card {
  animation: cookieSlideDown 0.4s ease forwards;
}

@keyframes cookieSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cookieSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(40px); opacity: 0; }
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.cookie-emoji {
  font-size: 2rem;
  line-height: 1;
}

.cookie-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.cookie-desc {
  font-size: .9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cookie-desc strong {
  color: #333;
}

/* Cookie Details / Categories */
.cookie-details {
  margin-bottom: 1.25rem;
  animation: fadeIn .3s ease;
}

.cookie-category {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: .5rem;
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .4rem;
}

.cookie-cat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cookie-cat-header div {
  flex: 1;
}

.cookie-cat-header strong {
  display: block;
  font-size: .9rem;
  color: var(--blue);
}

.cookie-cat-header small {
  color: #999;
  font-size: .75rem;
}

.cookie-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
  flex-shrink: 0;
}

.cookie-badge-on {
  background: #d4edda;
  color: #155724;
}

.cookie-badge-off {
  background: #e9ecef;
  color: #999;
}

.cookie-category p {
  font-size: .8rem;
  color: #777;
  margin: 0;
  line-height: 1.5;
}

/* Cookie Buttons */
.cookie-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cookie-btn-primary {
  flex: 1;
  min-width: 160px;
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--blue);
  border: none;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.cookie-btn-primary:hover {
  background: #b8903e;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(200, 160, 78, .4);
}

.cookie-btn-primary i {
  margin-right: .4rem;
}

.cookie-btn-secondary {
  padding: .75rem 1.25rem;
  background: #f0f1f3;
  color: #555;
  border: none;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.cookie-btn-secondary:hover {
  background: #e0e2e5;
}

.cookie-btn-link {
  width: 100%;
  padding: .5rem;
  background: none;
  border: none;
  color: #999;
  font-size: .8rem;
  cursor: pointer;
  transition: color .2s;
}

.cookie-btn-link:hover {
  color: var(--gold);
}

.cookie-btn-link i {
  margin-right: .3rem;
}

.cookie-footer-link {
  text-align: center;
  font-size: .75rem;
  color: #bbb;
}

.cookie-footer-link a {
  color: #999;
  text-decoration: none;
  transition: color .2s;
}

.cookie-footer-link a:hover {
  color: var(--gold);
}

@media (max-width: 576px) {
  .cookie-card { padding: 1.5rem; border-radius: 16px 16px 0 0; }
  .cookie-overlay { padding: 0; align-items: flex-end; }
  .cookie-actions { flex-direction: column; }
  .cookie-btn-primary, .cookie-btn-secondary { width: 100%; }
}

/* ═══════════════════════════════════════════
   DSGVO CHECKBOX
   ═══════════════════════════════════════════ */
.dsgvo-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .9rem;
  color: #666;
  line-height: 1.5;
  position: relative;
  padding-left: 0;
}

.dsgvo-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dsgvo-check .checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #ccc;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  margin-top: 1px;
}

.dsgvo-check input:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.dsgvo-check input:checked + .checkmark::after {
  content: '✓';
  color: var(--blue);
  font-size: .85rem;
  font-weight: 700;
}

.dsgvo-check .dsgvo-text a {
  color: var(--gold);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   FORM STATUS MESSAGES
   ═══════════════════════════════════════════ */
.form-status {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .95rem;
  text-align: center;
  animation: fadeIn .3s ease;
}

.form-status i {
  margin-right: .5rem;
}

.form-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
