{"version":3,"file":"SioxDifferent.odVWAIeZ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/GUyMMXKyEqSHU0Cjd97m/Y4hczsWRup6TbXFYqhCt/SioxDifferent.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/* ---------- ASSET & LINK MAPS ---------- */const imageMap={\"Full Truckload (FTL)\":\"https://framerusercontent.com/images/ZBaUPtNu1XK33fXrjh3e6RFX9u0.webp\",\"Less-than-Truckload (LTL)\":\"https://framerusercontent.com/images/7LCSOKNtTwk0qTCBifDWJdJE.webp\",Drayage:\"https://framerusercontent.com/images/iBliZ6U0n2mOK6nHB0zA61chf4.webp\",\"Reefer / Temp-Control\":\"https://framerusercontent.com/images/XbiC6HqXQazD6tC0lwwd6VHSp8.webp\",Expedited:\"https://framerusercontent.com/images/Hr6t8ScCAwHOJkSXSmsF2S264A.jpg\"};const linkMap={\"Full Truckload (FTL)\":\"/freight-services/full-truckload-ftl\",\"Less-than-Truckload (LTL)\":\"/freight-services/less-than-truckload-ltl\",Drayage:\"/freight-services/drayage-services\",\"Reefer / Temp-Control\":\"/freight-services/refrigerated-reefer-transport\",Expedited:\"/freight-services/expedited-freight-shipping\"};const fallbackImage=\"https://framerusercontent.com/images/ZBaUPtNu1XK33fXrjh3e6RFX9u0.webp\";/* ---------- HELPERS ---------- */function slugifyTitle(title){if(!title)return\"service\";const noParens=title.replace(/\\(.*?\\)/g,\"\");const normalized=noParens.replace(/[^a-zA-Z0-9\\s-]/g,\"\").trim().toLowerCase().replace(/\\s+/g,\"-\").replace(/-+/g,\"-\");return normalized||\"service\";}function deriveLink(title){if(!title)return\"/freight-services/service\";if(linkMap[title])return linkMap[title];return`/freight-services/${slugifyTitle(title)}`;}function deriveImage(title){if(!title)return fallbackImage;return imageMap[title]||fallbackImage;}/* ---------- CARD ---------- */function ServiceCard({title,description}){const link=deriveLink(title);const image=deriveImage(title);return /*#__PURE__*/_jsxs(motion.a,{href:link,style:card,whileHover:{y:-12,scale:1.03,boxShadow:\"0 30px 60px rgba(0,0,0,0.15)\"},transition:{duration:.25},\"aria-label\":title,children:[/*#__PURE__*/_jsx(\"div\",{style:imageWrapper,children:/*#__PURE__*/_jsx(motion.img,{src:image,alt:title,style:imageStyle,whileHover:{scale:1.08},transition:{duration:.35}})}),/*#__PURE__*/_jsxs(\"div\",{style:content,children:[/*#__PURE__*/_jsx(\"h3\",{style:titleStyle,children:title}),/*#__PURE__*/_jsx(\"p\",{style:descriptionStyle,children:description})]})]});}/* ---------- DEFAULT SERVICES ---------- */const defaultServices=[{title:\"Full Truckload (FTL)\",description:\"Reliable capacity for large F&B shipments.\"},{title:\"Less-than-Truckload (LTL)\",description:\"Cost effective solutions for smaller loads.\"},{title:\"Drayage\",description:\"Port to warehouse transfers handled seamlessly.\"},{title:\"Reefer / Temp-Control\",description:\"Expertise in refrigerated transport.\"},{title:\"Expedited\",description:\"Urgent shipments delivered fast.\"}];/* ---------- MAIN COMPONENT ---------- */export default function FreightServicesSection({heading=\"Freight Services for Food & Beverage\",subheading=\"Dedicated capacity and temperature controlled expertise to protect your product from origin to store shelf.\",services=defaultServices.map(s=>({...s}))}){return /*#__PURE__*/_jsx(\"section\",{style:section,children:/*#__PURE__*/_jsxs(\"div\",{style:container,children:[/*#__PURE__*/_jsx(\"h2\",{style:headingStyle,children:heading}),/*#__PURE__*/_jsx(\"p\",{style:subheadingStyle,children:subheading}),/*#__PURE__*/_jsx(\"div\",{style:flex,children:services.map((s,i)=>/*#__PURE__*/_jsx(ServiceCard,{...s},i))})]})});}/* ---------- FRAMER PROPERTY CONTROLS ---------- */addPropertyControls(FreightServicesSection,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Freight Services for Food & Beverage\"},subheading:{type:ControlType.String,title:\"Subheading\",displayTextArea:true,defaultValue:\"Dedicated capacity and temperature controlled expertise to protect your product from origin to store shelf.\"},services:{type:ControlType.Array,title:\"Services\",defaultValue:defaultServices.map(s=>({...s})),control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Service Title\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"Short description of the service.\"}}}}});/* ---------- STYLES ---------- */const section={padding:\"20px 20px 40px 20px\",background:\"#ffffff\",fontFamily:\"'Poppins', sans-serif\"};const container={maxWidth:\"1300px\",margin:\"0 auto\"};const headingStyle={fontSize:\"38px\",fontWeight:700,textAlign:\"center\",marginBottom:\"10px\"};const subheadingStyle={textAlign:\"center\",color:\"#64748b\",marginBottom:\"60px\",fontSize:\"16px\",fontFamily:\"Urbanist\"};const flex={display:\"flex\",flexWrap:\"wrap\",justifyContent:\"center\",gap:\"40px\"};const card={background:\"#ffffff\",borderRadius:\"16px\",overflow:\"hidden\",textDecoration:\"none\",boxShadow:\"0 12px 30px rgba(0,0,0,0.08)\",display:\"flex\",flexDirection:\"column\",flex:\"0 0 31%\",maxWidth:\"380px\"};const imageWrapper={width:\"100%\",height:\"240px\",overflow:\"hidden\"};const imageStyle={width:\"100%\",height:\"100%\",objectFit:\"cover\"};const content={padding:\"26px\"};const titleStyle={fontSize:\"22px\",fontWeight:600,marginBottom:\"10px\",color:\"#0f172a\"};const descriptionStyle={fontSize:\"16px\",color:\"#64748b\",lineHeight:1.6};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FreightServicesSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SioxDifferent.map"],"mappings":"oNAAglC,SAAS,EAAa,EAAM,CAA4L,OAAvL,GAAqC,EAAM,QAAQ,WAAW,GAAG,CAA2B,QAAQ,mBAAmB,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,OAAO,IAAI,CAAC,QAAQ,MAAM,IAAI,EAA1K,UAAyM,SAAS,EAAW,EAAM,CAAqF,O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