/* ========================================================================== */
/* DEO 1/6 — BASE + GLOBAL + FIXES                                             */
/*  - Reset + osnovna tipografija                                              */
/*  - Jedinstveni base za a/button                                             */
/*  - FIX: page-content overflow (dropdown se ne seče)                         */
/*  - FIX: stabilan dropdown hover (ne nestaje pre klika)                      */
/* ========================================================================== */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Base body */
body {
  font-family: 'Jost', sans-serif;
  color: #333;
  background: #fff;
  font-size: 16px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 { color: #333; }

/* Links */
a { transition: all 0.4s ease; text-decoration: none; }
a:hover { text-decoration: none; }

/* Generic button helper (tvoj custom) */
.btn-arf {
  background: #e00445;
  border: 0;
  transition: background 0.3s ease;
}
.btn-arf:hover { background: #333; }

/* Modal (global override) */
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #8ca2ff94 !important;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
}

/* ========================================================= */
/* FIX 1: .page-content nikad ne sme da seče dropdown         */
/* (ti si imao i overflow:hidden i overflow:visible u duplom) */
/* ========================================================= */
.page-content {
  overflow: visible !important;
}

/* ========================================================= */
/* FIX 2: Dropdown hover stabilan na desktopu                 */
/* - Bootstrap 4 default: dropdown-menu je display:none       */
/* - Mi ga otvaramo na hover + uklanjamo "rupu" ispod linka   */
/* ========================================================= */
.main-nav,
.main-nav .navbar,
.main-nav .navbar-nav { overflow: visible !important; }

@media (min-width: 992px) {

  /* parent dropdown mora biti relativan */
  .main-nav .navbar-nav .dropdown { position: relative; }

  /* "hover bridge" (sprečava da se hover prekine između linka i menija) */
  .main-nav .navbar-nav .dropdown::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 12px;        /* po potrebi 14px */
    background: transparent;
  }

  /* dropdown menu: sakriven opacity-jem, ali postoji u DOM-u */
  .main-nav .navbar-nav .dropdown-menu {
    display: block !important;      /* override bootstrap display:none */
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;

    margin-top: 0 !important;       /* margin pravi "rupu" */
    top: 100% !important;
    left: 0 !important;

    z-index: 99999 !important;
    position: absolute !important;
  }

  /* otvoreno dok si na parentu */
  .main-nav .navbar-nav .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* otvoreno dok si na meniju */
  .main-nav .navbar-nav .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
/* ========================================================================== */
/* DEO 2/6 — TOP BAR + MAIN NAV + MOBILE NAV                                   */
/*  - Top bar (gornja traka)                                                   */
/*  - Main nav (desktop)                                                      */
/*  - Mobile nav (meanmenu styling)                                            */
/* ========================================================================== */

/* ========================= TOP BAR ========================= */
.top {
  position: relative !important; /* nije fixed */
  height: auto !important;
  background-color: rgba(0, 0, 139, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ecf0f1 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  padding: 10px 20px !important;
  

  border-radius: 0 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  z-index: 1000 !important;
}

.top ul.top-left,
.top ul.top-right {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* list items */
.top ul.top-left li,
.top ul.top-right li {
  list-style: none !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}

/* left li “badge style” */
.top ul.top-left li {
  margin-top: 0px; /* imao si ovo na dnu fajla */
  padding: 8px 12px !important;

  border: 1px solid rgba(236, 240, 241, 0.2) !important;
  border-radius: 5px !important;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  color: #ecf0f1 !important;
}

/* links */
.top ul.top-left li a,
.top ul.top-right li a {
  color: #ecf0f1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

/* right links “button style” */
.top ul.top-right li a {
  border: 1px solid rgba(236, 240, 241, 0.2) !important;
  border-radius: 5px !important;
  padding: 8px 12px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

.top ul.top-left li a:hover,
.top ul.top-right li a:hover {
  color: #8e44ad !important;
}

/* currency/language select */
.top ul.top-right select {
  background: transparent !important;
  color: #ecf0f1 !important;
  border: 1px solid rgba(236, 240, 241, 0.2) !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  padding: 5px 10px !important;

  appearance: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  transition: color 0.3s ease !important;
}
.top ul.top-right select:hover { color: #8e44ad !important; }
.top ul.top-right select option { color: #000 !important; }

/* responsive: tablet */
@media (max-width: 991px) {
  .top { flex-direction: column !important; padding: 15px !important; }
  .top ul.top-left,
  .top ul.top-right {
    justify-content: center !important;
    margin-bottom: 0px !important;
  }
}

/* hide on mobile */
@media (max-width: 767px) {
  .top { display: none !important; }
}


/* ========================= MAIN NAV (DESKTOP) ========================= */
/* container */
.main-nav {
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;

  background-color: rgba(0, 0, 139, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 0 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  z-index: 1000 !important;
}

/* make navbar flex */
.main-nav .navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
}

/* logo */
.main-nav .navbar-brand { padding-left: 15px !important; }
.main-nav .navbar-brand img { height: 70px !important; width: auto !important; }

/* nav list */
.main-nav .navbar-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-around !important;
  margin-right: 15px !important;
}

/* nav items */
.main-nav .navbar-nav .nav-item {
  flex: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.main-nav .navbar-nav .nav-item > a {
  color: #ecf0f1 !important;
  font-weight: 600 !important;
  text-transform: none !important;

  padding: 10px 15px !important;
  border: none !important;
  border-radius: 5px !important;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

.main-nav .navbar-nav .nav-item > a:hover,
.main-nav .navbar-nav .nav-item > a.active {
  background-color: rgba(52, 73, 94, 0.8) !important;
  color: #ecf0f1 !important;
}

/* dropdown menu skin (vizuelno) */
.main-nav .navbar-nav .dropdown-menu {
  background-color: rgba(0, 0, 139, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

/* dropdown items */
.main-nav .navbar-nav .dropdown-menu .dropdown-item {
  color: #ecf0f1 !important;
  padding: 10px 20px !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}
.main-nav .navbar-nav .dropdown-menu .dropdown-item:hover,
.main-nav .navbar-nav .dropdown-menu .dropdown-item:focus {
  background-color: rgba(52, 73, 94, 0.8) !important;
  color: #ecf0f1 !important;
}

/* sticky desktop */
@media (min-width: 1024px) {
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
  }
  body { padding-top: 70px !important; }
}

/* sticky mobile */
@media (max-width: 768px) {
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
  }
}


/* ========================= MOBILE NAV (MEANMENU) ========================= */
/* Napomena:
   - .main-nav se ionako skriva u meanmenu na <=991px preko JS/plugin-a
   - ovde samo stilizujemo mean bar + reveal dugme + logo poziciju
*/
@media (max-width: 991px) {

  .mobile-nav,
  .mean-container .mean-bar {
    background-color: rgba(0, 41, 82, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* logo pored hamburgera */
  .mobile-nav .logo,
  .mean-container .logo {
    position: absolute !important;
    top: 12px !important;
    left: 65px !important;
    z-index: 1005 !important;
  }

  /* hamburger levo */
  .mean-container a.meanmenu-reveal {
    left: 15px !important;
    right: auto !important;
    color: #fff !important;
    background: none !important;
  }
  .mean-container a.meanmenu-reveal span {
    background-color: #fff !important;
  }

  /* logo visina */
  .mobile-nav img,
  .mean-container img {
    height: 40px !important;
    width: auto !important;
  }
}

/* small mobile helper (tvoj “navbar-area sticky” hack) */
@media (max-width: 767px) {
  .navbar-area {
    position: sticky;
    left: 12%;
    top: 14%;
    opacity: 1;
    z-index: 999;
  }
}
/* ========================================================================== */
/* DEO 3/6 — HOME SEARCH + GLASS FORM + SELECT2                                */
/*  - Hero/search sekcija (parallax + overlay)                                 */
/*  - Glass form container + icon input wrapper                                */
/*  - Select2 “glass” dropdown                                                 */
/*  - Responsive za mobile                                                     */
/* ========================================================================== */

/* ========================= SEARCH SECTION (HERO) ========================= */
.search-section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* parallax (desktop) */
}

/* overlay zbog čitljivosti teksta */
.search-section .bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 20, 30, 0.4);
  z-index: 1;
}

/* sadržaj iznad overlay-a */
.search-section .container {
  position: relative;
  z-index: 2;
}

/* heading */
.search-heading {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.search-subheading {
  font-size: 1.2rem;
  color: #e0e0e0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
}

/* ========================= GLASS FORM CONTAINER ========================= */
.glass-form-container {
  background: rgba(10, 25, 47, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);

  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

/* wrapper za input + ikonicu */
.form-group-glass {
  position: relative;
  margin-bottom: 1rem;
}

.form-group-glass .form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  z-index: 3;
}

/* form-control unutar glass-a (override global form-control) */
.glass-form-container .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 12px;
  color: #fff;

  height: 50px;
  padding-left: 40px; /* mesto za ikonicu */

  transition: all 0.3s ease;
}

.glass-form-container .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.glass-form-container .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(135, 206, 250, 0.5);
  color: #fff;

  box-shadow: 0 0 15px rgba(135, 206, 250, 0.3);
  outline: none;
}

/* ========================= SEARCH BUTTON ========================= */
.btn-search-glass {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 12px;

  background: linear-gradient(45deg, #2a99e3, #1e6fb3);
  color: #fff;

  font-size: 1.1rem;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.3s ease-in-out;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-search-glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 153, 227, 0.6);
  background: linear-gradient(45deg, #3ab9ff, #2a7fcc);
}

/* ========================= SELECT2 (GLASS) ========================= */
/* select2 selection */
.select2-container--default .select2-selection--single {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;

  border-radius: 12px !important;
  height: 50px !important;

  display: flex !important;
  align-items: center !important;

  padding: 0 !important;
  padding-left: 38px !important; /* kao input sa ikonicom */
}

/* renderovani tekst */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  padding-left: 0 !important;
  line-height: normal !important;
}

/* strelica */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 15px !important;
  display: flex;
  align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
  margin: 0 !important;
  border-width: 6px 6px 0 6px !important;
}

/* dropdown list */
.select2-dropdown {
  background: rgba(10, 25, 47, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;

  color: #fff;
  margin-top: 5px;
}

/* option */
.select2-results__option {
  color: #e0e0e0;
  padding: 10px 12px !important;
}

/* option hover */
.select2-results__option--highlighted[aria-selected] {
  background-color: rgba(42, 153, 227, 0.5) !important;
  color: #fff;
}

/* search field inside dropdown */
.select2-search--dropdown .select2-search__field {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;

  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px;
}

/* ========================= RESPONSIVE (MOBILE) ========================= */
@media (max-width: 767px) {
  /* parallax off na mobilnom (performanse) */
  .search-section {
    padding: 80px 0 50px 0 !important;
    background-attachment: scroll;
  }

  .search-heading { font-size: 2.5rem; }
  .search-subheading { font-size: 1rem; }

  /* sakrij ikonicu da ne guši prostor */
  .form-group-glass .form-icon { display: none !important; }

  /* ukloni veliki left padding (ikonice nema) */
  .glass-form-container .form-control,
  .select2-container--default .select2-selection--single {
    padding-left: 20px !important;
  }

  /* razmak iznad buttona kad se lomi u 1 kolonu */
  .btn-search-glass { margin-top: 10px; }
}
/* ========================================================================== */
/* DEO 4/6 — HOME SECTIONS: POPULAR BRAND + POPULAR CITY + LISTING             */
/*  - Popular Brand grid/cards                                                 */
/*  - Popular City grid/cards + blurred BG                                     */
/*  - Listing section + listing card layout (flex jednaka visina)              */
/* ========================================================================== */

/* ========================= POPULAR BRAND ========================= */
.popular-brand {
  padding-top: 50px !important;
  overflow: hidden !important;
}

.popular-brand .heading {
  text-align: center !important;
  margin-bottom: 30px !important;
}

.popular-brand .heading h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin-top: 0 !important;
}

.popular-brand .heading h3 {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #8c8c8c !important;
}

/* kartica */
.popular-brand .popular-brand-item {
  position: relative !important;
  margin-bottom: 25px !important;

  height: 200px !important;
  border-radius: 8px !important;
  overflow: hidden !important;

  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;

  background-color: #34495e !important;
  border: 1px solid rgba(236, 240, 241, 0.2) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;

  color: #fff !important;
  text-align: center !important;
  transition: all 0.4s ease !important;
}

.popular-brand .popular-brand-item:hover {
  margin-top: -10px !important;
  background-color: #3b5998 !important;
}

/* overlay */
.popular-brand .popular-brand-item .bg {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(38,38,38,0.49) 99%) !important;
  border-radius: 8px !important;
}

/* icon */
.popular-brand .popular-brand-item .icon {
  position: relative !important;
  font-size: 30px !important;
  margin-bottom: 20px !important;
  color: #ecf0f1 !important;
}

/* text block */
.popular-brand .popular-brand-item .text {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
}

.popular-brand .popular-brand-item .text h4 {
  color: #ecf0f1 !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  margin-bottom: 5px !important;
}

.popular-brand .popular-brand-item .text p {
  color: #ecf0f1 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
}

/* click overlay */
.popular-brand .popular-brand-item a {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* responsive visine */
@media (max-width: 1199px) { .popular-brand .popular-brand-item { height: 170px !important; } }
@media (max-width: 991px)  { .popular-brand .popular-brand-item { height: 200px !important; } }
@media (max-width: 767px)  { .popular-brand .popular-brand-item { height: 150px !important; } }
@media (max-width: 575px)  { .popular-brand .popular-brand-item { height: 300px !important; } }
@media (max-width: 460px)  { .popular-brand .popular-brand-item { height: 260px !important; } }


/* ========================= POPULAR CITY ========================= */
.popular-city {
  padding: 80px 0 60px 0 !important;
  position: relative !important;
  background-color: #f0f2f5;
  overflow: hidden !important;
}

/* blur pozadina (slika + overlay) */
.popular-city::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  background-image:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    url('https://autooglasi.online/uploads/site_photos/bg1.png');

  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;

  filter: blur(5px) !important;
  transform: scale(1.05);
}

/* content iznad blur-a */
.popular-city .container,
.popular-city .heading {
  position: relative;
  z-index: 1;
}

.popular-city .heading h2 {
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #1d2b38 !important;
  margin-top: 0 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

.popular-city .heading h3 {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #34495e !important;
}

/* city card */
.popular-city .popular-city-item {
  position: relative !important;
  z-index: 1 !important;

  margin-bottom: 30px !important;
  border-radius: 16px !important;
  overflow: hidden !important;

  background: rgba(44, 62, 80, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;

  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;

  /* zlatni okvir */
  border: 2px solid transparent !important;
  border-image-source: linear-gradient(160deg, #F7971E, #FFD200, #F7971E) !important;
  border-image-slice: 1 !important;
}

.popular-city .popular-city-item:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35) !important;
}

/* photo */
.popular-city .popular-city-item .photo {
  position: relative !important;
  overflow: hidden !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.popular-city .popular-city-item .photo img {
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.5s ease !important;
  border-radius: 0 !important;
}

.popular-city .popular-city-item:hover .photo img {
  transform: scale(1.15) !important;
}

/* text */
.popular-city .popular-city-item .text {
  background-color: transparent !important;
  padding: 20px !important;
  text-align: center;
}

.popular-city .popular-city-item .text h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  margin-bottom: 8px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.popular-city .popular-city-item .text p {
  color: #ecf0f1 !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* click overlay */
.popular-city .popular-city-item a {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2;
}

/* owl dots */
.popular-city-carousel .owl-dots {
  text-align: center !important;
  margin-top: 20px !important;
}
.popular-city-carousel .owl-dots .owl-dot {
  width: 10px !important;
  height: 10px !important;
  background: rgba(29, 43, 56, 0.4) !important;
  border-radius: 50% !important;
  display: inline-block !important;
  margin: 0 5px !important;
  border: none !important;
  transition: all 0.4s ease !important;
}
.popular-city-carousel .owl-dots .owl-dot.active {
  width: 30px !important;
  height: 10px !important;
  border-radius: 5px !important;
  background: #1d2b38 !important;
}

/* city card visine: auto (bez fiksiranja) */
@media (max-width: 1199px) { .popular-city .popular-city-item { height: auto !important; } }
@media (max-width: 991px)  { .popular-city .popular-city-item { height: auto !important; } }
@media (max-width: 767px)  { .popular-city .popular-city-item { height: auto !important; } }


/* ========================= LISTING SECTION ========================= */
.listing-section {
  padding: 80px 0 60px 0 !important;
  position: relative !important;
  background-color: #f0f2f5;
  overflow: hidden !important;
}

/* blur pozadina listing */
.listing-section::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  background-image:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    url('https://autooglasi.online/uploads/site_photos/bg2.png');

  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;

  filter: blur(5px) !important;
  transform: scale(1.05);
}

/* content iznad bg */
.listing-section .container,
.listing-section .heading {
  position: relative;
  z-index: 1;
}

/* flex jednaka visina kartica (Bootstrap kolone) */
.listing .row { display: flex; flex-wrap: wrap; }
.listing .col-md-4 { display: flex; flex-direction: column; }

/* listing card */
.listing .listing-item {
  position: relative !important;
  margin-bottom: 30px !important;

  background: rgba(10, 25, 47, 0.5) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;

  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.37) !important;
  overflow: hidden !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;

  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;

  /* zlatni okvir */
  border: 2px solid transparent !important;
  border-image-source: linear-gradient(160deg, #F7971E, #FFD200, #F7971E) !important;
  border-image-slice: 1 !important;
}

.listing .listing-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45) !important;
}

/* photo */
.listing .listing-item .photo {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}
.listing .listing-item .photo img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
  border-radius: 0 !important;
}
.listing .listing-item:hover .photo img { transform: scale(1.1) !important; }

/* text */
.listing .listing-item .text {
  background-color: transparent !important;
  padding: 20px 15px !important;
  color: #ffffff !important;
  text-align: left !important;
  border-radius: 0 !important;

  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listing .listing-item .text h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5) !important;
}
.listing .listing-item .text p {
  font-size: 14px !important;
  color: #bdc3c7 !important;
  margin: 0 0 15px 0 !important;
}
.listing .listing-item .text .type-price .price {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5) !important;
}

/* meta row */
.listing .listing-item .bed-bath-size {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding-top: 15px !important;
  margin-top: 15px !important;
}

.listing .listing-item .bed-bath-size .item .icon i { color: #bdc3c7 !important; }
.listing .listing-item .bed-bath-size .item .text {
  padding: 0 !important;
  color: #ecf0f1 !important;
  font-size: 14px !important;
}

/* ribbons/buttons */
.listing .listing-item .photo .brand a,
.listing .listing-item .photo .featured-text {
  border: none !important;
  border-radius: 8px !important;
  background: linear-gradient(45deg, #2a99e3, #1e6fb3) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  transition: all 0.3s ease !important;
}

.listing .listing-item .photo .brand a:hover,
.listing .listing-item .photo .featured-text:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(42,153,227,0.5) !important;
}

.listing .listing-item .photo .featured-text {
  padding: 5px 15px !important;
  font-size: 12px !important;
  transform: rotate(45deg) !important;
}
.listing .listing-item .photo .brand a {
  padding: 4px 10px !important;
  font-size: 14px !important;
}

/* wishlist */
.listing .listing-item .photo .wishlist i {
  color: #fff !important;
  font-size: 28px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
  transition: transform 0.3s ease !important;
}
.listing .listing-item .photo .wishlist:hover i {
  transform: scale(1.2) !important;
  color: #ff4757 !important;
}
/* ========================================================================== */
/* DEO 5/6 — PRICING + LOGIN/REG/CHECKOUT + PAGE BANNER + FOOTER               */
/*  - Pricing sekcija (kartice)                                                */
/*  - Login/Registration/Checkout forme (glass look)                           */
/*  - Page banner (naslov + breadcrumb)                                        */
/*  - Footer (glass panel + link hover)                                        */
/* ========================================================================== */

/* ========================= PRICING ========================= */
.pricing {
  padding: 100px 0 !important;
  position: relative;
  overflow: hidden;

  background: #f0f2f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpolygon fill='%23e8eaf2' points='1600 160 0 460 0 350 1600 50'/%3E%3Cpolygon fill='%23e1e3ef' points='1600 260 0 560 0 450 1600 150'/%3E%3Cpolygon fill='%23d9dbeb' points='1600 360 0 660 0 550 1600 250'/%3E%3Cpolygon fill='%23d2d4e8' points='1600 460 0 760 0 650 1600 350'/%3E%3Cpolygon fill='%23cbcde5' points='1600 800 0 800 0 750 1600 450'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}

.pricing .card {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;

  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 32px rgba(100, 108, 143, 0.2) !important;

  padding: 35px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing .card-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a2551 !important;
  text-align: center;
  margin-bottom: 25px !important;
  text-transform: uppercase;
  letter-spacing: .1rem !important;
}

.pricing .card-price {
  font-size: 56px !important;
  font-weight: 800 !important;
  margin: 0 auto 25px auto !important;
  text-align: center;
  color: #1a2551 !important;

  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing .card-price .period {
  font-size: 16px !important;
  font-weight: 500;
  color: #5a678b !important;
  -webkit-text-fill-color: initial;
}

.pricing ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px !important;
  flex-grow: 1;
}

.pricing ul li {
  margin-bottom: 15px !important;
  color: #3e4c74 !important;
  font-size: 16px !important;
  padding-left: 30px;
  position: relative;
}

.pricing ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #2575fc;
  font-weight: 900;
}

.pricing .text-muted {
  color: #9aabbb !important;
  text-decoration: line-through;
}

.pricing .card.featured {
  transform: scale(1.05);
  z-index: 2;
  background: rgba(255, 255, 255, 0.7) !important;

  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  border-image: linear-gradient(135deg, #6a11cb, #2575fc, #f94877) 1;

  box-shadow: 0 10px 40px rgba(37, 117, 252, 0.3) !important;
}

.pricing .btn {
  font-size: 16px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  padding: 14px 20px !important;
  transition: all 0.3s ease !important;

  color: #2575fc !important;
  background: rgba(37, 117, 252, 0.1) !important;
  border: 1px solid rgba(37, 117, 252, 0.3) !important;

  margin-top: auto;
}

.pricing .btn:hover {
  background: #2575fc !important;
  color: #ffffff !important;
  box-shadow: 0 5px 20px rgba(37, 117, 252, 0.4) !important;
  transform: translateY(-2px);
}

.pricing .card.featured .btn {
  background: linear-gradient(45deg, #6a11cb, #2575fc) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(37, 117, 252, 0.4);
}

@media (min-width: 992px) {
  .pricing .card:not(.featured):hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(100, 108, 143, 0.25) !important;
  }
}


/* ========================= LOGIN / REG / CHECKOUT (glass) ========================= */
/* Ovo pokriva:
   - login formu
   - register formu
   - checkout wrappere
*/
.checkout-login-form,
.reg-login-form,
.checkout,
.checkout-billing {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;

  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 20px !important;

  padding: 30px;
  box-shadow: 0 8px 32px rgba(100, 108, 143, 0.15) !important;
}

.checkout-login-form h2,
.checkout h2,
.checkout-billing h2,
.reg-login-form h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1a2551 !important;
  margin-bottom: 25px !important;
}

/* inputs */
.checkout-login-form input,
.reg-login-form input,
.checkout .form-control {
  width: 100% !important;
  max-width: none !important;

  padding: 10px 15px !important;
  height: 50px !important;

  border-radius: 12px !important;
  border: 1px solid rgba(100, 108, 143, 0.3) !important;

  background-color: rgba(255, 255, 255, 0.6) !important;
  color: #1a2551 !important;

  transition: all 0.3s ease;
}

.checkout-login-form input:focus,
.reg-login-form input:focus,
.checkout .form-control:focus {
  background: #fff !important;
  border-color: #2575fc !important;
  box-shadow: 0 0 15px rgba(37, 117, 252, 0.2) !important;
}

/* login/register submit */
.reg-login-form button,
.checkout-login-form button,
.checkout button {
  background: linear-gradient(45deg, #6a11cb, #2575fc) !important;
  border: 0 !important;
  color: #ffffff !important;

  padding: 14px 30px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;

  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(37, 117, 252, 0.4) !important;
}

.reg-login-form button:hover,
.checkout-login-form button:hover,
.checkout button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.6) !important;
}

/* helper links */
.checkout-login-form .new-user a,
.reg-login-form .new-user a,
.reg-login-form .link {
  color: #2575fc !important;
  font-weight: 600;
}
.checkout-login-form .new-user a:hover,
.reg-login-form .new-user a:hover,
.reg-login-form .link:hover {
  color: #6a11cb !important;
}


/* ========================= PAGE BANNER ========================= */




/* ========================= FOOTER ========================= */
.footer-area {
  margin-top: 50px !important;
  padding: 80px 0 0 0 !important;
  position: relative !important;
  overflow: hidden !important;

  background: #f0f2f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpolygon fill='%23e8eaf2' points='1600 160 0 460 0 350 1600 50'/%3E%3Cpolygon fill='%23e1e3ef' points='1600 260 0 560 0 450 1600 150'/%3E%3Cpolygon fill='%23d9dbeb' points='1600 360 0 660 0 550 1600 250'/%3E%3Cpolygon fill='%23d2d4e8' points='1600 460 0 760 0 650 1600 350'/%3E%3Cpolygon fill='%23cbcde5' points='1600 800 0 800 0 750 1600 450'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: cover !important;
  background-attachment: scroll !important;

  color: #3e4c74 !important;
}

/* disable old overlay if exists */
.footer-area:before { display: none !important; }

/* glass panel wrapper (ako postoji u markup-u) */
.footer-glass-panel {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;

  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 24px !important;

  padding: 40px !important;
  margin-bottom: 60px;

  box-shadow: 0 8px 32px rgba(100, 108, 143, 0.2) !important;
}

.footer-item,
.footer-social-link,
.footer-contact {
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 30px;
}

.footer-item h2,
.footer-social-link h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a2551 !important;
  margin: 0 0 20px !important;

  text-transform: uppercase;
  letter-spacing: .05rem;
}

.footer-item p {
  line-height: 1.7 !important;
  color: #3e4c74 !important;
  margin: 0 !important;
}

.footer-item ul li {
  list-style-type: none !important;
  margin-bottom: 10px !important;
}

.footer-item ul li a {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #2575fc !important;
  transition: all 0.3s ease !important;
  position: relative;
  padding-left: 0 !important;
}

/* underline animation */
.footer-item ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  display: block;
  margin-top: 2px;
  right: 0;
  background: #6a11cb;
  transition: width 0.3s ease;
}
.footer-item ul li a:hover::after {
  width: 100%;
  left: 0;
}

