/* ============================
   GLOBAL
============================ */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Open Sans', sans-serif;
  background:#fff;
  color:#333;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* ============================
   HEADER
============================ */
header{
  background:#0b2a4a;
  color:white;
}

.header-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  font-size:24px;
  font-weight:bold;
}

.nav a{
  color:white;
  margin-left:20px;
  text-decoration:none;
}

/* ============================
   HERO
============================ */
.hero{
  height:60vh;
  background:url('img/Dizalice.webp') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
}

.hero-overlay{
  background:rgba(0,0,0,0.5);
  padding:40px;
}

.hero h1{
  font-size:48px;
  margin-bottom:20px;
}

.btn-primary{
  background:#e31e24;
  color:white;
  padding:12px 25px;
  text-decoration:none;
  margin-right:10px;
}

.btn-secondary{
  border:2px solid white;
  padding:12px 25px;
  text-decoration:none;
  color:white;
}

/* ============================
   SERVICES
============================ */
.services{
  padding:80px 0;
  background:#f5f5f5;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.service-card{
  background:white;
  padding:30px;
  border-radius:5px;
  text-align:center;
  transition:0.3s;
}

.service-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

/* ============================
   HORIZONTAL SLIDER KATEGORIJA
============================ */
.products-slider h2 {
  text-align:center;
  margin-bottom:20px;
}

.products-slider .slider-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center;  /* CENTRIRANJE kartica */
  overflow-x: auto !important;
  gap: 20px !important;
  padding: 20px 0 !important;
  scroll-behavior: smooth !important;
}

