* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Inter", sans-serif;
  background: #E1C485;
  color: #fff;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER – IDENTIČAN */
.site-header {
  background: #E1C485;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo img {
  height: 40px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* HERO */
.hero {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.hero-inner {
  width: 90%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

/* TEXT */
.text-block h1 {
  font-size: 44px;
  margin-bottom: 24px;
}

.text-block p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.95;
}

/* VISUAL */
.visual-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.icon-card img {
  width: 50px;
  height: 50px;
}

.icon-card span {
  font-weight: 600;
}
/* INTERACTIVE CARDS */
.icon-card.interactive {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-card.interactive:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}




.icon-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon-content .hint {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

/* MINI GRAFIKONI */
.bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bars div {
  font-size: 12px;
  position: relative;
  text-align:left;
  padding-left:0px;
  color: #fff;              
  font-weight: 600;
  margin-bottom:12px;

}
.bars div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(0);
  width: var(--v);
  height: 6px;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  z-index: 1;
}

/* procenti desno */
.bars div::after {
  content: attr(data-value) "%";
  position: absolute;
  left: 92%;
  top: 100%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
  
}

/* HOVER STATE */
.icon-card.interactive:hover .hint,
.icon-card.interactive:hover .bars {
  opacity: 1;
  max-height: 200px;
}


/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.25);
  padding: 24px 0;
}

.footer-inner {
  text-align: center;
}

/* MOBILE */
@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .text-block h1 {
    font-size: 32px;
  }

  .text-block p {
    font-size: 16px;
  }

  .visual-block {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .icon-card {
    width: 100%;
    max-width: 93%;
  }
    .icon-card.interactive:hover {
    transform: none;
  }

  .icon-content .hint,
  .bars {
    opacity: 1;
    max-height: none;
  }
  .bars div{
	  text-align:left;
	  padding-left:0px;
}
