(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1327],{68291:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var r=a(65531);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,r.Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},74530:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var r=a(65531);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,r.Z)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},6141:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var r=a(65531);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,r.Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},92851:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var r=a(65531);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,r.Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},67972:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var r=a(65531);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,r.Z)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},10878:function(e,t,a){Promise.resolve().then(a.bind(a,30885))},30885:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return Z}});var r=a(57437),o=a(46339),s=a(81517),n=a(2265),i=a(68329),l=a(16307),c=a(1295),d=a(12741),m=a(96142),u=a(6141),h=a(65531);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let x=(0,h.Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]),p=(0,h.Z)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),f=(0,h.Z)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);var g=a(92851),b=a(67972);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let y=(0,h.Z)("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]),v=(0,h.Z)("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]),j=(0,h.Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]),N=(0,h.Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var w=a(68291),k=a(74530),E=a(12284);function S(){let{t:e,language:t}=(0,E.Z)(),a=[{icon:c.Z,title:e.contact.methods.email.title,description:e.contact.methods.email.desc,value:"info@musafoods.ca",link:"mailto:info@musafoods.ca",gradient:"from-primary/20 to-accent/20",hoverColor:"text-primary"},{icon:d.Z,title:e.contact.methods.phone.title,description:e.contact.methods.phone.desc,value:"+1 (416) 555-0123",link:"tel:+14165550123",gradient:"from-secondary/20 to-emerald-500/20",hoverColor:"text-secondary"},{icon:m.Z,title:e.contact.methods.visit.title,description:e.contact.methods.visit.desc,value:"Toronto, ON",link:"#",gradient:"from-foreground/20 to-primary/20",hoverColor:"text-foreground"}],o=[{label:e.contact.stats.responseTime,value:"< 24 hours",icon:u.Z},{label:e.contact.stats.globalClients,value:"500+",icon:x},{label:e.contact.stats.qualityGrade,value:"Premium",icon:p},{label:e.contact.stats.satisfaction,value:"100%",icon:f}],[s,h]=(0,n.useState)({name:"",email:"",company:"",subject:"",message:""}),[S,Z]=(0,n.useState)({}),[M,C]=(0,n.useState)(!1),[z,H]=(0,n.useState)(!1),O=(0,n.useRef)(null),q=(e,t)=>{h(a=>({...a,[e]:t})),S[e]&&Z(t=>({...t,[e]:""}))},A=()=>{let t={};return s.name.trim()||(t.name=e.contact.formSection.errors.nameRequired),s.email.trim()?/\S+@\S+\.\S+/.test(s.email)||(t.email=e.contact.formSection.errors.emailInvalid):t.email=e.contact.formSection.errors.emailRequired,s.subject.trim()||(t.subject=e.contact.formSection.errors.subjectRequired),s.message.trim()?s.message.trim().length<10&&(t.message=e.contact.formSection.errors.messageLength):t.message=e.contact.formSection.errors.messageRequired,Z(t),0===Object.keys(t).length},I=async e=>{if(e.preventDefault(),A()){C(!0);try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!e.ok)throw Error("Failed to send message");C(!1),H(!0)}catch(e){console.error("Submission error:",e),C(!1)}}},T={hidden:{opacity:0,y:60},visible:{opacity:1,y:0,transition:{duration:.8,ease:[.23,.86,.39,.96]}}};return(0,r.jsxs)("section",{className:"relative py-32 bg-[#fbfaf8] text-foreground overflow-hidden",children:[(0,r.jsxs)("div",{className:"absolute inset-0",children:[(0,r.jsx)(i.E.div,{className:"absolute inset-0 bg-gradient-to-br from-primary/[0.08] via-secondary/[0.06] to-accent/[0.08]",animate:{backgroundPosition:["0% 0%","100% 100%","0% 0%"]},transition:{duration:35,repeat:1/0,ease:"linear"},style:{backgroundSize:"400% 400%"}}),(0,r.jsx)(i.E.div,{className:"absolute top-1/3 left-1/5 w-96 h-96 bg-primary/[0.07] rounded-full blur-3xl",animate:{x:[0,200,0],y:[0,100,0],scale:[1,1.3,1]},transition:{duration:30,repeat:1/0,ease:"easeInOut"}}),(0,r.jsx)(i.E.div,{className:"absolute bottom-1/4 right-1/5 w-80 h-80 bg-secondary/[0.07] rounded-full blur-3xl",animate:{x:[0,-150,0],y:[0,-80,0],scale:[1,1.2,1]},transition:{duration:25,repeat:1/0,ease:"easeInOut"}}),(0,r.jsx)("div",{className:"absolute inset-0",children:[...Array(6)].map((e,t)=>(0,r.jsx)(i.E.div,{className:"absolute w-px h-40 bg-gradient-to-b from-transparent via-foreground/10 to-transparent",style:{left:"".concat(20+15*t,"%"),top:"".concat(25+8*t,"%"),transform:"rotate(".concat(30+20*t,"deg)")},animate:{opacity:[.2,.8,.2],scaleY:[1,1.5,1]},transition:{duration:3+.5*t,repeat:1/0,ease:"easeInOut",delay:.5*t}},t))})]}),(0,r.jsxs)(i.E.div,{ref:O,className:"relative z-10 max-w-7xl mx-auto px-6",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.2,delayChildren:.3}}},initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},children:[(0,r.jsxs)(i.E.div,{className:"text-center mb-20",variants:T,children:[(0,r.jsxs)(i.E.div,{className:"inline-flex items-center gap-3 px-4 py-2 rounded-full bg-foreground/[0.06] border border-foreground/[0.12] backdrop-blur-sm mb-6",whileHover:{scale:1.05,borderColor:"rgba(0, 0, 0, 0.2)"},children:[(0,r.jsx)(i.E.div,{animate:{rotate:360},transition:{duration:3,repeat:1/0,ease:"linear"},children:(0,r.jsx)(g.Z,{className:"h-4 w-4 text-primary"})}),(0,r.jsxs)("span",{className:"text-sm font-medium text-foreground/80",children:["✨ ",e.contact.hero.badge]}),(0,r.jsx)("div",{className:"w-2 h-2 bg-secondary rounded-full animate-pulse"})]}),(0,r.jsxs)(i.E.h2,{className:"text-4xl sm:text-6xl md:text-7xl font-bold mb-8 tracking-tight",variants:T,children:[(0,r.jsx)("span",{className:"bg-clip-text text-transparent bg-gradient-to-r from-foreground to-foreground/80",children:e.contact.hero.title.part1}),(0,r.jsx)("br",{}),(0,r.jsx)(i.E.span,{className:"bg-clip-text text-transparent bg-gradient-to-r from-primary via-accent to-primary",animate:{backgroundPosition:["0% 50%","100% 50%","0% 50%"]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},style:{backgroundSize:"200% 200%"},children:e.contact.hero.title.part2})]}),(0,r.jsx)(i.E.p,{className:"text-xl sm:text-2xl text-foreground/60 max-w-4xl mx-auto leading-relaxed",variants:T,children:e.contact.hero.description})]}),(0,r.jsx)(i.E.div,{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mb-20",variants:T,children:o.map((e,t)=>(0,r.jsxs)(i.E.div,{className:"text-center p-6 bg-white backdrop-blur-xl rounded-2xl border border-foreground/[0.1] group hover:bg-foreground/[0.03] transition-all shadow-sm",whileHover:{scale:1.05,y:-5},variants:T,children:[(0,r.jsx)(i.E.div,{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-primary/20 to-secondary/20 border border-foreground/10 flex items-center justify-center mx-auto mb-3",whileHover:{rotateY:180},transition:{duration:.6},children:(0,r.jsx)(e.icon,{className:"w-6 h-6 text-primary"})}),(0,r.jsx)("div",{className:"text-2xl font-bold text-foreground mb-1",children:e.value}),(0,r.jsx)("div",{className:"text-foreground/60 text-sm",children:e.label})]},t))}),(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,r.jsxs)(i.E.div,{className:"space-y-8",variants:T,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-3xl font-bold text-foreground mb-4",children:e.contact.formSection.title}),(0,r.jsx)("p",{className:"text-foreground/60 text-lg",children:e.contact.formSection.subtitle})]}),(0,r.jsx)(l.M,{mode:"wait",children:z?(0,r.jsxs)(i.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center py-12",children:[(0,r.jsx)(i.E.div,{className:"w-20 h-20 rounded-full bg-secondary/20 border border-secondary/30 flex items-center justify-center mx-auto mb-6",initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:200},children:(0,r.jsx)(k.Z,{className:"w-10 h-10 text-secondary"})}),(0,r.jsx)("h3",{className:"text-2xl font-bold text-foreground mb-4",children:e.contact.formSection.success.title}),(0,r.jsx)("p",{className:"text-foreground/60 text-lg mb-6",children:e.contact.formSection.success.message}),(0,r.jsx)(i.E.button,{onClick:()=>{H(!1),h({name:"",email:"",company:"",subject:"",message:""})},className:"px-6 py-3 bg-foreground/[0.06] border border-foreground/[0.15] rounded-xl text-foreground hover:bg-foreground/[0.1] transition-all",whileHover:{scale:1.05},whileTap:{scale:.95},children:e.contact.formSection.success.button})]},"success"):(0,r.jsxs)(i.E.form,{onSubmit:I,className:"space-y-6",initial:{opacity:1},exit:{opacity:0,y:-20},transition:{duration:.3},children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(b.Z,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-5 w-5 text-foreground/40"}),(0,r.jsx)("input",{type:"text",placeholder:e.contact.formSection.placeholders.name,value:s.name,onChange:e=>q("name",e.target.value),className:"w-full pl-10 pr-4 py-4 bg-white border rounded-xl text-foreground placeholder-foreground/40 focus:outline-none focus:border-primary transition-all shadow-sm ".concat(S.name?"border-destructive":"border-foreground/[0.15]")}),S.name&&(0,r.jsx)(i.E.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"text-destructive text-sm mt-2",children:S.name})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(c.Z,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-5 w-5 text-foreground/40"}),(0,r.jsx)("input",{type:"email",placeholder:e.contact.formSection.placeholders.email,value:s.email,onChange:e=>q("email",e.target.value),className:"w-full pl-10 pr-4 py-4 bg-white border rounded-xl text-foreground placeholder-foreground/40 focus:outline-none focus:border-primary transition-all shadow-sm ".concat(S.email?"border-destructive":"border-foreground/[0.15]")}),S.email&&(0,r.jsx)(i.E.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"text-destructive text-sm mt-2",children:S.email})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(y,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-5 w-5 text-foreground/40"}),(0,r.jsx)("input",{type:"text",placeholder:e.contact.formSection.placeholders.company,value:s.company,onChange:e=>q("company",e.target.value),className:"w-full pl-10 pr-4 py-4 bg-white border border-foreground/[0.15] rounded-xl text-foreground placeholder-foreground/40 focus:outline-none focus:border-primary transition-all shadow-sm"})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(v,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-5 w-5 text-foreground/40"}),(0,r.jsx)("input",{type:"text",placeholder:e.contact.formSection.placeholders.subject,value:s.subject,onChange:e=>q("subject",e.target.value),className:"w-full pl-10 pr-4 py-4 bg-white border rounded-xl text-foreground placeholder-foreground/40 focus:outline-none focus:border-primary transition-all shadow-sm ".concat(S.subject?"border-destructive":"border-foreground/[0.15]")}),S.subject&&(0,r.jsx)(i.E.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"text-destructive text-sm mt-2",children:S.subject})]})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(j,{className:"absolute left-3 top-4 h-5 w-5 text-foreground/40"}),(0,r.jsx)("textarea",{placeholder:e.contact.formSection.placeholders.message,rows:6,value:s.message,onChange:e=>q("message",e.target.value),className:"w-full pl-10 pr-4 py-4 bg-white border rounded-xl text-foreground placeholder-foreground/40 focus:outline-none focus:border-primary transition-all resize-none shadow-sm ".concat(S.message?"border-destructive":"border-foreground/[0.15]")}),S.message&&(0,r.jsx)(i.E.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"text-destructive text-sm mt-2",children:S.message})]}),(0,r.jsxs)(i.E.button,{type:"submit",disabled:M,className:"w-full relative group overflow-hidden bg-gradient-to-r from-primary to-accent hover:from-primary/90 hover:to-accent/90 text-primary-foreground font-medium py-4 px-6 rounded-xl transition-all disabled:opacity-50",whileHover:{scale:1.02},whileTap:{scale:.98},children:[(0,r.jsx)(i.E.div,{className:"absolute inset-0 bg-gradient-to-r from-card/20 to-transparent",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.5}}),(0,r.jsx)("span",{className:"relative flex items-center justify-center gap-2",children:M?(0,r.jsx)(i.E.div,{className:"w-5 h-5 border-2 border-primary-foreground/30 border-t-primary-foreground rounded-full",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N,{className:"h-5 w-5"}),e.contact.formSection.submit.default,(0,r.jsx)(w.Z,{className:"h-4 w-4 group-hover:translate-x-1 transition-transform"})]})})]})]},"form")})]}),(0,r.jsxs)(i.E.div,{className:"space-y-8",variants:T,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-3xl font-bold text-foreground mb-4",children:e.contact.methods.title}),(0,r.jsx)("p",{className:"text-foreground/60 text-lg",children:e.contact.methods.subtitle})]}),(0,r.jsx)("div",{className:"space-y-6",children:a.map((e,t)=>(0,r.jsx)(i.E.a,{href:e.link,className:"block p-6 bg-white backdrop-blur-xl rounded-2xl border border-foreground/[0.1] hover:bg-foreground/[0.03] transition-all group shadow-sm",variants:T,whileHover:{scale:1.02,y:-2},children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(i.E.div,{className:"w-14 h-14 rounded-xl bg-gradient-to-br ".concat(e.gradient," border border-foreground/10 flex items-center justify-center"),whileHover:{scale:1.1,rotateY:180},transition:{duration:.6},children:(0,r.jsx)(e.icon,{className:"w-7 h-7 text-foreground"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h4",{className:"text-xl font-semibold text-foreground mb-1",children:e.title}),(0,r.jsx)("p",{className:"text-foreground/60 text-sm mb-2",children:e.description}),(0,r.jsx)("p",{className:"text-foreground font-medium",children:e.value})]}),(0,r.jsx)(w.Z,{className:"w-5 h-5 text-foreground/40 group-hover:text-foreground group-hover:translate-x-1 transition-all"})]})},t))}),(0,r.jsxs)(i.E.div,{className:"p-6 bg-gradient-to-br from-primary/[0.08] to-secondary/[0.08] backdrop-blur-xl rounded-2xl border border-primary/30",variants:T,children:[(0,r.jsx)("h4",{className:"text-lg font-semibold text-foreground mb-3",children:e.contact.methods.guarantee.title}),(0,r.jsx)("p",{className:"text-foreground/80 text-sm leading-relaxed",children:e.contact.methods.guarantee.desc})]})]})]}),[...Array(8)].map((e,t)=>(0,r.jsx)(i.E.div,{className:"absolute w-2 h-2 bg-foreground/20 rounded-full",style:{left:"".concat(10+12*t,"%"),top:"".concat(20+10*t,"%")},animate:{y:[0,-40,0],opacity:[.2,.8,.2],scale:[1,2,1]},transition:{duration:4+.5*t,repeat:1/0,ease:"easeInOut",delay:.6*t}},t))]})]})}function Z(){return(0,r.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,r.jsx)(o.Navbar,{}),(0,r.jsx)("main",{children:(0,r.jsx)(S,{})}),(0,r.jsx)(s.Footer,{})]})}}},function(e){e.O(0,[6207,415,9906,1396,389,2774,9213,4636,2587,6053,2971,7864,1744],function(){return e(e.s=10878)}),_N_E=e.O()}]);