
:root {
  --primary: #0057b8;
  --light: #f4f6f8;
  --dark: #111;
}
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: white;
  color: var(--dark);
}
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  height: 100vh;
  color: white;
  position: relative;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.5);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.btn {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border: none;
  border-radius: 5px;
}
.section {
  padding: 4rem 2rem;
  text-align: center;
}
.light {
  background: var(--light);
}
.grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  max-width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}
.card img {
  width: 100%;
  height: auto;
}
.card h3 {
  margin: 1rem 0 0.5rem;
}
.card p {
  padding: 0 1rem 1rem;
}
form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input, textarea {
  padding: 0.8rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}
footer {
  text-align: center;
  padding: 1rem;
  background: var(--dark);
  color: white;
}

.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text {
  margin-left: 10%;
  max-width: 600px;
  animation: fadeIn 2s ease-in;
}
.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
}
.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.hero-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Dodatni stilovi za liste unutar kartica usluga */
.card ul {
  list-style: none;
  padding: 0 1rem 1rem 1.2rem;
  margin: 0;
  text-align: left;
}

.card ul li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Malo smanji razmak nakon naslova i paragrafa da se sve dobro spoji */
.card p {
  padding: 0 1rem 0.5rem;
  color: #333;
}

/* Osiguraj da kartice ostanu ujednačene visine */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsivnost za male ekrane */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }
  .card {
    max-width: 90%;
  }
}
