:root {
  --green-900: #0b1f4d;
  --green-800: #123a7a;
  --green-700: #1657b8;
  --green-600: #1d6ee8;
  --green-500: #2f86f6;
  --green-400: #3db4df;
  --green-300: #55d8d0;
  --green-200: #dff7f8;
  --green-100: #eefcff;

  --text-900: #111827;
  --text-700: #435064;
  --text-500: #6b7280;

  --border: #d7e8f4;
  --white: #ffffff;

  --shadow-sm: 0 4px 18px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.10);
  --shadow-lg: 0 18px 50px rgba(17, 24, 39, 0.16);

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;

  --container: 1320px;
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-900);
  background: #f4f8fc;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(215, 232, 244, 0.7);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--green-100);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.brand-title {
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--text-500);
  font-size: 0.84rem;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-700);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--green-100);
  color: var(--green-700);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  gap: 6px;
}

.lang-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--text-700);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: white;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  position: relative;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text-900);
  transform: translateX(-50%);
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu-toggle span {
  top: 22px;
}

.menu-toggle::before {
  top: 15px;
}

.menu-toggle::after {
  top: 29px;
}

.menu-toggle.active span {
  opacity: 0;
}

.menu-toggle.active::before {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active::after {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 31, 77, 0.72) 0%, rgba(18, 58, 122, 0.48) 38%, rgba(61, 180, 223, 0.20) 100%),
    linear-gradient(180deg, rgba(10, 24, 18, 0.14) 0%, rgba(10, 24, 18, 0.34) 100%),
    url("/images/hero-skakavac.jpg") center center / cover no-repeat;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.10), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(85,216,208,0.12), transparent 18%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.hero h1 {
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  max-width: 7ch;
  margin: 0 0 22px;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

.hero p {
  color: rgba(255,255,255,0.92);
  max-width: 38rem;
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0 0 30px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.hero-search {
  margin-top: 0;
  background: rgba(255,255,255,0.96);
  border-radius: 26px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1.5fr auto auto;
  gap: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  max-width: 980px;
  border: 1px solid rgba(255,255,255,0.55);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 18px;
  min-height: 58px;
  background: #fbfcff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field:focus-within {
  border-color: rgba(29, 110, 232, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 110, 232, 0.08);
}

.search-field input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  color: var(--text-900);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* PILLS */
.pill,
.meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.38);
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

a.pill,
button.pill {
  cursor: pointer;
}

a.pill:hover,
button.pill:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 56px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: white;
  box-shadow: 0 14px 28px rgba(29, 110, 232, 0.22);
}

.btn-secondary {
  background: white;
  color: var(--text-900);
  border-color: var(--border);
}

/* GENERAL */
.section {
  padding: 40px 0;
}

.section-head {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-400);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

h3,
h4,
p {
  margin: 0;
}

.lead {
  font-size: 1.06rem;
  max-width: 70ch;
  color: var(--text-700);
}

.lead2 {
  font-size: 1.06rem;
  max-width: 90%;
  color: var(--text-700);
}

.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* PROJECT SECTIONS */
.project-section {
  padding-top: 40px;
  padding-bottom: 40px;
  scroll-margin-top: 96px;
}

.alt-bg {
  background: #f5f9fd;
}

.project-block {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
  border: 1px solid rgba(215, 232, 244, 0.9);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.project-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.project-content {
  display: grid;
  gap: 16px;
}

.project-content h3 {
  margin: 0 0 4px;
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-900);
}

.project-content p {
  color: var(--text-700);
  font-size: 1rem;
  line-height: 1.75;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.project-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-image-card {
  background: linear-gradient(135deg, #edf7fb, #e4f2fa);
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(215, 232, 244, 0.9);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.project-image-card.large {
  min-height: 360px;
}

.project-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-image-card.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-500);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px dashed var(--green-300);
  background: linear-gradient(135deg, #f0fbfc, #e7f6fb);
  text-align: center;
  padding: 20px;
}

.goals-list {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.goal-item {
  background: #f8fbfe;
  border: 1px solid #e3edf5;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.04);
}

.goal-item h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

.goal-item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-700);
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 2px;
}

.activity-card {
  background: #f8fbfe;
  border: 1px solid #e3edf5;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.04);
}

.activity-card h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

.activity-card p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.65;
  font-size: 0.95rem;
}

.project-highlight {
  background: #eef7fd;
  border-left: 4px solid var(--green-700);
  padding: 16px 18px;
  border-radius: 16px;
  margin: 8px 0 4px;
  color: var(--text-700);
  line-height: 1.7;
}

/* EXPLORE */
.explore-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 96px;
  padding: 18px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}

.sidebar-top {
  position: sticky;
  top: -18px;
  background: rgba(255,255,255,0.96);
  padding-bottom: 16px;
  z-index: 2;
}

.sidebar h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.filters,
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip,
.map-chip {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  color: var(--text-700);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.04);
}

