
/* === Overlay === */
.krivam-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: width 0.5s ease;
  z-index: 3000;
  overflow: hidden;
}
.krivam-overlay.krivam-active {
  width: 100%;
}

/* === Panel === */
.krivam-panel {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
  transition: left 0.4s ease;
  z-index: 3001;
  display: flex;
  flex-direction: column;
}
.krivam-panel.krivam-active {
  left: 0;
}

/* === Sections === */
.krivam-header,
.krivam-body,
.krivam-footer {
  padding: 20px;
}
.krivam-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.krivam-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px 20px;
}
.krivam-footer {
  border-top: 1px solid #eee;
  padding: 20px;
}

/* === Logo & Close === */
.krivam-logo {
  width: 130px;
}
.krivam-close {
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
}

/* === Links === */
.krivam-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.krivam-links a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
}
.krivam-links a:hover {
  opacity: 0.8;
}

/* === Dropdown === */
.krivam-dropdown > .krivam-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

.krivam-arrow {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.krivam-submenu {
  list-style: none;
  margin: 8px 0 0 15px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.krivam-submenu li a {
  font-size: 14px;
  color: #333;
  display: block;
  padding: 8px 0;
  text-decoration: none;
}

/* === Dropdown Open === */
.krivam-dropdown.krivam-open .krivam-submenu {
  max-height: 300px;
  opacity: 1;
}
.krivam-dropdown.krivam-open .krivam-arrow {
  transform: rotate(-135deg);
}

/* === Contact Button === */
.krivam-contact-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: white;
  color: #f5a623;
  border: 2px solid #f5a623;
  border-radius: 5px;
  padding: 12px 0;
  font-weight: 500;
  text-decoration: none;
}
.krivam-contact-btn:hover {
  background: #f5a623;
  color: white;
}
