(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95468,e=>{"use strict";let a=(0,e.i(75254).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",()=>a],95468)},33525,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},95010,e=>{"use strict";var a=e.i(43476),t=e.i(46932),s=e.i(47163);e.s(["default",0,({className:e,children:l})=>(0,a.jsx)(t.motion.main,{className:(0,s.cn)(e),initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,ease:[.16,1,.3,1]},children:l})])},70065,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(47163);let l=t.forwardRef(({className:e,...t},l)=>(0,a.jsx)("div",{ref:l,className:(0,s.cn)("rounded-3xl border bg-card text-card-foreground shadow-sm",e),...t}));l.displayName="Card",t.forwardRef(({className:e,...t},l)=>(0,a.jsx)("div",{ref:l,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",e),...t})).displayName="CardHeader",t.forwardRef(({className:e,...t},l)=>(0,a.jsx)("h3",{ref:l,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",e),...t})).displayName="CardTitle",t.forwardRef(({className:e,...t},l)=>(0,a.jsx)("p",{ref:l,className:(0,s.cn)("text-sm text-muted-foreground",e),...t})).displayName="CardDescription",t.forwardRef(({className:e,...t},l)=>(0,a.jsx)("div",{ref:l,className:(0,s.cn)("p-6 pt-0",e),...t})).displayName="CardContent",t.forwardRef(({className:e,...t},l)=>(0,a.jsx)("div",{ref:l,className:(0,s.cn)("flex items-center p-6 pt-0",e),...t})).displayName="CardFooter",e.s(["Card",()=>l])},3116,e=>{"use strict";let a=(0,e.i(75254).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",()=>a],3116)},43432,e=>{"use strict";let a=(0,e.i(75254).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",()=>a],43432)},63488,e=>{"use strict";let a=(0,e.i(75254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",()=>a],63488)},43114,e=>{"use strict";var a=e.i(43476),t=e.i(63780),s=e.i(76841),l=e.i(95010),r=e.i(70065),c=e.i(71689),i=e.i(43432),n=e.i(63488),o=e.i(3116),d=e.i(22016),m=e.i(50661),x=e.i(47163),p=e.i(47167),u=e.i(71645),h=e.i(67881);let f=u.forwardRef(({className:e,type:t,...s},l)=>(0,a.jsx)("input",{type:t,className:(0,x.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:l,...s}));f.displayName="Input";let g=u.forwardRef(({className:e,...t},s)=>(0,a.jsx)("textarea",{className:(0,x.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...t}));g.displayName="Textarea";var b=e.i(75254);let y=(0,b.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var j=e.i(95468);let N=(0,b.default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);function v(){let{t:e,language:t}=(0,m.useLanguage)(),s=p.default.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY||"6LfqD1osAAAAANd6P-3qin0cRdFQSGX92F02A3dE",l="contact_form",c=e.contactPage.form.serviceOptions.airport,[i,n]=(0,u.useState)(!1),[o,d]=(0,u.useState)("idle"),[x,b]=(0,u.useState)({name:"",email:"",phone:"",service:c,message:"",consent:!1});(0,u.useEffect)(()=>{let e="recaptcha-v3",a=()=>{window.grecaptcha?.ready(()=>n(!0))};if(document.getElementById(e))return void a();let t=document.createElement("script");t.id=e,t.src=`https://www.google.com/recaptcha/api.js?render=${s}`,t.async=!0,t.defer=!0,t.onload=a,t.onerror=()=>n(!1),document.head.appendChild(t)},[s]),(0,u.useEffect)(()=>{b(e=>e.service===c?e:{...e,service:c})},[c]);let v=async()=>{if(!window.grecaptcha)throw Error("reCAPTCHA not ready");return new Promise((e,a)=>{window.grecaptcha?.ready(()=>{window.grecaptcha?.execute(s,{action:l}).then(e).catch(a)})})},w=e=>{let{name:a,value:t,type:s}=e.target;b(l=>({...l,[a]:"checkbox"===s?e.target.checked:t}))},P=async a=>{if(a.preventDefault(),!i)try{await ((e=4e3)=>new Promise((a,t)=>{let s=Date.now(),l=()=>{window.grecaptcha?window.grecaptcha.ready(()=>a()):Date.now()-s>=e?t(Error("reCAPTCHA not ready")):setTimeout(l,150)};l()}))(),n(!0)}catch{alert(e.contactPage.form.recaptchaNotReady);return}if(!x.consent)return void alert(e.contactPage.form.consentRequired);d("loading");try{let e=await v();(await fetch("/contact.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...x,recaptchaToken:e,recaptchaAction:l,language:t})})).ok?(d("success"),b({name:"",email:"",phone:"",service:c,message:"",consent:!1})):d("error")}catch(e){d("error")}};return"success"===o?(0,a.jsxs)(r.Card,{className:"p-12 text-center rounded-[3rem] border-none shadow-2xl bg-white",children:[(0,a.jsx)("div",{className:"bg-green-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-8",children:(0,a.jsx)(j.CheckCircle2,{className:"w-10 h-10 text-green-500"})}),(0,a.jsx)("h3",{className:"text-3xl font-black text-slate-900 uppercase tracking-tighter mb-4",children:e.contactPage.form.successTitle}),(0,a.jsx)("p",{className:"text-slate-600 font-medium max-w-md mx-auto",children:e.contactPage.form.success}),(0,a.jsx)(h.Button,{onClick:()=>d("idle"),variant:"outline",className:"mt-8 rounded-full px-8",children:e.contactPage.form.successAction})]}):(0,a.jsx)(r.Card,{className:"rounded-[3rem] overflow-hidden border-none shadow-2xl bg-white",children:(0,a.jsxs)("form",{onSubmit:P,className:"p-8 md:p-12 space-y-8",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{className:"text-xs font-bold uppercase tracking-widest text-slate-400 ml-1",children:e.contactPage.form.name}),(0,a.jsx)(f,{required:!0,name:"name",value:x.name,onChange:w,placeholder:e.contactPage.form.placeholders.name,className:"rounded-2xl h-14 bg-slate-50 border-slate-100 focus:border-primary focus:ring-primary transition-all"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{className:"text-xs font-bold uppercase tracking-widest text-slate-400 ml-1",children:e.contactPage.form.email}),(0,a.jsx)(f,{required:!0,type:"email",name:"email",value:x.email,onChange:w,placeholder:e.contactPage.form.placeholders.email,className:"rounded-2xl h-14 bg-slate-50 border-slate-100 focus:border-primary focus:ring-primary transition-all"})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{className:"text-xs font-bold uppercase tracking-widest text-slate-400 ml-1",children:e.contactPage.form.phone}),(0,a.jsx)(f,{name:"phone",value:x.phone,onChange:w,placeholder:e.contactPage.form.placeholders.phone,className:"rounded-2xl h-14 bg-slate-50 border-slate-100 focus:border-primary focus:ring-primary transition-all"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{className:"text-xs font-bold uppercase tracking-widest text-slate-400 ml-1",children:e.contactPage.form.service}),(0,a.jsxs)("select",{name:"service",value:x.service,onChange:w,className:"w-full rounded-2xl h-14 bg-slate-50 border-slate-100 focus:border-primary focus:ring-primary transition-all px-4 text-sm font-medium",children:[(0,a.jsx)("option",{value:e.contactPage.form.serviceOptions.airport,children:e.contactPage.form.serviceOptions.airport}),(0,a.jsx)("option",{value:e.contactPage.form.serviceOptions.private,children:e.contactPage.form.serviceOptions.private}),(0,a.jsx)("option",{value:e.contactPage.form.serviceOptions.other,children:e.contactPage.form.serviceOptions.other})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{className:"text-xs font-bold uppercase tracking-widest text-slate-400 ml-1",children:e.contactPage.form.message}),(0,a.jsx)(g,{required:!0,name:"message",value:x.message,onChange:w,placeholder:e.contactPage.form.placeholders.message,rows:5,className:"rounded-[2rem] bg-slate-50 border-slate-100 focus:border-primary focus:ring-primary transition-all p-6 min-h-[150px]"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("input",{required:!0,type:"checkbox",name:"consent",checked:x.consent,onChange:w,className:"mt-1 w-5 h-5 rounded-lg border-slate-200 text-primary focus:ring-primary cursor-pointer"}),(0,a.jsx)("p",{className:"text-sm text-slate-500 leading-relaxed font-medium",children:e.contactPage.form.consent})]}),(0,a.jsx)("div",{className:"pt-4 flex justify-center md:justify-start",children:(0,a.jsx)("span",{className:"text-xs text-slate-400",children:e.contactPage.form.recaptchaNotice})}),"error"===o&&(0,a.jsxs)("div",{className:"bg-red-50 text-red-600 p-4 rounded-2xl flex items-center gap-3 text-sm font-bold",children:[(0,a.jsx)(N,{className:"w-5 h-5"}),e.contactPage.form.error]}),(0,a.jsx)(h.Button,{disabled:"loading"===o,type:"submit",size:"lg",className:"w-full md:w-fit rounded-full px-12 h-16 bg-primary hover:bg-primary/90 text-sm font-bold uppercase tracking-widest transition-all shadow-xl disabled:opacity-50",children:"loading"===o?(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),e.contactPage.form.submitting]}):(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(y,{className:"w-4 h-4"}),e.contactPage.form.button]})})]})})}function w(){let{t:e}=(0,m.useLanguage)(),p=[{icon:o.Clock,label:e.contactPage.info.infoLine,values:e.contactPage.info.infoLineValues,type:"tel",color:"bg-blue-500"},{icon:i.Phone,label:e.contactPage.info.dutyLine,values:[e.contactPage.info.dutyLineValue],type:"tel",color:"bg-primary"},{icon:n.Mail,label:e.contactPage.info.email,values:[e.contactPage.info.emailValue],type:"mailto",color:"bg-purple-500"}];return(0,a.jsxs)(l.default,{className:"relative min-h-screen bg-slate-50",children:[(0,a.jsx)(t.default,{darkMode:!0}),(0,a.jsxs)("div",{className:"absolute md:fixed inset-0 pointer-events-none -z-10 overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-1/4 -right-20 w-96 h-96 bg-primary/5 rounded-full blur-3xl opacity-30 animate-blob"}),(0,a.jsx)("div",{className:"absolute top-1/2 -left-20 w-80 h-80 bg-secondary/5 rounded-full blur-3xl opacity-30 animate-blob animation-delay-2000"})]}),(0,a.jsxs)("section",{className:"relative pt-40 pb-32 overflow-hidden bg-[#D9A321]",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-diagonal opacity-100 -z-10",style:{background:"linear-gradient(135deg, #D9A321 0%, #1A1A1A 100%)"}}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[100px] bg-slate-50 transform -skew-y-3 origin-bottom-left -z-10"}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[(0,a.jsxs)(d.default,{href:"/",className:"inline-flex items-center text-white/70 hover:text-white mb-10 transition-colors group",children:[(0,a.jsx)("div",{className:"bg-white/10 p-2 rounded-full mr-3 group-hover:bg-white/20 transition-colors",children:(0,a.jsx)(c.ArrowLeft,{className:"w-4 h-4"})}),(0,a.jsx)("span",{className:"text-xs font-bold tracking-[0.2em] uppercase",children:e.contactPage.back})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("h1",{className:"text-5xl md:text-8xl font-black text-white tracking-tighter leading-none uppercase",children:[e.contactPage.title," ",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-secondary/40 italic",children:e.contactPage.titleAccent})]}),(0,a.jsx)("p",{className:"text-xl text-white/70 max-w-2xl leading-relaxed font-medium",children:e.contactPage.description})]})]})]}),(0,a.jsx)("section",{className:"py-24",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:p.map((e,t)=>(0,a.jsxs)(r.Card,{className:"p-10 rounded-[2.5rem] border-none shadow-lg bg-white group hover:-translate-y-2 transition-all duration-300",children:[(0,a.jsx)("div",{className:(0,x.cn)("w-14 h-14 rounded-2xl flex items-center justify-center mb-8 shadow-lg",e.color),children:(0,a.jsx)(e.icon,{className:"w-6 h-6 text-white"})}),(0,a.jsx)("p",{className:"text-sm font-bold text-slate-400 uppercase tracking-widest mb-2",children:e.label}),(0,a.jsx)("div",{className:"space-y-2",children:e.values.map((t,s)=>{let l="mailto"===e.type?`mailto:${t}`:`tel:${t.replace(/\s/g,"")}`;return(0,a.jsx)("a",{href:l,className:"text-2xl font-black text-slate-900 hover:text-primary transition-colors",children:t},`${t}-${s}`)})})]},t))}),(0,a.jsx)("div",{className:"mt-24",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-16 space-y-4",children:[(0,a.jsx)("h2",{className:"text-4xl md:text-6xl font-black text-slate-900 uppercase tracking-tighter",children:e.contactPage.cta.title}),(0,a.jsx)("p",{className:"text-slate-500 font-medium max-w-xl mx-auto",children:e.contactPage.cta.description})]}),(0,a.jsx)(v,{})]})}),(0,a.jsxs)("div",{className:"mt-32 grid grid-cols-1 md:grid-cols-2 gap-12 pt-24 border-t border-slate-200",children:[(0,a.jsxs)("div",{className:"space-y-8",children:[(0,a.jsx)("div",{className:"bg-slate-900 text-white px-6 py-2 rounded-full inline-block text-[10px] font-black uppercase tracking-[0.3em]",children:e.contactPage.business.title}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("p",{className:"text-xl font-black text-slate-900",children:e.contactPage.business.operator}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("p",{className:"text-slate-500 font-medium",children:e.contactPage.business.address}),(0,a.jsx)("p",{className:"text-slate-500 font-medium",children:e.contactPage.business.taxNumber}),(0,a.jsx)("p",{className:"text-slate-500 font-medium",children:e.contactPage.business.bankAccount})]}),(0,a.jsxs)("div",{className:"space-y-2 pt-4",children:[(0,a.jsx)("p",{className:"text-primary font-black",children:e.contactPage.business.phone}),(0,a.jsx)("p",{className:"text-primary font-black",children:e.contactPage.business.infoLine}),(0,a.jsx)("p",{className:"text-slate-900 font-bold",children:e.contactPage.business.email})]})]})]}),(0,a.jsxs)("div",{className:"space-y-8",children:[(0,a.jsx)("div",{className:"bg-primary text-white px-6 py-2 rounded-full inline-block text-[10px] font-black uppercase tracking-[0.3em]",children:e.contactPage.legal.title}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("p",{className:"text-xl font-black text-slate-900",children:e.contactPage.legal.name}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("p",{className:"text-slate-500 font-medium",children:e.contactPage.legal.office}),(0,a.jsx)("p",{className:"text-slate-500 font-medium",children:e.contactPage.legal.address})]}),(0,a.jsxs)("div",{className:"space-y-2 pt-4",children:[(0,a.jsx)(d.default,{href:"https://www.12gyoriugyvediiroda.hu",target:"_blank",className:"text-primary font-black block hover:underline",children:e.contactPage.legal.web}),(0,a.jsx)("p",{className:"text-slate-900 font-bold",children:e.contactPage.legal.phone})]})]})]})]})]})}),(0,a.jsx)(s.default,{})]})}e.s(["default",()=>w],43114)}]);