/* ============================================
   BON DONJI VAKUF – Modern CSS
   File: assets/style.css
   Version: Clean & Minimal
============================================ */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --ink: #0b1a2e;
  --ink-light: #1a2d44;
  --ink-mid: #2a405b;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --green: #22c55e;
  --gray: #f1f5f9;
  --gray-border: #e2e8f0;
  --ink-faint: #64748b;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(11, 26, 46, 0.12);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* ---------- UTILITY ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 1.25rem;
  }
}

.rule {
  border: none;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
  padding-top: 1rem; 
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-head h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--ink-faint);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink-light);
  border-color: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Alternativni pristup - koristite CSS varijable */
.btn-outline {
  background: transparent;
  color: var(--btn-color, var(--ink));
  border-color: var(--btn-border, var(--gray-border));
}

.btn-outline:hover {
  border-color: var(--btn-hover-border, var(--ink));
  background: var(--btn-hover-bg, rgba(11, 26, 46, 0.04));
  transform: translateY(-2px);
}

/* Na tamnoj pozadini */
.hero .btn-outline,
.final-cta .btn-outline {
  --btn-color: white;
  --btn-border: rgba(255, 255, 255, 0.3);
  --btn-hover-border: white;
  --btn-hover-bg: rgba(255, 255, 255, 0.1);
}

/* ---------- HEADER ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.6rem 2rem;
  gap: 1rem;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.6rem 1.25rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--gray);
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
  letter-spacing: -0.04em;
}

.brand-text {
  line-height: 1.2;
}

.brand-text .b1 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.brand-text .b2 {
  font-size: 0.65rem;
  color: var(--ink-faint);
  font-weight: 400;
}

.primary {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.primary a {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition);
  color: var(--ink-faint);
}

.primary a:hover {
  background: var(--gray);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.lang-switch a {
  padding: 0.2rem 0.1rem;
  transition: var(--transition);
}

.lang-switch a[aria-current="true"] {
  color: var(--ink);
}

.lang-switch a:hover:not([aria-current="true"]) {
  color: var(--ink);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 4px;
  transition: var(--transition);
}


/* ============================================
   HERO – with background image
============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  background-image: url('bondv.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 46, 0.75);
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
}

/* Hero Content */
.hero .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: white;
}

.hero .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero Badges */
.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: var(--transition);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.hero-badge .val {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.hero-badge .lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-badges {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-badge {
    padding: 1rem;
  }

  .hero-badge .val {
    font-size: 1.3rem;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0;
  }
}

/* ---------- FACTS STRIP ---------- */
.facts {
  background: var(--ink);
  color: white;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.facts.tight {
  padding: 1.8rem 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1.25rem;
  }
}

.fact .val {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-light);
}

.fact .lbl {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
}

/* ---------- GRID ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- CARDS ---------- */
.card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card .idx {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-faint);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card .tag-row {
  margin-top: 1rem;
}

/* ---------- TAGS ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  background: var(--gray);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-faint);
  border: 1px solid var(--gray-border);
}

/* ---------- COMPARE ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--gray-border);
  margin: 2rem 0;
}

.compare .col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.compare .col ul {
  list-style: none;
  padding: 0;
}

.compare .col ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.compare .col ul li:last-child {
  border-bottom: none;
}

.compare .col.right ul li {
  color: var(--ink);
}

.vs {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.5rem 0.8rem;
  border-radius: 100px;
  align-self: center;
}

@media (max-width: 768px) {
  .compare {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .vs {
    justify-self: center;
  }
}

/* ---------- CALC ---------- */
.calc {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--gray-border);
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.calc .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.calc h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.calc p {
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 0.25rem;
}

.field input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--gray);
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.calc-note {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--gray);
  border-radius: 8px;
}

/* ---------- CAPACITY STACK ---------- */
.capacity-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.capacity-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.capacity-card:hover {
  box-shadow: var(--shadow);
}

.capacity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--gray);
  border-bottom: 1px solid var(--gray-border);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.capacity-head .eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.capacity-head h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.metric {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  background: white;
  padding: 0.2rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--gray-border);
}

.capacity-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
}

@media (max-width: 640px) {
  .capacity-body {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .capacity-head {
    padding: 1rem 1.25rem;
  }
}

.spec-list {
  list-style: none;
  padding: 0;
}

.spec-list li {
  padding: 0.2rem 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
  position: relative;
  padding-left: 1rem;
}

.spec-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.capacity-foot {
  padding: 1rem 2rem 1.5rem 2rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 640px) {
  .capacity-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem 1.25rem;
  }
}

/* ---------- FLOW ---------- */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem 0;
  padding: 1.5rem;
  background: var(--gray);
  border-radius: 100px;
}

