{"id":1563,"date":"2026-10-08T14:46:52","date_gmt":"2026-10-08T14:46:52","guid":{"rendered":"https:\/\/ffkft.hu\/dev\/?page_id=1563"},"modified":"2026-11-02T10:34:29","modified_gmt":"2026-11-02T10:34:29","slug":"mintahazak","status":"publish","type":"page","link":"https:\/\/ffkft.hu\/dev\/mintahazak\/","title":{"rendered":"Mintah\u00e1zak"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1563\" class=\"elementor elementor-1563\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9b1cf9e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9b1cf9e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c38487f\" data-id=\"c38487f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1ab2c60 elementor-widget elementor-widget-html\" data-id=\"1ab2c60\" 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\n<style>\n\/* F+F \u2013 Referenciagal\u00e9ria *\/\n.ff-gallery {\n  --green: #193d30;\n  --gold: #dfc27e;\n  padding: 55px 0 75px;\n  width: 100%;\n  font-family: inherit;\n}\n\n.ff-gallery * {\n  box-sizing: border-box;\n}\n\n.ff-gallery-heading {\n  max-width: 760px;\n  margin-bottom: 38px;\n}\n\n.ff-gallery-label {\n  display: block;\n  color: #a88b4d;\n  font-size: 12px;\n  font-weight: 750;\n  letter-spacing: 2px;\n  margin-bottom: 16px;\n}\n\n.ff-gallery-heading h2 {\n  color: var(--green);\n  font-size: clamp(30px, 4vw, 48px);\n  line-height: 1.15;\n  letter-spacing: -1.4px;\n  font-weight: 650;\n  margin: 0 0 18px;\n}\n\n.ff-gallery-heading p {\n  color: #6e7d72;\n  font-size: 16px;\n  line-height: 1.8;\n  margin: 0;\n}\n\n\/* K\u00e1rtyar\u00e1cs *\/\n.ff-gallery-grid {\n  display: grid;\n  grid-template-columns: repeat(3, minmax(0, 1fr));\n  gap: 22px;\n}\n\n.ff-gallery-card {\n  display: block;\n  width: 100%;\n  padding: 0;\n  overflow: hidden;\n  border: 1px solid #e4ebe5;\n  border-radius: 19px;\n  background: #ffffff;\n  text-align: left;\n  cursor: pointer;\n  font-family: inherit;\n  box-shadow: 0 5px 18px rgba(20,50,36,.04);\n  transition: transform .3s, box-shadow .3s;\n}\n\n.ff-gallery-card:hover {\n  transform: translateY(-5px);\n  box-shadow: 0 18px 35px rgba(20,50,36,.13);\n}\n\n.ff-gallery-photo {\n  position: relative;\n  height: 235px;\n  overflow: hidden;\n  background: #e9efea;\n}\n\n.ff-gallery-photo img {\n  width: 100%;\n  height: 100%;\n  display: block;\n  object-fit: cover;\n  transition: transform .5s;\n}\n\n.ff-gallery-card:hover .ff-gallery-photo img {\n  transform: scale(1.06);\n}\n\n.ff-gallery-photo::after {\n  content: \"FOT\u00d3K MEGTEKINT\u00c9SE \";\n  position: absolute;\n  inset: auto 0 0;\n  padding: 30px 18px 17px;\n  color: #fff;\n  font-size: 11px;\n  font-weight: 750;\n  letter-spacing: 1px;\n  background: linear-gradient(\n    transparent,\n    rgba(11,35,25,.85)\n  );\n}\n\n.ff-gallery-card-content {\n  padding: 23px;\n}\n\n.ff-gallery-index {\n  display: block;\n  color: #aa8c4e;\n  font-size: 11px;\n  font-weight: 750;\n  letter-spacing: 1.5px;\n  margin-bottom: 11px;\n}\n\n.ff-gallery-card-title {\n  display: block;\n  color: var(--green);\n  font-size: 21px;\n  font-weight: 650;\n  line-height: 1.3;\n  margin-bottom: 12px;\n}\n\n.ff-gallery-card-link {\n  color: #718674;\n  font-size: 12px;\n  font-weight: 700;\n}\n\n\/* Gal\u00e9ria felugr\u00f3 ablak *\/\n.ff-gallery-modal {\n  position: fixed;\n  inset: 0;\n  z-index: 999999;\n  display: none;\n  align-items: center;\n  justify-content: center;\n  padding: 22px;\n  background: rgba(7,20,13,.94);\n}\n\n.ff-gallery-modal.is-open {\n  display: flex;\n}\n\n.ff-gallery-dialog {\n  position: relative;\n  width: 100%;\n  max-width: 1100px;\n  max-height: 95vh;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n}\n\n.ff-gallery-modal-title {\n  color: #ffffff;\n  font-size: 23px;\n  font-weight: 600;\n  margin: 0 0 20px;\n  text-align: center;\n}\n\n.ff-gallery-main {\n  position: relative;\n  width: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.ff-gallery-main img {\n  display: block;\n  max-width: 100%;\n  max-height: 72vh;\n  width: auto;\n  height: auto;\n  object-fit: contain;\n  border-radius: 10px;\n}\n\n.ff-gallery-close {\n  position: absolute;\n  top: 0;\n  right: 0;\n  z-index: 3;\n  width: 42px;\n  height: 42px;\n  border: 1px solid rgba(255,255,255,.4);\n  border-radius: 50%;\n  background: #193d30;\n  color: #fff;\n  font-size: 25px;\n  cursor: pointer;\n}\n\n.ff-gallery-arrow {\n  position: absolute;\n  z-index: 2;\n  top: 50%;\n  transform: translateY(-50%);\n  width: 45px;\n  height: 45px;\n  border: 1px solid rgba(255,255,255,.5);\n  border-radius: 50%;\n  background: #193d30;\n  color: #dfc27e;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  padding: 0 !important;\n  margin: 0;\n  line-height: 1;\n  cursor: pointer;\n}\n\n.ff-gallery-arrow svg {\n  display: block;\n  width: 21px;\n  height: 21px;\n  flex-shrink: 0;\n}\n\n.ff-gallery-prev {\n  left: 12px;\n}\n\n.ff-gallery-next {\n  right: 12px;\n}\n\n.ff-gallery-count {\n  color: #dfc27e;\n  font-size: 13px;\n  font-weight: 700;\n  margin-top: 17px;\n}\n\n.ff-gallery-card:focus-visible,\n.ff-gallery-modal button:focus-visible {\n  outline: 3px solid #dfc27e;\n  outline-offset: 3px;\n}\n\n@media (max-width: 950px) {\n  .ff-gallery-grid {\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n  }\n}\n\n@media (max-width: 600px) {\n  .ff-gallery {\n    padding: 35px 0 45px;\n  }\n\n  .ff-gallery-grid {\n    grid-template-columns: 1fr;\n    gap: 16px;\n  }\n\n  .ff-gallery-photo {\n    height: 250px;\n  }\n\n  .ff-gallery-modal {\n    padding: 12px;\n  }\n\n  .ff-gallery-main img {\n    max-height: 65vh;\n  }\n\n  .ff-gallery-arrow {\n    width: 38px;\n    height: 38px;\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .ff-gallery-card,\n  .ff-gallery-photo img {\n    transition: none;\n  }\n}\n\n\/* REFERENCIA GAL\u00c9RIA \u2013 BEZ\u00c1R\u00d3GOMB K\u00d6Z\u00c9PRE IGAZ\u00cdT\u00c1SA *\/\n.ff-gallery-modal .ff-gallery-close {\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  width: 42px !important;\n  height: 42px !important;\n  min-width: 42px !important;\n  min-height: 42px !important;\n  padding: 0 !important;\n  margin: 0 !important;\n  line-height: 1 !important;\n  text-align: center !important;\n  box-sizing: border-box !important;\n}\n.ff-gallery-modal .ff-gallery-close svg {\n  display: block;\n  width: 17px;\n  height: 17px;\n  flex: 0 0 auto;\n}\n\n\n\/* Elementor alap\u00e9rtelmezett k\u00e9k hover-sz\u00edn\u00e9nek fel\u00fcl\u00edr\u00e1sa *\/\n.ff-gallery .ff-gallery-card,\n.ff-gallery .ff-gallery-card:hover,\n.ff-gallery .ff-gallery-card:focus,\n.ff-gallery .ff-gallery-card:active {\n  background-color: #ffffff !important;\n  color: #193d30 !important;\n  border-color: #e4ebe5 !important;\n}\n.ff-gallery .ff-gallery-card:hover {\n  border-color: #a6b78a !important;\n}\n.ff-gallery-modal .ff-gallery-arrow,\n.ff-gallery-modal .ff-gallery-arrow:hover,\n.ff-gallery-modal .ff-gallery-arrow:focus,\n.ff-gallery-modal .ff-gallery-close,\n.ff-gallery-modal .ff-gallery-close:hover,\n.ff-gallery-modal .ff-gallery-close:focus {\n  background-color: #193d30 !important;\n  color: #dfc27e !important;\n  border-color: rgba(255,255,255,.5) !important;\n}\n.ff-gallery-modal .ff-gallery-close,\n.ff-gallery-modal .ff-gallery-close:hover,\n.ff-gallery-modal .ff-gallery-close:focus {\n  color: #ffffff !important;\n}\n\n<\/style>\n\n<section class=\"ff-gallery\" id=\"ff-referenciak\">\n\n  <div class=\"ff-gallery-heading\">\n \n    <h2>\n      Otthonok, amelyek m\u00f6g\u00f6tt\n      munka \u00e9s tapasztalat \u00e1ll.\n    <\/h2>\n  <\/div>\n\n  <div class=\"ff-gallery-grid\" id=\"ffGalleryGrid\">\n  <\/div>\n\n<\/section>\n\n<!-- Felugr\u00f3 k\u00e9pgal\u00e9ria -->\n<div class=\"ff-gallery-modal\"\n     id=\"ffGalleryModal\"\n     role=\"dialog\"\n     aria-modal=\"true\"\n     aria-label=\"Referenciak\u00e9pek\"\n     aria-hidden=\"true\">\n\n  <div class=\"ff-gallery-dialog\">\n\n    <button class=\"ff-gallery-close\"\n            id=\"ffGalleryClose\"\n            type=\"button\"\n            aria-label=\"Bez\u00e1r\u00e1s\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\"><path d=\"M5 5L19 19M19 5L5 19\"\/><\/svg><\/button>\n\n    <h3 class=\"ff-gallery-modal-title\"\n        id=\"ffGalleryTitle\"><\/h3>\n\n    <div class=\"ff-gallery-main\">\n\n      <button class=\"ff-gallery-arrow ff-gallery-prev\"\n              id=\"ffGalleryPrev\"\n              type=\"button\"\n              aria-label=\"El\u0151z\u0151 k\u00e9p\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 18L9 12L15 6\"\/><\/svg><\/button>\n\n      <img decoding=\"async\" id=\"ffGalleryImage\"\n           src=\"\"\n           alt=\"Referenciafot\u00f3\">\n\n      <button class=\"ff-gallery-arrow ff-gallery-next\"\n              id=\"ffGalleryNext\"\n              type=\"button\"\n              aria-label=\"K\u00f6vetkez\u0151 k\u00e9p\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9 18L15 12L9 6\"\/><\/svg><\/button>\n\n    <\/div>\n\n    <div class=\"ff-gallery-count\"\n         id=\"ffGalleryCount\"><\/div>\n\n  <\/div>\n<\/div>\n\n<script>\n(function () {\n  \/*\n   * ITT SZERKESZTHET\u0150 A 10 REFERENCIA\n   *\n   * name: utcan\u00e9v \/ projekt neve\n   * images: a projekthez tartoz\u00f3 fot\u00f3k URL-jei\n   *\n   * A legels\u0151 k\u00e9p lesz a k\u00e1rtya bor\u00edt\u00f3k\u00e9pe.\n   *\/\n\n  const projects = [\n    {\n      name: \"Balassi\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-csaladi-haz-napfenyes-elokerttel.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-videki-otthon-napsutesben.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-napfenyes-kertben.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-feher-ablakokkal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E2-Foldszinti-alaprajz-m1-100-1-scaled-e1792674541620.png\",\n      ]\n    },\n    {\n      name: \"Bart\u00f3k\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-aranyoras-kertben.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-aranyoras-kertben-1.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-scaled-e1792678986543.png\"\n      ]\n    },    \n    {\n      name: \"B\u00e1lint 1\",\n      images: [\n         \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-Toyota-szedannal-es-rendezett-kerttel.png\",\n         \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-kerttel-es-setalo-ferfival.png\",\n         \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-otthon-napfenyes-kerttel.png\",\n         \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-viragzo-kerttel.png\",\n         \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E2-FOLDSZINTI-ALAPRAJZ-M1-100-3-scaled-e1792676134678.png\",\n      ]\n    }, \n  \n    {\n      name: \"B\u00e1lint 2\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Meleg-fenyben-ragyogo-kertes-otthon.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Aranyoras-kerti-bungalow-kutyakkal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Kerekparos-a-napsutotte-haznal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/20260126_151213-page2-scaled-e1792674796779.png\"\n      ]\n    },\n    {\n      name: \"B\u00e9ke\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Meleg-fenyben-ragyogo-kertvarosi-otthon.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-Bungalow-Napfenyes-Terasszal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Kepernyokep-2026-10-07-144109.png\" \n      ]\n    },\n\n    {\n      name: \"Deszk\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-kremszinu-bungalow-kerttel.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-kerttel-es-setalo-ferfival-1.png\", \n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-Bungalo-Borus-Egbolt-Alatt.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-napfenyes-kerttel.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E2-Foldszinti-alaprajz-m1-100-scaled.png\",\n      ]\n    }, \n   \n    {\n      name: \"Gyepsor\",\n      images: [\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-napfenyes-kerttel-2.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-videki-haz-viragzo-kerttel.png\",  \n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-1-scaled-e1792679668179.png\"\n      ]\n    },\n    \n    {\n      name: \"M\u00e1rton\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Aranyoras-kertvarosi-otthon-csaladdal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Napos-kertvarosi-otthon-csaladdal-es-kutyaval.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-4-scaled-e1792679717124.png\"\n      ]\n    },\n \n    {\n      name: \"Petrozs\u00e9nyi\",\n      images: [\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-kertihaz-szurke-koburkolattal.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-feher-haz-rendezett-kerttel.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-feher-kerti-bungalow-napsutesben.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-feher-csaladi-haz-napsutesben.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E2-FOLDSZINTI-ALAPRAJZ-Jav3-M1-100--scaled-e1792679886330.png\"\n      ]\n    }, \n \n    {\n      name: \"Tavasz\",\n      images: [\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-videki-otthon-viragos-kerttel.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Napos-csaladi-kert-modern-hazzal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-4-1-scaled-e1792679752550.png\"\n      ]\n    },\n    {\n      name: \"Tompasziget\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Aranyoras-modern-otthon-feher-keretekkel.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-feher-bungalow-naplementeben.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-bungalow-alkonyi-kerttel.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Aranyoras-modern-kerti-otthon.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E2-Foldszinti-alaprajz-m1-100-4-scaled-e1792679817912.png\"\n      ]\n    },\n     {\n      name: \"T\u00f6m\u00f6rk\u00e9nyi 1\",\n      images: [  \n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-zart-fa-bejarati-ajtoval.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-haz-gondozott-kerttel-es-Volkswagennel.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-3-scaled-e1792679945136.png\"\n      ]\n    },\n     {\n      name: \"T\u00f6m\u00f6rk\u00e9nyi 2\",\n      images: [\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Aranyoras-otthon-csaladdal-es-kutyaval.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Napfenyes-modern-kertes-otthon.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-2-scaled-e1792679973157.png\"\n      ]\n    },  \n         {\n      name: \"T\u00f6m\u00f6rk\u00e9nyi Ikerh\u00e1z I.\",\n      images: [\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-Kertvarosi-Haz-Kek-Autoval.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Csaladi-delutan-a-modern-otthonnal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-2-scaled-e1792679973157.png\"\n      ]\n    }, \n         {\n      name: \"T\u00f6m\u00f6rk\u00e9nyi Ikerh\u00e1z II.\",\n      images: [\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Aranyoras-csaladi-haz-kerttel.png\",  \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-otthon-kerttel-es-csaladdal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/1-tervek-zakanyszek_tomorkeny_76_udvari-2.ep_.-2025.10.27-page2-scaled-e1793014782775.png\",\n      \n      ]\n    }, \n    {\n      name: \"Volford\",\n      images: [\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-csaladi-haz-kerttel-es-csaladdal.png\",\n          \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/Modern-otthon-a-17-es-hazszammal.png\",\n        \"https:\/\/ffkft.hu\/dev\/wp-content\/uploads\/2026\/10\/E-02-ALAPRAJZ-4-2-scaled-e1792679781752.png\"\n      ]\n    },\n    \n  ];\n\n  const grid = document.getElementById(\"ffGalleryGrid\");\n  const modal = document.getElementById(\"ffGalleryModal\");\n  const title = document.getElementById(\"ffGalleryTitle\");\n  const image = document.getElementById(\"ffGalleryImage\");\n  const count = document.getElementById(\"ffGalleryCount\");\n\n  const closeBtn = document.getElementById(\"ffGalleryClose\");\n  const prevBtn = document.getElementById(\"ffGalleryPrev\");\n  const nextBtn = document.getElementById(\"ffGalleryNext\");\n\n  if (!grid || !modal) return;\n\n  let activeProject = 0;\n  let activeImage = 0;\n  let lastFocused = null;\n\n  const placeholder =\n    \"data:image\/svg+xml;charset=UTF-8,\" +\n    encodeURIComponent(\n      '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" ' +\n      'width=\"900\" height=\"600\" viewBox=\"0 0 900 600\">' +\n      '<rect width=\"900\" height=\"600\" fill=\"#e8eee8\"\/>' +\n      '<path d=\"M230 360L450 190L670 360\" ' +\n      'stroke=\"#9aada0\" stroke-width=\"14\" fill=\"none\"\/>' +\n      '<path d=\"M290 330V455H610V330\" ' +\n      'stroke=\"#9aada0\" stroke-width=\"14\" fill=\"none\"\/>' +\n      '<text x=\"450\" y=\"520\" text-anchor=\"middle\" ' +\n      'font-size=\"25\" fill=\"#61796a\" ' +\n      'font-family=\"Arial\">F\u00e9nyk\u00e9p helye<\/text>' +\n      '<\/svg>'\n    );\n\n  function validImage(url) {\n    return typeof url === \"string\" &&\n      \/^https?:\\\/\\\/\/i.test(url);\n  }\n\n  function getImages(project) {\n    return project.images.filter(validImage);\n  }\n\n  \/\/ K\u00e1rty\u00e1k l\u00e9trehoz\u00e1sa\n  projects.forEach((project, index) => {\n    const card = document.createElement(\"button\");\n    card.type = \"button\";\n    card.className = \"ff-gallery-card\";\n\n    const photo = document.createElement(\"div\");\n    photo.className = \"ff-gallery-photo\";\n\n    const img = document.createElement(\"img\");\n    img.src = getImages(project)[0] || placeholder;\n    img.alt = project.name;\n    img.loading = \"lazy\";\n    img.onerror = function () {\n      this.onerror = null;\n      this.src = placeholder;\n    };\n\n    photo.appendChild(img);\n\n    const content = document.createElement(\"div\");\n    content.className = \"ff-gallery-card-content\";\n\n    const number = document.createElement(\"span\");\n    number.className = \"ff-gallery-index\";\n    number.textContent =\n      String(index + 1).padStart(2, \"0\") +\n      \" \/ REFERENCIA\";\n\n    const name = document.createElement(\"span\");\n    name.className = \"ff-gallery-card-title\";\n    name.textContent = project.name;\n\n    const link = document.createElement(\"span\");\n    link.className = \"ff-gallery-card-link\";\n    link.textContent = \"FOT\u00d3GAL\u00c9RIA MEGNYIT\u00c1SA\";\n\n    content.append(number, name, link);\n    card.append(photo, content);\n\n    card.addEventListener(\"click\", () => {\n      openGallery(index);\n    });\n\n    grid.appendChild(card);\n  });\n\n  function updateGallery() {\n    const project = projects[activeProject];\n    const images = getImages(project);\n\n    title.textContent = project.name;\n\n    image.src = images[activeImage] || placeholder;\n    image.alt =\n      project.name + \" \u2013 \" + (activeImage + 1) + \". k\u00e9p\";\n\n    count.textContent = images.length\n      ? (activeImage + 1) + \" \/ \" + images.length\n      : \"F\u00e9nyk\u00e9pek felt\u00f6lt\u00e9sre v\u00e1rnak\";\n\n    const multiple = images.length > 1;\n    prevBtn.hidden = !multiple;\n    nextBtn.hidden = !multiple;\n  }\n\n  function openGallery(index) {\n    lastFocused = document.activeElement;\n    activeProject = index;\n    activeImage = 0;\n\n    updateGallery();\n\n    modal.classList.add(\"is-open\");\n    modal.setAttribute(\"aria-hidden\", \"false\");\n    document.body.style.overflow = \"hidden\";\n    closeBtn.focus();\n  }\n\n  function closeGallery() {\n    modal.classList.remove(\"is-open\");\n    modal.setAttribute(\"aria-hidden\", \"true\");\n    document.body.style.overflow = \"\";\n\n    if (lastFocused && lastFocused.focus) {\n      lastFocused.focus();\n    }\n  }\n\n  function changeImage(direction) {\n    const images = getImages(projects[activeProject]);\n\n    if (!images.length) return;\n\n    activeImage =\n      (activeImage + direction + images.length) %\n      images.length;\n\n    updateGallery();\n  }\n\n  closeBtn.addEventListener(\"click\", closeGallery);\n\n  prevBtn.addEventListener(\"click\", () => {\n    changeImage(-1);\n  });\n\n  nextBtn.addEventListener(\"click\", () => {\n    changeImage(1);\n  });\n\n  modal.addEventListener(\"click\", (event) => {\n    if (event.target === modal) {\n      closeGallery();\n    }\n  });\n\n  document.addEventListener(\"keydown\", (event) => {\n    if (!modal.classList.contains(\"is-open\")) return;\n\n    if (event.key === \"Escape\") {\n      closeGallery();\n    }\n\n    if (event.key === \"ArrowLeft\") {\n      changeImage(-1);\n    }\n\n    if (event.key === \"ArrowRight\") {\n      changeImage(1);\n    }\n\n    if (event.key === \"Tab\") {\n      const focusable = [\n        closeBtn,\n        prevBtn,\n        nextBtn\n      ].filter(el => !el.hidden);\n\n      const current = focusable.indexOf(\n        document.activeElement\n      );\n\n      if (event.shiftKey && current <= 0) {\n        event.preventDefault();\n        focusable[focusable.length - 1].focus();\n      } else if (\n        !event.shiftKey &&\n        current === focusable.length - 1\n      ) {\n        event.preventDefault();\n        focusable[0].focus();\n      }\n    }\n  });\n})();\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Otthonok, amelyek m\u00f6g\u00f6tt munka \u00e9s tapasztalat \u00e1ll.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1563","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/pages\/1563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/comments?post=1563"}],"version-history":[{"count":149,"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/pages\/1563\/revisions"}],"predecessor-version":[{"id":3131,"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/pages\/1563\/revisions\/3131"}],"wp:attachment":[{"href":"https:\/\/ffkft.hu\/dev\/wp-json\/wp\/v2\/media?parent=1563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}