/* 🌍 World Clocks Clean Style */

.clocks-section {
  background: linear-gradient(to right, #ffffff, #eaf9ea);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.02);
  border: 1px solid #f5f5f5;
  padding: 30px 20px;
  color: #333;
}

.clocks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
  margin: 40px auto;
  max-width: 1200px;
}


.clock-box {
  text-align: center;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centrira sve (sat + ime + digital) */
}

.clock-box canvas {
  display: block;
  margin: 0 auto;
}

.city-label {
  margin-top: 6px;
  font-weight: 600;
  font-size: 14px;
}

.city-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.digital {
  font-size: 13px;
  font-family: monospace;
  margin: 2px 0;
  color: #333;
}

.flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border: 1px solid #ccc;
}


/* 📱 Responsive */
@media (max-width: 900px) {
  .clocks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .clocks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
