{"version":3,"file":"PremiumCard.DYrd8bJD.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/pMUkX2jUopNygydUJF2o/8zTICoupg5gtS2PEkuMF/PremiumCard.js"],"sourcesContent":["// Elegant premium card component with framed title, description, CTA button, and background image\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PremiumCard(props){const{backgroundImage={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Background\"},title,titleFont,titleBackground,titleOpacity,description,descriptionFont,ctaText,ctaFont,ctaBackground,ctaTextColor,textColor,borderRadius,padding,overlayColor,overlayOpacity}=props;const[isHovered,setIsHovered]=useState(false);const[isCardHovered,setIsCardHovered]=useState(false);const[isTitleHovered,setIsTitleHovered]=useState(false);return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",borderRadius,overflow:\"hidden\",backgroundImage:`url(${backgroundImage.src})`,backgroundSize:\"cover\",backgroundPosition:\"center\",transition:\"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)\",transform:isCardHovered?\"translateY(-8px) scale(1.02)\":\"translateY(0) scale(1)\",boxShadow:isCardHovered?\"0 20px 40px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2)\":\"0 4px 8px rgba(0, 0, 0, 0.1)\"},onMouseEnter:()=>setIsCardHovered(true),onMouseLeave:()=>setIsCardHovered(false),children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:overlayColor,opacity:overlayOpacity,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"flex-end\",padding,gap:20},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:16},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-block\",alignSelf:\"flex-start\",padding:\"16px 28px\",backgroundColor:titleBackground,opacity:titleOpacity,borderRadius:12,border:`2px solid rgba(255, 255, 255, 0.3)`,backdropFilter:\"blur(10px)\",WebkitBackdropFilter:\"blur(10px)\",boxShadow:isTitleHovered?\"0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2)\":\"0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1)\",transition:\"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)\",transform:isTitleHovered?\"translateY(-2px)\":\"translateY(0)\",cursor:\"default\"},onMouseEnter:()=>setIsTitleHovered(true),onMouseLeave:()=>setIsTitleHovered(false),children:/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,color:textColor,...titleFont},children:title})}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:textColor,...descriptionFont},children:description}),/*#__PURE__*/_jsx(\"div\",{style:{alignSelf:\"flex-start\"},children:/*#__PURE__*/_jsx(\"button\",{style:{display:\"inline-block\",padding:\"12px 24px\",backgroundColor:ctaBackground,color:ctaTextColor,border:\"none\",borderRadius:8,cursor:\"pointer\",transition:\"all 0.3s ease\",opacity:isHovered?.9:1,transform:isHovered?\"translateY(-2px)\":\"translateY(0)\",boxShadow:isHovered?\"0 4px 12px rgba(0, 0, 0, 0.15)\":\"none\",...ctaFont},onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),children:ctaText})})]})})]});}addPropertyControls(PremiumCard,{backgroundImage:{type:ControlType.ResponsiveImage,title:\"Background Image\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Premium Card\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"32px\",variant:\"Semibold\",letterSpacing:\"-0.03em\",lineHeight:\"1em\"}},titleBackground:{type:ControlType.Color,title:\"Title Background\",defaultValue:\"#FFFFFF\"},titleOpacity:{type:ControlType.Number,title:\"Title Opacity\",defaultValue:.2,min:0,max:1,step:.1},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"Discover our elegant and premium design that combines sophistication with modern aesthetics.\"},descriptionFont:{type:ControlType.Font,title:\"Description Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},ctaText:{type:ControlType.String,title:\"CTA Text\",defaultValue:\"Learn More\"},ctaFont:{type:ControlType.Font,title:\"CTA Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},ctaBackground:{type:ControlType.Color,title:\"CTA Background\",defaultValue:\"#000000\"},ctaTextColor:{type:ControlType.Color,title:\"CTA Text Color\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:16,min:0,max:50,step:1,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:32,min:0,max:100,step:4,unit:\"px\"},overlayColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#000000\"},overlayOpacity:{type:ControlType.Number,title:\"Overlay Opacity\",defaultValue:.4,min:0,max:1,step:.05}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PremiumCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PremiumCard.map"],"mappings":"iLAIG,SAAwB,EAAY,EAAM,CAAC,GAAK,CA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