@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --bg: hsl(270,30%,6%);
  --fg: hsl(270,10%,92%);
  --card: hsl(270,25%,10%);
  --primary: hsl(270,60%,45%);
  --primary-fg: #fff;
  --secondary: hsl(270,40%,18%);
  --muted: hsl(270,20%,14%);
  --muted-fg: hsl(270,10%,60%);
  --accent: hsl(42,90%,55%);
  --accent-fg: hsl(270,30%,6%);
  --border: hsl(270,20%,18%);
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsla(270,30%,6%,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar-logo { font-family: var(--font-heading); font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.15em; }
.navbar-logo span {display: block; color: var(--accent); margin-top: 12px;}
.navbar-links { display: flex; gap: 2rem; }
.navbar-links a {
  font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--muted-fg); transition: color 0.3s;
}
.navbar-logo img {
	display: block;
	max-width: 70px;
}
.navbar-links a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; color: var(--fg); cursor: pointer; font-size: 1.5rem; }
.mobile-menu { display: none; }

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(270,40%,6%,0.6), hsla(270,50%,10%,0.85));
}
.hero-glow {
  position: absolute; top: 25%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: hsla(270,60%,45%,0.1); filter: blur(120px);
}
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-badge {
  display: inline-block; padding: 0.5rem 1.5rem;
  border: 1px solid hsla(42,90%,55%,0.5); margin-bottom: 2rem;
}
.hero-badge p {
  font-family: var(--font-heading); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.875rem;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 8rem); font-weight: 700;
  text-transform: uppercase; line-height: 0.9; margin-bottom: 2rem;
}
.text-gradient-gold {
  background: linear-gradient(135deg, hsl(42,90%,55%), hsl(42,80%,65%));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-line { width: 6rem; height: 4px; background: var(--accent); margin: 0 auto 2rem; }
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.5rem); color: var(--muted-fg);
  max-width: 48rem; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero p.lead strong { color: var(--fg); font-weight: 600; }
.hero p.lead .accent { color: var(--accent); font-weight: 600; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; background: var(--primary); color: var(--primary-fg);
  font-family: var(--font-heading); font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: 0.15em; transition: background 0.3s;
}
.btn-primary:hover { background: hsla(270,60%,40%,1); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-heading); font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: 0.15em; transition: all 0.3s;
}
.btn-outline:hover { background: var(--accent); color: var(--accent-fg); }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--muted-fg);
}
.scroll-indicator span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; }
.scroll-indicator .line { width: 1px; height: 2rem; background: hsla(270,10%,60%,0.4); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- ABOUT --- */
.about { padding: 6rem 0; background: var(--secondary); }
.section-header { max-width: 48rem; margin: 0 auto 4rem; text-align: center; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; text-transform: uppercase; margin-bottom: 1.5rem; }
.section-header p { color: var(--muted-fg); font-size: 1.125rem; line-height: 1.7; }
.section-header p strong { color: var(--fg); }
.section-header p .accent { color: var(--accent); font-weight: 700; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--card); border: 1px solid hsla(270,60%,45%,0.3);
  padding: 2rem; text-align: center; transition: box-shadow 0.5s;
}
.value-card:hover { box-shadow: 0 0 60px hsla(270,60%,45%,0.3); }
.value-icon {
  width: 4rem; height: 4rem; margin: 0 auto 1.5rem; border-radius: 50%;
  background: hsla(270,60%,45%,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent);
}
.value-card h3 { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.value-card p { color: var(--muted-fg); line-height: 1.6; }

/* --- NEWS --- */
.news { padding: 6rem 0; position: relative; overflow: hidden; }
.news-glow-1 { position: absolute; top: 0; left: 0; width: 500px; height: 500px; background: hsla(270,60%,45%,0.08); border-radius: 50%; filter: blur(200px); }
.news-glow-2 { position: absolute; bottom: 0; right: 0; width: 400px; height: 400px; background: hsla(42,90%,55%,0.05); border-radius: 50%; filter: blur(150px); }
.news .container { position: relative; z-index: 10; }
.section-label { display: inline-block; font-family: var(--font-heading); color: var(--accent); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.4em; margin-bottom: 1rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
.news-card {
  background: var(--card); border: 1px solid hsla(270,60%,45%,0.3);
  padding: 1.5rem; display: flex; flex-direction: column; transition: all 0.5s;
}
/* PAGINACIJA */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-prev, .page-next, .page-number {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 40px;
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-prev:hover, .page-next:hover, .page-number:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  transform: translateY(-2px);
}

.page-number.active {
  background: #ffd700;
  color: #0a0a0a;
  border-color: #ffd700;
  pointer-events: none;
}

.page-numbers {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 600px) {
  .pagination {
    gap: 0.5rem;
  }
  .page-prev, .page-next, .page-number {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

.news-card:hover { box-shadow: 0 0 60px hsla(270,60%,45%,0.3); border-color: hsla(270,60%,45%,0.6); }
.news-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tag { font-family: var(--font-heading); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.25rem 0.75rem; border-radius: 9999px; }
.tag-skupstina { background: hsla(270,60%,45%,0.2); color: var(--primary); }
.tag-teren, .tag-dogadjaj { background: hsla(42,90%,55%,0.2); color: var(--accent); }
.tag-akcija { background: hsla(270,60%,45%,0.2); color: var(--primary); }
.tag-vest { background: var(--muted); color: var(--muted-fg); }
.news-date { font-size: 0.75rem; color: var(--muted-fg); display: flex; align-items: center; gap: 0.375rem; }
.news-card h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 0.75rem; transition: color 0.3s;
}
.news-card:hover h3 { color: var(--accent); }
.news-card p.summary { color: var(--muted-fg); font-size: 0.875rem; line-height: 1.6; flex: 1; }
.news-card-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.read-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); transition: gap 0.3s;
}
.news-card:hover .read-more { gap: 0.75rem; }

/* --- PROPOSALS --- */
.proposals { padding: 6rem 0; background: var(--secondary); position: relative; overflow: hidden; }
.proposals-glow { position: absolute; top: 0; right: 0; width: 24rem; height: 24rem; background: hsla(270,60%,45%,0.05); border-radius: 50%; filter: blur(150px); }
.proposals .container { position: relative; z-index: 10; }
.proposals-list { max-width: 56rem; margin: 0 auto; }
.proposal {
  display: flex; gap: 2.5rem; align-items: flex-start; padding: 2rem 0;
  border-bottom: 1px solid var(--border); transition: border-color 0.3s;
}
.proposal:hover { border-color: hsla(270,60%,45%,0.5); }
.proposal-number {
  font-family: var(--font-heading); font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 700; color: hsla(270,60%,45%,0.3); line-height: 1; transition: color 0.3s;
}
.proposal:hover .proposal-number { color: var(--accent); }
.proposal-content { flex: 1; }
.proposal-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.proposal h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; text-transform: uppercase; }
.proposal-tag {
  font-family: var(--font-heading); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.25rem 0.75rem;
  background: hsla(270,60%,45%,0.2); color: var(--accent);
}
.proposal p { color: var(--muted-fg); line-height: 1.6; }

