{"id":2497,"date":"2024-04-05T16:06:30","date_gmt":"2024-04-05T13:06:30","guid":{"rendered":"https:\/\/batiyakasi.com\/homepage\/"},"modified":"2026-04-01T16:57:50","modified_gmt":"2026-04-01T13:57:50","slug":"homepage","status":"publish","type":"page","link":"https:\/\/batiyakasi.com\/en\/","title":{"rendered":"Homepage"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2497\" class=\"elementor elementor-2497 elementor-32\" data-elementor-settings=\"{&quot;element_pack_global_tooltip_width&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_width_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_width_laptop&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_width_tablet_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_width_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_width_mobile_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_width_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;element_pack_global_tooltip_padding&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_padding_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_padding_laptop&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_padding_tablet_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_padding_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_padding_mobile_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_padding_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius_laptop&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius_tablet_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius_mobile_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true},&quot;element_pack_global_tooltip_border_radius_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;top&quot;:&quot;&quot;,&quot;right&quot;:&quot;&quot;,&quot;bottom&quot;:&quot;&quot;,&quot;left&quot;:&quot;&quot;,&quot;isLinked&quot;:true}}\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-722835b e-con-full e-flex e-con e-parent\" data-id=\"722835b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-eeada80 elementor-widget elementor-widget-slider_revolution\" data-id=\"eeada80\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"slider_revolution.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n\t\t<div class=\"wp-block-themepunch-revslider\">\n\t\t\t\t<p class=\"rs-p-wp-fix\"><\/p>\n\t\t\t\t<sr7-module data-alias=\"batiyakasi-1\" data-id=\"3\" id=\"SR7_3_1\" class=\"rs-ov-hidden\" data-version=\"6.7.10\">\n\t\t\t\t\t<sr7-adjuster><\/sr7-adjuster>\n\t\t\t\t\t<sr7-content>\n\t\t\t\t\t\t<sr7-slide id=\"SR7_3_1-32\" data-key=\"32\">\n\t\t\t\t\t\t\t<sr7-bg id=\"SR7_3_1-32-18\" class=\"sr7-layer\"><noscript><img decoding=\"async\" src=\"https:\/\/batiyakasi.com\/wp-content\/uploads\/2025\/05\/BatiYakasi_Koy_Slider_Gorsel-scaled.jpg\" alt=\"\" title=\"Bat\u0131Yakas\u0131_K\u00f6y_Slider_G\u00f6rsel\"><\/noscript><\/sr7-bg>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-32-8\" class=\"sr7-layer\">In Zekeriyak\u00f6y<\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-32-9\" class=\"sr7-layer\">A LIFE THAT IS RURAL ON THE OUTSIDE, URBAN ON THE INSIDE<\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-32-10\" class=\"sr7-layer\">Bat\u0131yakas\u0131 K\u00f6y, offering a well-yearned natural life with an \u00e9lite project in the city centre, thanks to its human-centred feauters, is to provide you with a refined life. Bat\u0131yakas\u0131 K\u00f6y in Zekeriyak\u00f6y, with its clean air and lush green trees, is making you meet a world where social life opportunities of high standards are on the forefront.<\/sr7-txt>\n\t\t\t\t\t\t<\/sr7-slide>\n\t\t\t\t\t\t<sr7-slide id=\"SR7_3_1-33\" data-key=\"33\">\n\t\t\t\t\t\t\t<sr7-bg id=\"SR7_3_1-33-22\" class=\"sr7-layer\"><noscript><img decoding=\"async\" src=\"https:\/\/batiyakasi.com\/wp-content\/uploads\/2026\/03\/batiyakasi-skartal1.webp\" alt=\"\" title=\"-batiyakasi-skartal(1)\"><\/noscript><\/sr7-bg>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-33-8\" class=\"sr7-layer\">The Lake and the Sea<\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-33-9\" class=\"sr7-layer\">ON THE BATAYAKASI<br \/> OF LIFE<\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-33-10\" class=\"sr7-layer\">Bat\u0131yakas\u0131, combining both lake and sea views in the centre of Istanbul, was designed to give you the very best, from its architecture to designs, from its select materials to its living accommodations and all details. This living space that harbours all shades of nature and green, with the lake view on one side and the sea view on the other, nested within the culture, art, entertainment and social life the city offers, invites you to a life of your dreams. <\/sr7-txt>\n\t\t\t\t\t\t<\/sr7-slide>\n\t\t\t\t\t\t<sr7-slide id=\"SR7_3_1-34\" data-key=\"34\">\n\t\t\t\t\t\t\t<sr7-bg id=\"SR7_3_1-34-19\" class=\"sr7-layer\"><noscript><img decoding=\"async\" src=\"https:\/\/batiyakasi.com\/wp-content\/uploads\/2024\/09\/batiyakasi-gol-slider.webp\" alt=\"\" title=\"batiyakasi-gol-slider\"><\/noscript><\/sr7-bg>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-34-8\" class=\"sr7-layer\">A Hidden Lake in Kartal<\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-34-9\" class=\"sr7-layer\">A WORLD OF PRIVILEGE AROUND A LAKE<\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-34-10\" class=\"sr7-layer\">All opportunities that enrich life are gathered around a vast lake in the centre of the city. Bat\u0131yakas\u0131 G\u00f6l, that offers anything you seek, ranging from its theme park to geology museum, library, sports, hiking and cycling tracks, will be the city\u2019s new centre of attraction.<\/sr7-txt>\n\t\t\t\t\t\t<\/sr7-slide>\n\t\t\t\t\t\t<sr7-slide id=\"SR7_3_1-35\" data-key=\"35\">\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-35-27\" class=\"sr7-layer\"><i class=\"fa-angle-left\"><\/i><\/sr7-txt>\n\t\t\t\t\t\t\t<sr7-txt id=\"SR7_3_1-35-29\" class=\"sr7-layer\"><i class=\"fa-angle-right\"><\/i><\/sr7-txt>\n\t\t\t\t\t\t<\/sr7-slide>\n\t\t\t\t\t<\/sr7-content>\n\t\t\t\t\t<image_lists style=\"display:none\">\n\t\t\t\t\t\t<img data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2025\/10\/Koy-new001.webp\" alt=\"cdn_helper\" data-libid=\"3529\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNS8xMC9Lb3ktbmV3MDAxLndlYnA=\"\/>\n\t\t\t\t\t\t<img data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/koy.svg\" alt=\"cdn_helper\" data-libid=\"704\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9rb3kuc3Zn\"\/>\n\t\t\t\t\t\t<img data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2025\/05\/BatiYakasi_Koy_Slider_Gorsel-scaled.jpg\" alt=\"cdn_helper\" data-libid=\"3324\" data-lib=\"medialibrary\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNS8wNS9CYXRpWWFrYXNpX0tveV9TbGlkZXJfR29yc2VsLXNjYWxlZC5qcGc=\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2025\/10\/Kartal-new001.webp\" alt=\"cdn_helper\" data-libid=\"3527\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNS8xMC9LYXJ0YWwtbmV3MDAxLndlYnA=\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/logo-orj2.svg\" alt=\"cdn_helper\" data-libid=\"480\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9sb2dvLW9yajIuc3Zn\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2026\/03\/batiyakasi-skartal1.webp\" alt=\"cdn_helper\" data-libid=\"3691\" data-lib=\"medialibrary\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNi8wMy9iYXRpeWFrYXNpLXNrYXJ0YWwxLndlYnA=\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/gol.svg\" alt=\"cdn_helper\" data-libid=\"653\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9nb2wuc3Zn\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/09\/batiyakasi-gol-slider.webp\" alt=\"cdn_helper\" data-libid=\"2098\" data-lib=\"medialibrary\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wOS9iYXRpeWFrYXNpLWdvbC1zbGlkZXIud2VicA==\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/Koy-Web-Offer.webp\" alt=\"cdn_helper\" data-libid=\"757\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9Lb3ktV2ViLU9mZmVyLndlYnA=\"\/>\n\t\t\t\t\t\t<img data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/koy.svg\" alt=\"cdn_helper\" data-libid=\"704\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9rb3kuc3Zn\"\/>\n\t\t\t\t\t\t<img data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2025\/05\/BatiYakasi_Koy_Slider_Gorsel-scaled.jpg\" alt=\"cdn_helper\" data-libid=\"3324\" data-lib=\"medialibrary\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNS8wNS9CYXRpWWFrYXNpX0tveV9TbGlkZXJfR29yc2VsLXNjYWxlZC5qcGc=\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/kartal-2.webp\" alt=\"cdn_helper\" data-libid=\"759\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9rYXJ0YWwtMi53ZWJw\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/logo-orj2.svg\" alt=\"cdn_helper\" data-libid=\"480\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9sb2dvLW9yajIuc3Zn\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2026\/03\/batiyakasi-skartal1.webp\" alt=\"cdn_helper\" data-libid=\"3691\" data-lib=\"medialibrary\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNi8wMy9iYXRpeWFrYXNpLXNrYXJ0YWwxLndlYnA=\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/05\/gol.svg\" alt=\"cdn_helper\" data-libid=\"653\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wNS9nb2wuc3Zn\"\/>\n\t\t\t\t\t\t<img loading=\"lazy\" data-src=\"\/\/batiyakasi.com\/wp-content\/uploads\/2024\/09\/batiyakasi-gol-slider.webp\" alt=\"cdn_helper\" data-libid=\"2098\" data-lib=\"medialibrary\" width=\"0\" height=\"0\" data-dbsrc=\"Ly9iYXRpeWFrYXNpLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAyNC8wOS9iYXRpeWFrYXNpLWdvbC1zbGlkZXIud2VicA==\"\/>\n\t\t\t\t\t<\/image_lists>\n\t\t\t\t<\/sr7-module>\n\t\t\t\t<script>\n\t\t\t\t\tSR7.PMH ??={}; SR7.PMH[\"SR7_3_1\"] = {cn:0,state:false,fn: function() { if (_tpt!==undefined && _tpt.prepareModuleHeight !== undefined) {  _tpt.prepareModuleHeight({id:\"SR7_3_1\",el:[900,900,768,960,720],type:'standard',shdw:'0',gh:[900,900,768,960,720],gw:[1240,1240,1024,778,480],vpt:['100px&#039;,&#039;100px&#039;,&#039;100px&#039;,&#039;100px&#039;,&#039;100px'],size:{fullWidth:true, fullHeight:true},fho:',',mh:'0',onh:0,onw:0,bg:{color:'{\"type\":\"solid\",\"orig\":\"#0c0c0c\",\"string\":\"rgba(12, 12, 12, 1)\"}'}});   SR7.PMH[\"SR7_3_1\"].state=true;} else if((SR7.PMH[\"SR7_3_1\"].cn++)<100)\tsetTimeout( SR7.PMH[\"SR7_3_1\"].fn,19);}};SR7.PMH[\"SR7_3_1\" ].fn();\n\t\t\t\t<\/script>\n<\/div>\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-36d5704 e-con-full e-transform elementor-hidden-mobile_extra elementor-hidden-mobile e-flex e-con e-child\" data-id=\"36d5704\" data-element_type=\"container\" data-e-type=\"container\" id=\"TalepForm\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;position&quot;:&quot;fixed&quot;,&quot;_transform_translateX_effect&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateX_effect_laptop&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateX_effect_tablet_extra&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateX_effect_tablet&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateX_effect_mobile_extra&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateX_effect_mobile&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:-50,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect_laptop&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect_tablet_extra&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect_tablet&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect_mobile_extra&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect_mobile&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:-50,&quot;sizes&quot;:[]},&quot;_transform_translateX_effect_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_translateY_effect_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\">\n\t\t<div class=\"elementor-element elementor-element-387a3c5 e-con-full e-transform elementor-hidden-mobile_extra elementor-hidden-mobile e-flex e-con e-child\" data-id=\"387a3c5\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;position&quot;:&quot;fixed&quot;,&quot;_transform_rotateZ_effect&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:-90,&quot;sizes&quot;:[]},&quot;_transform_rotateZ_effect_widescreen&quot;:{&quot;unit&quot;:&quot;deg&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_rotateZ_effect_laptop&quot;:{&quot;unit&quot;:&quot;deg&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_rotateZ_effect_tablet_extra&quot;:{&quot;unit&quot;:&quot;deg&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_rotateZ_effect_tablet&quot;:{&quot;unit&quot;:&quot;deg&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_rotateZ_effect_mobile_extra&quot;:{&quot;unit&quot;:&quot;deg&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_rotateZ_effect_mobile&quot;:{&quot;unit&quot;:&quot;deg&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f076c5f elementor-widget elementor-widget-html\" data-id=\"f076c5f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<button id=\"ontalepbutton\" class=\"ontalep\">Contact Form<\/button>\n<script>\ndocument.getElementById('ontalepbutton').addEventListener('click', function() {\n    var talepForm = document.getElementById('TalepForm');\n\n    if (talepForm.classList.contains('open')) {\n        talepForm.classList.remove('open');\n    } else {\n        talepForm.classList.add('open');\n    }\n});\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8532709 elementor-widget elementor-widget-template\" data-id=\"8532709\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"container\" data-elementor-id=\"2843\" class=\"elementor elementor-2843 elementor-1694 elementor-1694\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-64196ae e-flex e-con-boxed e-con e-parent\" data-id=\"64196ae\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fc04568 elementor-widget elementor-widget-html\" data-id=\"fc04568\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/css\/intlTelInput.css\" rel=\"stylesheet\">\n\n<div class=\"form-container\">\n    <form class=\"contact-form\">\n        <input type=\"text\" name=\"firstname\" placeholder=\"Name\" required=\"\">\n        <input type=\"text\" name=\"lastname\" placeholder=\"Surname\" required=\"\">\n        <input type=\"email\" name=\"email\" placeholder=\"E-Mail\" required=\"\">\n        <input type=\"text\" class=\"mobilephone\" placeholder=\"Phone\" required=\"\">\n        <select name=\"project\" required=\"\">\n            <option value=\"\" disabled selected>Project of Interest<\/option>\n<option value=\"batiyakasikoy\">Bat\u0131yakas\u0131 K\u00f6y<\/option>\n<option value=\"batiyakasikartal\">Bat\u0131yakas\u0131 Kartal<\/option>\n<option value=\"batiyakasigol\">Bat\u0131yakas\u0131 G\u00f6l<\/option>\n        <\/select>\n        <textarea name=\"message\" placeholder=\"Your Message\"><\/textarea>\n        <div class=\"checkbox-container\">\n            <input type=\"checkbox\" name=\"privacyPolicy\" required=\"\">\n            <label for=\"privacyPolicy\">Pursuant to the Law on the Protection of Personal Data, \nI acknowledge that I have read and understood the <a href=\"https:\/\/batiyakasi.com\/en\/information-security\/\" target=\"_blank\">Clarification Text<\/a> of Bat\u0131 Yakas\u0131 .<\/label>\n        <\/div>\n        <div class=\"checkbox-container\">\n            <input type=\"checkbox\" name=\"marketingConsent\" required=\"\">\n            <label for=\"marketingConsent\">Pursuant to Law No. 6563 on the Regulation of Electronic Commerce and Law No. 6698 on\n <a href=\"https:\/\/batiyakasi.com\/kisisel-verilerin-islenmesi-hakkinda-aydinlatma-metni\/\" target=\"_blank\"> the Protection of Personal Data<\/a>, I consent to Bat\u0131yakas\u0131 \nsending information and marketing messages about campaigns and other news\n via e-mail, telephone and similar communication channels.<\/label>\n        <\/div>\n        <div class=\"response-message\" style=\"display: none;\"><\/div>\n        <button class=\"w-full mt-5\" type=\"submit\">Send<\/button>\n    <\/form>\n<\/div>\n\n<div class=\"thank-you-message\" style=\"display: none;\">\n    <div style=\"display: flex; align-items: center; justify-content: center; height: 591px; flex-direction: column; text-align: center;\">\n        <h2>Thank You<\/h2>\n        <p>Your request has been successfully submitted. We will get back to you as soon as possible. <\/p>\n    <\/div>\n<\/div>\n\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.6.0\/jquery.min.js\"><\/script>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/js\/intlTelInput-jquery.min.js\"><\/script>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery.mask\/1.14.16\/jquery.mask.min.js\"><\/script>\n\n<script>\nclass ContactForm {\n    constructor(formElement) {\n        this.form = formElement;\n        this.formContainer = this.form.closest('.form-container');\n        this.thankYouMessage = this.formContainer.nextElementSibling;\n        this.responseMessage = this.form.querySelector('.response-message');\n        this.submitButton = this.form.querySelector('button[type=\"submit\"]');\n        this.init();\n    }\n\n    init() {\n        \/\/ Telefon numaras\u0131 init\n        const mobilePhone = this.form.querySelector('.mobilephone');\n        $(mobilePhone).intlTelInput({\n            initialCountry: \"tr\",\n            separateDialCode: true,\n            preferredCountries: [\"tr\"],\n            utilsScript: \"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/js\/utils.js\"\n        });\n        \n        $(mobilePhone).mask('(000) 000 00 00');\n\n        \/\/ Form validasyonu i\u00e7in input event listeners\n        const inputs = this.form.querySelectorAll('input[type=\"text\"], input[type=\"email\"]');\n        inputs.forEach(input => {\n            input.addEventListener('input', (e) => {\n                e.target.value = e.target.value.replace(\/[<>]\/g, '');\n            });\n        });\n\n        \/\/ Form submit handler\n        this.form.addEventListener('submit', (e) => this.handleSubmit(e));\n    }\n\n    escapeHtml(unsafe) {\n        return unsafe\n            .replace(\/&\/g, \"&amp;\")\n            .replace(\/<\/g, \"&lt;\") .replace(\/>\/g, \"&gt;\")\n            .replace(\/\"\/g, \"&quot;\")\n            .replace(\/'\/g, \"&#039;\");\n    }\n\n    parsePhoneNumber(phone) {\n        const cleanPhone = phone.replace(\/[^\\d]\/g, '');\n        const last10Digits = cleanPhone.slice(-10);\n        return {\n            mobilePhone: last10Digits,\n            areaCode: '90'\n        };\n    }\n\n    parseSOAPResponse(xmlString) {\n        const parser = new DOMParser();\n        const xmlDoc = parser.parseFromString(xmlString, \"text\/xml\");\n        const result = xmlDoc.getElementsByTagName(\"SendLandingPageResult\")[0]?.textContent;\n        return result ? parseInt(result) : 0;\n    }\n\n    parseSOAPError(xmlString) {\n        const parser = new DOMParser();\n        const xmlDoc = parser.parseFromString(xmlString, \"text\/xml\");\n        const faultString = xmlDoc.getElementsByTagName(\"faultstring\")[0]?.textContent;\n        return faultString || 'Bilinmeyen bir hata olu\u015ftu';\n    }\n\n    showResponseMessage(message, isError = false) {\n        this.responseMessage.textContent = message;\n        this.responseMessage.style.display = 'block';\n        this.responseMessage.className = `response-message ${isError ? 'error-message' : 'success-message'}`;\n        \n        setTimeout(() => {\n            this.responseMessage.style.display = 'none';\n        }, 5000);\n    }\n\n    async handleSubmit(event) {\n        event.preventDefault();\n        this.submitButton.disabled = true;\n        this.submitButton.textContent = 'G\u00f6nderiliyor...';\n\n        try {\n            const project = this.form.querySelector('select[name=\"project\"]');\n            const selectedProject = project.options[project.selectedIndex];\n            const marketingConsent = this.form.querySelector('input[name=\"marketingConsent\"]');\n            const communicationChannel = marketingConsent.checked ? 'EMail' : 'none';\n            \n            const phoneData = this.parsePhoneNumber(this.form.querySelector('.mobilephone').value);\n\n            const formData = {\n                Firstname: this.escapeHtml(this.form.querySelector('input[name=\"firstname\"]').value),\n                Lastname: this.escapeHtml(this.form.querySelector('input[name=\"lastname\"]').value),\n                Email: this.escapeHtml(this.form.querySelector('input[name=\"email\"]').value),\n                MobilePhone: phoneData.mobilePhone,\n                Message: this.escapeHtml(this.form.querySelector('textarea[name=\"message\"]').value),\n                AreaCode: phoneData.areaCode,\n                InformedSource: 'Internet',\n                SubInformedSource: 'Landing Page',\n                WebSite: 'https:\/\/www.batiyakasi.com',\n                Project: this.escapeHtml(selectedProject.text),\n                ProjectCode: this.escapeHtml(selectedProject.value),\n                Nationality: 'TC',\n                Utm_Source: '',\n                Utm_Medium: '',\n                Utm_Campaing: '',\n                CommunicationChannel: communicationChannel,\n                MailApprove: marketingConsent.checked,\n                SmsApprove: marketingConsent.checked,\n                CallApprove: marketingConsent.checked\n            };\n\n            \/\/ SOAP iste\u011fi olu\u015fturma\n            const soapRequest = `<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:soap=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\">\n  \n    <SendLandingPage xmlns=\"http:\/\/tempuri.org\/\">\n      <userName>wsuser_website_webolizma<\/userName>\n      <password>W!4x9q3Ao+<\/password>\n      <data>\n        <Firstname>${formData.Firstname}<\/Firstname>\n        <Lastname>${formData.Lastname}<\/Lastname>\n        <Email>${formData.Email}<\/Email>\n        <AreaCode>${formData.AreaCode}<\/AreaCode>\n        <MobilePhone>${formData.MobilePhone}<\/MobilePhone>\n        <InformedSource>${formData.InformedSource}<\/InformedSource>\n        <SubInformedSource>${formData.SubInformedSource}<\/SubInformedSource>\n        <WebSite>${formData.WebSite}<\/WebSite>\n        <Project>${formData.Project}<\/Project>\n        <ProjectCode>${formData.ProjectCode}<\/ProjectCode>\n        <IntrestedUnitType>\n          <UnitType>none<\/UnitType>\n        <\/IntrestedUnitType>\n        <Nationality>${formData.Nationality}<\/Nationality>\n        <Utm_Source>${formData.Utm_Source}<\/Utm_Source>\n        <Utm_Medium>${formData.Utm_Medium}<\/Utm_Medium>\n        <Utm_Campaing>${formData.Utm_Campaing}<\/Utm_Campaing>\n        <CommunicationChannel>${formData.CommunicationChannel}<\/CommunicationChannel>\n        <MailApprove>${formData.MailApprove}<\/MailApprove>\n        <SmsApprove>${formData.SmsApprove}<\/SmsApprove>\n        <CallApprove>${formData.CallApprove}<\/CallApprove>\n        <Message>${formData.Message}<\/Message>\n      <\/data>\n    <\/SendLandingPage>\n  \n`;\n\n            const response = await fetch('https:\/\/crm.yildizlar.com:5002\/LandingPageIntegration.asmx', {\n                method: 'POST',\n                headers: {\n                    'Content-Type': 'text\/xml; charset=utf-8'\n                },\n                body: soapRequest\n            });\n\n            if (!response.ok) {\n                const errorText = await response.text();\n                console.error('Error Response:', errorText);\n                const errorMessage = this.parseSOAPError(errorText);\n                throw new Error(errorMessage);\n            }\n\n            const result = await response.text();\n            const responseCode = this.parseSOAPResponse(result);\n\n            switch(responseCode) {\n                case 1:\n                case 2:\n                    this.formContainer.style.display = 'none';\n                    this.thankYouMessage.style.display = 'block';\n                    break;\n                case 3:\n                    throw new Error('Kullan\u0131c\u0131 bilgileri hatal\u0131. L\u00fctfen daha sonra tekrar deneyiniz.');\n                case 4:\n                case 5:\n                    throw new Error('Kay\u0131t i\u015flemi ba\u015far\u0131s\u0131z oldu. L\u00fctfen daha sonra tekrar deneyiniz.');\n                default:\n                    throw new Error('Beklenmeyen bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyiniz.');\n            }\n        } catch (error) {\n            console.error('Form g\u00f6nderimi hatas\u0131:', error);\n            this.showResponseMessage(error.message || 'Bir hata olu\u015ftu, l\u00fctfen daha sonra tekrar deneyiniz.', true);\n            this.submitButton.disabled = false;\n            this.submitButton.textContent = 'G\u00f6nder';\n        }\n    }\n}\n\n\/\/ Sayfa y\u00fcklendi\u011finde t\u00fcm formlar\u0131 initialize edelim\ndocument.addEventListener('DOMContentLoaded', function() {\n    document.querySelectorAll('.contact-form').forEach(form => {\n        new ContactForm(form);\n    });\n});\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d200baa e-con-full elementor-hidden-widescreen elementor-hidden-desktop elementor-hidden-laptop elementor-hidden-tablet_extra elementor-hidden-tablet e-flex e-con e-child\" data-id=\"d200baa\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-09a26b3 e-con-full elementor-hidden-mobile_extra elementor-hidden-mobile e-flex e-con e-child\" data-id=\"09a26b3\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dfc612f elementor-widget elementor-widget-html\" data-id=\"dfc612f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<button id=\"ontalepbutton\" class=\"ontalep\">Contact Form<\/button>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-34008bc elementor-widget elementor-widget-template\" data-id=\"34008bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"container\" data-elementor-id=\"3063\" class=\"elementor elementor-3063\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-64196ae e-flex e-con-boxed e-con e-parent\" data-id=\"64196ae\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fc04568 elementor-widget elementor-widget-html\" data-id=\"fc04568\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/css\/intlTelInput.css\" rel=\"stylesheet\">\n\n<div class=\"form-container\" id=\"TalepForm\">\n    <form class=\"contact-form\">\n        <input type=\"text\" name=\"firstname\" placeholder=\"Ad\" required>\n        <input type=\"text\" name=\"lastname\" placeholder=\"Soyad\" required>\n        <input type=\"email\" name=\"email\" placeholder=\"E-posta\" required>\n        <input type=\"text\" class=\"mobilephone\" placeholder=\"Telefon\" required>\n        <select name=\"project\" required>\n            <option value=\"\" disabled selected>\u0130lgilendi\u011finiz Projemiz<\/option>\n            <option value=\"batiyakasikoy\">Bat\u0131yakas\u0131 K\u00f6y<\/option>\n            <option value=\"batiyakasikartal\">Bat\u0131yakas\u0131 Kartal<\/option>\n        <\/select>\n        <textarea name=\"message\" placeholder=\"Mesaj\u0131n\u0131z\"><\/textarea>\n        <div class=\"checkbox-container\">\n            <input type=\"checkbox\" name=\"privacyPolicy\" required>\n            <label for=\"privacyPolicy\">Ki\u015fisel Verilerin Korunmas\u0131 Kanunu uyar\u0131nca Bat\u0131 Yakas\u0131'n\u0131n, <a href=\"https:\/\/batiyakasi.com\/bilgi-guvenligi\/\" target=\"_blank\">Bilgi G\u00fcvenli\u011fi Metni<\/a>\n                okudu\u011fumu ve anlad\u0131\u011f\u0131m\u0131 kabul ediyorum.<\/label>\n        <\/div>\n        <div class=\"checkbox-container\">\n            <input type=\"checkbox\" name=\"marketingConsent\" required>\n            <label for=\"marketingConsent\">6563 say\u0131l\u0131 <a href=\"https:\/\/batiyakasi.com\/acik-riza-metni\/\" target=\"_blank\">Elektronik Ticaretin D\u00fczenlenmesi Hakk\u0131nda Kanun<\/a> ve 6698 say\u0131l\u0131\n                <a href=\"https:\/\/batiyakasi.com\/kisisel-verilerin-islenmesi-hakkinda-aydinlatma-metni\/\" target=\"_blank\">KVKK Ayd\u0131nlatma Metni<\/a> uyar\u0131nca Bat\u0131yakas\u0131'n\u0131n kampanyalar ve di\u011fer haberler ile ilgili\n                elektronik posta, telefon ve benzeri ileti\u015fim kanallar\u0131 vas\u0131tas\u0131yla bilgilendirme ve pazarlama iletileri\n                g\u00f6ndermesine onay veriyorum.<\/label>\n        <\/div>\n        <div class=\"response-message\" style=\"display: none;\"><\/div>\n        <button class=\"w-full mt-5\" type=\"submit\">G\u00f6nder<\/button>\n    <\/form>\n<\/div>\n\n<div class=\"thank-you-message\" style=\"display: none;\">\n    <div style=\"display: flex;\n    align-items: center;\n    justify-content: center;\n    height: 591px;\n    flex-direction: column;\n    text-align: center;\">\n        <h2>Te\u015fekk\u00fcrler<\/h2>\n        <p>Talebiniz ba\u015far\u0131yla g\u00f6nderildi. En k\u0131sa s\u00fcre i\u00e7erisinde size geri d\u00f6n\u00fc\u015f yap\u0131yor olaca\u011f\u0131z.<\/p>\n    <\/div>\n<\/div>\n\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.6.0\/jquery.min.js\"><\/script>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/js\/intlTelInput-jquery.min.js\"><\/script>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery.mask\/1.14.16\/jquery.mask.min.js\"><\/script>\n\n<script>\nclass ContactFormM {\n    constructor(formElement) {\n        this.form = formElement;\n        this.formContainer = this.form.closest('.form-container');\n        this.thankYouMessage = this.formContainer.nextElementSibling;\n        this.responseMessage = this.form.querySelector('.response-message');\n        this.submitButton = this.form.querySelector('button[type=\"submit\"]');\n        this.init();\n    }\n\n    init() {\n        \/\/ Telefon numaras\u0131 init\n        const mobilePhone = this.form.querySelector('.mobilephone');\n        const iti = $(mobilePhone).intlTelInput({\n            initialCountry: \"tr\",\n            separateDialCode: true,\n            preferredCountries: [\"tr\"],\n            utilsScript: \"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/js\/utils.js\"\n        });\n\n        \/\/ Buton durumunu kontrol eden fonksiyon\n        const updateSubmitButton = () => {\n            const digitsOnly = mobilePhone.value.replace(\/\\D\/g, '');\n            console.log('Telefon uzunlu\u011fu:', digitsOnly.length);\n            this.submitButton.disabled = digitsOnly.length !== 10;\n            console.log('Buton durumu:', this.submitButton.disabled);\n        };\n\n        \/\/ Mask ayarlar\u0131\n        $(mobilePhone).mask('(000) 000 00 00', {\n            placeholder: '(___) ___ __ __',\n            clearIfNotMatch: false,\n            onComplete: function(val, e, field, options) {\n                field.classList.remove('error');\n                field.setCustomValidity('');\n                updateSubmitButton();\n            },\n            onChange: function(val, e, field, options) {\n                const digitsOnly = val.replace(\/\\D\/g, '');\n                if (digitsOnly.length < 10) {\n                    field.classList.add('error');\n                    field.setCustomValidity('L\u00fctfen 10 haneli telefon numaran\u0131z\u0131 giriniz');\n                } else {\n                    field.classList.remove('error');\n                    field.setCustomValidity('');\n                }\n                updateSubmitButton();\n            }\n        });\n\n        \/\/ Telefon input de\u011fi\u015fikli\u011fini dinle\n        mobilePhone.addEventListener('input', function(e) {\n            const digitsOnly = this.value.replace(\/\\D\/g, '');\n            if (digitsOnly.length < 10) {\n                this.classList.add('error');\n                this.setCustomValidity('L\u00fctfen 10 haneli telefon numaran\u0131z\u0131 giriniz');\n            } else {\n                this.classList.remove('error');\n                this.setCustomValidity('');\n            }\n            updateSubmitButton();\n        });\n\n        \/\/ Sayfa y\u00fcklendi\u011finde buton durumunu kontrol et\n        updateSubmitButton();\n\n        \/\/ Form submit kontrol\u00fc\n        this.form.addEventListener('submit', (e) => {\n            e.preventDefault();\n            this.handleSubmit(e);\n        });\n\n        \/\/ Di\u011fer input validasyonlar\u0131\n        const inputs = this.form.querySelectorAll('input[type=\"text\"], input[type=\"email\"]');\n        inputs.forEach(input => {\n            input.addEventListener('input', (e) => {\n                e.target.value = e.target.value.replace(\/[<>]\/g, '');\n            });\n        });\n    }\n\n    escapeHtml(unsafe) {\n        return unsafe\n            .replace(\/&\/g, \"&amp;\")\n            .replace(\/<\/g, \"&lt;\")\n            .replace(\/>\/g, \"&gt;\")\n            .replace(\/\"\/g, \"&quot;\")\n            .replace(\/'\/g, \"&#039;\");\n    }\n\n    parsePhoneNumber(phone) {\n        const cleanPhone = phone.replace(\/[^\\d]\/g, '');\n        const last10Digits = cleanPhone.slice(-10);\n        return {\n            mobilePhone: last10Digits,\n            areaCode: '90'\n        };\n    }\n\n    parseSOAPResponse(xmlString) {\n        const parser = new DOMParser();\n        const xmlDoc = parser.parseFromString(xmlString, \"text\/xml\");\n        const result = xmlDoc.getElementsByTagName(\"SendLandingPageResult\")[0]?.textContent;\n        return result ? parseInt(result) : 0;\n    }\n\n    parseSOAPError(xmlString) {\n        const parser = new DOMParser();\n        const xmlDoc = parser.parseFromString(xmlString, \"text\/xml\");\n        const faultString = xmlDoc.getElementsByTagName(\"faultstring\")[0]?.textContent;\n        return faultString || 'Bilinmeyen bir hata olu\u015ftu';\n    }\n\n    showResponseMessage(message, isError = false) {\n        this.responseMessage.textContent = message;\n        this.responseMessage.style.display = 'block';\n        this.responseMessage.className = `response-message ${isError ? 'error-message' : 'success-message'}`;\n        \n        setTimeout(() => {\n            this.responseMessage.style.display = 'none';\n        }, 5000);\n    }\n\n    getUrlParameter(name) {\n        name = name.replace(\/[\\[]\/, '\\\\[').replace(\/[\\]]\/, '\\\\]');\n        const regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n        const results = regex.exec(location.search);\n        return results === null ? '' : decodeURIComponent(results[1].replace(\/\\+\/g, ' '));\n    }\n\nasync handleSubmit(event) {\n\n    if (this.form.dataset.submitting === 'true') return;\n    this.form.dataset.submitting = 'true';\n\n    event.preventDefault();\n\n    if (!this.form.checkValidity()) {\n        this.form.dataset.submitting = 'false';\n        this.form.reportValidity();\n        return;\n    }\n\n\n        this.submitButton.disabled = true;\n        this.submitButton.textContent = 'G\u00f6nderiliyor...';\n\n        try {\n            const project = this.form.querySelector('select[name=\"project\"]');\n            const selectedProject = project.options[project.selectedIndex];\n            const marketingConsent = this.form.querySelector('input[name=\"marketingConsent\"]');\n            const communicationChannel = marketingConsent.checked ? 'EMail' : 'none';\n            \n            const phoneData = this.parsePhoneNumber(this.form.querySelector('.mobilephone').value);\n\n            const formData = {\n                Firstname: this.escapeHtml(this.form.querySelector('input[name=\"firstname\"]').value),\n                Lastname: this.escapeHtml(this.form.querySelector('input[name=\"lastname\"]').value),\n                Email: this.escapeHtml(this.form.querySelector('input[name=\"email\"]').value),\n                MobilePhone: phoneData.mobilePhone,\n                Message: this.escapeHtml(this.form.querySelector('textarea[name=\"message\"]').value),\n                AreaCode: phoneData.areaCode,\n                InformedSource: 'Internet',\n                SubInformedSource: 'Landing Page',\n                WebSite: 'https:\/\/www.batiyakasi.com',\n                Project: this.escapeHtml(selectedProject.text),\n                ProjectCode: this.escapeHtml(selectedProject.value),\n                Nationality: 'TC',\n                Utm_Source: this.getUrlParameter('utm_source') || '',\n                Utm_Medium: this.getUrlParameter('utm_medium') || '',\n                Utm_Campaing: this.getUrlParameter('utm_campaign') || '',\n                Utm_Term: this.getUrlParameter('utm_term') || '',\n                Utm_Content: this.getUrlParameter('utm_content') || '',\n                CommunicationChannel: communicationChannel,\n                MailApprove: marketingConsent.checked,\n                SmsApprove: marketingConsent.checked,\n                CallApprove: marketingConsent.checked\n            };\n\n            \/\/ SOAP iste\u011fi olu\u015fturma\n            const soapRequest = `<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:soap=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\">\n  <soap:Body>\n    <SendLandingPage xmlns=\"http:\/\/tempuri.org\/\">\n      <userName>wsuser_website_webolizma<\/userName>\n      <password>W!4x9q3Ao+<\/password>\n      <data>\n        <Firstname>${formData.Firstname}<\/Firstname>\n        <Lastname>${formData.Lastname}<\/Lastname>\n        <Email>${formData.Email}<\/Email>\n        <AreaCode>${formData.AreaCode}<\/AreaCode>\n        <MobilePhone>${formData.MobilePhone}<\/MobilePhone>\n        <InformedSource>${formData.InformedSource}<\/InformedSource>\n        <SubInformedSource>${formData.SubInformedSource}<\/SubInformedSource>\n        <WebSite>${formData.WebSite}<\/WebSite>\n        <Project>${formData.Project}<\/Project>\n        <ProjectCode>${formData.ProjectCode}<\/ProjectCode>\n        <IntrestedUnitType>\n          <UnitType>none<\/UnitType>\n        <\/IntrestedUnitType>\n        <Nationality>${formData.Nationality}<\/Nationality>\n        <Utm_Source>${formData.Utm_Source}<\/Utm_Source>\n        <Utm_Medium>${formData.Utm_Medium}<\/Utm_Medium>\n        <Utm_Campaing>${formData.Utm_Campaing}<\/Utm_Campaing>\n        <Utm_Term>${formData.Utm_Term}<\/Utm_Term>\n        <Utm_Content>${formData.Utm_Content}<\/Utm_Content>\n        <CommunicationChannel>${formData.CommunicationChannel}<\/CommunicationChannel>\n        <MailApprove>${formData.MailApprove}<\/MailApprove>\n        <SmsApprove>${formData.SmsApprove}<\/SmsApprove>\n        <CallApprove>${formData.CallApprove}<\/CallApprove>\n        <Message>${formData.Message}<\/Message>\n      <\/data>\n    <\/SendLandingPage>\n  <\/soap:Body>\n<\/soap:Envelope>`;\n\n            const response = await fetch('https:\/\/crm.yildizlar.com:5002\/LandingPageIntegration.asmx', {\n                method: 'POST',\n                headers: {\n                    'Content-Type': 'text\/xml; charset=utf-8'\n                },\n                body: soapRequest\n            });\n\n            if (!response.ok) {\n                const errorText = await response.text();\n                console.error('Error Response:', errorText);\n                const errorMessage = this.parseSOAPError(errorText);\n                throw new Error(errorMessage);\n            }\n\n            const result = await response.text();\n            const responseCode = this.parseSOAPResponse(result);\n\n            switch(responseCode) {\n                case 1:\n                case 2:\n                    this.formContainer.style.display = 'none';\n                    this.thankYouMessage.style.display = 'block';\n                    break;\n                case 3:\n                    throw new Error('Kullan\u0131c\u0131 bilgileri hatal\u0131. L\u00fctfen daha sonra tekrar deneyiniz.');\n                case 4:\n                case 5:\n                    throw new Error('Kay\u0131t i\u015flemi ba\u015far\u0131s\u0131z oldu. L\u00fctfen daha sonra tekrar deneyiniz.');\n                default:\n                    throw new Error('Beklenmeyen bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyiniz.');\n            }\n} catch (error) {\n    this.form.dataset.submitting = 'false';\n    console.error('Form g\u00f6nderimi hatas\u0131:', error);\n    this.showResponseMessage(error.message || 'Bir hata olu\u015ftu', true);\n    this.submitButton.disabled = false;\n    this.submitButton.textContent = 'G\u00f6nder';\n}\n\n    }\n}\n\n\/\/ Sayfa y\u00fcklendi\u011finde t\u00fcm formlar\u0131 initialize edelim\ndocument.addEventListener('DOMContentLoaded', function() {\n    document.querySelectorAll('.contact-form').forEach(form => {\n        new ContactFormM(form);\n    });\n});\n\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Contact Form Contact Form<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-2497","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/pages\/2497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/comments?post=2497"}],"version-history":[{"count":2,"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/pages\/2497\/revisions"}],"predecessor-version":[{"id":3500,"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/pages\/2497\/revisions\/3500"}],"wp:attachment":[{"href":"https:\/\/batiyakasi.com\/en\/wp-json\/wp\/v2\/media?parent=2497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}