/* hamburger.css - Hamburger menu til hele websitet */

/** HAMBURGER MENU */

.hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(135deg, #f0f8ff 0%, #c6e2ff 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.hamburger-button {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-button span {
  display: block;
  height: 3px;
  width: 100%;
  background: #003755;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-button.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.site-title {
  color: #003755;
  font-size: 20px;
  font-weight: 600;
  margin-left: 20px;
  flex-grow: 1;
}

/* Slide-out navigation */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.nav-panel.active {
  left: 0;
}

.nav-header {
  background: linear-gradient(135deg, #f0f8ff 0%, #c6e2ff 100%);
  padding: 20px;
  color: #003755;
}

.nav-header h3 {
  margin: 0;
  color: #003755;
  font-size: 18px;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  border-bottom: 1px solid #e1e8ed;
}

.nav-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-size: 15px;
  transition: background 0.3s ease;
  text-decoration: none;
}

.nav-menu a:hover {
  background: #f5f7fa;
  color: #3498db;
}

.nav-menu .dropdown-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f9f9f9;
}

.nav-menu .dropdown-submenu li {
  border-bottom: 1px solid #e1e8ed;
}

.nav-menu .dropdown-submenu a {
  padding-left: 40px;
  font-size: 14px;
}