/* =======================
   OSNOVNE POSTAVKE
======================= */

:root {
  --nk-blue: #1f5fae;
  --nk-blue-dark: #184a86;
  --nk-light: #f5f7fb;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #222;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* =======================
   TIPOGRAFIJA
======================= */

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link,
.btn,
.section-title {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.4px;
}

/* =======================
   NAVIGACIJA
======================= */

.nk-navbar {
  background: var(--nk-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Logo */
.nk-logo {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .nk-logo {
  transform: scale(1.05);
}

.navbar-brand span {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Linkovi */
.nk-navbar .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  position: relative;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
}

/* Hover i aktivni efekt */
.nk-navbar .nav-link:hover {
  color: #8fc9ff !important;
}

.nk-navbar .nav-link.active {
  color: #d4af37 !important;
}

/* Linija ispod linka */
.nk-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0%;
  height: 2px;
  background-color: #8fc9ff !important;
  transition: width 0.3s ease;
}

.nk-navbar .nav-link:hover::after,
.nk-navbar .nav-link.active::after {
  width: 100%;
}

/* Tabovi */
.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
  color: #333 !important;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--nk-blue);
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: var(--nk-blue) !important;
  border-bottom: 2px solid var(--nk-blue);
  background: transparent;
}

/* Toggler */
.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hover efekt na brand ime */
.navbar-brand:hover span {
  color: #8fc9ff;
  transition: color 0.3s ease;
}

/* =======================
   HERO SEKCIJA
======================= */

.hero {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../images/naslovna.jpg") center center / cover no-repeat;
  color: #fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  animation: fadeInHero 1.2s ease;
}

/* Lagani fade-in kad se otvori stranica */
@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* =======================
   SADRŽAJ STRANICE
======================= */

.news-card .card-title {
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
}

.news-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.badge-nk {
  background: var(--nk-blue);
}

.player-card img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.fixture {
  border-left: 4px solid var(--nk-blue);
  background: var(--nk-light);
}

.fixture .score {
  font-size: 2rem;
  font-weight: 800;
}

.gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* =======================
   GUMBI
======================= */

.btn-nk {
  background: var(--nk-blue);
  color: #fff;
  border: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-nk:hover {
  background: var(--nk-blue-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* =======================
   FOOTER
======================= */

.nk-footer {
  background: var(--nk-blue-dark);
  color: #cfe1ff;
  font-size: 0.95rem;
  line-height: 1.6;
}

.nk-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nk-footer a:hover {
  color: #8fc9ff;
}

.underline {
  width: 64px;
  height: 4px;
  background: var(--nk-blue);
  border-radius: 2px;
}

/* =======================
   RESPONSIVE FONTOVI
======================= */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nk-logo {
    height: 45px;
  }

  .navbar-brand span {
    font-size: 1.2rem;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.4rem;
  }
}
/* =======================
   MOBILE MENU SCROLL FIX
======================= */
@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
}
