/* ==========================
   OSNOVNI SLOG STRANI
========================== */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;

  background-image: url("../ozadje.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #222;
}

/* ==========================
   HEADER
========================== */

  /* Smooth hover effect for nav links */
  .navbar-nav .nav-link {
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #0d6efd; /* Bootstrap primary color */
    transform: translateY(-2px);
  }

  /* Subtle shadow for navbar */
  .navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.85) !important;
  }

  /* CTA button hover */
  .btn-primary {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }


/* ==========================
   HERO SEKCIJA
========================== */
.hero-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-section h1 {
  color: #cc0000;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-section h4 {
  color: #555;
  font-weight: 500;
}

.hero-section p {
  line-height: 1.6;
}

.hero-section img {
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
}

/* Carousel (slideshow) */
.carousel-indicators [data-bs-target] {
  background-color: #cc0000;
}

.carousel-inner {
  border-radius: 8px;
  overflow: hidden;
}

/* ==========================
   STATS
========================== */
section.py-5.bg-white {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

section.py-5.bg-white h2 {
  font-size: 2rem;
  color: #cc0000;
}



/* ==========================
   PRODUKTNE KARTICE
========================== */
.card {
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card img {
  max-height: 160px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.card:hover {
  transform: translateY(-5px); /* KARTICA UP */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card-body {
  background-color: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ==========================
   GUMBI
========================== */
.btn-danger {
  background-color: #cc0000;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-danger:hover {
  background-color: #a30000;
}

/* ==========================
   OSTALE PRILAGODITVE
========================== */
section.container {
  max-width: 900px;
}

.text-muted {
  color: #666 !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================
   LOKACIJA - CONTACT
========================== */
.lokacija {
  /* Ozadje */
  background-image: url("../ozadje.jpg");
  background-size: cover;       
  background-position: center;  
  background-repeat: no-repeat; 
}


/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section h4 {
    font-size: 1rem;
  }

  .hero-section img {
    max-height: 260px;
  }
}