.filter-chip:hover,
.map-chip:hover {
  transform: translateY(-1px);
  background: white;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.filter-chip.active,
.map-chip.active {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(29, 110, 232, 0.22);
}

.trail-list {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.trail-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
  border: 1px solid rgba(215, 232, 244, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.trail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
  border-color: rgba(61, 180, 223, 0.35);
}

.trail-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #edf7fb, #e4f2fa);
}

.trail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.difficulty {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.95);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-900);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  color: var(--green-700);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  font-size: 0.9rem;
}

.trail-body {
  padding: 18px 18px 20px;
}

.trail-location {
  color: var(--text-500);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.trail-body h3 {
  font-size: 1.42rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.trail-body p {
  color: var(--text-700);
  font-size: 0.98rem;
  line-height: 1.6;
}

.rating-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-weight: 800;
  color: var(--green-700);
}

.trail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* MAP */
.map-stack {
  display: grid;
  gap: 18px;
}

.map-panel {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
}

#map {
  width: 100%;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(215, 232, 244, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
  border: 1px solid rgba(215, 232, 244, 0.9);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.stat-card span {
  display: block;
  color: var(--text-500);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 1.2rem;
  color: var(--text-900);
  letter-spacing: -0.02em;
}

.profile-panel {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
}

.profile-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.profile-head h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.profile-head p {
  color: var(--text-500);
}

.chart-wrap {
  position: relative;
  height: 280px;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(238,252,255,0.8), rgba(255,255,255,0.95));
  border: 1px solid rgba(215, 232, 244, 0.75);
}

.map-sidebar {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
}

.map-sidebar h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.map-info h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.map-info p {
  color: var(--text-700);
  line-height: 1.65;
}

.type-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 800;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98));
  border: 1px solid rgba(215, 232, 244, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
}

.gallery-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #edf7fb, #e4f2fa);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  padding: 16px 16px 20px;
}

.gallery-caption h4 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.gallery-caption p {
  color: var(--text-500);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 16px;
  background: #f8fbfe;
  border: 1px solid #edf3f8;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  background: #fbfdff;
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-note {
  color: var(--text-500);
  font-size: 0.94rem;
}

.supporters {
  display: grid;
  gap: 14px;
}

.supporters-title {
  font-weight: 900;
}

.supporters-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 16px;
}

.logo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.logo-card img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}

.logo-card span {
  font-size: 0.86rem;
  color: var(--text-700);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer-bottom p {
  color: var(--text-500);
  font-size: 0.94rem;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16,23,19,0.78);
  z-index: 1200;
}

.lightbox.active {
  display: flex;
}

.lightbox-box {
  width: min(960px, 100%);
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lightbox-box img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.lightbox-copy {
  padding: 18px 20px 22px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  font-size: 1.2rem;
  cursor: pointer;
}

/* HELPERS */
.hidden {
  display: none !important;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .explore-layout,
  .contact-grid,
  .footer-top,
  .project-grid,
  .project-grid.reverse {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + 8px);
    left: 16px;
    right: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    padding: 14px;
  }

  .nav-links.open {
    display: grid;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(11, 31, 77, 0.62) 0%, rgba(18, 58, 122, 0.45) 100%),
      url("/images/hero-skakavac.jpg") center center / cover no-repeat;
  }

  .hero-inner {
    padding: 52px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 10vw, 4.4rem);
    max-width: 9ch;
    line-height: 0.94;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-search {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .stats-grid,
  .gallery-grid,
  .supporters-logos,
  .activities-grid,
  .project-image-row {
    grid-template-columns: repeat(2, 1fr);
  }

  #map {
    height: 500px;
  }

  .project-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .project-block {
    padding: 22px;
  }

  .project-image-card.large {
    min-height: 280px;
  }

  .project-image-card {
    min-height: 200px;
  }

  .project-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 32px 0;
  }

  .project-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-kicker {
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    max-width: 10ch;
  }

  .hero-tags {
    gap: 10px;
  }

  .pill,
  .meta-chip {
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .stats-grid,
  .gallery-grid,
  .supporters-logos,
  .activities-grid,
  .project-image-row {
    grid-template-columns: 1fr;
  }

  #map {
    height: 420px;
  }

  .chart-wrap {
    height: 240px;
  }

  .trail-body,
  .contact-card,
  .map-sidebar,
  .profile-panel,
  .project-block {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trail-body h3 {
    font-size: 1.2rem;
  }

  .project-content h3 {
    font-size: 1.4rem;
  }

  .project-content p,
  .goal-item p,
  .activity-card p {
    font-size: 0.95rem;
  }

  .project-image-card.large {
    min-height: 240px;
  }

  .project-image-card {
    min-height: 180px;
  }
}

.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-icons img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: 0.2s;
}

.social-icons img:hover {
  opacity: 1;
  transform: scale(1.1);
}