* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #f4f4f4;
  overflow-x: hidden;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: white;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff4757;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav a:hover {
  background: #ff4757;
  color: white;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}


.hero {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1.5s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease;
}

.hero button {
  padding: 12px 30px;
  font-size: 1rem;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  animation: fadeInUp 1.5s ease 0.3s both;
}

.hero button:hover {
  background: #ff3838;
  transform: scale(1.05);
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 50px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card h2 {
  color: #ff4757;
  margin-bottom: 1rem;
}

.card p {
  color: #666;
  line-height: 1.8;
}

/* --- CONTENT STRANICA (1.html, 2.html, 3.html, 4.html) --- */
.content {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 5%;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content h1 {
  color: #ff4757;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.content p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.content ul {
  list-style: none;
  margin: 20px 0;
}

.content ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #666;
  font-size: 1rem;
}

.content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff4757;
  font-weight: bold;
  font-size: 1.2rem;
}

/* --- FOOTER --- */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

.footer p {
  margin: 0;
}

/* --- ANIMACIJE --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONZIVNOST --- */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    padding: 1rem 3%;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hamburger {
    display: block;
  }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #333;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding-top: 2rem;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 0;
  }

  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
    padding: 30px 3%;
    gap: 20px;
  }

  .content {
    margin: 30px auto;
    padding: 20px;
  }

  .content h1 {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .nav a {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .content {
    padding: 15px;
  }

  .content h1 {
    font-size: 1.5rem;
  }
}

  
.pozadina1 {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('pozd1.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