.flow .node {
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  background: white;
  border-radius: 100px;
  border: 1px solid var(--gray-border);
  font-size: 0.9rem;
}

.flow .arrow {
  font-size: 1.2rem;
  color: var(--blue);
  font-weight: 300;
}

@media (max-width: 640px) {
  .flow {
    border-radius: 20px;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
  }

  .flow .arrow {
    transform: rotate(90deg);
  }
}

/* ---------- PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process-step {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  text-align: center;
}

.process-step .n {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.process-step h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- MAP ---------- */
.map-placeholder {
  background: var(--gray);
  padding: 4rem 2rem;
  border-radius: 24px;
  text-align: center;
  border: 2px dashed var(--gray-border);
  color: var(--ink-faint);
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--gray), #e2e8f0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-faint);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  cursor: default;
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--blue);
}

/* ---------- VIDEO ---------- */
.video-block {
  margin: 2rem 0;
}

.video-shell {
  background: var(--ink);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  color: white;
}

.video-shell video {
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  margin: 0 auto 1rem auto;
  display: block;
  background: black;
}

.video-shell p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.faq-q {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  gap: 1rem;
  color: var(--ink);
}

.faq-q:hover {
  background: var(--gray);
}

.faq-q .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  transition: var(--transition);
}

.faq-q[aria-expanded="true"] {
  background: var(--gray);
}

.faq-q[aria-expanded="true"] .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-a p {
  padding: 0 0 1.25rem 0;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.5rem;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--ink);
  padding: 5rem 0;
  color: white;
  text-align: center;
}

.final-cta .section-head h2 {
  color: white;
}

.final-cta .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.final-cta .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--blue-light);
}

.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- FOOTER ---------- */
footer.site {
  background: var(--ink);
  color: white;
  padding: 3rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-grid .brand-text .b1 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-grid .brand-text .b2 {
  font-size: 0.85rem;
  opacity: 0.6;
  font-weight: 400;
}

.footer-grid a[href^="mailto"] {
  display: inline-block;
  color: var(--blue-light);
  font-weight: 500;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.footer-grid a[href^="mailto"]:hover {
  text-decoration: underline;
}

.footer-grid h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 0.3rem;
}

.footer-grid ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-grid ul li a:hover {
  opacity: 1;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .footer-legal {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
/* ---------- RESPONZIVNI MENI FIX ---------- */

/* Hamburger dugme - uvijek vidljivo na mobilnim */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 4px;
  transition: var(--transition);
}

/* Animacija za hamburger (X state) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop navigacija */
.primary {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: wrap;
}
/* ---------- RESPONZIVNI MENI (sa animacijom) ---------- */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .primary {
    display: none;
    flex-direction: column;
    width: calc(100% - 2rem);
    background: white;
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    gap: 0.25rem;
    z-index: 1000;
    border: 1px solid var(--gray-border);
    
    /* ANIMACIJA */
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    transform-origin: top center;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s ease;
    visibility: hidden;
    pointer-events: none;
  }

  .primary.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: all;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .primary a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    border-radius: 8px;
    
    /* Opcionalno: animacija za linkove */
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  }

  .primary.open a {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger delay */
  .primary.open a:nth-child(1) { transition-delay: 0.03s; }
  .primary.open a:nth-child(2) { transition-delay: 0.06s; }
  .primary.open a:nth-child(3) { transition-delay: 0.09s; }
  .primary.open a:nth-child(4) { transition-delay: 0.12s; }
  .primary.open a:nth-child(5) { transition-delay: 0.15s; }
  .primary.open a:nth-child(6) { transition-delay: 0.18s; }
  .primary.open a:nth-child(7) { transition-delay: 0.21s; }

  .primary a:hover {
    background: var(--gray);
  }
}

@media (max-width: 460px) {
  .primary {
    width: calc(100% - 1.5rem);
    left: 0.75rem;
    right: 0.75rem;
    padding: 1rem;
    top: calc(100% + 0.25rem);
  }

  .primary a {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }
}
/* ---------- MALE EKRANI (telefoni) ---------- */
@media (max-width: 480px) {
  .header-inner {
    padding: 0.6rem 1rem;
  }

  .brand-text .b1 {
    font-size: 0.7rem;
  }

  .brand-text .b2 {
    font-size: 0.55rem;
  }

  .brand-mark {
    font-size: 1.3rem;
    padding: 0.05rem 0.4rem;
  }

  .primary {
    padding: 1rem;
  }

  .primary a {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ---------- STANDORT ENERGY GRID ---------- */
.standort-energy {
  padding: 4rem 0;
  background: var(--white);
}

.standort-energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .standort-energy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---------- SLIKA ---------- */
.standort-energy-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.energy-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.energy-image:hover {
  transform: scale(1.02);
}

.image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 26, 46, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 460px) {
  .energy-image {
    min-height: 250px;
  }
  
  .image-badge {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
}

/* ---------- SADRŽAJ ---------- */
.standort-energy-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.standort-energy-content .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  width: fit-content;
}

.standort-energy-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 768px) {
  .standort-energy-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 460px) {
  .standort-energy-content h2 {
    font-size: 1.5rem;
  }
}

.lead-text {
  font-size: 1.1rem;
  color: var(--ink-faint);
  line-height: 1.7;
  max-width: 600px;
}

.lead-text strong {
  color: var(--ink);
}

@media (max-width: 460px) {
  .lead-text {
    font-size: 0.95rem;
  }
}

/* ---------- ENERGY CARDS ---------- */
.energy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 460px) {
  .energy-cards {
    grid-template-columns: 1fr;
  }
}

