{"version":3,"file":"HeroSection3.Cbv7pxb7.mjs","names":["React.useRef","React.useState"],"sources":["https:/framerusercontent.com/modules/hq3CSKoz69OlBIc1LyLF/AmDRUZa0S8VQYSOTMSEm/HeroSection3.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useReducedMotion,useScroll,useTransform}from\"framer-motion\";const ScrollFlyIn=/*#__PURE__*/React.forwardRef(({children,imageUrl,imageAlt=\"Animated image\",endContent,className=\"\",...props},forwardedRef)=>{const targetRef=React.useRef(null);const[screenWidth,setScreenWidth]=React.useState(1200);const prefersReducedMotion=useReducedMotion();React.useEffect(()=>{const updateScreenWidth=()=>setScreenWidth(window.innerWidth);updateScreenWidth();window.addEventListener(\"resize\",updateScreenWidth);return()=>window.removeEventListener(\"resize\",updateScreenWidth);},[]);React.useImperativeHandle(forwardedRef,()=>targetRef.current);const{scrollYProgress}=useScroll({target:targetRef,offset:[\"start end\",\"end start\"]});const x=useTransform(scrollYProgress,[.1,.8],prefersReducedMotion?[0,0]:[-5*screenWidth,2.5*screenWidth]);const opacity=useTransform(scrollYProgress,[.1,.25,.7,.8],prefersReducedMotion?[1,1,1,1]:[0,1,1,0]);const endOpacity=useTransform(scrollYProgress,[.82,.92],prefersReducedMotion?[1,1]:[0,1]);const endY=useTransform(scrollYProgress,[.82,.92],prefersReducedMotion?[0,0]:[44,0]);return /*#__PURE__*/_jsx(\"div\",{ref:targetRef,className:`scroll-fly-in ${className}`,...props,children:/*#__PURE__*/_jsxs(\"div\",{className:\"sticky-stage\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"static-content\",children:children}),endContent&&/*#__PURE__*/_jsx(motion.div,{className:\"end-content\",style:{opacity:endOpacity,y:endY},children:endContent}),/*#__PURE__*/_jsx(motion.div,{className:\"aircraft-layer\",style:{x,opacity},children:/*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:imageAlt,className:\"aircraft-image\",onError:event=>{const fallback=\"https://placehold.co/1200x800/000000/ffffff?text=Image+Error\";if(event.currentTarget.src!==fallback){event.currentTarget.src=fallback;}}})})]})});});ScrollFlyIn.displayName=\"ScrollFlyIn\";export{ScrollFlyIn};export default function HeroSection3({imageUrl,imageAlt,eyebrow,heading,background,foreground,muted,ctaLabel=\"카카오로 영수증 보내기\",ctaUrl=\"http://pf.kakao.com/_YghiX/chat?ref=kakao_cta_responsive_hero\"}){return /*#__PURE__*/_jsxs(\"main\",{className:\"hero-root\",style:{\"--hero-background\":background,\"--hero-foreground\":foreground,\"--hero-muted\":muted},children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(ScrollFlyIn,{imageUrl:imageUrl,imageAlt:imageAlt,endContent:/*#__PURE__*/_jsxs(\"a\",{className:\"receipt-cta\",href:ctaUrl,target:\"_blank\",rel:\"noreferrer\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"kakao-icon\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"currentColor\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 3C6.48 3 2 6.49 2 10.8c0 2.77 1.85 5.2 4.64 6.58l-.93 3.43c-.08.3.27.54.53.36l4.08-2.7c.55.08 1.11.13 1.68.13 5.52 0 10-3.49 10-7.8S17.52 3 12 3Z\"})})}),/*#__PURE__*/_jsx(\"span\",{children:ctaLabel}),/*#__PURE__*/_jsx(\"span\",{className:\"cta-arrow\",\"aria-hidden\":\"true\",children:\"→\"})]}),children:/*#__PURE__*/_jsxs(\"div\",{className:\"hero-copy\",children:[/*#__PURE__*/_jsx(\"p\",{children:eyebrow}),/*#__PURE__*/_jsx(\"h1\",{children:heading})]})})]});}HeroSection3.defaultProps={imageUrl:\"https://cdn.prod.website-files.com/661fdce3e735db03332bf817/66223004372c7c1124c1b0d1_Top-view2x-p-2000.webp\",imageAlt:\"Top view of a private jet flying across the screen\",eyebrow:\"Welcome to Airvoir\",heading:\"Where journeys become unforgettable\",background:\"#ffffff\",foreground:\"#111111\",muted:\"#737373\",ctaLabel:\"카카오로 영수증 보내기\",ctaUrl:\"http://pf.kakao.com/_YghiX/chat?ref=kakao_cta_responsive_hero\"};addPropertyControls(HeroSection3,{imageUrl:{type:ControlType.Image,title:\"Aircraft\"},imageAlt:{type:ControlType.String,title:\"Image Alt\"},eyebrow:{type:ControlType.String,title:\"Eyebrow\"},heading:{type:ControlType.String,title:\"Heading\",displayTextArea:true},ctaLabel:{type:ControlType.String,title:\"CTA Label\"},ctaUrl:{type:ControlType.Link,title:\"CTA Link\"},background:{type:ControlType.Color,title:\"Background\"},foreground:{type:ControlType.Color,title:\"Text\"},muted:{type:ControlType.Color,title:\"Muted\"}});const styles=`\n@font-face {\n    font-family: \"Payble Zen Serif\";\n    src: url(\"https://framerusercontent.com/assets/J5bQu6xBlGKK3mjk9RgRHxnVaSM.woff2\") format(\"woff2\");\n    font-style: normal;\n    font-weight: 400;\n    font-display: swap;\n}\n* { box-sizing: border-box; }\n.hero-root {\n    width: 100%;\n    overflow: clip;\n    background: var(--hero-background);\n    color: var(--hero-foreground);\n    font-family: Inter, Arial, sans-serif;\n}\n.scroll-fly-in {\n    position: relative;\n    height: 200vh;\n}\n.sticky-stage {\n    position: sticky;\n    top: 0;\n    display: flex;\n    height: 100vh;\n    align-items: center;\n    justify-content: center;\n}\n.static-content {\n    position: relative;\n    z-index: 10;\n    width: 100%;\n    text-align: center;\n}\n .end-content {\n    position: absolute;\n    left: 0;\n    bottom: 12vh;\n    z-index: 30;\n    display: flex;\n    width: 100%;\n    justify-content: center;\n    padding: 0 20px;\n    pointer-events: auto;\n    will-change: transform, opacity;\n}\n.receipt-cta {\n    display: inline-flex;\n    min-height: 58px;\n    align-items: center;\n    justify-content: center;\n    gap: 10px;\n    padding: 14px 24px;\n    border: 1px solid rgba(255,255,255,.16);\n    border-radius: 999px;\n    background: linear-gradient(100deg,#ff4f91 0%,#ff884d 100%);\n    color: #fff;\n    box-shadow: 0 18px 48px rgba(255,83,126,.25);\n    font-size: 16px;\n    font-weight: 700;\n    letter-spacing: -.02em;\n    text-decoration: none;\n    transition: transform .2s ease,box-shadow .2s ease;\n}\n.receipt-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(255,83,126,.34); }\n.kakao-icon { display:flex;width:22px;height:22px;align-items:center;justify-content:center; }\n.kakao-icon svg { width:100%;height:100%; }\n.cta-arrow { font-size:20px;line-height:1; }\n.aircraft-layer {\n    position: absolute;\n    top: 0;\n    left: 0;\n    z-index: 20;\n    display: flex;\n    height: 100%;\n    width: 100%;\n    align-items: center;\n    will-change: transform, opacity;\n    pointer-events: none;\n}\n.aircraft-image {\n    display: block;\n    width: auto;\n    height: auto;\n    max-width: none;\n    user-select: none;\n}\n.hero-copy {\n    max-width: 1100px;\n    margin: 0 auto;\n    padding: 0 16px;\n    text-align: center;\n}\n.hero-copy p {\n    margin: 0;\n    color: var(--hero-muted);\n    font-size: 16px;\n    font-weight: 600;\n    letter-spacing: 0.1em;\n    line-height: 1.4;\n    text-transform: uppercase;\n}\n.hero-copy h1 {\n    margin: 8px 0 0;\n    color: var(--hero-foreground);\n    font-family: \"Payble Zen Serif\", \"Noto Serif KR\", serif;\n    font-size: clamp(50px, 6.3vw, 84px);\n    font-style: normal;\n    font-weight: 400;\n    font-synthesis: none;\n    letter-spacing: -0.05em;\n    line-height: 1.08;\n    text-wrap: balance;\n    white-space: pre-line;\n}\n@media (max-width: 767px) {\n    .hero-copy {\n        max-width: 100%;\n        padding: 0 12px;\n    }\n    .hero-copy p {\n        font-size: 13px;\n    }\n    .hero-copy h1 {\n        font-size: clamp(34px, 8.8vw, 42px);\n        letter-spacing: -0.045em;\n        line-height: 1.1;\n    }\n    .end-content { bottom: 10vh; }\n    .receipt-cta { min-height: 54px; padding: 13px 19px; font-size: 15px; }\n}\n@media (prefers-reduced-motion: reduce) {\n    .aircraft-layer {\n        transform: translateX(0) !important;\n        opacity: 0.14 !important;\n    }\n    .end-content { transform: translateY(0) !important; opacity: 1 !important; }\n}\n`;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroSection3\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ScrollFlyIn\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroSection3.map"],"mappings":"4RAAq9D,SAAwB,EAAa,CAAC,WAAS,WAAS,UAAQ,UAAQ,aAAW,aAAW,QAAM,WAAS,eAAe,SAAO,iEAAiE,CAAC,OAAoB,EAAM,OAAO,CAAC,UAAU,YAAY,MAAM,CAAC,oBAAoB,EAAW,oBAAoB,EAAW,eAAe,CAAK,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAM,CAAC,EAAe,EAAK,EAAY,CAAU,WAAkB,WAAS,WAAwB,EAAM,IAAI,CAAC,UAAU,cAAc,KAAK,EAAO,OAAO,SAAS,IAAI,aAAa,SAAS,CAAc,EAAK,OAAO,CAAC,UAAU,aAAa,cAAc,OAAO,SAAsB,EAAK,MAAM,CAAC,QAAQ,YAAY,KAAK,eAAe,SAAsB,EAAK,OAAO,CAAC,EAAE,uJAAuJ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAe,EAAK,OAAO,CAAC,SAAS,CAAQ,CAAC,EAAe,EAAK,OAAO,CAAC,UAAU,YAAY,cAAc,OAAO,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,SAAsB,EAAM,MAAM,CAAC,UAAU,YAAY,SAAS,CAAc,EAAK,IAAI,CAAC,SAAS,CAAO,CAAC,EAAe,EAAK,KAAK,CAAC,SAAS,CAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,yBAAzlG,IAA4B,IAAoD,IAA0E,EAAO,EAAyB,GAAkB,CAAC,WAAS,WAAS,WAAS,iBA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