import{i,j as e,k as m,c as s,s as x,l as h,S as u,P as n,e as p,m as b,M as f,C as g}from"./index-D-pl_72i.js";import{B as j}from"./Breadcrumb-ScqZT-gn.js";function y(){const[c,a]=i.useState(!1),[r,l]=i.useState(!1),o=async t=>{t.preventDefault(),l(!0);const d=new FormData(t.target);try{await fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(d).toString()}),a(!0)}catch{a(!0)}finally{l(!1)}};return c?e.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-xl p-8 text-center",children:[e.jsx(m,{className:"w-12 h-12 text-green-600 mx-auto mb-4"}),e.jsx("h3",{className:"text-xl font-bold text-steel-blue mb-3",children:"Request Received"}),e.jsx("p",{className:"text-graphite leading-relaxed mb-4",children:"We have received your request and will contact you shortly — usually within 1 hour during business hours."}),e.jsxs("p",{className:"text-graphite",children:["For faster service, call"," ",e.jsx("a",{href:s.phoneHref,className:"text-vivid-red font-bold hover:underline",children:s.phone})]})]}):e.jsxs("form",{name:"estimate-request",method:"POST","data-netlify":"true",onSubmit:o,className:"space-y-5",children:[e.jsx("input",{type:"hidden",name:"form-name",value:"estimate-request"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"cf-name",className:"block text-sm font-semibold text-graphite mb-1.5",children:["Name ",e.jsx("span",{className:"text-vivid-red",children:"*"})]}),e.jsx("input",{type:"text",id:"cf-name",name:"name",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors",placeholder:"Your name"})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"cf-phone",className:"block text-sm font-semibold text-graphite mb-1.5",children:["Phone ",e.jsx("span",{className:"text-vivid-red",children:"*"})]}),e.jsx("input",{type:"tel",id:"cf-phone",name:"phone",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors",placeholder:"(555) 555-5555"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"cf-email",className:"block text-sm font-semibold text-graphite mb-1.5",children:["Email ",e.jsx("span",{className:"text-vivid-red",children:"*"})]}),e.jsx("input",{type:"email",id:"cf-email",name:"email",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors",placeholder:"you@example.com"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"cf-service",className:"block text-sm font-semibold text-graphite mb-1.5",children:["Service Needed ",e.jsx("span",{className:"text-vivid-red",children:"*"})]}),e.jsxs("select",{id:"cf-service",name:"service",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors bg-white",children:[e.jsx("option",{value:"",children:"Select a service..."}),x.map(t=>e.jsx("option",{value:t.name,children:t.name},t.slug)),e.jsx("option",{value:"Other",children:"Other"})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"cf-date",className:"block text-sm font-semibold text-graphite mb-1.5",children:"Preferred Date"}),e.jsx("input",{type:"date",id:"cf-date",name:"preferred-date",className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors"})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"cf-city",className:"block text-sm font-semibold text-graphite mb-1.5",children:"Your City / Neighborhood"}),e.jsx("input",{type:"text",id:"cf-city",name:"city",className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors",placeholder:"e.g. Winter Park, Lake Nona"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"cf-message",className:"block text-sm font-semibold text-graphite mb-1.5",children:"Message"}),e.jsx("textarea",{id:"cf-message",name:"message",rows:4,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-sky-accent/30 focus:border-sky-accent transition-colors resize-y",placeholder:"Tell us about your garage door issue..."})]}),e.jsx("button",{type:"submit",disabled:r,className:"btn-primary w-full sm:w-auto text-base px-8 py-3.5 disabled:opacity-60 disabled:cursor-not-allowed",children:r?"Sending...":e.jsxs(e.Fragment,{children:[e.jsx(h,{className:"w-4 h-4"}),"Request Free Estimate"]})})]})}const N=[{label:"Home",path:"/"},{label:"Free Estimate"}];function w(){return e.jsxs(e.Fragment,{children:[e.jsx(u,{title:"Free Garage Door Estimate in Orlando, FL | Coytown Garage Door",metaDescription:"Request a free on-site garage door estimate in Orlando, FL. No obligation, no trip fees. Same-day appointments available 7 days a week. Call (321) 384-5280.",canonicalUrl:"/free-estimate",ogUrl:"/free-estimate"}),e.jsx(j,{items:N}),e.jsx("section",{className:"section-padding bg-white",children:e.jsxs("div",{className:"container-width",children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-steel-blue mb-4",children:"Schedule Your Free On-Site Estimate — Orlando Garage Door Service"}),e.jsxs("p",{className:"text-graphite leading-relaxed max-w-3xl mb-4",children:["Call"," ",e.jsx("a",{href:s.phoneHref,className:"text-vivid-red font-bold hover:underline",children:s.phone})," ","or fill out the form below. We will come to you, assess the problem in person, and give you an honest price — no obligation, no pressure."]}),e.jsxs("a",{href:s.phoneHref,className:"btn-primary text-xl px-8 py-4 mb-10 inline-flex",children:[e.jsx(n,{className:"w-5 h-5"}),s.phone]}),e.jsxs("div",{className:"lg:flex lg:gap-10",children:[e.jsx("div",{className:"lg:flex-1",children:e.jsx(y,{})}),e.jsx("div",{className:"lg:w-80 flex-shrink-0 mt-10 lg:mt-0",children:e.jsxs("div",{className:"bg-warm-gray rounded-xl p-6 space-y-5 lg:sticky lg:top-32",children:[e.jsx("h2",{className:"font-bold text-steel-blue text-lg",children:"Contact Information"}),e.jsxs("a",{href:s.phoneHref,className:"flex items-center gap-3 text-vivid-red font-bold text-lg hover:text-red-700 transition-colors",children:[e.jsx(n,{className:"w-5 h-5"}),s.phone]}),e.jsxs("div",{className:"space-y-3 pt-3 border-t border-gray-200",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(p,{className:"w-4 h-4 text-sky-accent mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"text-sm text-graphite",children:[e.jsx("p",{children:s.hours.weekday}),e.jsx("p",{children:s.hours.weekend})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(b,{className:"w-4 h-4 text-sky-accent flex-shrink-0"}),e.jsx("a",{href:`mailto:${s.email}`,className:"text-sm text-graphite hover:text-steel-blue transition-colors break-all",children:s.email})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(f,{className:"w-4 h-4 text-sky-accent flex-shrink-0"}),e.jsx("span",{className:"text-sm text-graphite",children:s.address.full})]})]}),e.jsxs("div",{className:"pt-3 border-t border-gray-200",children:[e.jsx("h3",{className:"text-sm font-semibold text-steel-blue mb-1",children:"Service Area"}),e.jsx("p",{className:"text-sm text-graphite",children:"Orange, Seminole & Osceola Counties — Metro Orlando, FL"})]})]})})]})]})}),e.jsx(g,{})]})}export{w as default};