{"version":3,"file":"ProjectSection.C16xAC8u.mjs","names":[],"sources":["https:/framerusercontent.com/modules/fZW2c81CP7SBAqkx3Dw6/JayANEOJvE0EyOJTJ8lO/ProjectSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Project Section — Framer Component\n *\n * Text + image side by side. Toggle image left or right.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function ProjectSection(props){const{variant=\"desktop\",title=\"Challenge\",text=\"Many retail storefronts struggle to attract passers-by. Public spaces are sites for social exchange and cultural expression, yet most store experiences remain static and disengaging.\",image=\"\",imagePosition=\"right\",imageBorderRadius=14,imageAspectRatio=\"4/3\",imageFit=\"cover\",mobileImageOrder=\"text-first\"}=props;const isMobile=variant===\"mobile\";const font=\"Inter, sans-serif\";const imgLeft=imagePosition===\"left\";if(isMobile){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:mobileImageOrder===\"text-first\"?\"column-reverse\":\"column\",gap:24},children:[/*#__PURE__*/_jsx(\"style\",{children:imgHoverCSS}),image&&/*#__PURE__*/_jsx(ImageBlock,{image:image,title:title,borderRadius:imageBorderRadius,aspectRatio:imageAspectRatio,imageFit:imageFit}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:font,fontSize:24,fontWeight:600,color:\"#1a1a1a\",margin:\"0 0 14px 0\",letterSpacing:\"-0.02em\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:font,fontSize:15,fontWeight:400,color:\"#444\",lineHeight:1.75,margin:0,whiteSpace:\"pre-wrap\"},children:text})]})]});}return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"grid\",gridTemplateColumns:image?\"1fr 1fr\":\"1fr\",gap:48,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"style\",{children:imgHoverCSS}),image&&imgLeft&&/*#__PURE__*/_jsx(ImageBlock,{image:image,title:title,borderRadius:imageBorderRadius,aspectRatio:imageAspectRatio,imageFit:imageFit}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:image?\"0\":\"0 20%\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:font,fontSize:30,fontWeight:600,color:\"#1a1a1a\",margin:\"0 0 18px 0\",letterSpacing:\"-0.025em\",lineHeight:1.2},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:font,fontSize:16,fontWeight:400,color:\"#444\",lineHeight:1.8,margin:0,whiteSpace:\"pre-wrap\"},children:text})]}),image&&!imgLeft&&/*#__PURE__*/_jsx(ImageBlock,{image:image,title:title,borderRadius:imageBorderRadius,aspectRatio:imageAspectRatio,imageFit:imageFit})]});}function ImageBlock({image,title,borderRadius,aspectRatio,imageFit}){return /*#__PURE__*/_jsx(\"div\",{className:\"ps-img\",style:{width:\"100%\",aspectRatio:aspectRatio===\"auto\"?undefined:aspectRatio,borderRadius:borderRadius,overflow:\"hidden\",background:\"#f2f1f0\"},children:/*#__PURE__*/_jsx(\"img\",{src:image,alt:title,style:{width:\"100%\",height:\"100%\",objectFit:imageFit,display:\"block\"}})});}const imgHoverCSS=`\n    .ps-img { transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease; }\n    .ps-img:hover { transform: scale(1.015); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }\n    .ps-img img { transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }\n    .ps-img:hover img { transform: scale(1.03); }\n`;addPropertyControls(ProjectSection,{variant:{type:ControlType.Enum,title:\"Variant\",options:[\"desktop\",\"mobile\"],optionTitles:[\"Desktop\",\"Mobile\"],defaultValue:\"desktop\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Challenge\"},text:{type:ControlType.String,title:\"Text\",defaultValue:\"Many retail storefronts struggle to attract passers-by. Public spaces are sites for social exchange and cultural expression, yet most store experiences remain static and disengaging.\",displayTextArea:true},image:{type:ControlType.Image,title:\"Image\"},imagePosition:{type:ControlType.Enum,title:\"Image Side\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"right\"},mobileImageOrder:{type:ControlType.Enum,title:\"Mobile Order\",options:[\"image-first\",\"text-first\"],optionTitles:[\"Image First\",\"Text First\"],defaultValue:\"text-first\"},imageBorderRadius:{type:ControlType.Number,title:\"Image Radius\",defaultValue:14,min:0,max:32,step:2},imageAspectRatio:{type:ControlType.Enum,title:\"Aspect Ratio\",options:[\"auto\",\"4/3\",\"3/2\",\"16/9\",\"1/1\"],optionTitles:[\"Auto (Native)\",\"4:3\",\"3:2\",\"16:9\",\"Square\"],defaultValue:\"4/3\"},imageFit:{type:ControlType.Enum,title:\"Image Fit\",options:[\"cover\",\"contain\",\"fill\"],optionTitles:[\"Cover\",\"Contain\",\"Stretch\"],defaultValue:\"cover\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectSection.map"],"mappings":"mKAOG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,UAAQ,UAAU,QAAM,YAAY,OAAK,yLAAyL,QAAM,GAAG,gBAAc,QAAQ,oBAAkB,GAAG,mBAAiB,MAAM,WAAS,QAAQ,mBAAiB,cAAc,EAAY,EAAS,IAAU,SAAe,EAAK,oBAA0B,EAAQ,IAAgB,OAA0sB,OAAhsB,EAA8B,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,cAAc,IAAmB,aAAa,iBAAiB,SAAS,IAAI,GAAG,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,EAAY,CAAC,CAAC,GAAoB,EA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