.energy-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--gray);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.energy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--blue);
}

.energy-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.energy-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.energy-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.energy-desc {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 0.25rem;
  line-height: 1.5;
}

@media (max-width: 460px) {
  .energy-card {
    padding: 1rem;
  }
  
  .energy-value {
    font-size: 1.2rem;
  }
  
  .energy-desc {
    font-size: 0.8rem;
  }
}

/* ---------- FEATURES LIST ---------- */
.energy-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
}

.energy-features li {
  font-size: 0.9rem;
  color: var(--ink-faint);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.energy-features li strong {
  color: var(--ink);
}

@media (max-width: 640px) {
  .energy-features {
    grid-template-columns: 1fr;
  }
  
  .energy-features li {
    font-size: 0.85rem;
  }
}

/* ---------- CTA ---------- */
.energy-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

@media (max-width: 460px) {
  .energy-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .energy-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-note {
    text-align: center;
    font-size: 0.75rem;
  }
}

/* ============================================
   SALARY HIGHLIGHT BOX
============================================ */

.salary-highlight {
  margin: 2rem 0 2.5rem 0;
  background: linear-gradient(145deg, #f8fafc, #eef2f6);
  border-radius: 24px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.salary-highlight-inner {
  padding: 2rem 2.5rem;
}

@media (max-width: 768px) {
  .salary-highlight-inner {
    padding: 1.5rem;
  }
}

@media (max-width: 460px) {
  .salary-highlight-inner {
    padding: 1.25rem;
  }
}

.salary-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

@media (max-width: 460px) {
  .salary-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.75rem;
  }
}

.salary-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .salary-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    row-gap: 1.5rem;
  }
  
  .salary-grid .salary-divider:last-child {
    display: none;
  }
}

@media (max-width: 460px) {
  .salary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .salary-grid .salary-divider {
    display: none;
  }
}

.salary-item {
  text-align: center;
}

.salary-item.salary-compare {
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  border: 2px solid var(--blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

@media (max-width: 460px) {
  .salary-item.salary-compare {
    padding: 0.75rem 1rem;
  }
}

.salary-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .salary-value {
    font-size: 1.8rem;
  }
}

@media (max-width: 460px) {
  .salary-value {
    font-size: 1.5rem;
  }
}

.salary-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-faint);
  margin-top: 0.15rem;
  line-height: 1.4;
}

.salary-label .salary-note {
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.7;
}

.salary-divider {
  width: 1px;
  height: 50px;
  background: var(--gray-border);
}

@media (max-width: 768px) {
  .salary-divider {
    height: 40px;
  }
}

.salary-disclaimer {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-border);
  opacity: 0.7;
}

@media (max-width: 460px) {
  .salary-disclaimer {
    font-size: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
  }
}
/* ---------- GALLERY IMAGE OVERRIDES ---------- */
/* Nadogradnja postojeće .gallery-item klase iz vašeg CSS-a */
.gallery-item {
  overflow: hidden; /* Sijeca sliku unutar border-radiusa od 16px */
  padding: 0;       /* Uklanja eventualni padding ako slika ide do ruba */
}

/* Postojeća .energy-image klasa već ima width/height/object-fit definisan u CSS-u, 
   ali dodajemo precizne dimenzije za usklađenost unutar galerije */
.gallery-item .energy-image {
  width: 100%;
  height: 100%;
  min-height: auto; /* Poništava min-height: 400px iz .standort-energy selektora */
  object-fit: cover;
}
a.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 10px;
  background-color: #25d366;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

a.whatsapp svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

a.whatsapp:hover {
  background-color: #20ba5a;
  transform: scale(1.08);
}