.footer-item ul li a:hover { color: #6a11cb !important; }

/* remove old FA arrows if present */
.footer-item ul.fmain li { padding-left: 0 !important; }
.footer-item ul.fmain li:before { display: none !important; }

/* socials */
.footer-social-link ul li {
  display: inline-block !important;
  margin-right: 10px !important;
}

.footer-social-link ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 45px !important;
  height: 45px !important;

  color: #6a11cb !important;
  border: 2px solid rgba(106, 17, 203, 0.2) !important;
  background: rgba(106, 17, 203, 0.1) !important;

  transition: all 0.3s ease !important;
  border-radius: 14px !important;
}

.footer-social-link ul li a:hover {
  background: linear-gradient(45deg, #6a11cb, #2575fc) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

/* contact list */
.footer-contact ul li {
  position: relative !important;
  padding-left: 35px !important;
  font-size: 16px !important;
  margin-bottom: 15px !important;
  color: #3e4c74 !important;
}

.footer-contact ul li:before {
  font-family: "Font Awesome 5 Free" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #2575fc !important;
}

/* copyright */
.copyright {
  text-align: center;
  color: #5a678b !important;
  border-top: 1px solid rgba(100, 108, 143, 0.15) !important;

  margin-top: 0 !important;
  padding: 30px 20px !important;

  background: transparent !important;
  position: relative;
  z-index: 2;
}

.copyright p {
  margin: 0;
  font-weight: 500;
}
/* ========================================================================== */
/* DEO 6/6 — BLOG + SIDEBAR + PORTFOLIO + FAQ + TESTIMONIAL + HOME VIDEO + MISC */
/* ========================================================================== */


/* ========================= BLOG ========================= */
.blog-item {
  margin-bottom: 50px !important;
  background-color: #34495e !important;
  border-radius: 8px !important;
  padding: 20px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  color: #ecf0f1 !important;
}

.blog-item .text h2 {
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
}

.blog-item .text h2 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
.blog-item .text h2 a:hover { color: #e00445 !important; }

.blog-item .featured-photo {
  margin-bottom: 15px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}
.blog-item .featured-photo img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}

/* Blog single */
.blog-item-single .featured-photo { margin-bottom: 15px !important; }
.blog-item-single .featured-photo img {
  width: 100% !important;
  height: auto !important;
  border-radius: 6px !important;
}
.blog-item-single .text h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
}
.blog-item-single .text h2 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
.blog-item-single .text h2 a:hover { color: #e00445 !important; }


/* ========================= SIDEBAR (widgets) ========================= */
.sidebar { background: transparent !important; }

.sidebar .widget {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(100,108,143,0.15) !important;

  padding: 25px !important;
  margin-bottom: 35px !important;

  color: #3e4c74 !important;
  overflow: hidden;
}

.sidebar .widget h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 25px 0 !important;
  padding-bottom: 15px !important;

  color: #1a2551 !important;
  border-bottom: 2px solid;
  border-image-source: linear-gradient(90deg, #6a11cb, #2575fc) !important;
  border-image-slice: 1 !important;
}

/* type-1 list links */
.sidebar .widget .type-1 ul li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 12px !important;
}
.sidebar .widget .type-1 ul li:before { display: none !important; }

.sidebar .widget .type-1 ul li a {
  color: #3e4c74 !important;
  font-weight: 600;
  font-size: 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 15px !important;
  border-radius: 12px;
  background: rgba(37,117,252,0.08);
  transition: all 0.3s ease !important;
}

/* arrow */
.sidebar .widget .type-1 ul li a::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;

  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #ffffff;
}

