.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section h2,
.hero-section h1,
.hero-section h3,
.hero-section p {
  color: #000; /* ceo tekst crn */
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-section h2 {
  font-size: 1.25rem;
  font-weight: 500;
}

.hero-section h3 {
  font-size: 1.1rem;
  font-weight: 400;
}

.divider {
  border: 0;
  height: 2px;
  background: #ccc; /* elegantna siva linija */
  width: 60%;
}

.hero-image {
  max-width: 100%;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* Efekat da tekst malo prelazi preko slike */
@media (min-width: 992px) {
  .hero-section .col-lg-6:first-child {
    margin-right: -50px; /* overlap efekat */
  }
}





/* Statistika sekcija */
.stats-section {
  background-color: #f2f2f2; /* sivi pravougaonik */
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000; /* crni broj */
}

.stat-text {
  font-size: 1.1rem;
  color: #333; /* tamno sivi tekst */
}


.banner-slider {
  margin-top: -80px; /* overlap na sivu pozadinu */
  z-index: 3;
}

.banner-slider .container {
  max-width: 1350px;
  padding: 0; /* uklanja padding da nema praznog prostora */
}

.banner-slider .carousel {
  border-radius: 20px; /* zaobljeni uglovi slidera */
  overflow: hidden;    /* slika prati zaobljenje */
  box-shadow: 0 25px 35px -10px rgba(0,0,0,0.3); /* senka samo dole */
}

.banner-slider img {
  height: 430px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* Mobilna optimizacija */
@media (max-width: 768px) {
  .banner-slider img {
    height: 150px;        /* manja visina na mobilnom */
    object-fit: cover;
  }

  .banner-slider {
    margin-top: -40px;    /* manji overlap */
  }

  .category-title {
    font-size: 18px;      /* smanjen naslov */
  }

  .btn-title {
    font-size: 16px;      /* smanjen naslov dugmeta */
  }

  .btn-sub {
    font-size: 14px;      /* smanjen opis */
  }

  .icon-svg {
    width: 40px;          /* manja ikonica */
    height: 40px;
  }
}

/* Za vrlo male ekrane (npr. telefoni do 480px) */
@media (max-width: 480px) {
  .banner-slider img {
    height: 150px;
  }

  .category-title {
    font-size: 16px;
  }

  .btn-title {
    font-size: 15px;
  }

  .btn-sub {
    font-size: 13px;
  }

  .icon-svg {
    width: 36px;
    height: 36px;
  }
}




.category-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none; /* uklanja underline */ 
  color: inherit; /* koristi boju teksta iz CSS-a */ 
}

.icon-svg {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.category-title {
  font-weight: 700;
  text-align: left;
  margin-bottom: 20px;
  font-size: 22px;   /* veći naslov */
}

.btn-title {
  font-size: 18px;   /* veći naslov dugmeta */
  font-weight: 700;
  color: #222;
}

.btn-sub {
  font-size: 15px;   /* veći opis ispod naslova */
  color: #777;
}


/* Hover efekat: gradijent preko celog dugmeta */
.category-btn:hover {
  background: linear-gradient(to left, rgba(0,51,102,0.15), rgba(0,51,102,0));
  border-radius: 6px;
  text-decoration: none;
}

.divider {
  margin: 6px auto;
  width: 80%; /* uži divider */
  border: 0;
  border-top: 1px solid #ddd;
}


.footer-custom {
  color: #000; /* crni tekst */
  position: relative;
}

.footer-custom::before {
  content: "";
  display: block;
  height: 1px; /* vrlo tanka linija */
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.4), transparent);
  position: absolute;
  top: 0;
  left: 0;
}

.footer-link {
  color: #000;              /* crni link */
  text-decoration: none;    /* bez underline */
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #333;              /* blago tamnija nijansa na hover */
}

.delivery-info h2,
.delivery-info h3 {
  color: #000;
}

.delivery-info p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
}

.delivery-info .fw-bold {
  color: #000;
}


.navbar .nav-link {
  background: none !important;
  border: none !important;
  color: #000;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.navbar .nav-link:hover {
  color: #333;
}

.navbar .nav-link {
  background: none !important;
  border: none !important;
  color: #000;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.navbar .nav-link:hover {
  color: #333;
}

.navbar .nav-link.poruci-online {
  font-weight: 700;
  background-color: #c00 !important;   /* crvena pozadina */
  color: #fff !important;   /* beli tekst */
  border-radius: 4px;
  padding: 0.45rem 0.9rem;
  margin-left: 0.75rem;
  transition: all 0.3s ease;
}

.navbar .nav-link.poruci-online:hover {
  background-color: #a00;   /* tamnija crvena na hover */
}

.header-bar {
  background-color: #fff;
  padding-top: 0.75rem;   /* dodaje visinu gore */
  padding-bottom: 0.75rem;/* dodaje visinu dole */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* blaga senka ispod */
}



/* Search input */
.search-input {
  border-radius: 50px;
  padding: 10px 20px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1; /* da zauzme prostor */
}
.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,26,64,0.3);
}

/* Search button */
.search-button {
  border-radius: 50px;
  padding: 10px 20px;
  background: linear-gradient(to right, #0d1a40, #1a2f60);
  color: #fff;
  border: none;
  transition: background 0.3s ease;
  cursor: pointer;
}
.search-button:hover {
  background: linear-gradient(to right, #1a2f60, #0d1a40);
}

/* Search form wrapper */
.search-form {
  margin-bottom: 1rem; /* razmak ispod searcha */
  max-width: 600px;    /* da ne ide preko cele širine */
  width: 100%;
}


/* CTA dugmad */
.cta-fill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d1a40;
  background-color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.cta-fill:hover {
  background: linear-gradient(to right, #0d1a40, #1a2f60);
  color: #fff;
}

/* Search form */
.search-form {
  position: relative;
  max-width: 600px;
  width: 100%;
}

/* Dropdown rezultati pretrage */
#searchResults {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 650px;
  background-color: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow-y: auto;
  max-height: 320px;
}



.glow-red {
  background: linear-gradient(135deg, #ff0000, #800000); /* crvena → bordo */
  color: #fff;               /* beli tekst */
  border: none;              /* bez ivice */
  font-weight: bold;         /* istaknut tekst */
  text-transform: uppercase; /* dodatno naglašavanje */
  transition: transform 0.2s ease, opacity 0.2s ease;
}



