/* Glavni stil za dark theme */
body.dark-theme {
  background-color: #0f0f1a;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1e1e30;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

header .logo-placeholder img {
  height: 60px;
}

nav a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
}

nav a:hover {
  color: #ffd369;
}

.hero {
  text-align: center;
  color: #fff;
  padding: 4rem 1rem;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 3rem; /* 🔥 enak razmik kot na drugih podstraneh */
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  display: inline-block;
  border-radius: 12px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* 🔥 enoten razmik med kalkulatorjem in sidebarjem */
}

.orodje-box {
  background-color: #1e1e30;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 211, 105, 0.1);
  margin-bottom: 2rem;
  flex: 1 1 700px;
}

.orodje-box h3 {
  margin-top: 0;
  color: #ffd369;
}

button {
  background-color: #ffd369;
  color: #1e1e30;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #ffb347;
}

/* Input skupine v kalkulatorju */
.input-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* 🔥 DROPDOWN polja – naj zavzamejo celotno širino boxa */
select {
  background-color: #1e1e30;
  color: #fff;
  border: 1px solid #555;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%; /* zavzame celotno širino orodje-box */
  display: block;
  box-sizing: border-box;
}

select option {
  background-color: #1e1e30;
  color: #fff;
}

/* Rezultat izračuna */
#rezultat {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #2a2a40;
  border-radius: 8px;
  border-left: 4px solid #ffd369;
}

/* Sidebar */
.sidebar-vsebina {
  background-color: #1e1e30;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 211, 105, 0.1);
  flex: 1 1 280px;
}

/* Footer */
footer {
  background-color: #1e1e30;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