.sidebar .widget .type-1 ul li a:hover {
  color: #ffffff !important;
  background: linear-gradient(45deg, #6a11cb, #2575fc) !important;
  box-shadow: 0 5px 15px rgba(37,117,252,0.4);
  transform: translateY(-2px);
}
.sidebar .widget .type-1 ul li a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* type-2 list with thumbnails */
.sidebar .widget .type-2 ul li {
  list-style: none !important;
  position: relative !important;

  margin-bottom: 15px !important;
  padding-bottom: 15px !important;

  border-bottom: 1px solid rgba(100,108,143,0.15) !important;

  display: flex;
  align-items: center;
}
.sidebar .widget .type-2 ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.sidebar .widget .type-2 img {
  width: 60px !important;
  height: 60px !important;
  margin-right: 15px !important;
  border-radius: 12px !important;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar .widget .type-2 ul li a {
  width: auto !important;
  color: #1a2551 !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.3s ease !important;
}
.sidebar .widget .type-2 ul li a:hover { color: #2575fc !important; }

/* widget search */
.sidebar .widget .search .input-group {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(37,117,252,0.3);
  box-shadow: 0 5px 15px rgba(37,117,252,0.1);
}
.sidebar .widget .search .form-control {
  border: none !important;
  height: 48px;
  background-color: rgba(255,255,255,0.5) !important;
  color: #1a2551 !important;
}
.sidebar .widget .search .form-control:focus {
  box-shadow: none !important;
  background-color: #fff !important;
}
.sidebar .widget .search button {
  background: linear-gradient(45deg, #6a11cb, #2575fc) !important;
  border: 0 !important;
  width: 50px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
}
.sidebar .widget .search button:hover { opacity: 0.9; }

/* type-3 button */
.sidebar .widget .type-3 { text-align: center; }
.sidebar .widget .type-3 button {
  border: 0 !important;
  background: linear-gradient(45deg, #6a11cb, #2575fc) !important;
  box-shadow: 0 4px 20px rgba(37,117,252,0.4);

  border-radius: 14px !important;
  padding: 14px 40px !important;

  font-weight: 700 !important;
  text-transform: none !important;
  color: #ffffff !important;

  transition: all 0.3s ease !important;
}
.sidebar .widget .type-3 button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37,117,252,0.6) !important;
}

/* project detail widget */
.sidebar .widget .project-detail .item { margin-bottom: 20px !important; }
.sidebar .widget .project-detail .item:last-child { margin-bottom: 0; }
.sidebar .widget .project-detail .item h4 {
  color: #1a2551 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 5px !important;
}
.sidebar .widget .project-detail .item p {
  color: #3e4c74 !important;
  font-size: 15px !important;
}


/* ========================= PORTFOLIO CAROUSEL ========================= */
.portfolio-carousel {
  overflow: hidden !important;
  margin-top: 30px !important;
  padding-bottom: 20px !important;
}

.portfolio-photo-item {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  height: 370px !important;

  position: relative !important;
  border-radius: 8px !important;
  overflow: hidden !important;

  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

.portfolio-carousel .owl-nav .owl-prev,
.portfolio-carousel .owl-nav .owl-next {
  text-align: center !important;
  font-size: 18px !important;
  position: absolute !important;
  top: 50% !important;

  width: 40px !important;
  height: 50px !important;
  line-height: 48px !important;

  background: #e00445 !important;
  color: #ffffff !important;

  margin-top: -25px !important;
  transition: background 0.3s ease !important;
  border-radius: 5px !important;
}
.portfolio-carousel .owl-nav .owl-prev { left: 0 !important; }
.portfolio-carousel .owl-nav .owl-next { right: 0 !important; }
.portfolio-carousel .owl-nav .owl-prev:hover,
.portfolio-carousel .owl-nav .owl-next:hover {
  background: #2c3e50 !important;
  color: #ffffff !important;
}

.single-portfolio .iframe-container { overflow: hidden !important; clear: both !important; }
.single-portfolio iframe {
  width: 100% !important;
  height: 400px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

/* carousel item overlay + plus */
.portfolio-carousel .p-item {
  position: relative !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease !important;
}
.portfolio-carousel .p-item:hover { transform: scale(1.02) !important; }

.portfolio-carousel .p-item .p-item-bg {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  background: rgba(44, 62, 80, 0.8) !important;
  z-index: 9 !important;
  transition: opacity 0.4s ease !important;
}
.portfolio-carousel .p-item:hover .p-item-bg { opacity: 0.6 !important; }

.portfolio-carousel .p-item .plus-icon {
  visibility: hidden !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 99 !important;

  font-size: 30px !important;
  color: #ffffff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.portfolio-carousel .p-item:hover .plus-icon { visibility: visible !important; }


/* ========================= COMMENTS ========================= */
.comment h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin-bottom: 20px !important;
}

.comment button {
  border: 0 !important;
  background: #e00445 !important;
  border-radius: 8px !important;
  padding: 10px 30px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  transition: background 0.3s ease !important;
}
.comment button:hover { background: #2c3e50 !important; }

.comment-item {
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: flex-start !important;
  background-color: #f8f9fa !important;
  border-radius: 8px !important;
  padding: 15px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.comment-item .photo { width: 70px !important; margin-right: 15px !important; }
.comment-item .photo img {
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  border: 2px solid #ecf0f1 !important;
}

.comment-item .text h4 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin-bottom: 5px !important;
}
.comment-item .text .date { font-size: 14px !important; color: #848484 !important; margin-bottom: 10px !important; }
.comment-item .text .des  { font-size: 14px !important; color: #555 !important; }


/* ========================= CAREER DETAIL ========================= */
.career-detail .item {
  margin-bottom: 30px !important;
  background-color: #2c3e50 !important;
  padding: 20px !important;
  border-radius: 8px !important;
  color: #ecf0f1 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.career-detail .item h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.career-detail .item p { font-size: 16px !important; color: #c7c7c7 !important; }
.career-detail .item ul li {
  list-style: none !important;
  position: relative !important;
  padding-left: 25px !important;
  color: #ecf0f1 !important;
}
.career-detail .item ul li:before {
  content: '\f105' !important;
  font-family: 'Font Awesome 5 Free' !important;
  position: absolute !important;
  left: 10px !important;
  top: 0 !important;
  color: #e00445 !important;
  font-weight: 600 !important;
}


/* ========================= FAQ ========================= */
.faq {
  background: #34495e !important;
  padding: 30px !important;
  border-radius: 8px !important;
  color: #ecf0f1 !important;
}
.faq .panel {
  box-shadow: none !important;
  border-radius: 8px !important;
  margin-bottom: 15px !important;
  overflow: hidden !important;
  border: 1px solid #3b4a5e !important;
}
.faq .panel-default>.panel-heading {
  background: #3b4a5e !important;
  color: #ffffff !important;
  padding: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  position: relative !important;
}
.faq .panel-group .panel-heading a:after {
  content: '\f068' !important;
  font-family: 'Font Awesome 5 Free' !important;
  position: absolute !important;
  font-weight: 600 !important;
  right: 20px !important;
  top: 10px !important;
  font-size: 14px !important;
  color: #ffffff !important;
}
.faq .panel-group .panel-heading a.collapsed:after { content: '\f067' !important; color: #ffffff !important; }

.faq h4.panel-title {
  margin-bottom: 0 !important;
  border: 1px solid #3b4a5e !important;
  background-color: #3b4a5e !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
.faq h4.panel-title a {
  display: block !important;
  padding: 10px 15px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #e00445 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
.faq h4.panel-title a:hover { color: #ffffff !important; }

.faq .panel-body {
  background: #2c3e50 !important;
  padding: 15px !important;
  color: #ecf0f1 !important;
  border: 1px solid #3b4a5e !important;
  border-radius: 0 0 8px 8px !important;
}


/* ========================= TESTIMONIAL ========================= */
.testimonial {
  margin-top: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;

  background: #33B836;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
  background: #0d263b;
  opacity: 0.75;
}

.testimonial .heading {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.testimonial .heading h2 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
}

.testimonial .heading h3 {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.testimonial .testimonial-item .photo { text-align: center; position: relative; z-index: 1; }
.testimonial .testimonial-item .photo img { width: 80px; height: 80px; display: inline-block; }

.testimonial .testimonial-item .text {
  padding: 20px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.testimonial .testimonial-item .text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  position: relative;
  margin-top: 40px;
}
.testimonial .testimonial-item .text h3:before {
  content: '';
  position: absolute;
  left: calc(50% - 20px);
  top: -20px;
  width: 40px;
  height: 2px;
  background: #fff;
}
.testimonial .testimonial-item .text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}
.testimonial .testimonial-item .text p { font-size: 15px; color: #fff; }

.testimonial .owl-dots { text-align: center; margin-top: 5px; position: relative; z-index: 1; }
.testimonial .owl-dots .owl-dot {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 7px solid #fff;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
}
.testimonial .owl-dots .owl-dot.active {
  background: #333;
  border: 7px solid #fff;
}

@media (max-width: 992px) {
  .testimonial .testimonial-item .text {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* ========================= IMAGE EFFECT ========================= */
.image-effect {
  position: relative;
  display: block;
  vertical-align: top;
  max-width: 100%;
}
.image-effect:before,
.image-effect:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, .3);
  z-index: 6;

  transition: transform .5s, opacity .2s ease-in-out 0s;
  opacity: 0;
}
.effect-item:hover .image-effect:before {
  transform: scale(0, 1);
  opacity: 1;
}
.effect-item:hover .image-effect:after {
  transform: scale(1, 0);
  opacity: 1;
}


/* ========================= HOME VIDEO ========================= */
.home-video {
  margin-top: 40px;
  padding-top: 120px;
  padding-bottom: 100px;

  background: #4ab04d;
  overflow: hidden;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
}

.home-video .bg {
  position: absolute;
  inset: 0;
  background: #0d263b;
  opacity: 0.7;
}

.home-video h2 {
  color: #fff;
  text-align: center;
  margin-top: 0;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.home-video p {
  color: #fff;
  text-align: center;
  padding-left: 100px;
  padding-right: 100px;
  position: relative;
  z-index: 1;
}

.home-video .video-section { text-align: center; position: relative; z-index: 1; }
.home-video .video-section a { font-size: 100px; color: #fff; }


/* ========================= PARTS HELPER ========================= */
a.parts.nav-link { color: #000; font-weight: 500; }
li.nav-item.parts-equipment { background: #007bff!important; }
/* ============================================================
   FINAL PATCH: STABILAN DESKTOP DROPDOWN (Bootstrap 4)
   Zalepi na SAM KRAJ style.css
   ============================================================ */
@media (min-width: 992px) {

  /* 1) Parent mora biti relativan */
  .main-nav .navbar-nav > .dropdown {
    position: relative !important;
  }

  /* 2) Ukloni margin koja pravi rupu */
  .main-nav .navbar-nav > .dropdown > .dropdown-menu {
    margin-top: 0 !important;     /* uklanja rupu */
    top: 100% !important;
    left: 0 !important;
    right: auto !important;

    /* 3) Bootstrap default je display:none -> mi držimo “prisutno”, ali sakriveno */
    display: block !important;

    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;

    pointer-events: none !important;   /* dok je zatvoren */
    z-index: 999999 !important;

    /* 4) Mali delay da ne “trepne” na milimetar pomeraja */
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s !important;
  }

  /* 5) Hover “most” ispod linka (sprečava prekid hovera) */
  .main-nav .navbar-nav > .dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;                 /* ako i dalje beži -> 18px */
    background: transparent;
  }

  /* 6) Otvoreno na hover parenta */
  .main-nav .navbar-nav > .dropdown:hover > .dropdown-menu,
  .main-nav .navbar-nav > .dropdown > .dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;

    pointer-events: auto !important;
    transition: opacity .15s ease, transform .15s ease, visibility 0s !important;
  }
}
/* ============================================================
   PATCH: Select2 dropdown TAMNA POZADINA (force override)
   Zalepi na SAM KRAJ style.css
   ============================================================ */

/* ceo dropdown panel */
.select2-container--open .select2-dropdown,
.select2-dropdown {
  background: rgba(10, 25, 47, 0.95) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45) !important;
}

/* unutra (options wrapper) – često ovde ostane belo */
.select2-container--open .select2-results,
.select2-container--open .select2-results__options,
.select2-results__options {
  background: transparent !important;
  color: #fff !important;
}

/* svaka opcija */
.select2-container--default .select2-results__option {
  background: transparent !important;
  color: rgba(255,255,255,0.88) !important;
  padding: 10px 12px !important;
}

/* hover */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(42, 153, 227, 0.35) !important;
  color: #fff !important;
}

/* selektovana (kliknuta) */
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: rgba(42, 153, 227, 0.55) !important;
  color: #fff !important;
}

/* search input u dropdownu */
.select2-container--default .select2-search--dropdown .select2-search__field {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 10px !important;
  outline: none !important;
}

/* opcionalno: scrollbar da bude dark */
.select2-results__options::-webkit-scrollbar { width: 10px; }
.select2-results__options::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18) !important;
  border-radius: 10px;
}
.select2-results__options::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.15) !important;
}
/* ultra-force za slučaj da globalni CSS gađa div-ove u body */
body .select2-container--open .select2-dropdown {
  background: rgba(10, 25, 47, 0.95) !important;
  color: #fff !important;
}
/* Native select (homepage) - dark look */
.search-section select.form-control,
.search-section .glass-form-container select.form-control {
  background: rgba(10, 25, 47, 0.55) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

/* opcije (radi u nekim browserima, u nekim ignorisano) */
.search-section select.form-control option {
  background: rgba(10, 25, 47, 0.98) !important;
  color: #fff !important;
}

