{"version":3,"file":"FooterCTASection.3RrectjL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/37o3Nx3mUUkxx5KB6vMH/CJloEVoLXtgKhr6hdjxt/FooterCTASection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion}from\"framer-motion\";const GREEN=\"#064E2D\";const OVERLAY=\"rgba(26, 51, 38, 0.75)\";const DEFAULT_BG=\"https://framerusercontent.com/images/eHxvDqjRUO26x1f9bYN1PlSJwo.jpg\";const CREAM=\"#F5F1EB\";const CTA_BG=\"rgb(255, 252, 244)\";// Layout is driven entirely by CSS media queries (not JS breakpoint state) so the\n// correct mobile/desktop layout paints immediately, with no flash of / no getting\n// stuck on the wrong (desktop) layout.\nconst CSS=`\n.cnp-cta-root { width: 100%; background: ${GREEN}; position: relative; overflow: hidden; padding: 120px 60px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; }\n.cnp-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }\n.cnp-cta-overlay { position: absolute; inset: 0; background: ${OVERLAY}; }\n.cnp-cta-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 40px; }\n.cnp-cta-heading { margin: 0; font-family: \"Hagrid Extrabold\", sans-serif; font-size: 48px; line-height: 56px; letter-spacing: -1.5px; color: ${CREAM}; font-weight: 900; text-align: center; }\n.cnp-cta-btn { display: inline-flex; align-items: center; background: ${CTA_BG}; color: ${GREEN}; font-family: \"Hagrid Extrabold\", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; padding: 16px 44px; border-radius: 100px; white-space: nowrap; }\n\n@media (max-width: 767px) {\n  .cnp-cta-root { padding: 80px 24px; }\n  .cnp-cta-heading { font-size: 34px; line-height: 38px; }\n}\n`;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function FooterCTASection({bgImage=DEFAULT_BG,style}){const isStatic=useIsStaticRenderer();const fadeIn=isStatic?{}:{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:true,margin:\"-80px\"},transition:{duration:.65,ease:[.25,.46,.45,.94]}};return /*#__PURE__*/_jsxs(\"div\",{className:\"cnp-cta-root\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsx(\"div\",{className:\"cnp-cta-bg\",style:{backgroundImage:bgImage?`url(${bgImage})`:undefined}}),/*#__PURE__*/_jsx(\"div\",{className:\"cnp-cta-overlay\"}),/*#__PURE__*/_jsxs(motion.div,{...fadeIn,className:\"cnp-cta-content\",children:[/*#__PURE__*/_jsx(\"h2\",{className:\"cnp-cta-heading\",children:\"Tak co, odpočinete si?\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/kontakt\",className:\"cnp-cta-btn\",children:\"REZERVACE →\"})]})]});}addPropertyControls(FooterCTASection,{bgImage:{type:ControlType.Image,title:\"Fotka pozad\\xed\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FooterCTASection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FooterCTASection.map"],"mappings":"2NAkBG,SAAwB,EAAiB,CAAC,UAAQ,EAAW,SAAO,CAAsC,IAAM,EAA5B,EAA0C,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,YAAY,CAAC,QAAQ,EAAE,EAAE,CAAC,EAAE,SAAS,CAAC,KAAK,GAAK,OAAO,OAAO,EAAE,WAAW,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,IAAI,IAAI,GAAG,CAAC,CAAC,EAAE,OAAoB,EAAM,MAAM,CAAC,UAAU,eAAqB,QAAM,SAAS,CAAc,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO,CAAG,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,aAAa,MAAM,CAAC,gBAAgB,EAAQ,OAAO,EAAQ,GAAG,IAAA,EAAS,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,iBAAiB,CAAC,EAAe,EAAM,EAAO,IAAI,CAAC,GAAG,EAAO,UAAU,kBAAkB,SAAS,CAAc,EAAK,KAAK,CAAC,UAAU,kBAAkB,SAAS,wBAAwB,CAAC,EAAe,EAAK,IAAI,CAAC,KAAK,WAAW,UAAU,cAAc,SAAS,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,yBAlBtxB,IAAwE,IAAkC,EAAO,EAAM,UAAgB,EAAQ,yBAA+B,EAAW,sEAG3O,EAAI;2CACiC,EAAM;;+DAEc,EAAQ;;;mGAGmB,EAAM;;;;;;EAS+uB,EAAoB,EAAiB,CAAC,QAAQ,CAAC,KAAK,EAAY,MAAM,MAAM,cAAiB,CAAC,CAAC"}