/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: "Rubik", sans-serif;
  height: 100%;
}

/* HERO SEKCIJA */
.hero {
  position: relative;
  height: 100vh;
  background: url('../pr.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
}

/* NAVIGACIJA */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: rgb(248, 134, 27);
  background-color: rgb(88, 90, 96, 0.6);
  padding: 10px 16px;
  border-radius: 20px;
  transition: 0.3s ease;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  background-color: rgb(88, 90, 96, 0.6);
  padding: 10px 16px;
  border-radius: 20px;
  transition: 0.3s ease;
}

.nav-links li a.cta {
  background-color: rgb(88, 90, 96);
  color: rgb(248, 134, 27, 0.9);
  font-weight: bold;
}

.nav-links li a:hover {
  background-color: rgb(88, 90, 96);
}

/* HERO CONTENT */
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 40px;
  z-index: 5;
}

.hero-box {
  background: rgb(88, 90, 96, 0.8);
  padding: 40px;
  max-width: 450px;
  border-radius: 30px;
}

.hero-box h1 {
  font-size: 2.5rem;
  color: rgb(248, 134, 27);
  margin-bottom: 10px;
}

.hero-box h2 {
  font-size: 1.5rem;
  color: rgb(248, 134, 27, 0.9);
  margin-bottom: 20px;
}

.hero-box p {
  color: #fff;
  margin-bottom: 25px;
  font-size: 19px;
}

.hero-box .btn {
  padding: 12px 30px;
  border-radius: 30px;
  background-color: rgb(248, 134, 27, 0.9);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-box .btn:hover {
  background-color: rgb(167, 86, 10);
}

/* Footer */
footer {
    padding: 20px 40px;
    background-color: rgb(248, 134, 27, 0.7);
    color: white;
    text-align: center;
}

footer p {
    font-size: 18px;
    color: black;
}

.footer-link {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* MOBILNI */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    padding: 20px 20px 20px 30px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    color: #333;
    background-color: transparent;
  }

  .hero-content {
    justify-content: center;
    padding: 20px;
  }

  .hero-box {
    width: 100%;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-box, .nav-links, .logo {
  animation: fadeInLeft 1.5s ease-out both;
}