/* Globalno telo */
body, html {
  height: 100%;
  margin: 0;
  background: #000 url("background.webp") no-repeat center center fixed;
  background-size: cover; /* razvuče sliku preko celog ekrana */
  color: #fff; /* bela slova */
}

/* Centrirani sadržaj (landing stranica) */
.centered {
  height: calc(100% - 60px); /* ostavi prostor za footer */
  display: flex;
  flex-direction: column; /* logo + dugme jedno ispod drugog */
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 350px;
}

main {
  padding-bottom: 120px; /* dovoljno prostora da footer ne preklopi dugme */
}

.enter-btn {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  margin-top: 20px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Footer */
.footer-black {
  color: #fff;
}

/* Navigacija */
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  margin: 0 15px;
  position: relative;
  text-decoration: none;
}

/* Podvlačenje za obične linkove */
.navbar-nav .nav-link:not(.dropdown-toggle)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #B22222;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::before {
  width: 100%;
}

/* Podvlačenje za dropdown dugme */
.navbar-nav .dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #B22222;
  transition: width 0.3s ease;
}

.navbar-nav .dropdown-toggle:hover::before {
  width: 100%;
}

/* Strelica kod dropdown-a */
.navbar .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.3em;
}

.navbar-dark .dropdown-toggle::after {
  border-top-color: #fff; /* bela strelica */
}

/* Transparentan header */
.transparent-navbar {
  background-color: transparent;
}

/* Kartica (forma) */
.card {
  background-color: #fff; /* bela forma */
  border-radius: 15px;
  color: #000; /* crni tekst unutar forme */
}

/* Dugme */
.btn-danger {
  background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
  border: none;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(139, 0, 0, 0.4);
}

/* Dropdown stavke hover */
.dropdown-item {
  position: relative;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #B22222;
  transition: width 0.3s ease;
}

.dropdown-item:hover {
  background-color: transparent;
  color: #B22222;
}

.dropdown-item:hover::before {
  width: 100%;
}
