body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f2f2f2;
  color: #333;
}

header {
  display: flex;
  flex-direction: column; /* Logo gore, naslov ispod */
  align-items: center; /* Centriraj sve vodoravno */
  text-align: center;
  background-color: #000; /* (ako želiš tamnu pozadinu) */
  padding: 20px;
}

header .logo {
  @keyframes rotacija {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rotiraj {
  animation: rotacija 1s linear;
}
  width: 120px; /* po potrebi smanji/povećaj */
  height: auto;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2rem;
  color: gold; /* ili #fff ako želiš belo */
  margin: 0;
}


.gallery {
  padding: 2rem;
  background-color: #fff;
}

.gallery h2 {
  text-align: center;
}

.items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.item {
  width: 300px;
  background-color: #eaeaea;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.contact {
  background-color: #eee;
  padding: 2rem;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #111;
  color: #ccc;
  padding: 15px 30px;
  border-top: 1px solid rgba(255,215,0,0.3);
  font-family: "Segoe UI", sans-serif;
}

#stats-panel {
  background: linear-gradient(145deg, rgba(10,10,10,0.95), rgba(25,25,25,0.9));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 12px;
  padding: 10px 15px;
  color: #ffd700;
  font-family: "Orbitron", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  width: 220px;
  box-shadow: 0 0 20px rgba(255,215,0,0.2);
  backdrop-filter: blur(4px);
  animation: fadeIn 1.2s ease;
}

.stats-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,215,0,0.3);
  padding-bottom: 5px;
  margin-bottom: 6px;
}

.stats-title {
  font-weight: bold;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 0 8px rgba(255,215,0,0.6);
}

.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #0f0, #030);
  box-shadow: 0 0 5px #0f0;
  animation: pulseLed 2s infinite ease-in-out;
}

@keyframes pulseLed {
  0%,100% { opacity: 0.9; }
  50% { opacity: 0.4; }
}

.stats-body .stat {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,215,0,0.1);
}

.stats-body .stat:last-child { border-bottom: none; }

.label { color: #bbb; }

.value {
  font-weight: bold;
  color: #fffacd;
  text-shadow: 0 0 6px rgba(255,255,200,0.8);
}
.logo {
  width: 120px;
  cursor: pointer;
  transform-origin: center center; /* važno da se rotira oko sredine */
}



/* ------------------------ */
/* 🔄 Rotacija loga Grujans */
/* ------------------------ */
.logo {
  width: 120px;
  cursor: pointer;
  transform-origin: center center; /* rotira oko centra */
}

/* animacija 360 stepeni */
@keyframes rotacija {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* klasa koja se aktivira klikom */
.rotiraj {
  animation: rotacija 1s linear;
}

