{"version":3,"file":"Scroll_map.Cr866IkN.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/PGePJXNiiANRomF46JAa/NP0af2c1h8yZl6K9tOoI/Scroll_map.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls}from\"framer\";import{useEffect,useState}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ScrollSteps(props){const[activeStep,setActiveStep]=useState(1);const sectionIds=[\"section-1\",\"section-2\",\"section-3\",\"section-4\"];const titles=[\"Discovery\",\"Planning\",\"Design\",\"Results\"];useEffect(()=>{const handleScroll=()=>{const offsets=sectionIds.map(id=>{const el=document.getElementById(id);if(!el)return Infinity;return Math.abs(el.getBoundingClientRect().top);});const closestIndex=offsets.indexOf(Math.min(...offsets));setActiveStep(closestIndex+1);};window.addEventListener(\"scroll\",handleScroll);handleScroll();return()=>window.removeEventListener(\"scroll\",handleScroll);},[]);const scrollToSection=id=>{const el=document.getElementById(id);if(el){window.scrollTo({top:el.offsetTop,behavior:\"smooth\"});}};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n    /* Removed pulseShadow keyframes */\n\n    @keyframes bounceClick {\n        0% {\n            transform: scale(1);\n        }\n        30% {\n            transform: scale(1.2);\n        }\n        50% {\n            transform: scale(0.95);\n        }\n        100% {\n            transform: scale(1);\n        }\n    }\n\n    @keyframes fadeSlideUp {\n        0% {\n            opacity: 0;\n            transform: translateY(10px);\n        }\n        100% {\n            opacity: 1;\n            transform: translateY(0);\n        }\n    }\n\n    .step-container {\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        cursor: pointer;\n        user-select: none;\n        text-align: center;\n        transition: transform 0.3s ease, filter 0.3s ease;\n    }\n\n    .step-container:hover {\n        transform: scale(1.1);\n        filter: brightness(1.2);\n    }\n\n    .step-circle {\n        width: 40px;\n        height: 40px;\n        border-radius: 50%;\n        background: #E0E0E0;\n        color: #1a1a1a;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        font-weight: bold;\n        font-size: 16px;\n        transition: all 0.3s ease;\n        box-shadow: none;\n    }\n\n    .step-circle.active {\n        background: #BFFF00;\n        /* Static subtle glow */\n        box-shadow: 0 0 8px 2px #BFFF00;\n    }\n\n    .step-circle.bouncing {\n        animation: bounceClick 0.4s forwards;\n    }\n\n    .step-title {\n        margin-top: 6px;\n        font-size: 12px;\n        color: #666;\n        opacity: 0.7;\n        transition: color 0.3s ease;\n    }\n\n    .step-title.active {\n        color: #BFFF00;\n        animation: fadeSlideUp 0.3s ease forwards;\n        opacity: 1;\n    }\n`}),/*#__PURE__*/_jsx(\"div\",{style:{...props.style,display:\"flex\",flexDirection:\"row\",gap:50,padding:16,background:\"#1a1a1a\",borderRadius:12,boxShadow:\"0 2px 8px rgba(0,0,0,0.05)\"},children:sectionIds.map((id,index)=>{const step=index+1;const isActive=activeStep===step;const[isBouncing,setIsBouncing]=useState(false);const handleClick=()=>{setIsBouncing(true);scrollToSection(id);};// Remove bounce animation class after it ends\nuseEffect(()=>{if(isBouncing){const timeout=setTimeout(()=>{setIsBouncing(false);},400);return()=>clearTimeout(timeout);}},[isBouncing]);return /*#__PURE__*/_jsxs(\"div\",{className:\"step-container\",onClick:handleClick,children:[/*#__PURE__*/_jsx(\"div\",{className:`step-circle ${isActive?\"active\":\"\"} ${isBouncing?\"bouncing\":\"\"}`,children:step}),/*#__PURE__*/_jsx(\"div\",{className:`step-title ${isActive?\"active\":\"\"}`,children:titles[index]})]},id);})})]});}ScrollSteps.displayName=\"Scroll Steps\";addPropertyControls(ScrollSteps,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollSteps\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\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