import{j as e,L as r}from"./index-B5zQMA8I.js";import{g as i}from"./iconMap-CvQDyxG8.js";import{A as l}from"./arrow-right-DuP5P4b_.js";function m({service:s,showImage:t}){const a=i(s.icon);return e.jsxs("div",{className:"card group",children:[t&&s.image&&e.jsx("div",{className:"aspect-video overflow-hidden bg-gray-100",children:e.jsx("img",{src:`/images/${s.image}`,alt:`${s.name} in Chicago`,width:"400",height:"225",loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),e.jsxs("div",{className:"p-5 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-electric-50 flex items-center justify-center shrink-0",children:e.jsx(a,{className:"w-5 h-5 text-electric-500"})}),e.jsx("h3",{className:"font-bold text-navy-900 text-lg",children:s.name})]}),e.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:s.shortDescription}),e.jsxs(r,{to:`/services/${s.slug}`,className:"inline-flex items-center gap-1.5 text-electric-500 hover:text-electric-700 font-semibold text-sm group/link",children:["Learn More",e.jsx(l,{className:"w-4 h-4 group-hover/link:translate-x-1 transition-transform"})]})]})]})}export{m as S};