@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@200;300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #333;
  background: linear-gradient(
    120deg,
    #ffd1dc 0%,
    #9eb3dd 100%
  );
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #fff;
  background-color: #eaa8d0;
  box-shadow: 0 5px 15px rgba(236, 113, 226, 0.4);
  transform: translateY(-2px);
}


.pocetna {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px; 
  min-height: 90vh;
  text-align: center;
  position: relative;
  position: relative;
  z-index: 2; 
  max-width: 700px;
  background: rgba(255, 255, 255, 0.3);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  animation: popIn 1s ease forwards;
}


.pocetna::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.4) 0%,
    rgba(255,255,255,0) 70%
  );
  z-index: 1;
}

.pocetna a{
  color: #444;

}
.pocetna a:hover {
  color: #eaa8d0;
  text-shadow: 0 5px 15px rgba(236, 113, 226, 0.4);
  transform: translateY(-2px);
}

@keyframes popIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.pocetna h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-family: 'Pacifico', cursive;
 
  background: linear-gradient(
    90deg,
    #f8bbd0, 
    #b39ddb   
  );  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.pocetna p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  padding-top: 2em;
}
.pocetna a {
  text-decoration: none;

}
section {
  width: 100%;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

section h2 {
  font-size: 2.3em;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.08);
}

section h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;

  margin: 8px auto 0;
  border-radius: 2px;
}


ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 800px;
}

ul li {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ul li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

ul li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

ul li a:hover {
  box-shadow: 0 5px 15px rgba(236, 113, 226, 0.4);
  transform: translateY(-2px);
}

.tranzicija {
  opacity: 0;
  transform: translateY(20px);
  animation: fade 1s forwards;
}

@keyframes fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


footer {
  margin-top: auto; 
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.08);
}

footer p {
  font-size: 1.1em;
  color: #444;
}

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }

  .pocetna h1 {
    font-size: 2.2em;
  }

  section h2 {
    font-size: 1.8em;
  }

  ul li a {
    font-size: 1em;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 15px 0;
  }
  
  .pocetna {
    padding: 30px;
  }

  .pocetna h1 {
    font-size: 1.8em;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}
