/* header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px 10px 20px;
    box-sizing: border-box;
    z-index: 1001;
    padding: 20px 30px;
    background-color: rgba(220, 220, 220, 0.6);
}
#header.scrolled {
    /* background-color: rgba(140, 139, 139, 0.6); */
    backdrop-filter: blur(10px); /* אפקט זכוכית מט */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
    background-color: white;
    /* border-bottom: 1px solid rgb(0, 160, 184); */
    /* box-shadow: rgba(255, 255, 255, .2) 0 3px 20px inset, rgb(255, 255, 255) 0 3px 30px, rgb(255, 255, 255) 0 5px 13px; */
  }

#logoHeader {
    width: clamp(100px, 8vw, 130px);
}

#menuIcon {
    width: clamp(50px, 3vw, 60px);
    cursor: pointer;
    margin-left: 10px;
}

/* ------------------------------------------------------------- */
/* menu */
#menu {
  position: fixed;
  top: 0;
  left: -280px;         /* מוסתר בהתחלה */
  width: 250px;
  height: 100%;
  background: rgb(20, 95, 99);
  border-radius: 0 40px 40px 0; /* פינות מעוגלות מצד שמאל */
  box-shadow: 5px 0 20px rgba(0,0,0,0.2);
  font-family: 'Heebo', sans-serif;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: left 0.4s ease , opacity 0.4s ease;
  opacity: 0;
  z-index: 2000;
}

#menu.open {
  left: 0; /* נכנס פנימה */
  opacity: 1;
}

/* כפתור התפריט והלינקים בפנים */
#menu .menu-button {
  display: block;
  background: rgb(160, 56, 19);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 25px;
  text-align: center;
  font-size: clamp(16px, 3vw, 18px);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

#menu .menu-button:hover {
  background: rgb(111, 39, 13);
  transform: scale(1.05);
}

/* כפתור הסגירה */
#menu #closeBtn {
  background: transparent;
  color: white;
  font-size: 20px;
  font-weight: bold;
  align-self: flex-start;
  margin-bottom: 20px;
  cursor: pointer;
}