import{r as i,j as e,H as n}from"./app-BRoRPa4x.js";import{N as d,F as c}from"./Footer-DMFO-n_M.js";import{P as x}from"./Preloader-ljohZMnx.js";import{m as s}from"./proxy-iYr3ghlA.js";import"./index-CHm4akKZ.js";const m={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.3}}},h={hidden:{y:20,opacity:0},visible:{y:0,opacity:1,transition:{duration:.5,ease:"easeOut"}}},u=({item:t})=>e.jsxs(s.div,{className:"group relative overflow-hidden rounded-2xl shadow-lg border border-gray-100 transition-all duration-300 cursor-pointer",variants:h,whileHover:{y:-5,boxShadow:"0 20px 25px -5px rgba(251, 191, 36, 0.4), 0 10px 10px -5px rgba(251, 191, 36, 0.1)"},whileTap:{scale:.98},children:[e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("img",{src:t.image_url,alt:t.title,className:"w-full object-contain transform group-hover:scale-105 transition-transform duration-500",onError:r=>{r.target.onerror=null,r.target.src="https://placehold.co/600x400/FECACA/7F1D1D?text=Project"}}),e.jsxs("div",{className:"absolute inset-0 p-8 flex flex-col justify-end transition-opacity duration-500 bg-gradient-to-br from-yellow-500 to-red-600 opacity-0 group-hover:opacity-95",children:[e.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:t.title}),e.jsx("p",{className:"text-yellow-100 text-base mb-4 italic",children:t.description})]})]}),e.jsxs("div",{className:"p-6 bg-white",children:[e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:t.description}),e.jsx("div",{className:"mt-4",children:e.jsx("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-red-100 text-red-800",children:"View Project"})})]})]}),v=({portfolios:t,setting:a})=>{const[r,l]=i.useState(!0);return i.useEffect(()=>{const o=setTimeout(()=>{l(!1)},1e3);return()=>clearTimeout(o)},[]),r?e.jsx(x,{}):e.jsxs("div",{className:"min-h-screen bg-white mt-24 font-sans antialiased",children:[e.jsx(n,{title:"Our Portfolio"}),e.jsx(d,{setting:a}),e.jsxs("div",{className:"relative bg-gradient-to-r from-red-700 to-red-800 py-16 text-white",children:[e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Our Portfolio"}),e.jsx("p",{className:"text-xl text-red-100 max-w-2xl",children:"Explore our showcase of successful projects and discover how we've helped businesses achieve their goals through innovative solutions."})]})}),e.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-yellow-400 rounded-full mix-blend-soft-light filter blur-3xl opacity-20"})]}),e.jsx("section",{className:"py-20 lg:py-32 bg-gradient-to-b from-white to-yellow-50",id:"portfolio",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(s.div,{className:"text-center mb-16",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.7},viewport:{once:!0},children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-800 mb-4",children:"Featured Projects"}),e.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"A selection of our recent work that demonstrates our expertise and commitment to excellence."})]}),e.jsx(s.div,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",variants:m,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.1},children:t&&t.length>0?t.map(o=>e.jsx(u,{item:o},o.id)):e.jsx("div",{className:"col-span-full text-center py-10",children:e.jsx("p",{className:"text-xl text-gray-600",children:"No portfolios available at the moment."})})}),e.jsxs(s.div,{className:"mt-20 bg-gradient-to-r from-red-700 to-red-800 rounded-2xl p-10 md:p-16 text-white shadow-xl overflow-hidden",initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},transition:{duration:.7},viewport:{once:!0},children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-yellow-400 rounded-full mix-blend-soft-light filter blur-3xl opacity-20"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-yellow-400 rounded-full mix-blend-soft-light filter blur-3xl opacity-20"}),e.jsxs("div",{className:"relative z-10 text-center",children:[e.jsx("h3",{className:"text-3xl font-bold mb-4",children:"Interested in Working Together?"}),e.jsx("p",{className:"text-red-100 max-w-2xl mx-auto mb-8",children:"Let's discuss how we can bring your vision to life. Our team is ready to create a solution that exceeds your expectations."}),e.jsx("button",{className:"px-8 py-3 bg-gradient-to-r from-yellow-500 to-yellow-600 text-white font-bold rounded-lg shadow-lg hover:from-yellow-600 hover:to-yellow-700 transition-all duration-300 transform hover:scale-105",children:"Start Your Project"})]})]})]})}),e.jsx(c,{setting:a})]})};export{v as default};
