* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== Felső sáv a hamburger ikonnal ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.hamburger {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 20px;
  background: #222;
  border-radius: 2px;
}

/* ===== "Vissza" link az aloldalakon ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.85);
  color: #222;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 6px;
}

.back-link:hover {
  background: #ffffff;
}

.back-link .arrow {
  font-size: 18px;
  line-height: 1;
}

/* ===== Sötétítő háttér a menü mögött ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Becsúszó menü panel ===== */
.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  max-width: 80%;
  background: transparent;
  box-shadow: none;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 30;
  display: flex;
  flex-direction: column;
}

.menu-panel.open {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 16px;
  background: transparent;
  border-bottom: none;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #ffd400;
  font-weight: bold;
  padding: 4px 10px;
}

.close-btn:hover {
  color: #fff2a8;
}

.menu-items {
  list-style: none;
  padding: 10px 0;
}

.menu-items li a {
  display: block;
  padding: 16px 24px;
  color: #ffd400;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  background: transparent;
  border-bottom: none;
}

.menu-items li a:hover {
  background: #f7f5f2;
}

.menu-items li a.current {
  text-decoration: underline;
  background: transparent;
}

/* ===== Tartalom terület (ha kell szöveg is a képre) ===== */
main {
  padding: 90px 20px 20px;
}
