import{r as c,j as e,L as a}from"./app-BeXbqfQ0.js";function h({transparent:n=!1}){const[o,t]=c.useState(!n),[r,i]=c.useState(!1),s=()=>i(!1),d=n&&!o;return c.useEffect(()=>{if(!n)return;const l=()=>t(window.scrollY>60);return l(),window.addEventListener("scroll",l,{passive:!0}),()=>window.removeEventListener("scroll",l)},[n]),e.jsxs("header",{className:`lp-header${d?" lp-header--dark":" lp-header--light"}${r?" menu-open":""}`,children:[e.jsx(a,{href:"/",className:"lp-brand","aria-label":"دانشیار من - صفحه اصلی",children:e.jsx("img",{className:"lp-brand-logo",src:"/assets/images/logo/daneshyar-header.png",alt:"دانشیار من"})}),e.jsxs("nav",{className:`lp-nav${r?" open":""}`,"aria-label":"منوی اصلی",children:[e.jsx(a,{href:"/features",onClick:s,className:"lp-nav-link",children:"امکانات"}),e.jsx(a,{href:"/#about",onClick:s,className:"lp-nav-link",children:"درباره ما"}),e.jsx(a,{href:"/faq",onClick:s,className:"lp-nav-link",children:"سوالات متداول"}),e.jsx(a,{href:"/contact",onClick:s,className:"lp-nav-link",children:"تماس"}),e.jsx("div",{className:"lp-nav-mobile-actions",children:e.jsx(a,{href:"/contact",onClick:s,className:"lp-nav-btn lp-nav-btn--primary",children:"درخواست دمو"})})]}),e.jsx("div",{className:"lp-header-actions",children:e.jsx(a,{href:"/contact",className:"lp-nav-btn lp-nav-btn--primary",children:"درخواست دمو"})}),e.jsxs("button",{className:"lp-hamburger",type:"button","aria-label":"منو","aria-expanded":r,onClick:()=>i(l=>!l),children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})]})}export{h as L};
