{"version":3,"file":"shared-lib.DOy_4R52.mjs","names":["localeCode","sized","detectLang","localePath","useRef","T","_Fragment","useState","_Fragment","__esmMin","init_ssg_sandbox_shims","window","l","_e","p","ce","init_npm_react_18_3_1","de","useReducedMotion","AnimatePresence","init_framer_motion_DhsWWWsN","motion","init_framer_Cb9Z_4vX","addPropertyControls","RenderTarget","useLocaleInfo","ControlType","localeCode$1","n","locale","sized$1","u","url","detectLang$1","m","localePath$1","lang","path","clean","Footer","rootRef","activeLocale","t","T$1","isRTL","go","emitSchema","ORG_LD","SITE_LD","logo","link","e","MAPS_DIR_URL","socialLinks","s","item","bare","init_Footer","init_jsx_runtime","storedLang","v","LANG_STORAGE_KEY","LABELS","rememberLang","code","isLiveContext","rt","detectLang","localeCode","localePath","strippedPathname","sized","Preloader","phase","setPhase","seen","PRELOAD_KEY","started","hold","finish","ceiling","NavBar","BRAND_MARK","menuOpen","setMenuOpen","scrolled","setScrolled","activePath","setActivePath","langOpen","setLangOpen","T","font","FONTS","rm","chooseLang","locales","setLocale","current","stored","target","stripped","transparent","fn","handler","mq","close","isGlassy","localeList","preloaderLogo","isActive","isActiveLang","NAMES","i","init_Nav"],"sources":["https:/framerusercontent.com/modules/CQ7ONJ9yujfFd5hsjLLj/NJukd0TwyQNFSBGJFkZl/Footer.js","https:/framerusercontent.com/modules/gcmZVGQxtc6k8GqatgP9/g7uwHOaBIhZBy951w7LO/Nav.js"],"sourcesContent":["// <style> blocks here use dangerouslySetInnerHTML, never a text child. React SSR escapes\n// ' & \" inside <style> text (&#x27; &amp;), the browser never decodes them, hydration fails\n// (#425/#422) and React rebuilds the tree on the client. Fixed site-wide 23 Sep 2026.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";// Framer locale IDs are random strings; the locale NAMES are stable, so match\n// on name. Identical to Nav.tsx, Hero.tsx, Home_About.tsx and HomeProperties.tsx.\nfunction localeCode(locale){const n=locale.name.toLowerCase();if(n.includes(\"turkish\")||n.includes(\"t\\xfcrk\"))return\"tr\";if(n.includes(\"persian\")||n.includes(\"farsi\")||n.includes(\"iran\"))return\"fa\";if(n.includes(\"arabic\")||n.includes(\"arab\"))return\"ar\";return\"en\";}// ─── Why this file carries BOTH media queries and container queries ───────────\n// The phone footer was reported as still three columns, compressed to ~60px,\n// from a screenshot taken at the Phone breakpoint ON THE FRAMER CANVAS.\n// The stacking CSS below was already correct and already shipping. The reason\n// it looked broken is that a CSS media query resolves against the VIEWPORT,\n// and on the canvas the viewport is the editor window — desktop width — no\n// matter how narrow the breakpoint frame is. So inside a 390px Phone frame the\n// footer was being painted with the 1440px rules. On a real phone it stacked.\n//\n// A container query resolves against the ELEMENT, which on the canvas really is\n// the frame width. Adding `container-type: inline-size` to the root and\n// mirroring the phone rules under @container makes the canvas tell the truth,\n// and changes nothing in production, where both queries fire at the same width.\n//\n// Scoped to the 640px phone rules ONLY. The 900px tablet block is deliberately\n// left as a media query so tablet behaviour is untouched.\n//\n// IMPORTANT: `container-type: inline-size` also makes the root a containing\n// block for absolutely positioned descendants. There are none today. If one is\n// added later, check it before assuming this line is inert.\n// ─── Locale helpers ───────────────────────────────────────────────────────────\n// IMPORTANT: the locale prefix must be matched as a full path segment.\n// A naive startsWith(\"/ar\") check matches \"/architecture\" and flips the\n// footer to Arabic on the English site.\n// Framer's image CDN resizes on request: ?scale-down-to=N caps the longer side\n// at N px and returns the original when that is already smaller. The footer\n// logo is a 2048 px upload (~53 KB) drawn in a 56 px box, so the footer asks\n// for the 256 px copy (~9 KB), enough for 4x screens. Same helper as Nav.tsx.\n// 29 Sep 2026.\nfunction sized(url,n){try{const u=new URL(url);if(!/(^|\\.)framerusercontent\\.com$/.test(u.hostname))return url;u.searchParams.set(\"scale-down-to\",String(n));return u.toString();}catch{return url;}}function detectLang(){if(typeof window===\"undefined\")return\"en\";const m=window.location.pathname.match(/^\\/(tr|fa|ar)(\\/|$)/);return m?m[1]:\"en\";}// Prepend locale prefix so footer links stay within the active language\nfunction localePath(lang,path){if(lang===\"en\")return path;// Locale home is prefix + SLASH (/fa/, /tr/, /ar/). Verified live 23 Sep 2026: /fa returns a\n// redirect to /fa/, and the canonical and hreflang tags both name /fa/. An earlier note had\n// this backwards - the \"/tr/\" it saw under Page with redirect was the non-www host.\nif(path===\"/\")return`/${lang}/`;const clean=path.replace(/^\\/(en|tr|fa|ar)(\\/|$)/,\"/\");return`/${lang}${clean.startsWith(\"/\")?clean:`/${clean}`}`;}// ─── Translations ─────────────────────────────────────────────────────────────\nconst T={en:{navHeading:\"Navigation\",contactHead:\"Get in Touch\",followHead:\"Follow Us\",brandDesc:\"An integrated platform bridging property, design and investment.\",navLinks:[{label:\"Real Estate\",href:\"/real-estate\"},{label:\"Design & Build\",href:\"/architecture\"},{label:\"Asset Management\",href:\"/asset-management\"},{label:\"About\",href:\"/about\"},{label:\"Contact\",href:\"/contact\"},{label:\"Blog\",href:\"/blog/insights\"}],privacy:\"Privacy Policy\",terms:\"Terms of Use\",cookies:\"Cookie Settings\",directions:\"Get Directions\",font:\"Inter, sans-serif\"},tr:{navHeading:\"Hızlı Men\\xfc\",contactHead:\"İletişim\",followHead:\"Takip Edin\",brandDesc:\"Gayrimenkul, tasarım ve yatırımı buluşturan entegre bir platform.\",navLinks:[{label:\"Gayrimenkul\",href:\"/real-estate\"},{label:\"Tasarım ve İnşaat\",href:\"/architecture\"},{label:\"Varlık Y\\xf6netimi\",href:\"/asset-management\"},{label:\"Hakkımızda\",href:\"/about\"},{label:\"İletişim\",href:\"/contact\"},{label:\"Blog\",href:\"/blog/insights\"}],privacy:\"Gizlilik Politikası\",terms:\"Kullanım Koşulları\",cookies:\"\\xc7erez Ayarları\",directions:\"Yol Tarifi\",font:\"Inter, sans-serif\"},fa:{navHeading:\"دسترسی سریع\",contactHead:\"ارتباط با ما\",followHead:\"شبکه‌های اجتماعی\",brandDesc:\"پلتفرمی یکپارچه برای پیوند املاک، طراحی و سرمایه‌گذاری.\",navLinks:[{label:\"املاک\",href:\"/real-estate\"},{label:\"طراحی و ساخت\",href:\"/architecture\"},{label:\"مدیریت دارایی\",href:\"/asset-management\"},{label:\"درباره ما\",href:\"/about\"},{label:\"ارتباط با ما\",href:\"/contact\"},{label:\"بلاگ\",href:\"/blog/insights\"}],privacy:\"حریم خصوصی\",terms:\"شرایط استفاده\",cookies:\"تنظیمات کوکی\",directions:\"مسیریابی\",font:\"Vazirmatn, Inter, sans-serif\"},ar:{navHeading:\"الصفحات\",contactHead:\"تواصل معنا\",followHead:\"تابعنا\",brandDesc:\"منصة متكاملة ترتقي بمفاهيم العقارات، والتصميم، والاستثمار.\",navLinks:[{label:\"العقارات الفاخرة\",href:\"/real-estate\"},{label:\"التصميم والبناء\",href:\"/architecture\"},{label:\"إدارة الأصول\",href:\"/asset-management\"},{label:\"نبذة عنا\",href:\"/about\"},{label:\"تواصل معنا\",href:\"/contact\"}],privacy:\"سياسة الخصوصية\",terms:\"شروط الاستخدام\",cookies:\"إعدادات ملفات الارتباط\",directions:\"الاتجاهات\",font:\"Cairo, Inter, sans-serif\"}};// Official profiles, shown under \"Follow Us\". 13 Oct 2026: these are now real\n// <a href> links. The old onClick spans opened the profile for a visitor but\n// gave crawlers nothing to follow, so the served page linked to no profile.\n// LinkedIn uses the page's numeric ID address on purpose: it never changes,\n// even after the page gets a short vanity URL, and it redirects there.\n// YouTube (added 13 Oct 2026, evening) uses the channel ID address for the\n// same reason: the @handle can be changed, the channel ID cannot.\n// Keep this list in step with ORG_LD.sameAs below.\nconst socialLinks=[{label:\"LinkedIn\",href:\"https://www.linkedin.com/company/145271612/\"},{label:\"Instagram\",href:\"https://www.instagram.com/pergasist/\"},{label:\"YouTube\",href:\"https://www.youtube.com/channel/UCItRF0Bwcy4bTAEPd3dtgSg\"}];// Opens Google Maps with the Istanbul HQ preset as the destination and the\n// visitor's own location as the origin, so nobody has to type an address.\n// The coordinates are the SAME pair as ORG_LD.geo below — keep them in sync;\n// if the pin ever moves, both must change together or the schema and the\n// visible directions link will point at different places.\nconst MAPS_DIR_URL=\"https://www.google.com/maps/dir/?api=1&destination=41.1055%2C28.9916\";// ─── Site-wide Organization / RealEstateAgent node ────────────────────────────\n// The Footer renders on every page, so this is where the entity lives.\n// Deliberately locale-independent. This node is identical on every locale by\n// design: one organisation, one @id, described once. It is NOT locale-independent\n// because of a rendering limitation — lang now resolves during the static render\n// via useLocaleInfo, so a localised node would be technically possible. It should\n// still not be localised. Google reads these as one entity keyed on @id, and\n// four differing descriptions of the same entity is worse than one consistent one.\n// RealEstateAgent is a LocalBusiness subtype — declaring both types yields the\n// organisation signal and the local-business signal from a single node.\n// The @id is stable so every page references one entity rather than Google\n// reading each page as a separate organisation.\n// Every value below also appears in the visible footer, except foundingDate\n// (About page) and geo. Nothing here is invented.\nconst ORG_LD={\"@context\":\"https://schema.org\",\"@type\":[\"Organization\",\"RealEstateAgent\"],\"@id\":\"https://www.pergas.com.tr/#organization\",name:\"PERGAS\",// The brand as people search it in other scripts: Persian, Arabic and the\n// plain Latin spelling. Persian searches for the brand were still going to\n// the old pergaas.com site (Seobility check and Search Console, 20 Oct 2026);\n// these names tell Google that those searches mean this entity.\nalternateName:[\"پرگاس\",\"برغاس\",\"Pergas\"],legalName:\"PERGAS Y\\xd6NETİM DANIŞMANLIK İNŞAAT TİCARET LİMİTED ŞİRKETİ\",url:\"https://www.pergas.com.tr\",logo:\"https://framerusercontent.com/images/87gNqkoKx75ObI5elRr8U73hPA.png\",image:\"https://framerusercontent.com/images/87gNqkoKx75ObI5elRr8U73hPA.png\",description:\"An integrated platform bridging property, design and investment across Istanbul and Dubai.\",email:\"info@pergas.com.tr\",telephone:\"+90 212 275 52 89\",foundingDate:\"2012\",taxID:\"7280593851\",address:{\"@type\":\"PostalAddress\",streetAddress:\"Huzur Mah. Metin Oktay Cad. Nurol Life No: 3, İ\\xe7 Kapı No: 33\",addressLocality:\"Sarıyer\",addressRegion:\"İstanbul\",addressCountry:\"TR\"},geo:{\"@type\":\"GeoCoordinates\",latitude:41.1055,longitude:28.9916},// Istanbul HQ hours, taken from the Contact page. The Dubai office has its\n// own node under department below; its address and number match Contact.tsx.\nopeningHoursSpecification:[{\"@type\":\"OpeningHoursSpecification\",dayOfWeek:[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\"],opens:\"09:00\",closes:\"18:00\"}],areaServed:[{\"@type\":\"City\",name:\"Istanbul\"},{\"@type\":\"City\",name:\"Dubai\"}],knowsLanguage:[\"en\",\"tr\",\"fa\",\"ar\"],// Dubai office, confirmed by Kian 3 Nov 2026. The number is the boss's Turkish\n// mobile (no UAE line), the same one shown on Contact, About and in the footer.\ndepartment:[{\"@type\":\"RealEstateAgent\",name:\"PERGAS Dubai Regional Office\",telephone:\"+90 546 140 46 46\",address:{\"@type\":\"PostalAddress\",streetAddress:\"201, Emaar Square Building 4, Downtown\",addressLocality:\"Dubai\",addressCountry:\"AE\"}}],sameAs:[// LinkedIn company page (numeric ID address, see socialLinks above)\n// and the Design & Build Instagram account, added 13 Oct 2026.\n// YouTube channel (channel ID address), added 13 Oct 2026, evening.\n\"https://www.linkedin.com/company/145271612/\",\"https://www.instagram.com/pergasist/\",\"https://www.instagram.com/pergaspect/\",\"https://www.youtube.com/channel/UCItRF0Bwcy4bTAEPd3dtgSg\",\"https://twitter.com/pergasist\",\"https://www.facebook.com/p/Pergas-100045144073585/\",// Canonical Google Business Profile, by CID. This is the link that ties\n// this entity to the Maps listing the local pack actually ranks, so it\n// belongs in sameAs alongside the social profiles. Added 22 Sep 2026.\n\"https://maps.google.com/?cid=5083567292329889036\"]};// ─── Site name node (20 Oct 2026) ─────────────────────────────────────────────\n// Google takes the site name shown in results from a WebSite node with name and\n// alternateName. Same names as ORG_LD.alternateName above; keep the two in step.\nconst SITE_LD={\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"@id\":\"https://www.pergas.com.tr/#website\",name:\"PERGAS\",alternateName:[\"پرگاس\",\"برغاس\",\"Pergas\"],url:\"https://www.pergas.com.tr/\",inLanguage:[\"en\",\"tr\",\"fa\",\"ar\"],publisher:{\"@id\":\"https://www.pergas.com.tr/#organization\"}};/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Footer({logo,emitSchema=true}){const rootRef=useRef(null);// activeLocale resolves during Framer's STATIC render. The previous\n// implementation read window.location only, which is undefined at build\n// time — so the SERVED HTML carried an English footer with UNPREFIXED\n// links on every /tr, /fa and /ar page on the site, and the client then\n// corrected it after hydration. Visitors never saw it; crawlers only ever\n// saw it. Same fix and same mechanism as Nav.tsx and Hero.tsx.\n// activeLocale is null on the default locale, hence the fallback.\nconst{activeLocale}=useLocaleInfo();const lang=activeLocale?localeCode(activeLocale):detectLang();// Retained as a backstop only. With lang correct at render time the served\n// dir attribute is already right, so this should now be a no-op.\nuseEffect(()=>{if(rootRef.current){rootRef.current.setAttribute(\"dir\",lang===\"fa\"||lang===\"ar\"?\"rtl\":\"ltr\");}},[lang]);const t=T[lang]??T.en;const isRTL=lang===\"fa\"||lang===\"ar\";// Pin the active language before the full reload so Framer's automatic\n// locale matching can't reroute the next page (Nav.tsx enforces the pin).\n// Key must match Nav.tsx: pergas_lang_v2.\nconst go=path=>{try{window.localStorage.setItem(\"pergas_lang_v2\",lang);}catch{}window.location.href=localePath(lang,path);};return /*#__PURE__*/_jsxs(_Fragment,{children:[emitSchema?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(ORG_LD)}}):null,emitSchema?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(SITE_LD)}}):null,/*#__PURE__*/_jsxs(\"div\",{ref:rootRef,dir:isRTL?\"rtl\":\"ltr\",style:{position:\"relative\",width:\"100%\",background:\"#0D0C0B\",borderTop:\"1px solid rgba(180,125,32,0.2)\",fontFamily:t.font,boxSizing:\"border-box\",// Makes the @container rules in the style block resolve\n// against this element instead of the viewport, so the\n// Framer canvas renders the phone layout inside a phone\n// frame. See the note at the top of the file.\ncontainerType:\"inline-size\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"f-grid\",style:{maxWidth:1440,margin:\"0 auto\",display:\"grid\",gridTemplateColumns:\"1.2fr 1fr 1fr\",gap:40,padding:\"44px 48px 36px\",boxSizing:\"border-box\",// Prevent grid blowout on small screens\nminWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{className:\"f-col f-col-brand\",style:{display:\"flex\",flexDirection:\"column\",gap:14,minWidth:0},children:/*#__PURE__*/_jsxs(\"div\",{className:\"f-brand-row\",style:{display:\"flex\",alignItems:\"flex-start\",gap:16},children:[/*#__PURE__*/_jsx(\"a\",{href:localePath(lang,\"/\"),onClick:e=>{e.preventDefault();go(\"/\");},style:{textDecoration:\"none\",flexShrink:0,cursor:\"pointer\",display:\"inline-block\"},children:logo?/*#__PURE__*/_jsx(\"img\",{src:sized(logo,256),alt:\"PERGAS\",className:\"f-logo\",style:{height:56,width:\"auto\",objectFit:\"contain\",// Align logo to the near edge (start) in both LTR and RTL\nobjectPosition:isRTL?\"right center\":\"left center\",display:\"block\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:20,fontWeight:700,color:\"#B47D20\",letterSpacing:\"0.08em\"},children:\"PERGAS\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"f-brand-copy\",style:{display:\"flex\",flexDirection:\"column\",gap:8,textAlign:isRTL?\"right\":\"left\",minWidth:0},children:[/*#__PURE__*/_jsx(\"p\",{className:\"f-brand-desc\",style:{fontSize:12,color:\"rgba(245,243,238,0.55)\",lineHeight:1.65,margin:0,maxWidth:200,fontFamily:t.font},children:t.brandDesc}),/*#__PURE__*/_jsx(\"a\",{href:\"https://pergas.com.tr\",target:\"_blank\",rel:\"noopener\",style:{fontSize:11,color:\"#B47D20\",cursor:\"pointer\",letterSpacing:\"0.06em\",textDecoration:\"none\"},children:\"pergas.com.tr\"})]})]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"f-col\",style:{display:\"flex\",flexDirection:\"column\",gap:10,alignItems:\"flex-start\",minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:9,fontWeight:500,color:\"#B47D20\",letterSpacing:isRTL?\"0\":\"0.14em\",textTransform:isRTL?\"none\":\"uppercase\",marginBottom:4,fontFamily:t.font},children:t.navHeading}),t.navLinks.map(link=>/*#__PURE__*/_jsx(\"a\",{href:localePath(lang,link.href),onClick:e=>{e.preventDefault();go(link.href);},style:{fontSize:12,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:t.font,userSelect:\"none\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:link.label},link.href))]}),/*#__PURE__*/_jsxs(\"div\",{className:\"f-col\",style:{display:\"flex\",flexDirection:\"column\",gap:10,alignItems:\"flex-start\",minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:9,fontWeight:500,color:\"#B47D20\",letterSpacing:isRTL?\"0\":\"0.14em\",textTransform:isRTL?\"none\":\"uppercase\",marginBottom:4,fontFamily:t.font},children:t.contactHead}),/*#__PURE__*/_jsxs(\"a\",{href:\"mailto:info@pergas.com.tr\",style:{fontSize:12,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:t.font,wordBreak:\"break-all\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:[\"info@pergas.com.tr\",\" \"]}),\" \",/*#__PURE__*/_jsxs(\"a\",{href:\"tel:+902122755289\",onClick:()=>{// GA4 phone_click (key event), same guard as the form leads.\ntry{const w=window;w.gtag?.(\"event\",\"phone_click\",{link_location:\"footer\",locale:lang});}catch{}},style:{fontSize:12,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:\"Inter, sans-serif\",direction:\"ltr\",unicodeBidi:\"isolate\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:[\" \",\"+90 212 275 52 89\",\" \"]}),/*#__PURE__*/_jsx(\"a\",{href:\"tel:+905461404646\",onClick:()=>{try{const w=window;w.gtag?.(\"event\",\"phone_click\",{link_location:\"footer_dubai\",locale:lang});}catch{}},style:{fontSize:12,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:\"Inter, sans-serif\",direction:\"ltr\",unicodeBidi:\"isolate\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:(lang===\"fa\"?\"دبی\":lang===\"ar\"?\"دبي\":\"Dubai\")+\" +90 546 140 46 46\"}),/*#__PURE__*/_jsx(\"a\",{href:MAPS_DIR_URL,target:\"_blank\",rel:\"noopener noreferrer\",style:{fontSize:12,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:t.font,textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:t.directions}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:9,fontWeight:500,color:\"#B47D20\",letterSpacing:isRTL?\"0\":\"0.14em\",textTransform:isRTL?\"none\":\"uppercase\",marginTop:8,marginBottom:4,fontFamily:t.font},children:t.followHead}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:16,flexWrap:\"wrap\"},children:socialLinks.map(s=>/*#__PURE__*/_jsx(\"a\",{href:s.href,target:\"_blank\",rel:\"noopener noreferrer\",style:{fontSize:11,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:\"Inter, sans-serif\",userSelect:\"none\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:s.label},s.label))})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{borderTop:\"1px solid rgba(255,255,255,0.05)\",maxWidth:1440,margin:\"0 auto\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{className:\"f-bottom\",style:{padding:\"14px 48px\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",flexWrap:\"wrap\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{dir:\"ltr\",style:{fontSize:10,color:\"rgba(245,243,238,0.55)\",fontFamily:\"Inter, sans-serif\",unicodeBidi:\"isolate\"},children:\"\\xa9 2026 PERGAS Y\\xf6netim Danışmanlık Tic. Ltd. Şti.\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"f-legal-links\",style:{display:\"flex\",gap:20},children:[[{label:t.privacy,href:\"/privacy\"},{label:t.terms,href:\"/terms\"}].map(item=>/*#__PURE__*/_jsx(\"a\",{href:localePath(lang,item.href),onClick:e=>{e.preventDefault();go(item.href);},style:{fontSize:10,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:t.font,userSelect:\"none\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:item.label},item.label)),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>{const w=window;w.pergasConsentOpen?.();},style:{background:\"none\",border:\"none\",padding:0,fontSize:10,color:\"rgba(245,243,238,0.55)\",cursor:\"pointer\",transition:\"color 0.2s\",fontFamily:t.font,userSelect:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=\"rgba(245,243,238,0.55)\",children:[\" \",t.cookies]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"f-locales\",style:{display:\"flex\",alignItems:\"baseline\",gap:14,flexWrap:\"wrap\"},children:[{code:\"en\",label:\"English\",href:\"/\"},{code:\"tr\",label:\"T\\xfcrk\\xe7e\",href:\"/tr/\"},{code:\"fa\",label:\"فارسی\",href:\"/fa/\"},{code:\"ar\",label:\"العربية\",href:\"/ar/\"}].map(l=>/*#__PURE__*/_jsx(\"a\",{href:l.href,hrefLang:l.code,onClick:e=>{// Pin the CHOSEN locale before navigating.\n    // Without this, Framer's built-in locale\n    // matcher runs on arrival, reads\n    // navigator.languages, and redirects an\n    // English-configured browser straight back\n    // to /. Every other footer link goes through\n    // go(), which pins; these four did not, which\n    // is why the switcher was the only place the\n    // bounce appeared. Key must match Nav.tsx.\n    e.preventDefault();try{window.localStorage.setItem(\"pergas_lang_v2\",l.code);}catch{}// Stay on the SAME page, translated —\n    // not the locale home. Strip any\n    // existing prefix from the current\n    // path, then apply the chosen one.\n    const bare=window.location.pathname.replace(/^\\/(tr|fa|ar)(?=\\/|$)/,\"\")||\"/\";window.location.href=l.code===\"en\"?bare:bare===\"/\"?\"/\"+l.code+\"/\":\"/\"+l.code+bare;},style:{fontSize:10,color:l.code===lang?\"#D8B55A\":\"rgba(245,243,238,0.55)\",textDecoration:\"none\",transition:\"color 0.2s\",fontFamily:l.code===\"fa\"?\"Vazirmatn, sans-serif\":l.code===\"ar\"?\"Cairo, sans-serif\":\"Inter, sans-serif\"},children:l.label},l.code))})]})}),/*#__PURE__*/_jsx(\"div\",{style:{borderTop:\"1px solid rgba(255,255,255,0.04)\",maxWidth:1440,margin:\"0 auto\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"f-legal\",style:{padding:\"10px 48px 16px\",textAlign:\"center\"},children:/*#__PURE__*/_jsx(\"p\",{dir:\"ltr\",style:{fontSize:9,color:\"rgba(245,243,238,0.55)\",fontFamily:\"Inter, sans-serif\",lineHeight:1.8,margin:0,letterSpacing:\"0.03em\",unicodeBidi:\"isolate\"},children:\"PERGAS Y\\xd6NETİM DANIŞMANLIK İNŞAAT TİCARET LİMİTED ŞİRKETİ \\xb7 Huzur Mah. Metin Oktay Cad. Nurol Life No: 3, İ\\xe7 Kapı No: 33, Sarıyer / İstanbul \\xb7 Maslak V.D., VKN 7280593851\"})})})]}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`:focus-visible { outline: 2px solid #D8B55A; outline-offset: 2px; }@media (max-width: 768px), (pointer: coarse) { .f-col a, .f-col button, .f-bottom a, .f-bottom button, .f-legal a, .f-legal button { position: relative; } .f-col a::after, .f-col button::after, .f-bottom a::after, .f-bottom button::after, .f-legal a::after, .f-legal button::after { content: \"\"; position: absolute; top: 50%; left: 50%; min-width: 44px; min-height: 44px; width: 100%; height: 100%; transform: translate(-50%, -50%); } }`}}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600&family=Cairo:wght@400;500;600&display=swap');\n                .f-logo { height: 56px !important; }\n                .f-grid {\n                    grid-template-columns: 1.2fr 1fr 1fr !important;\n                    padding: 44px 48px 36px !important;\n                    gap: 40px !important;\n                }\n                .f-bottom { padding: 14px 48px !important; }\n                .f-legal  { padding: 10px 48px 16px !important; }\n                @media (max-width: 900px) {\n                    .f-grid {\n                        grid-template-columns: 1fr 1fr !important;\n                        padding: 36px 24px 28px !important;\n                        gap: 28px !important;\n                    }\n                    .f-bottom { padding: 14px 24px !important; }\n                    .f-legal  { padding: 10px 24px 14px !important; }\n                }\n                @media (max-width: 640px) {\n                    .f-logo { height: 40px !important; }\n                    .f-grid {\n                        grid-template-columns: 1fr !important;\n                        padding: 28px 20px 20px !important;\n                        gap: 24px !important;\n                    }\n                    .f-bottom {\n                        flex-direction: column !important;\n                        align-items: flex-start !important;\n                        gap: 8px !important;\n                        padding: 14px 20px !important;\n                    }\n                    .f-legal { padding: 8px 20px 14px !important; }\n                }\n\n                /* ── Phone rules, repeated as container queries ────────────────\n                   Identical declarations to the 640px media block above, plus the\n                   left-aligned legal line. These resolve against the footer\n                   element, so they also fire inside a narrow Framer breakpoint\n                   frame where a viewport media query cannot. In production both\n                   fire together at the same width, so there is no conflict.\n                   Deliberately phone-only — the 900px tablet block is not\n                   mirrored, leaving tablet exactly as it was. */\n                @container (max-width: 640px) {\n                    .f-logo { height: 40px !important; }\n                    .f-grid {\n                        grid-template-columns: 1fr !important;\n                        padding: 28px 20px 20px !important;\n                        gap: 24px !important;\n                    }\n                    .f-bottom {\n                        flex-direction: column !important;\n                        align-items: flex-start !important;\n                        gap: 8px !important;\n                        padding: 14px 20px !important;\n                    }\n                    .f-legal { padding: 8px 20px 14px !important; }\n                }\n\n                /* Stacked-phone refinements. Scoped so they can only ever apply\n                   in the single-column state — nothing here reaches tablet or\n                   desktop. The brand paragraph drops its 200px cap because at\n                   full column width that cap made it wrap early and read as a\n                   narrow ragged block beside a wide empty gutter. */\n                @media (max-width: 640px) {\n                    .f-brand-desc { max-width: 100% !important; }\n                    .f-legal { text-align: left !important; }\n                    [dir=\"rtl\"] .f-legal { text-align: right !important; }\n                    .f-legal-links { flex-wrap: wrap !important; }\n                }\n                @container (max-width: 640px) {\n                    .f-brand-desc { max-width: 100% !important; }\n                    .f-legal { text-align: left !important; }\n                    [dir=\"rtl\"] .f-legal { text-align: right !important; }\n                    .f-legal-links { flex-wrap: wrap !important; }\n                }\n            `}})]});}addPropertyControls(Footer,{logo:{type:ControlType.Image,title:\"Logo\"},emitSchema:{type:ControlType.Boolean,title:\"Schema\",defaultValue:true,enabledTitle:\"Emit\",disabledTitle:\"Skip\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Footer\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Footer.map","// <style> blocks here use dangerouslySetInnerHTML, never a text child. React SSR escapes\n// ' & \" inside <style> text (&#x27; &amp;), the browser never decodes them, hydration fails\n// (#425/#422) and React rebuilds the tree on the client. Fixed site-wide 23 Sep 2026.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{motion,AnimatePresence,useReducedMotion}from\"framer-motion\";import{addPropertyControls,ControlType,RenderTarget,useLocaleInfo}from\"framer\";// ─── Language data ────────────────────────────────────────────────────────────\nconst LABELS={en:\"EN\",tr:\"TR\",fa:\"FA\",ar:\"AR\"};const NAMES={en:\"English\",tr:\"T\\xfcrk\\xe7e\",fa:\"فارسی\",ar:\"العربية\"};const FONTS={en:\"Inter, sans-serif\",tr:\"Inter, sans-serif\",fa:\"Vazirmatn, Inter, sans-serif\",ar:\"Cairo, Inter, sans-serif\"};// localStorage key for the user's language. Without persistence, every\n// full-page navigation lets Framer's automatic locale matching (or its own\n// remembered locale) override the language the visitor is actually browsing in.\n// v2: v1 values may be poisoned with \"ar\" by the old startsWith(\"/ar\") locale\n// detection, which wrongly matched \"/architecture\" — ignore the old key.\nconst LANG_STORAGE_KEY=\"pergas_lang_v2\";// The preloader shows once per browsing session. Every nav click is a full page\n// load, so without this a visitor sits through the curtain on every single click.\nconst PRELOAD_KEY=\"pergas_preloaded_v1\";function storedLang(){if(typeof window===\"undefined\")return null;try{const v=window.localStorage.getItem(LANG_STORAGE_KEY);return v&&v in LABELS?v:null;}catch{return null;}}function rememberLang(code){if(typeof window===\"undefined\")return;try{window.localStorage.setItem(LANG_STORAGE_KEY,code);}catch{}}// True only where window.location is actually the PERGAS site.\n// On the Framer canvas (and in component thumbnails) window.location is the\n// editor's own URL, so anything that reads or writes it must be gated on this.\nfunction isLiveContext(){if(typeof window===\"undefined\")return false;try{const rt=RenderTarget.current();return rt!==RenderTarget.canvas&&rt!==RenderTarget.thumbnail;}catch{return true;}}// ─── Detect lang from URL path (most reliable — Framer locale IDs are random strings) ──\n// IMPORTANT: the locale prefix must be matched as a full path segment.\n// A naive startsWith(\"/ar\") check matches \"/architecture\" and flips the\n// whole page to Arabic on the English site.\nfunction detectLang(){if(typeof window===\"undefined\")return\"en\";const m=window.location.pathname.match(/^\\/(tr|fa|ar)(\\/|$)/);return m?m[1]:\"en\";}// ─── Map Framer locale → lang code via locale name (IDs are random) ───────────\nfunction localeCode(locale){const n=locale.name.toLowerCase();if(n.includes(\"turkish\")||n.includes(\"t\\xfcrk\"))return\"tr\";if(n.includes(\"persian\")||n.includes(\"farsi\")||n.includes(\"iran\"))return\"fa\";if(n.includes(\"arabic\")||n.includes(\"arab\"))return\"ar\";return\"en\";}// ─── Locale-aware path ────────────────────────────────────────────────────────\n// Framer published site: / (EN), /tr/, /fa/, /ar/\nfunction localePath(lang,path){if(lang===\"en\")return path;const clean=path.replace(/^\\/(en|tr|fa|ar)(\\/|$)/,\"/\");// Locale home is prefix + SLASH (/fa/, /tr/, /ar/). Verified live 23 Sep 2026: /fa returns a\n// redirect to /fa/, and the canonical and hreflang tags both name /fa/. An earlier note had\n// this backwards - the \"/tr/\" it saw under Page with redirect was the non-www host. Footer.tsx does the same.\nif(clean===\"/\"||clean===\"\")return`/${lang}/`;return`/${lang}${clean.startsWith(\"/\")?clean:`/${clean}`}`;}function strippedPathname(){if(typeof window===\"undefined\")return\"/\";return window.location.pathname.replace(/^\\/(tr|fa|ar)(\\/|$)/,\"/\")||\"/\";}// ─── Nav translations ─────────────────────────────────────────────────────────\n// Insights (the blog) is EN / TR / FA only — the AR block deliberately has no\n// entry. The blog collection carries three language field sets and no Arabic\n// body, so an AR nav link would send an Arabic visitor to English copy.\n// Index lives at /blog/insights: Framer would not accept a bare \"/\" as the URL\n// of a page inside the /blog folder, so the index sits one level down.\nconst T={en:{links:[{label:\"Real Estate\",href:\"/real-estate\"},{label:\"Design & Build\",href:\"/architecture\"},{label:\"Asset Management\",href:\"/asset-management\"},{label:\"About\",href:\"/about\"},{label:\"Blog\",href:\"/blog/insights\"}],cta:\"Get in Touch\",langButton:\"Change language\",menuButton:\"Navigation menu\"},tr:{links:[{label:\"Gayrimenkul\",href:\"/real-estate\"},{label:\"Tasarım ve İnşaat\",href:\"/architecture\"},{label:\"Varlık Y\\xf6netimi\",href:\"/asset-management\"},{label:\"Hakkımızda\",href:\"/about\"},{label:\"Blog\",href:\"/blog/insights\"}],cta:\"İletişime Ge\\xe7in\",langButton:\"Dili Değiştir\",menuButton:\"Gezinme men\\xfcs\\xfc\"},fa:{links:[{label:\"املاک\",href:\"/real-estate\"},{label:\"طراحی و ساخت\",href:\"/architecture\"},{label:\"مدیریت دارایی\",href:\"/asset-management\"},{label:\"درباره ما\",href:\"/about\"},{label:\"بلاگ\",href:\"/blog/insights\"}],cta:\"ارتباط با ما\",langButton:\"تغییر زبان\",menuButton:\"منوی اصلی\"},ar:{links:[{label:\"العقارات الفاخرة\",href:\"/real-estate\"},{label:\"التصميم والبناء\",href:\"/architecture\"},{label:\"إدارة الأصول\",href:\"/asset-management\"},{label:\"نبذة عنا\",href:\"/about\"}],cta:\"تواصل معنا\",langButton:\"تغيير اللغة\",menuButton:\"قائمة التنقل\"}};// ─── Preloader ────────────────────────────────────────────────────────────────\n// Framer's image CDN resizes on request: ?scale-down-to=N caps the longer side at\n// N px (and returns the original when that is already smaller). The brand mark is\n// a 4096 x 4096 PNG — 212 KB — drawn in a 200 px box, and PageSpeed and every new\n// visitor download it first. The preloader now asks for the 512 px copy (26 KB),\n// or 1024 px (57 KB) on 3x screens. Same image, same box. 2026-09-24.\nfunction sized(url,n){try{const u=new URL(url);if(!/(^|\\.)framerusercontent\\.com$/.test(u.hostname))return url;u.searchParams.set(\"scale-down-to\",String(n));return u.toString();}catch{return url;}}// Starts idle, so nothing ships in the static HTML and there is no hydration\n// mismatch. Shows once per session. Always dismisses — the 2.5s ceiling means a\n// slow or missing asset can never leave someone stuck behind a black screen.\nfunction Preloader({logo}){const[phase,setPhase]=useState(\"idle\");useEffect(()=>{// Never on the canvas. A fixed-position curtain inside a component instance\n// paints over the nav in the editor — that is exactly what made NavBar look\n// like an empty black box on the 404 page.\nif(!isLiveContext())return;// No asset supplied: render nothing at all rather than an empty black panel.\nif(!logo)return;let seen=false;try{seen=window.sessionStorage.getItem(PRELOAD_KEY)===\"1\";}catch{}if(seen)return;setPhase(\"showing\");try{window.sessionStorage.setItem(PRELOAD_KEY,\"1\");}catch{}const started=Date.now();let hold=0;const finish=()=>{hold=window.setTimeout(()=>setPhase(\"done\"),Math.max(0,700-(Date.now()-started)));};if(document.readyState===\"complete\")finish();else window.addEventListener(\"load\",finish,{once:true});const ceiling=window.setTimeout(()=>setPhase(\"done\"),2500);return()=>{window.removeEventListener(\"load\",finish);window.clearTimeout(hold);window.clearTimeout(ceiling);};},[logo]);return /*#__PURE__*/_jsx(AnimatePresence,{children:phase===\"showing\"&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:1},exit:{opacity:0},transition:{duration:.8,ease:\"easeInOut\"},style:{position:\"fixed\",inset:0,background:\"#0A0A08\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:999999,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(motion.img,{src:logo?sized(logo,512):undefined,srcSet:logo?`${sized(logo,512)} 512w, ${sized(logo,1024)} 1024w`:undefined,sizes:\"200px\",alt:\"PERGAS\",initial:{opacity:0,scale:.92},animate:{opacity:1,scale:[.98,1.02,.98]},transition:{opacity:{duration:.6,ease:\"easeOut\"},scale:{duration:3.2,repeat:Infinity,ease:\"easeInOut\"}},style:{width:200,height:200,objectFit:\"contain\"}})},\"preloader\")});}// ─── NavBar ───────────────────────────────────────────────────────────────────\n// Both logo props default to the primary brand mark so every page — including\n// pages added later, and the CMS property template — renders the mark without\n// a per-instance canvas edit. A panel override on any instance still wins.\nconst BRAND_MARK=\"https://framerusercontent.com/images/tfS3bVsw59VKzIaDfXJ3KkAj8.png\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function NavBar({logo=BRAND_MARK,preloaderLogo=BRAND_MARK,transparent=false}){const[menuOpen,setMenuOpen]=useState(false);const[scrolled,setScrolled]=useState(false);const[activePath,setActivePath]=useState(\"\");const[langOpen,setLangOpen]=useState(false);const{locales,setLocale,activeLocale}=useLocaleInfo();// activeLocale resolves during Framer's static render, so /fa ships Persian\n// nav labels in the served HTML instead of English until hydration. Verified\n// in the served HTML on 5 Aug 2026. Reuses localeCode() — IDs are random,\n// names are stable. Null on the default locale, hence the detectLang fallback.\n// NOTE: the redirect effect below deliberately still uses detectLang(). It\n// compares against window.location and may call replace(); it must read the\n// URL that is actually loaded, not the locale Framer rendered.\nconst lang=activeLocale?localeCode(activeLocale):detectLang();const t=T[lang]??T.en;const isRTL=lang===\"fa\"||lang===\"ar\";const font=FONTS[lang];// Navigating from this page means the visitor is browsing in this page's\n// language — pin it before the full reload so the next page can't be\n// rerouted to another locale by Framer's automatic locale matching.\nconst rm=useReducedMotion();const go=path=>{rememberLang(lang);window.location.href=localePath(lang,path);};// Switch language: remember the explicit choice, then navigate.\n// When Framer gives us real locales use setLocale; the fallback list has\n// synthetic IDs that setLocale silently ignores, so navigate by URL instead.\nconst chooseLang=locale=>{const code=localeCode(locale);rememberLang(code);if(locales.some(l=>l.id===locale.id)){setLocale(locale.id);}else{window.location.href=localePath(code,strippedPathname());}};// Enforce the remembered language on every page load. Each nav click is a\n// full page load, and Framer's automatic locale matching can reroute it\n// (e.g. EN → AR) — the remembered language wins: redirect once if the URL\n// locale disagrees. On a true first visit nothing is stored yet, so the\n// locale Framer chose for the landing page becomes the starting point.\nuseEffect(()=>{// The canvas is not the site. window.location there is Framer's editor URL,\n// so detectLang() always returns \"en\" and this block would call\n// window.location.replace() on every mount — once per breakpoint, on every\n// page that carries a NavBar. That is what wedges the renderer.\nif(!isLiveContext())return;const current=detectLang();// An explicit locale prefix in the URL is the visitor's stated intent.\n// A shared /ar or /fa link must open in that language even when this\n// browser has been reading another one, so honour the URL and adopt it\n// as the remembered language. Before this guard, a stored preference\n// silently overrode the URL: /ar/contact landed on /fa/contact.\nif(/^\\/(tr|fa|ar)(\\/|$)/.test(window.location.pathname)){rememberLang(current);return;}const stored=storedLang();if(!stored){rememberLang(current);return;}if(stored===current)return;const target=localePath(stored,strippedPathname());if(target!==window.location.pathname){window.location.replace(target+window.location.search+window.location.hash);}},[]);useEffect(()=>{if(typeof window!==\"undefined\"){const raw=window.location.pathname;const stripped=raw.replace(/^\\/(tr|fa|ar)(\\/|$)/,\"/\")||\"/\";setActivePath(stripped);}},[]);useEffect(()=>{if(!transparent)return;const fn=()=>setScrolled(window.scrollY>40);window.addEventListener(\"scroll\",fn,{passive:true});return()=>window.removeEventListener(\"scroll\",fn);},[transparent]);useEffect(()=>{if(!langOpen)return;const handler=e=>{if(!e.target.closest(\".pg-lang-sw\"))setLangOpen(false);};document.addEventListener(\"mousedown\",handler);return()=>document.removeEventListener(\"mousedown\",handler);},[langOpen]);// The menu button only exists up to 1024 px. If an iPad is rotated to landscape\n// with the menu open, the links come back, so close the menu at that point.\nuseEffect(()=>{if(!menuOpen||typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(min-width: 1025px)\");const close=()=>{if(mq.matches)setMenuOpen(false);};close();// Safari before 14 (older iPads) only has addListener/removeListener.\nif(mq.addEventListener)mq.addEventListener(\"change\",close);else mq.addListener(close);return()=>{if(mq.removeEventListener)mq.removeEventListener(\"change\",close);else mq.removeListener(close);};},[menuOpen]);const isGlassy=transparent&&!scrolled;// Fallback locale list if Framer doesn't provide locales\nconst localeList=locales.length>0?locales:[{id:\"default\",name:\"English\"},{id:\"tr-locale\",name:\"Turkish\"},{id:\"fa-locale\",name:\"Persian\"},{id:\"ar-locale\",name:\"Arabic (United Arab Emirates)\"}];return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Preloader,{logo:preloaderLogo}),/*#__PURE__*/_jsxs(motion.nav,{dir:isRTL?\"rtl\":\"ltr\",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:rm?{duration:0}:{duration:.4},style:{width:\"100%\",height:80,background:isGlassy?\"transparent\":\"#121110\",backdropFilter:transparent&&scrolled?\"blur(14px)\":\"none\",WebkitBackdropFilter:transparent&&scrolled?\"blur(14px)\":\"none\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",borderBottom:isGlassy?\"none\":\"1px solid rgba(216,181,90,0.15)\",position:transparent?\"fixed\":\"sticky\",top:0,zIndex:100,boxSizing:\"border-box\",transition:\"background 0.4s ease, border-color 0.4s ease\",direction:isRTL?\"rtl\":\"ltr\"},className:\"pergas-nav\",children:[/*#__PURE__*/_jsx(\"a\",{href:localePath(lang,\"/\"),onClick:e=>{e.preventDefault();go(\"/\");},style:{display:\"flex\",alignItems:\"center\",flexShrink:0,cursor:\"pointer\",textDecoration:\"none\"},children:logo?// 256 px copy of the logo (29 Sep 2026). The Logo prop arrives as the\n// 2048 px upload (~53 KB) for a 60 px box; 256 px (~9 KB) still covers\n// 4x screens. sized() is the same helper the preloader uses.\n/*#__PURE__*/_jsx(\"img\",{src:sized(logo,256),alt:\"PERGAS\",style:{height:60,width:\"auto\",objectFit:\"contain\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Georgia, serif\",fontSize:22,fontWeight:400,color:\"#D8B55A\",letterSpacing:\"0.1em\"},children:\"PERGAS\"})}),/*#__PURE__*/_jsx(\"div\",{className:\"desktop-links\",style:{display:\"flex\",alignItems:\"center\",gap:36},children:t.links.map(link=>{const isActive=activePath===link.href||activePath===link.href+\"/\";return /*#__PURE__*/_jsxs(\"a\",{href:localePath(lang,link.href),onClick:e=>{e.preventDefault();go(link.href);},style:{fontFamily:font,fontSize:13,fontWeight:isActive?500:400,color:isActive?\"#D8B55A\":\"#9E9B96\",letterSpacing:isRTL?\"0\":\"0.02em\",cursor:\"pointer\",whiteSpace:\"nowrap\",position:\"relative\",transition:\"color 0.2s ease\",userSelect:\"none\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.color=\"#D8B55A\",onMouseLeave:e=>e.currentTarget.style.color=isActive?\"#D8B55A\":\"#9E9B96\",children:[link.label,isActive&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",bottom:-4,left:0,right:0,height:1,background:\"linear-gradient(90deg, transparent, #D8B55A, transparent)\"}})]},link.href);})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:12,flexShrink:0},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"pg-lang-sw\",style:{position:\"relative\"},children:[/*#__PURE__*/_jsxs(\"button\",{className:\"pg-hit\",onClick:()=>setLangOpen(!langOpen),style:{display:\"flex\",alignItems:\"center\",gap:5,background:\"none\",border:\"1px solid rgba(216,181,90,0.22)\",borderRadius:4,cursor:\"pointer\",padding:\"5px 10px\",transition:\"border-color 0.18s, background 0.18s\"},onMouseEnter:e=>{e.currentTarget.style.borderColor=\"#D8B55A\";e.currentTarget.style.background=\"rgba(216,181,90,0.08)\";},onMouseLeave:e=>{e.currentTarget.style.borderColor=\"rgba(216,181,90,0.22)\";e.currentTarget.style.background=\"none\";},title:t.langButton,\"aria-label\":t.langButton,\"aria-haspopup\":\"listbox\",\"aria-expanded\":langOpen,children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Inter, sans-serif\",fontSize:11,fontWeight:600,color:\"#D8B55A\",letterSpacing:\"0.1em\"},children:LABELS[lang]}),/*#__PURE__*/_jsx(\"svg\",{width:\"8\",height:\"5\",viewBox:\"0 0 8 5\",fill:\"none\",style:{opacity:.6,transform:langOpen?\"rotate(180deg)\":\"none\",transition:\"transform 0.2s\",flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 1l3 3 3-3\",stroke:\"#9E9B96\",strokeWidth:\"1.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:langOpen&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:-6,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-6,scale:.97},transition:rm?{duration:0}:{duration:.13},style:{position:\"absolute\",top:\"calc(100% + 8px)\",right:isRTL?\"auto\":0,left:isRTL?0:\"auto\",background:\"#161513\",border:\"1px solid rgba(216,181,90,0.18)\",borderRadius:6,overflow:\"hidden\",minWidth:160,zIndex:200,boxShadow:\"0 8px 32px rgba(0,0,0,0.55)\"},children:localeList.map(locale=>{const code=localeCode(locale);const isActiveLang=code===lang;return /*#__PURE__*/_jsxs(\"a\",{href:localePath(code,strippedPathname()),hrefLang:code,onClick:e=>{e.preventDefault();chooseLang(locale);setLangOpen(false);},style:{display:\"flex\",alignItems:\"center\",gap:10,width:\"100%\",padding:\"10px 14px\",background:isActiveLang?\"rgba(216,181,90,0.10)\":\"transparent\",border:\"none\",borderInlineStart:isActiveLang?\"2px solid #D8B55A\":\"2px solid transparent\",cursor:\"pointer\",transition:\"background 0.15s\",textDecoration:\"none\",boxSizing:\"border-box\"},onMouseEnter:e=>{if(!isActiveLang)e.currentTarget.style.background=\"rgba(255,255,255,0.05)\";},onMouseLeave:e=>{if(!isActiveLang)e.currentTarget.style.background=\"transparent\";},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Inter, sans-serif\",fontSize:10,fontWeight:700,color:isActiveLang?\"#D8B55A\":\"#5A5550\",letterSpacing:\"0.08em\",background:isActiveLang?\"rgba(216,181,90,0.18)\":\"rgba(255,255,255,0.06)\",borderRadius:3,padding:\"2px 5px\",flexShrink:0,minWidth:28,textAlign:\"center\"},children:LABELS[code]}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:code===\"fa\"?\"Vazirmatn, sans-serif\":code===\"ar\"?\"Cairo, sans-serif\":\"Inter, sans-serif\",fontSize:13,color:isActiveLang?\"#D8B55A\":\"#C0B8AE\",fontWeight:isActiveLang?500:400,textAlign:isRTL?\"right\":\"left\"},children:NAMES[code]})]},locale.id);})})})]}),/*#__PURE__*/_jsx(\"a\",{href:localePath(lang,\"/contact\"),onClick:e=>{e.preventDefault();go(\"/contact\");},className:\"desktop-cta\",style:{fontFamily:font,fontSize:13,fontWeight:500,color:\"#0A0A08\",background:\"#D8B55A\",padding:\"10px 22px\",borderRadius:4,cursor:\"pointer\",letterSpacing:isRTL?\"0\":\"0.02em\",transition:\"box-shadow 0.2s ease\",whiteSpace:\"nowrap\",userSelect:\"none\",textDecoration:\"none\"},onMouseEnter:e=>e.currentTarget.style.boxShadow=\"0 0 24px rgba(216,181,90,0.35)\",onMouseLeave:e=>e.currentTarget.style.boxShadow=\"none\",children:t.cta}),/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setMenuOpen(!menuOpen),className:\"hamburger-btn pg-hit\",\"aria-label\":t.menuButton,\"aria-expanded\":menuOpen,style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:8,display:\"none\",flexDirection:\"column\",gap:5},children:[/*#__PURE__*/_jsx(motion.span,{transition:rm?{duration:0}:undefined,animate:menuOpen?{rotate:45,y:7}:{rotate:0,y:0},style:{width:24,height:1.5,background:\"#D8B55A\",display:\"block\"}}),/*#__PURE__*/_jsx(motion.span,{transition:rm?{duration:0}:undefined,animate:menuOpen?{opacity:0}:{opacity:1},style:{width:24,height:1.5,background:\"#D8B55A\",display:\"block\"}}),/*#__PURE__*/_jsx(motion.span,{transition:rm?{duration:0}:undefined,animate:menuOpen?{rotate:-45,y:-7}:{rotate:0,y:0},style:{width:24,height:1.5,background:\"#D8B55A\",display:\"block\"}})]})]})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:menuOpen&&/*#__PURE__*/_jsx(motion.div,{dir:isRTL?\"rtl\":\"ltr\",initial:{opacity:0,height:0},animate:{opacity:1,height:\"auto\"},exit:{opacity:0,height:0},transition:rm?{duration:0}:{duration:.25},style:{background:\"#121110\",borderBottom:\"1px solid rgba(216,181,90,0.15)\",overflow:\"hidden\",position:transparent?\"fixed\":\"sticky\",top:80,zIndex:99,width:\"100%\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"16px 24px 24px\"},children:[t.links.map((link,i)=>/*#__PURE__*/_jsx(motion.a,{href:localePath(lang,link.href),initial:{opacity:0,x:isRTL?10:-10},animate:{opacity:1,x:0},transition:rm?{duration:0}:{delay:i*.05},onClick:e=>{e.preventDefault();setMenuOpen(false);go(link.href);},style:{display:\"block\",fontFamily:font,fontSize:16,color:activePath===link.href?\"#D8B55A\":\"#9E9B96\",cursor:\"pointer\",padding:\"14px 0\",borderBottom:\"1px solid rgba(255,255,255,0.05)\",userSelect:\"none\",textDecoration:\"none\"},children:link.label},link.href)),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:6,paddingTop:16,flexWrap:\"wrap\"},children:localeList.map(locale=>{const code=localeCode(locale);const isActiveLang=code===lang;return /*#__PURE__*/_jsx(\"a\",{className:\"pg-hit\",href:localePath(code,strippedPathname()),hrefLang:code,onClick:e=>{e.preventDefault();chooseLang(locale);setMenuOpen(false);},style:{display:\"flex\",alignItems:\"center\",gap:5,padding:\"6px 12px\",border:isActiveLang?\"1px solid #D8B55A\":\"1px solid rgba(255,255,255,0.1)\",borderRadius:4,background:isActiveLang?\"rgba(216,181,90,0.12)\":\"transparent\",color:isActiveLang?\"#D8B55A\":\"#9E9B96\",fontFamily:\"Inter, sans-serif\",fontSize:11,fontWeight:600,cursor:\"pointer\",letterSpacing:\"0.08em\",textDecoration:\"none\"},children:LABELS[code]},locale.id);})}),/*#__PURE__*/_jsx(\"a\",{href:localePath(lang,\"/contact\"),onClick:e=>{e.preventDefault();setMenuOpen(false);go(\"/contact\");},style:{display:\"block\",marginTop:16,fontFamily:font,fontSize:14,fontWeight:500,color:\"#0A0A08\",background:\"#D8B55A\",padding:\"14px 24px\",borderRadius:4,textAlign:\"center\",cursor:\"pointer\",userSelect:\"none\",textDecoration:\"none\"},children:t.cta})]})})}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n            @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600&family=Cairo:wght@400;500;600&display=swap');\n            .pergas-nav { padding-left: 48px; padding-right: 48px; }\n            @media (max-width: 1024px) {\n                .desktop-links { display: none !important; }\n                .hamburger-btn { display: flex !important; }\n            }\n            @media (max-width: 900px) { .pergas-nav { padding-left: 24px; padding-right: 24px; } }\n            @media (max-width: 768px) {\n                .desktop-cta   { display: none !important; }\n            }\n            @media (max-width: 480px) { .pergas-nav { padding-left: 16px; padding-right: 16px; } }\n            :focus-visible { outline: 2px solid #D8B55A; outline-offset: 2px; }\n            @media (max-width: 768px), (pointer: coarse) { .pg-hit { position: relative; } .pg-hit::after { content: \"\"; position: absolute; top: 50%; left: 50%; min-width: 44px; min-height: 44px; width: 100%; height: 100%; transform: translate(-50%, -50%); } }\n            @media (prefers-reduced-motion: reduce) { .pergas-nav, .pergas-nav * { transition: none !important; } }\n        `}}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`@media (min-width: 810px){[style*=\"font-size:9px\"],[style*=\"font-size: 9px\"]{font-size:12px!important}[style*=\"font-size:10px\"],[style*=\"font-size: 10px\"]{font-size:12px!important}[style*=\"font-size:11px\"],[style*=\"font-size: 11px\"]{font-size:13px!important}[style*=\"font-size:12px\"],[style*=\"font-size: 12px\"]{font-size:14px!important}[style*=\"font-size:13px\"],[style*=\"font-size: 13px\"]{font-size:15px!important}[style*=\"font-size:14px\"],[style*=\"font-size: 14px\"]{font-size:16px!important}[style*=\"font-size:15px\"],[style*=\"font-size: 15px\"]{font-size:17px!important}[style*=\"letter-spacing:0.2em\"],[style*=\"letter-spacing: 0.2em\"],[style*=\"letter-spacing:0.22em\"],[style*=\"letter-spacing: 0.22em\"]{letter-spacing:0.14em!important}.pd-stats-grid>div[style*=\"padding-left:32px\"],.pd-stats-grid>div[style*=\"padding-left: 32px\"]{padding-left:24px!important}.pd-stats-grid>div[style*=\"padding-right:32px\"],.pd-stats-grid>div[style*=\"padding-right: 32px\"]{padding-right:24px!important}.pd-stats-grid>div>div:first-child{letter-spacing:0.12em!important;white-space:nowrap}[dir=\"rtl\"] .pd-stats-grid>div>div:first-child{letter-spacing:0!important}.pd-facts-grid{grid-template-columns:repeat(2,1fr)!important}.ab-eyebrow{font-size:12px!important;letter-spacing:0.18em}.ap-back,.ap-cat,.ap-tab,.ap-fv-yt{font-size:12px!important}.ap-fact-k,.ap-lab,.ap-ba-tag{font-size:12px!important}.ap-stage-pill{font-size:12px!important}.ap-ba-cap{font-size:14px!important}.ap-hero-loc,.ap-cta-p{font-size:16px!important}.ap-cta button{font-size:13px!important}.ap-lab,.ap-cat{letter-spacing:0.14em!important}[dir=\"rtl\"] .ap-lab,[dir=\"rtl\"] .ap-cat,[dir=\"rtl\"] .ab-eyebrow{letter-spacing:0!important}}`}})]});}addPropertyControls(NavBar,{logo:{type:ControlType.Image,title:\"Logo\"},preloaderLogo:{type:ControlType.Image,title:\"Preloader Logo\"},transparent:{type:ControlType.Boolean,title:\"Transparent\",defaultValue:false}})// Image controls are intentionally left without defaultValue. Framer treats a\n// defaulted Image control as a set value, which would remove the ability to\n// clear it on an instance; the parameter defaults above cover the unset case.\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NavBar\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Nav.map"],"mappings":"A,yRAKA,SAASA,EAAW,EAAO,CAAC,IAAM4B,EAAEC,EAAO,KAAK,YAAY,EAAiM,OAA5LD,EAAE,SAAS,SAAS,GAAGA,EAAE,SAAS,MAAS,EAAQ,KAAQA,EAAE,SAAS,SAAS,GAAGA,EAAE,SAAS,OAAO,GAAGA,EAAE,SAAS,MAA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