/* Sakrij scrollbar */
.products-slider .slider-wrapper::-webkit-scrollbar {
  display: none !important;
}
.products-slider .slider-wrapper {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.slider-wrapper::-webkit-scrollbar{
  display:none;
}

.product-slide{
  flex:0 0 auto;
  width:150px;
  background:white;
  border-radius:8px;
  padding:20px;
  text-align:center;
  cursor:pointer;
  transition:transform 0.3s, box-shadow 0.3s;
}

.product-slide img{
  width:80px;
  height:80px;
  object-fit:contain;
  margin-bottom:10px;
}

.product-slide p{
  font-weight:600;
  font-size:14px;
}

.product-slide:hover{
  transform:translateY(-8px);
  box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

/* Responsive slider */
@media(max-width:768px){
  .product-slide{
    width:120px;
  }
}

@media(max-width:480px){
  .product-slide{
    width:100px;
  }
}

/* ============================
   PRODUCTS GRID (desktop alternative)
============================ */
.products{
  padding:80px 0;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.product-card{
  text-align:center;
  background:white;
  padding:20px;
  border-radius:6px;
  transition:0.3s;
}

.product-card img{
  width:100%;
  height:120px;
  object-fit:contain;
  margin-bottom:10px;
}

.product-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

/* Grid responsive */
@media(max-width:1200px){
  .product-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   AKCIJA SEKCIJA
   Dodaj ove stilove na kraj tvog style.css
   ============================================ */

.akcija {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-top: 4px solid #16bae1;
  border-bottom: 4px solid #16bae1;
}

.akcija h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.akcija-label {
  color: #e60000;
}

/* Grid za kartice proizvoda */
.akcija-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Pojedinačna kartica */
.akcija-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.akcija-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

/* Slika proizvoda */
.akcija-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 16px;
  background: #fafafa;
  display: block;
}

/* Donji dio kartice */
.akcija-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.akcija-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.akcija-card-body h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.akcija-card-body h3 a:hover {
  color: #16bae1;
}

/* Dugme "Više" - koristi isti btn-primary iz tvog style.css */
.akcija-card-body .btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .akcija-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .akcija-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .akcija h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .akcija-grid {
    grid-template-columns: 1fr;
  }

  .akcija-card img {
    height: 150px;
  }
}
@media(max-width:768px){
  .product-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================
   BRANDS
============================ */
.brands{
  padding:80px 0;
  background:#f5f5f5;
}

.brand-grid{
  display:flex;
  justify-content:space-around;
  align-items:center;
  flex-wrap:wrap;
}

/* ============================
   CTA
============================ */
.cta{
  background:#0b2a4a;
  color:white;
  text-align:center;
  padding:80px 0;
}

/* ============================
   FOOTER
============================ */
.footer{
  background:#111;
  color:white;
  padding:50px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.slider-wrapper {
  display: flex;           /* horizontalno */
  flex-wrap: nowrap;       /* sve u jednom redu */
  overflow-x: auto;        /* scroll ako ne stane */
  gap: 20px;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.slider-wrapper::-webkit-scrollbar {
  display: none;           /* sakrij scrollbar */
}

.product-slide {
  flex: 0 0 auto;          /* fiksna 分irina, ne raste */
  width: 150px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-slide img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-slide p {
  font-weight: 600;
  font-size: 14px;
}

.product-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


/* FORCE FLEX HORIZONTAL SLIDER */
.products-slider .slider-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 20px !important;
  padding: 20px 0 !important;
  scroll-behavior: smooth !important;
}

/* Sakrij scrollbar */
.products-slider .slider-wrapper::-webkit-scrollbar {
  display: none !important;
}
.products-slider .slider-wrapper {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.products-slider .product-slide {
  flex: 0 0 auto !important;
  width: 150px !important;
  background: #fff !important;
  border-radius: 8px !important;
  padding: 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.products-slider .product-slide img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 10px !important;
}

.products-slider .product-slide p {
  font-weight: 600 !important;
  font-size: 14px !important;
}

.products-slider .product-slide:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* Mobile tweaks */
@media (max-width:768px){
  .products-slider .product-slide {
    width: 120px !important;
  }
}
@media (max-width:480px){
  .products-slider .product-slide {
    width: 100px !important;
  }
}

.products-slider .slider-wrapper {
  display: flex !important;          /* horizontalno */
  flex-wrap: nowrap !important;      /* sve u jednom redu */
  justify-content: center !important; /* centrira kartice u container-u */
  align-items: center;               /* vertikalno centriranje */
  overflow-x: auto !important;       /* scroll ako ne stane */
  gap: 20px !important;
  padding: 20px 0 !important;
  scroll-behavior: smooth !important;
}

/* Sakrij scrollbar */
.products-slider .slider-wrapper::-webkit-scrollbar {
  display: none !important;
}
.products-slider .slider-wrapper {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Kartice proizvoda */
.products-slider .product-slide {
  flex: 0 0 auto !important;  /* ne raste, fiksna 分irina */
  width: 150px !important;
  background: #fff !important;
  border-radius: 8px !important;
  padding: 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.products-slider .product-slide img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 10px !important;
}

.products-slider .product-slide p {
  font-weight: 600 !important;
  font-size: 14px !important;
}

.products-slider .product-slide:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* RESPONSIVE */
@media (max-width:768px) {
  .products-slider .product-slide {
    width: 120px !important;
  }
}

@media (max-width:480px) {
  .products-slider .product-slide {
    width: 100px !important;
  }
}

/* HIDE NAV ON MOBILE BY DEFAULT */
@media (max-width:768px) {
  .nav {
    display: none;          /* sakrij desktop linkove */
    flex-direction: column; /* vertikalno kada se otvori */
    background: #0b2a4a;    /* ista boja kao header */
    position: absolute;
    top: 70px;              /* ispod headera */
    right: 0;
    width: 200px;
    border-radius: 0 0 5px 5px;
    padding: 10px 0;
  }

  .nav a {
    display: block;
    margin: 10px 20px;
    color: white;
    text-decoration: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 28px;
  }
}

/* Show nav when active */
.nav.active {
  display: flex;
}

/* ============================
   MOBILE MENU
============================ */
@media (max-width: 768px) {
  .nav {
    display: none;          /* sakrij desktop linkove */
    flex-direction: column; /* vertikalno kad se otvori */
    position: absolute;
    top: 70px;              /* ispod headera */
    right: 0;
    width: 200px;
    background: #0b2a4a;
    border-radius: 0 0 5px 5px;
    padding: 10px 0;
  }

  .nav a {
    display: block;
    margin: 10px 20px;
    color: #1a1a2e;
    text-decoration: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 28px;
  }
}

/* Show nav when active */
.nav.active {
  display: flex;
}

/* ============================================
   PRODUCT.PHP — STILOVI
   Dodaj na kraj svog style.css
   ============================================ */

/* --- PAGE TITLE / BREADCRUMB --- */
.product-page-title {
  background: #f4f4f4;
  border-bottom: 3px solid #16bae1;
  padding: 28px 0 20px;
}

.product-page-title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #888;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #16bae1;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #bbb;
}

/* --- PRODUCT SINGLE SECTION --- */
.product-single {
  padding: 60px 0;
  background: #fff;
}

/* Dva stupca: galerija + info */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ---- GALERIJA ---- */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Glavna slika */
.gallery-main {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f9f9f9;
  border: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

/* Thumb red */
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-thumbs .thumb {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  background: #f9f9f9;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumbs .thumb:hover {
  border-color: #16bae1;
  transform: scale(1.05);
}

.gallery-thumbs .thumb.active {
  border-color: #16bae1;
  box-shadow: 0 0 0 2px rgba(22, 186, 225, 0.25);
}

/* ---- INFO ---- */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #16bae1;
}

.product-divider {
  height: 3px;
  width: 60px;
  background: #16bae1;
  border-radius: 2px;
}

.product-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
}

.product-desc p {
  margin: 0 0 10px;
}

/* Dugmad */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-main img {
    height: 340px;
  }

  .product-info h2 {
    font-size: 1.5rem;
  }
}

/* Mobitel */
@media (max-width: 768px) {
  .product-single {
    padding: 36px 0;
  }

  .gallery-main {
    min-height: 260px;
  }

  .gallery-main img {
    height: 260px;
  }

  .gallery-thumbs .thumb {
    width: 60px;
    height: 60px;
  }

  .product-info h2 {
    font-size: 1.3rem;
  }

  .product-price {
    font-size: 1.25rem;
  }

  .product-page-title h1 {
    font-size: 1.4rem;
  }
}

/* Mali mobitel */
@media (max-width: 480px) {
  .gallery-main img {
    height: 210px;
  }

  .gallery-thumbs .thumb {
    width: 52px;
    height: 52px;
  }

  .product-info h2 {
    font-size: 1.15rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn-primary,
  .product-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   PRODUCTS.PHP — STILOVI
   Dodaj na kraj svog style.css
   ============================================ */

/* --- PRODUCTS PAGE LAYOUT --- */
.products-page {
  padding: 50px 0 70px;
  background: #fff;
}

.products-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* ============================================
   SIDEBAR
   ============================================ */
.products-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 20px;
}

/* Search */
.products-search {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.products-search:focus-within {
  border-color: #16bae1;
}

.products-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #333;
  background: transparent;
}

.products-search button {
  border: none;
  background: #16bae1;
  color: #fff;
  padding: 11px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.products-search button:hover {
  background: #0fa3c8;
}

/* Kategorije sidebar */
.sidebar-kategorije h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid #16bae1;
}

.sidebar-kategorije ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-kategorije ul li a {
  display: block;
  padding: 9px 14px;
  border-radius: 7px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #444;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-kategorije ul li a:hover {
  background: #f0f9fc;
  color: #16bae1;
}

.sidebar-kategorije ul li a.active {
  background: #16bae1;
  color: #fff;
  font-weight: 600;
}

/* ============================================
   MAIN AREA
   ============================================ */

/* Info bar */
.products-infobar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #666;
}

.products-infobar strong {
  color: #1a1a1a;
}

.products-clear {
  font-size: 0.85rem;
  color: #e60000;
  text-decoration: none;
  border: 1px solid #e60000;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.products-clear:hover {
  background: #e60000;
  color: #fff;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Kartica */
.product-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.product-card-img {
  display: block;
  background: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
}

.product-card-img img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.product-card-body h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card-body h3 a:hover {
  color: #16bae1;
}

.product-card-body .btn-primary {
  align-self: flex-start;
  font-size: 0.82rem;
  padding: 7px 16px;
}

/* Prazno stanje */
.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .products-page-layout {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Manji tablet */
@media (max-width: 860px) {
  .products-page-layout {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    position: static;
  }

  .sidebar-kategorije ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .sidebar-kategorije ul li a {
    padding: 7px 12px;
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobitel */
@media (max-width: 768px) {
  .products-page {
    padding: 36px 0 50px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card-img img {
    height: 130px;
  }
}

/* Mali mobitel */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card-img img {
    height: 110px;
  }

  .product-card-body {
    padding: 10px;
  }

  .product-card-body h3 {
    font-size: 0.82rem;
  }
}

/* ============================================
   BRANDS.PHP — STILOVI
   Dodaj na kraj svog style.css
   ============================================ */

/* --- INTRO TEKST --- */
.brands-intro {
  background: #f4f4f4;
  border-bottom: 3px solid #16bae1;
  padding: 30px 0;
}

.brands-intro p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* --- BRANDS PAGE SECTION --- */
.brands-page {
  padding: 60px 0 70px;
  background: #fff;
}

/* --- GRID KARTICA --- */
.brands-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- POJEDINAČNA KARTICA --- */
.brand-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: #16bae1;
}

/* Logo dio */
.brand-card-logo {
  background: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  height: 150px;
}

.brand-card-logo img {
  max-width: 160px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(20%);
}

.brand-card:hover .brand-card-logo img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

/* Tekst dio */
.brand-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.brand-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.brand-card-body p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Link tekst */
.brand-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16bae1;
  transition: color 0.2s ease;
}

.brand-card:hover .brand-link {
  color: #0fa3c8;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .brands-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .brand-card-logo {
    height: 130px;
  }
}

/* Mobitel */
@media (max-width: 768px) {
  .brands-page {
    padding: 40px 0 50px;
  }

  .brands-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .brand-card-logo {
    height: 110px;
    padding: 20px 16px;
  }

  .brand-card-logo img {
    max-width: 130px;
    max-height: 70px;
  }

  .brand-card-body {
    padding: 14px;
  }

  .brand-card-body h3 {
    font-size: 0.92rem;
  }

  .brands-intro p {
    font-size: 0.92rem;
  }
}

/* Mali mobitel */
@media (max-width: 480px) {
  .brands-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brand-card {
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
  }

  .brand-card-logo {
    width: 110px;
    min-width: 110px;
    height: 100px;
    border-bottom: none;
    border-right: 1px solid #f0f0f0;
    padding: 14px;
  }

  .brand-card-logo img {
    max-width: 80px;
    max-height: 55px;
  }

  .brand-card-body {
    padding: 12px 14px;
  }

  .brand-card-body p {
    display: none;
  }

  .brand-card-body h3 {
    font-size: 0.9rem;
  }
}

/* ============================================
   NEWS.PHP — STILOVI
   Dodaj na kraj svog style.css
   ============================================ */

.news-page {
  padding: 50px 0 70px;
  background: #fff;
}

/* --- SEARCH --- */
.news-search-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.news-search {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  max-width: 420px;
  width: 100%;
}

.news-search:focus-within {
  border-color: #16bae1;
}

.news-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #333;
  background: transparent;
}

.news-search button {
  border: none;
  background: #16bae1;
  color: #fff;
  padding: 11px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.news-search button:hover {
  background: #0fa3c8;
}

.news-clear {
  font-size: 0.85rem;
  color: #e60000;
  text-decoration: none;
  border: 1px solid #e60000;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.news-clear:hover {
  background: #e60000;
  color: #fff;
}

/* --- INFO BAR --- */
.news-infobar {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 28px;
}

.news-infobar strong {
  color: #1a1a1a;
}

/* --- GRID --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- KARTICA --- */
.news-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
  border-color: #16bae1;
}

/* Slika */
.news-card-img {
  display: block;
  overflow: hidden;
  height: 210px;
  background: #f4f4f4;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

/* Body */
.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Datum */
.news-card-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #16bae1;
  letter-spacing: 0.5px;
}

/* Naslov */
.news-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.news-card-body h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card-body h3 a:hover {
  color: #16bae1;
}

/* Kratki opis */
.news-card-body p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Pročitaj više */
.news-read-more {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16bae1;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.news-read-more:hover {
  color: #0fa3c8;
}

/* --- PRAZNO STANJE --- */
.news-empty {
  text-align: center;
  padding: 70px 20px;
  color: #888;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .news-card-img {
    height: 190px;
  }
}

/* Mobitel */
@media (max-width: 768px) {
  .news-page {
    padding: 36px 0 50px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .news-card-img {
    height: 160px;
  }

  .news-card-body {
    padding: 14px;
  }

  .news-card-body h3 {
    font-size: 0.92rem;
  }

  .news-search {
    max-width: 100%;
  }
}

/* Mali mobitel */
@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card {
    flex-direction: row;
    border-radius: 10px;
    min-height: 120px;
  }

  .news-card-img {
    width: 120px;
    min-width: 120px;
    height: auto;
  }

  .news-card-img img {
    height: 100%;
    object-fit: cover;
  }

  .news-card-body {
    padding: 12px 14px;
    gap: 6px;
  }

  .news-card-body h3 {
    font-size: 0.88rem;
  }

  .news-card-body p {
    display: none;
  }

  .news-card-date {
    font-size: 0.74rem;
  }
}

/* ============================================
   CONTACT.PHP — STILOVI
   Dodaj na kraj svog style.css
   ============================================ */

/* --- INFO BLOKOVI --- */
.contact-info-section {
  padding: 50px 0 0;
  background: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-info-card {
  background: #f9f9f9;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.09);
  border-color: #16bae1;
}

.contact-info-icon {
  width: 58px;
  height: 58px;
  background: #16bae1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}

.contact-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.contact-info-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  color: #555;
  margin: 0 0 4px;
  line-height: 1.5;
}

.contact-info-card a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-card a:hover {
  color: #16bae1;
}

/* --- MAPA + FORMA LAYOUT --- */
.contact-main-section {
  padding: 50px 0 70px;
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Naslovi sekcija */
.contact-form-wrap h2,
.contact-map-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #16bae1;
}

/* --- ALERT PORUKE --- */
.contact-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

.contact-alert-success {
  background: #e8f9ef;
  border: 1px solid #52c41a;
  color: #2e7d32;
}

.contact-alert-error {
  background: #fff1f0;
  border: 1px solid #ff4d4f;
  color: #c62828;
}

/* --- FORMA --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.form-group label span {
  color: #e60000;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #16bae1;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-submit {
  align-self: flex-start;
  padding: 13px 32px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}

/* --- MAPA --- */
.contact-map {
  width: 100%;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ebebeb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-map {
    height: 380px;
  }
}

/* Mobitel */
@media (max-width: 768px) {
  .contact-info-section {
    padding: 36px 0 0;
  }

  .contact-main-section {
    padding: 36px 0 50px;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .contact-info-card {
    padding: 20px 14px;
  }

  .contact-info-icon {
    width: 48px;
    height: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }

  .contact-form-wrap h2,
  .contact-map-wrap h2 {
    font-size: 1.2rem;
  }
}

/* Mali mobitel */
@media (max-width: 480px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 16px 18px;
  }

  .contact-info-icon {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  .contact-map {
    height: 250px;
  }

  .contact-submit {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   ABOUTUS.PHP — STILOVI
   Dodaj na kraj svog style.css
   ============================================ */

/* --- ABOUT SECTION --- */
.about-section {
  padding: 60px 0;
  background: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: start;
}

/* Tekst */
.about-text-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.3;
}

.about-divider {
  height: 3px;
  width: 60px;
  background: #16bae1;
  border-radius: 2px;
  margin-bottom: 24px;
}

.about-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: #555;
  line-height: 1.85;
}

.about-desc p {
  margin: 0 0 14px;
}

/* Stat kartice */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #ebebeb;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.about-stat-card:hover {
  border-color: #16bae1;
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.09);
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #16bae1;
  line-height: 1;
}

.stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.3;
}

/* --- ZAŠTO MI --- */
.about-why {
  padding: 60px 0;
  background: #f9f9f9;
  border-top: 3px solid #16bae1;
  border-bottom: 3px solid #16bae1;
}

.about-why h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 40px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-why-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.about-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: #16bae1;
}

.about-why-icon {
  width: 62px;
  height: 62px;
  background: #16bae1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.about-why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.about-why-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.87rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* --- BRENDOVI TRAKA (auto-scroll) --- */
.about-brands {
  padding: 50px 0;
  background: #fff;
}

.about-brands h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 36px;
}

.about-brands-track-wrap {
  overflow: hidden;
  position: relative;
}

/* Fade rubovi */
.about-brands-track-wrap::before,
.about-brands-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.about-brands-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.about-brands-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.about-brands-track {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: brandScroll 28s linear infinite;
}

.about-brands-track:hover {
  animation-play-state: paused;
}

.about-brands-track img {
  height: 60px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.about-brands-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobitel */
@media (max-width: 768px) {
  .about-section {
    padding: 40px 0;
  }

  .about-why {
    padding: 40px 0;
  }

  .about-why h2,
  .about-brands h2 {
    font-size: 1.4rem;
  }

  .about-text-wrap h2 {
    font-size: 1.4rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-why-card {
    padding: 22px 16px;
  }

  .about-why-icon {
    width: 52px;
    height: 52px;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

/* Mali mobitel */
@media (max-width: 480px) {
  .about-why-grid {
    grid-template-columns: 1fr;
  }

  .about-why-card {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    align-items: flex-start;
  }

  .about-why-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .about-brands-track-wrap::before,
  .about-brands-track-wrap::after {
    width: 40px;
  }
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILNI MENI */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 100%;
    flex-direction: column;
    display: none;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .nav a {
    padding: 15px;
    display: block;
    border-bottom: 1px solid #eee;
  }

  .nav.active {
    display: flex;
  }
}