import{c as x,r as i,d as f,j as a,B as c,X as u}from"./index-CGDW0kIg.js";/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const v=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],h=x("chevron-down",v);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const g=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],N=x("menu",g),p=[{label:"About",href:"/about"},{label:"Services",href:"#services",submenu:[{label:"Website-as-a-Service (WaaS)",href:"/website-as-a-service",featured:!0},{label:"divider",href:"#",divider:!0},{label:"Local SEO & GEO Optimization",href:"/local-seo-services"},{label:"Digital Engineering",href:"/web-design-service"},{label:"Growth Analytics",href:"/services/cro"},{label:"Custom Applications",href:"/services/custom-applications",deepForest:!0},{label:"AI Receptionist",href:"/services/ai-receptionist",deepForest:!0},{label:"Online Advertising",href:"/online-advertising",deepForest:!0},{label:"Website Maintenance",href:"/website-maintenance",deepForest:!0}]},{label:"Locations",href:"#regions",submenu:[{label:"Barrie, ON",href:"/locations/barrie"},{label:"Orillia, ON",href:"/locations/orillia"},{label:"Collingwood, ON",href:"/locations/collingwood"},{label:"Wasaga Beach, ON",href:"/locations/wasaga-beach"},{label:"Vaughan, ON",href:"/locations/vaughan"},{label:"Toronto, ON",href:"/locations/toronto"},{label:"Innisfil, ON",href:"/locations/innisfil"},{label:"Bradford, ON",href:"/locations/bradford"}]},{label:"Portfolio",href:"/portfolio"},{label:"Insights",href:"/insights"},{label:"Results",href:"/results"},{label:"Reviews",href:"/reviews"},{label:"Contact",href:"/contact"}];function j(){const[m,b]=i.useState(!1),[l,r]=i.useState(!1),[o,n]=i.useState(null),d=f();i.useEffect(()=>{const e=()=>{b(window.scrollY>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);const s=e=>{if(e.startsWith("#")){const t=document.querySelector(e);t&&t.scrollIntoView({behavior:"smooth"})}else d(e);r(!1),n(null)};return a.jsx("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${m?"py-3 bg-white/95 backdrop-blur-lg shadow-soft border-b border-forest/5":"py-5 bg-white/90 backdrop-blur-md"}`,"data-id":"uaoil6yvm","data-path":"src/components/Navigation.tsx",children:a.jsxs("div",{className:"container mx-auto px-4 lg:px-8","data-id":"qkiyutls7","data-path":"src/components/Navigation.tsx",children:[a.jsxs("div",{className:"flex items-center justify-between","data-id":"906t3z5yn","data-path":"src/components/Navigation.tsx",children:[a.jsx("a",{href:"/",className:"flex items-center group",onClick:e=>{e.preventDefault(),d("/")},"data-id":"8iwukmlym","data-path":"src/components/Navigation.tsx",children:a.jsx("img",{src:"https://cdn.ezsite.ai/AutoDev/66721/e6b15bfc-48a6-4e7c-ab62-0c4ac90dc7ce.webp",alt:"Certtech Web Solutions",className:"h-10 md:h-12 w-auto object-contain transition-transform duration-300 group-hover:scale-105","data-id":"zhl2l01kw","data-path":"src/components/Navigation.tsx"})}),a.jsx("div",{className:"hidden lg:flex items-center gap-1","data-id":"guaet4iw2","data-path":"src/components/Navigation.tsx",children:p.map(e=>a.jsxs("div",{className:"relative",onMouseEnter:()=>e.submenu&&n(e.label),onMouseLeave:()=>n(null),"data-id":"3qcmjn53a","data-path":"src/components/Navigation.tsx",children:[a.jsxs("button",{onClick:()=>s(e.href),className:"flex items-center gap-1 px-4 py-2 text-sm font-medium text-forest/70 hover:text-forest transition-colors rounded-lg hover:bg-lime/10","data-id":"umrj30die","data-path":"src/components/Navigation.tsx",children:[e.label,e.submenu&&a.jsx(h,{className:`w-4 h-4 transition-transform ${o===e.label?"rotate-180":""}`,"data-id":"vwsqgglz7","data-path":"src/components/Navigation.tsx"})]}),e.submenu&&o===e.label&&a.jsx("div",{className:"absolute top-full left-0 pt-2 w-64 animate-slide-down","data-id":"zvc24u0ec","data-path":"src/components/Navigation.tsx",children:a.jsx("div",{className:"bg-white rounded-xl p-2 shadow-soft-lg border border-forest/5","data-id":"1z9j6o7pw","data-path":"src/components/Navigation.tsx",children:e.submenu.map(t=>t.divider?a.jsx("div",{className:"my-2 border-t border-gray-200","data-id":"x84sg03a6","data-path":"src/components/Navigation.tsx"},"divider"):a.jsx("button",{onClick:()=>s(t.href),className:`w-full text-left px-4 py-3 text-sm rounded-lg transition-colors hover:bg-[#F4F7F4] hover:text-[#9EE970] ${t.featured?"font-bold text-[#0F2E00]":"text-forest/70"}`,"data-id":"tfmqxmeak","data-path":"src/components/Navigation.tsx",children:a.jsxs("span",{className:"flex items-center gap-2","data-id":"0qej8lrz0","data-path":"src/components/Navigation.tsx",children:[t.label,t.featured&&a.jsx("span",{className:"text-xs px-2 py-0.5 rounded-full bg-[#9EE970] text-[#0F2E00] font-semibold shadow-[0_0_8px_rgba(158,233,112,0.6)]","data-id":"qj59uh8pr","data-path":"src/components/Navigation.tsx",children:"Popular"})]})},t.label))})})]},e.label))}),a.jsxs("div",{className:"hidden lg:flex items-center gap-4","data-id":"p3xobehlx","data-path":"src/components/Navigation.tsx",children:[a.jsx("a",{href:"tel:+18882189088",className:"text-sm text-forest/60 hover:text-lime-dark transition-colors","data-id":"hfsajhzyf","data-path":"src/components/Navigation.tsx",children:"1-888-218-9088"}),a.jsx(c,{onClick:()=>s("/discovery-call"),className:"bg-lime hover:bg-lime-dark text-forest font-bold px-6 btn-3d group","data-id":"wic1jkohj","data-path":"src/components/Navigation.tsx",children:"Book Discovery Call"})]}),a.jsx("button",{className:"lg:hidden p-2 text-forest hover:text-lime-dark transition-colors",onClick:()=>r(!l),"data-id":"pesh7oei7","data-path":"src/components/Navigation.tsx",children:l?a.jsx(u,{className:"w-6 h-6","data-id":"75lgm0uq1","data-path":"src/components/Navigation.tsx"}):a.jsx(N,{className:"w-6 h-6","data-id":"uf3p0kt4x","data-path":"src/components/Navigation.tsx"})})]}),l&&a.jsxs("div",{className:"lg:hidden mt-4 bg-white rounded-xl p-4 shadow-soft-lg border border-forest/5 animate-slide-down","data-id":"yo3qlzqva","data-path":"src/components/Navigation.tsx",children:[p.map(e=>a.jsxs("div",{className:"border-b border-forest/5 last:border-0","data-id":"iq9k4l2uh","data-path":"src/components/Navigation.tsx",children:[a.jsxs("button",{onClick:()=>{e.submenu?n(o===e.label?null:e.label):s(e.href)},className:"w-full flex items-center justify-between py-3 text-forest font-medium","data-id":"pw0f3unim","data-path":"src/components/Navigation.tsx",children:[e.label,e.submenu&&a.jsx(h,{className:`w-4 h-4 transition-transform ${o===e.label?"rotate-180":""}`,"data-id":"gqqwwsymi","data-path":"src/components/Navigation.tsx"})]}),e.submenu&&o===e.label&&a.jsx("div",{className:"pl-4 pb-3 space-y-1","data-id":"4pmej0hym","data-path":"src/components/Navigation.tsx",children:e.submenu.map(t=>t.divider?a.jsx("div",{className:"my-2 border-t border-gray-200","data-id":"bt9zfwss2","data-path":"src/components/Navigation.tsx"},"divider"):a.jsx("button",{onClick:()=>s(t.href),className:`block w-full text-left py-2 text-sm transition-colors hover:text-[#9EE970] ${t.featured?"font-bold text-[#0F2E00]":"text-forest/60"}`,"data-id":"tjsux4cig","data-path":"src/components/Navigation.tsx",children:a.jsxs("span",{className:"flex items-center gap-2","data-id":"23kerjqra","data-path":"src/components/Navigation.tsx",children:[t.label,t.featured&&a.jsx("span",{className:"text-xs px-2 py-0.5 rounded-full bg-[#9EE970] text-[#0F2E00] font-semibold shadow-[0_0_8px_rgba(158,233,112,0.6)]","data-id":"76zk5nqth","data-path":"src/components/Navigation.tsx",children:"Popular"})]})},t.label))})]},e.label)),a.jsxs("div",{className:"pt-4 space-y-3","data-id":"3zpcvsgpe","data-path":"src/components/Navigation.tsx",children:[a.jsx("a",{href:"tel:+18882189088",className:"block text-center text-forest/60 hover:text-lime-dark transition-colors","data-id":"fntp7iz9b","data-path":"src/components/Navigation.tsx",children:"1-888-218-9088"}),a.jsx(c,{onClick:()=>s("/discovery-call"),className:"w-full bg-lime hover:bg-lime-dark text-forest font-bold","data-id":"ck96pgqo1","data-path":"src/components/Navigation.tsx",children:"Book Discovery Call"})]})]})]})})}export{h as C,j as N};