:root {
  --bg-darker: #08130f;
  --bg-dark: #0b1d14;
  --card: #133024;
  --ink: #e6f2ea;
  --muted: #cfe3d6;
  --accent: #6bd08c;
  --accent-bright: #7de49d;
  --shadow: 0 16px 36px rgba(0,0,0,.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-darker);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(8, 19, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 208, 140, 0.15);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid var(--accent);
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.profile-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 208, 140, 0.15);
  position: sticky;
  top: 100px;
}
.profile-card__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(107, 208, 140, 0.2), rgba(11, 29, 20, 0.8));
}
.profile-card__content {
  padding: 32px;
  text-align: center;
}
.profile-card__name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.profile-card__title {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}
.profile-card__bio {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.profile-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #7de49d 0%, #6bd08c 100%);
  color: #0b1d14;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(107, 208, 140, 0.35);
}
.profile-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 208, 140, 0.5);
}
.about-content {
  background: var(--card);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 208, 140, 0.1);
}
.about-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
  color: var(--ink);
}
.about-content .subtitle {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 500;
}
.about-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}
.about-content strong {
  color: var(--ink);
  font-weight: 600;
}
.about-content em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}
.quote {
  background: rgba(107, 208, 140, 0.08);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 12px;
}
.quote strong {
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
  display: block;
}
.signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(107, 208, 140, 0.2);
  text-align: right;
  font-size: 18px;
  color: var(--accent);
  font-style: italic;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #7de49d 0%, #6bd08c 100%);
  color: #0b1d14;
  box-shadow: 0 6px 20px rgba(107, 208, 140, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 208, 140, 0.5);
}
.btn-secondary {
  background: rgba(107, 208, 140, 0.1);
  color: var(--accent);
  border: 1px solid rgba(107, 208, 140, 0.3);
}
.btn-secondary:hover {
  background: rgba(107, 208, 140, 0.2);
  border-color: var(--accent);
}
.footer {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(107, 208, 140, 0.1);
  margin-top: 60px;
}
@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  nav { gap: 16px; }
  .about-content {
    padding: 32px 24px;
  }
  .profile-card {
    position: relative;
    top: 0;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
  }
}

/* === Mobilna optimizacija 360–414px (globalno) === */
@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
  }

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

  nav a {
    font-size: 0.9rem;
  }

  .container {
    padding: 24px 16px;
  }

  .page-header {
    padding: 40px 16px;
    min-height: 30vh;
  }

  .page-header__inner {
    padding: 24px 0;
  }

  .stories-grid,
  .gallery-grid,
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .featured-story {
    grid-template-columns: 1fr;
  }
}


/* === Mobile navigation toggle === */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(107, 208, 140, 0.4);
  background: rgba(8, 19, 15, 0.85);
  color: var(--ink, #e6f2ea);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

@media (max-width: 768px) {
  .nav {
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    background: rgba(8, 19, 15, 0.98);
    border-radius: 16px;
    padding: 12px 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,.7);
    border: 1px solid rgba(107, 208, 140, 0.35);
  }

  body.nav-open .nav nav {
    display: flex;
  }

  .nav nav a {
    display: block;
    width: 100%;
  }
}



/* Hide nav on scroll (JS adds .nav.hidden) */
.nav.hidden {
  transform: translateY(-100%);
}
/* === Performance overrides (mobile) === */
@media (max-width: 640px) {
  .nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .badge, .category-badge { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .animate-on-scroll, .animated { transition: none !important; animation: none !important; }
}