/* --- CTA --- */
.cta { padding: 6rem 0; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: hsla(270,60%,45%,0.05); }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: hsla(270,60%,45%,0.1); filter: blur(150px);
}
.cta .container { position: relative; z-index: 10; text-align: center; }
.cta h2 { font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 700; text-transform: uppercase; line-height: 0.95; margin-bottom: 1.5rem; }
.cta h2 .muted { color: var(--muted-fg); }
.cta p.lead { color: var(--muted-fg); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 40rem; margin: 0 auto 2.5rem; line-height: 1.7; }
.btn-accent {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.25rem 2.5rem; background: var(--accent); color: var(--accent-fg);
  font-family: var(--font-heading); font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.15em; transition: background 0.3s;
  box-shadow: 0 0 40px hsla(42,90%,55%,0.2);
}
.btn-accent:hover { background: hsl(42,90%,50%); }
.cta .email { margin-top: 1.5rem; color: var(--muted-fg); font-size: 0.875rem; }

/* --- FOOTER --- */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); text-align: center; }
.footer p.title { font-family: var(--font-heading); font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.footer p.copy { color: var(--muted-fg); font-size: 0.875rem; }

/* --- ARTICLE PAGE --- */
.article { padding: 7rem 0 6rem; position: relative; overflow: hidden; }
.article .container { position: relative; z-index: 10; max-width: 48rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--muted-fg); margin-bottom: 2.5rem; transition: color 0.3s;
}
.back-link:hover { color: var(--accent); }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.article h1 {
  font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700;
  text-transform: uppercase; line-height: 0.95; margin-bottom: 1.5rem;
}
.article-summary {
  font-size: 1.125rem; color: var(--muted-fg); line-height: 1.7;
  border-left: 4px solid var(--accent); padding-left: 1rem; margin-bottom: 2.5rem;
}
.article-body p { color: hsla(270,10%,92%,0.8); margin-bottom: 1rem; line-height: 1.7; }
.article-body ul { margin: 1.5rem 0; list-style: none; }
.article-body ul li {
  display: flex; align-items: flex-start; gap: 0.75rem; color: hsla(270,10%,92%,0.8); margin-bottom: 0.5rem;
}
.article-body ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 0.625rem; flex-shrink: 0;
}
.article-footer {
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: none;
  font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--muted-fg); cursor: pointer; transition: color 0.3s;
}
.share-btn:hover { color: var(--accent); }

/* --- SVG ICONS inline --- */
.icon { width: 1em; height: 1em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 0.75rem; height: 0.75rem; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 1.5rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); }
  .mobile-menu a {
    font-family: var(--font-heading); font-size: 1.125rem; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--muted-fg);
  }
  .values-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .proposal { flex-direction: column; gap: 0.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
