(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{68291:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var a=i(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 r=(0,a.Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},5374:function(e,t,i){Promise.resolve().then(i.bind(i,29731))},29731:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return b}});var a=i(57437),r=i(61396),s=i.n(r),n=i(16691),o=i.n(n),l=i(2265),d=i(68329),c=i(68291),x=i(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 h=(0,x.Z)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]),m=(0,x.Z)("BadgePercent",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]),p=(0,x.Z)("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),y=(0,x.Z)("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]),u=(0,x.Z)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var w=i(93023),g=i(46339),v=i(81517),f=i(75965),j=i(12284);function b(){let{language:e,t}=(0,j.Z)(),[i,r]=(0,l.useState)([]);return(0,l.useEffect)(()=>{fetch("/api/admin/categories").then(e=>e.json()).then(e=>r(e)).catch(e=>console.error(e))},[]),(0,a.jsxs)("div",{className:"min-h-screen",children:[(0,a.jsx)(g.Navbar,{}),(0,a.jsxs)("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute inset-0",children:[(0,a.jsx)(o(),{src:"https://images.pexels.com/photos/1435904/pexels-photo-1435904.jpeg?auto=compress&cs=tinysrgb&w=1920",alt:"Canadian farmland",fill:!0,className:"object-cover",priority:!0}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/50 via-black/40 to-black/60"})]}),(0,a.jsxs)("div",{className:"relative z-10 container mx-auto px-4 text-center text-white",children:[(0,a.jsx)(d.E.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},children:(0,a.jsx)("h1",{className:"font-display text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold mb-6 text-balance leading-tight",children:t.hero.title})}),(0,a.jsx)(d.E.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-lg md:text-xl text-white/90 max-w-2xl mx-auto mb-8",children:t.hero.subtitle}),(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,a.jsx)(s(),{href:"/checkout",children:(0,a.jsxs)(w.z,{size:"lg",className:"text-base px-8",children:[t.hero.cta,(0,a.jsx)(c.Z,{className:"w-4 h-4 ml-2"})]})}),(0,a.jsx)(s(),{href:"/products",children:(0,a.jsx)(w.z,{size:"lg",variant:"outline",className:"text-base px-8 bg-white/10 border-white/30 text-white hover:bg-white/20 hover:text-white",children:t.hero.exploreCta})})]})]}),(0,a.jsx)(d.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.8},className:"absolute bottom-8 left-1/2 -translate-x-1/2",children:(0,a.jsx)(d.E.div,{animate:{y:[0,8,0]},transition:{duration:1.5,repeat:1/0},className:"w-6 h-10 border-2 border-white/50 rounded-full flex items-start justify-center p-1",children:(0,a.jsx)(d.E.div,{className:"w-1.5 h-3 bg-white/70 rounded-full"})})})]}),(0,a.jsx)("section",{className:"py-20 lg:py-28 bg-background",children:(0,a.jsx)("div",{className:"container mx-auto px-4",children:(0,a.jsxs)(f.Zu,{children:[(0,a.jsxs)("div",{className:"text-center mb-16",children:[(0,a.jsx)("h2",{className:"font-display text-3xl md:text-4xl font-bold text-foreground mb-2",children:t.features.title}),(0,a.jsx)("div",{className:"w-24 h-1 bg-primary mx-auto mt-4"})]}),(0,a.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-6",children:[(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1},className:"bg-card rounded-2xl p-8 shadow-lg hover:shadow-xl transition-shadow",children:[(0,a.jsxs)(d.E.div,{className:"w-16 h-16 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-6 mx-auto relative overflow-hidden",initial:{scale:0,rotate:-180},whileInView:{scale:1,rotate:0},viewport:{once:!0},transition:{duration:.6,delay:.2,type:"spring",stiffness:200,damping:15},children:[(0,a.jsx)(d.E.div,{className:"absolute inset-0 bg-gradient-to-r from-primary/40 to-primary/60 rounded-xl",initial:{x:"-100%",opacity:0},whileInView:{x:"100%",opacity:[0,1,0]},viewport:{once:!0},transition:{duration:1.2,delay:.3,ease:"easeInOut"}}),(0,a.jsx)(d.E.div,{initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.4,delay:.5,type:"spring"},children:(0,a.jsx)(h,{className:"w-8 h-8 text-primary dark:text-primary relative z-10"})})]}),(0,a.jsx)("h3",{className:"text-lg font-bold text-foreground mb-3 text-center",children:t.features.wideRange.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center leading-relaxed",children:t.features.wideRange.description})]}),(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.2},className:"bg-card rounded-2xl p-8 shadow-lg hover:shadow-xl transition-shadow",children:[(0,a.jsxs)(d.E.div,{className:"w-16 h-16 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-6 mx-auto relative overflow-hidden",initial:{scale:0,rotate:-180},whileInView:{scale:1,rotate:0},viewport:{once:!0},transition:{duration:.6,delay:.35,type:"spring",stiffness:200,damping:15},children:[(0,a.jsx)(d.E.div,{className:"absolute inset-0 bg-gradient-to-r from-primary/40 to-primary/60 rounded-xl",initial:{x:"-100%",opacity:0},whileInView:{x:"100%",opacity:[0,1,0]},viewport:{once:!0},transition:{duration:1.2,delay:.45,ease:"easeInOut"}}),(0,a.jsx)(d.E.div,{initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.4,delay:.65,type:"spring"},children:(0,a.jsx)(m,{className:"w-8 h-8 text-primary dark:text-primary relative z-10"})})]}),(0,a.jsx)("h3",{className:"text-lg font-bold text-foreground mb-3 text-center",children:t.features.competitive.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center leading-relaxed",children:t.features.competitive.description})]}),(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.3},className:"bg-card rounded-2xl p-8 shadow-lg hover:shadow-xl transition-shadow",children:[(0,a.jsxs)(d.E.div,{className:"w-16 h-16 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-6 mx-auto relative overflow-hidden",initial:{scale:0,rotate:-180},whileInView:{scale:1,rotate:0},viewport:{once:!0},transition:{duration:.6,delay:.5,type:"spring",stiffness:200,damping:15},children:[(0,a.jsx)(d.E.div,{className:"absolute inset-0 bg-gradient-to-r from-primary/40 to-primary/60 rounded-xl",initial:{x:"-100%",opacity:0},whileInView:{x:"100%",opacity:[0,1,0]},viewport:{once:!0},transition:{duration:1.2,delay:.6,ease:"easeInOut"}}),(0,a.jsx)(d.E.div,{initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.4,delay:.8,type:"spring"},children:(0,a.jsx)(p,{className:"w-8 h-8 text-primary dark:text-primary relative z-10"})})]}),(0,a.jsx)("h3",{className:"text-lg font-bold text-foreground mb-3 text-center",children:t.features.quality.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center leading-relaxed",children:t.features.quality.description})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-2xl mx-auto",children:[(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.4},className:"bg-card rounded-2xl p-8 shadow-lg hover:shadow-xl transition-shadow",children:[(0,a.jsxs)(d.E.div,{className:"w-16 h-16 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-6 mx-auto relative overflow-hidden",initial:{scale:0,rotate:-180},whileInView:{scale:1,rotate:0},viewport:{once:!0},transition:{duration:.6,delay:.65,type:"spring",stiffness:200,damping:15},children:[(0,a.jsx)(d.E.div,{className:"absolute inset-0 bg-gradient-to-r from-primary/40 to-primary/60 rounded-xl",initial:{x:"-100%",opacity:0},whileInView:{x:"100%",opacity:[0,1,0]},viewport:{once:!0},transition:{duration:1.2,delay:.75,ease:"easeInOut"}}),(0,a.jsx)(d.E.div,{initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.4,delay:.95,type:"spring"},children:(0,a.jsx)(y,{className:"w-8 h-8 text-primary dark:text-primary relative z-10"})})]}),(0,a.jsx)("h3",{className:"text-lg font-bold text-foreground mb-3 text-center",children:t.features.service.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center leading-relaxed",children:t.features.service.description})]}),(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.5},className:"bg-card rounded-2xl p-8 shadow-lg hover:shadow-xl transition-shadow",children:[(0,a.jsxs)(d.E.div,{className:"w-16 h-16 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-6 mx-auto relative overflow-hidden",initial:{scale:0,rotate:-180},whileInView:{scale:1,rotate:0},viewport:{once:!0},transition:{duration:.6,delay:.8,type:"spring",stiffness:200,damping:15},children:[(0,a.jsx)(d.E.div,{className:"absolute inset-0 bg-gradient-to-r from-primary/40 to-primary/60 rounded-xl",initial:{x:"-100%",opacity:0},whileInView:{x:"100%",opacity:[0,1,0]},viewport:{once:!0},transition:{duration:1.2,delay:.9,ease:"easeInOut"}}),(0,a.jsx)(d.E.div,{initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.4,delay:1.1,type:"spring"},children:(0,a.jsx)(u,{className:"w-8 h-8 text-primary dark:text-primary relative z-10"})})]}),(0,a.jsx)("h3",{className:"text-lg font-bold text-foreground mb-3 text-center",children:t.features.payment.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center leading-relaxed",children:t.features.payment.description})]})]})]})]})})}),(0,a.jsx)("section",{className:"py-20 lg:py-28 bg-muted/50",children:(0,a.jsxs)("div",{className:"container mx-auto px-4",children:[(0,a.jsxs)(f.Zu,{className:"flex flex-col sm:flex-row items-center justify-between gap-4 mb-12",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-display text-3xl md:text-4xl font-bold text-foreground mb-2",children:"Product Categories"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:"Explore our wide range of premium Canadian products"})]}),(0,a.jsx)(s(),{href:"/products",children:(0,a.jsxs)(w.z,{variant:"outline",className:"group",children:[t.products.viewAll,(0,a.jsx)(c.Z,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:i.map((t,i)=>(0,a.jsx)(s(),{href:"/products?category=".concat(t.slug),children:(0,a.jsxs)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:Math.min(.05*i,.3)},className:"bg-card rounded-xl overflow-hidden border border-border hover:shadow-xl transition-shadow duration-300 group cursor-pointer",children:[(0,a.jsx)("div",{className:"aspect-square relative overflow-hidden bg-muted",children:t.image?(0,a.jsx)(o(),{src:t.image,alt:t.nameEn,fill:!0,className:"object-cover group-hover:scale-110 transition-transform duration-300",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 25vw"}):(0,a.jsx)("div",{className:"w-full h-full flex items-center justify-center bg-gray-200",children:(0,a.jsx)("span",{className:"text-gray-400",children:"No Image"})})}),(0,a.jsxs)("div",{className:"p-5",children:[(0,a.jsx)("h3",{className:"font-display font-semibold text-lg text-foreground mb-2 group-hover:text-primary transition-colors",children:"en"===e?t.nameEn:t.nameFr}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:"en"===e?t.descriptionEn:t.descriptionFr})]})]})},t.id))})]})}),(0,a.jsx)("section",{className:"py-20 lg:py-28 bg-background",children:(0,a.jsx)("div",{className:"container mx-auto px-4",children:(0,a.jsxs)(f.Zu,{className:"max-w-4xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-12",children:[(0,a.jsx)("h2",{className:"font-display text-3xl md:text-4xl font-bold text-foreground mb-4",children:t.seoContent.title}),(0,a.jsx)("p",{className:"text-xl text-primary font-semibold",children:t.seoContent.subtitle})]}),(0,a.jsxs)("div",{className:"space-y-6 text-muted-foreground leading-relaxed text-center",children:[(0,a.jsx)(d.E.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1},className:"text-base md:text-lg",children:t.seoContent.paragraph1}),(0,a.jsx)(d.E.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.2},className:"text-base md:text-lg",children:t.seoContent.paragraph2}),(0,a.jsx)(d.E.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.3},className:"text-base md:text-lg",children:t.seoContent.paragraph3})]}),(0,a.jsx)(d.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.4},className:"mt-10 text-center",children:(0,a.jsx)(s(),{href:"/products",children:(0,a.jsxs)(w.z,{size:"lg",className:"text-base px-8",children:["View Our Products",(0,a.jsx)(c.Z,{className:"w-4 h-4 ml-2"})]})})})]})})}),(0,a.jsx)("section",{className:"py-20 lg:py-28 bg-secondary text-secondary-foreground",children:(0,a.jsx)("div",{className:"container mx-auto px-4",children:(0,a.jsx)("div",{className:"max-w-3xl mx-auto text-center",children:(0,a.jsxs)(f.Zu,{children:[(0,a.jsx)("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-6",children:"Ready to Source Premium Canadian Products?"}),(0,a.jsx)("p",{className:"text-secondary-foreground/80 text-lg mb-8",children:"Join hundreds of international businesses who trust Musa Foods for their Canadian food import needs."}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,a.jsx)(s(),{href:"/products",children:(0,a.jsx)(w.z,{size:"lg",variant:"secondary",className:"bg-white text-secondary hover:bg-white/90",children:"Browse Catalog"})}),(0,a.jsx)(s(),{href:"/contact",children:(0,a.jsx)(w.z,{size:"lg",variant:"outline",className:"border-white bg-white/20 backdrop-blur-sm text-white hover:bg-white/30 hover:border-white",children:"Contact Us"})})]})]})})})}),(0,a.jsx)(v.Footer,{})]})}},75965:function(e,t,i){"use strict";i.d(t,{Zu:function(){return n}});var a=i(57437),r=i(68329);let s={up:{hidden:{opacity:0,y:40},visible:{opacity:1,y:0}},down:{hidden:{opacity:0,y:-40},visible:{opacity:1,y:0}},left:{hidden:{opacity:0,x:40},visible:{opacity:1,x:0}},right:{hidden:{opacity:0,x:-40},visible:{opacity:1,x:0}}};function n(e){let{children:t,className:i,delay:n=0,direction:o="up"}=e;return(0,a.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:s[o],transition:{duration:.6,delay:n,ease:[.25,.1,.25,1]},className:i,children:t})}}},function(e){e.O(0,[6207,415,9906,1396,389,2774,9213,4636,2587,6053,2971,7864,1744],function(){return e(e.s=5374)}),_N_E=e.O()}]);