import{u as j,b as c,j as e,N as f,s as N,c as l,S as v,d as y,e as o,f as w,g as S,F as C,P as $,M as F,n as A,L as d,A as L,R as k,C as R,r as D}from"./index-D-pl_72i.js";import{B as O}from"./Breadcrumb-ScqZT-gn.js";import{Q as P}from"./QuickContactForm-Rw1sr2sd.js";import{s as I}from"./serviceAreaCombos-CHRZ7ft7.js";function M(){const{areaSlug:x}=j(),s=c.find(a=>a.slug===x);if(!s)return e.jsx(f,{to:"/404",replace:!0});const r=s.contentParagraphs!==null,h=[{label:"Home",path:"/"},{label:"Service Areas",path:"/areas"},{label:s.name}],i=s.relevantServices.map(a=>N.find(t=>t.slug===a)).filter(Boolean),n=s.nearbyAreas.map(a=>c.find(t=>t.slug===a)).filter(Boolean),g=I.filter(a=>a.areaSlug===s.slug),m=D.slice(0,2),p={"@context":"https://schema.org","@type":"HomeAndConstructionBusiness",name:l.companyName,telephone:l.phone,email:l.email,url:`${l.domain}/areas/${s.slug}`,address:{"@type":"PostalAddress",addressLocality:l.address.city,addressRegion:l.address.state,postalCode:l.address.zip,addressCountry:"US"},areaServed:{"@type":"City",name:s.name,addressRegion:"FL"}};return e.jsxs(e.Fragment,{children:[e.jsx(v,{title:`Garage Door Repair in ${s.name}${s.slug!=="orlando"?", Orlando, FL":", FL"} | Coytown Garage Door`,metaDescription:`Garage door repair and installation in ${s.name}${s.slug!=="orlando"?", Orlando, FL":", FL"}. Same-day service, free on-site estimates. Serving ${s.county} County. Call (321) 384-5280.`,canonicalUrl:`/areas/${s.slug}`,ogUrl:`/areas/${s.slug}`,noIndex:!r}),e.jsx(y,{schemas:[p]}),e.jsx(O,{items:h}),e.jsx("div",{className:"bg-steel-blue text-white",children:e.jsxs("div",{className:"container-width px-4 py-2.5 flex items-center justify-center gap-2 text-sm font-semibold",children:[e.jsx(o,{className:"w-4 h-4"}),e.jsx("span",{children:"Same-Day Service Available"}),e.jsx("span",{className:"text-white/60 hidden sm:inline",children:"—"}),e.jsxs("a",{href:l.phoneHref,className:"underline underline-offset-2 hover:text-white/90",children:["Call ",l.phone," for a Free On-Site Estimate"]})]})}),e.jsx("section",{className:"px-4 pt-6 pb-16 md:px-6 lg:px-8 lg:pt-8 lg:pb-20 bg-white",children:e.jsxs("div",{className:"container-width",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 mb-6 text-xs text-graphite",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(w,{className:"w-3.5 h-3.5 fill-gold text-gold"}),e.jsx("span",{className:"font-semibold",children:"5-Star Yelp Rated"})]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(S,{className:"w-3.5 h-3.5 text-steel-blue"}),e.jsx("span",{className:"font-semibold",children:"Licensed & Insured"})]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(o,{className:"w-3.5 h-3.5 text-steel-blue"}),e.jsx("span",{className:"font-semibold",children:"Same-Day Service"})]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(C,{className:"w-3.5 h-3.5 text-steel-blue"}),e.jsx("span",{className:"font-semibold",children:"Locally Owned Since 2017"})]})]}),e.jsxs("div",{className:"lg:flex lg:gap-10",children:[e.jsxs("div",{className:"lg:flex-1",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6",children:[e.jsxs("h1",{className:"text-3xl md:text-4xl font-bold text-steel-blue",children:["Garage Door Repair in ",s.name,s.slug!=="orlando"?", Orlando, FL":", FL"]}),e.jsxs("a",{href:l.phoneHref,className:"btn-primary text-sm whitespace-nowrap flex-shrink-0",children:[e.jsx($,{className:"w-4 h-4"}),"Free On-Site Estimate"]})]}),e.jsxs("div",{className:"flex flex-wrap gap-3 mb-6 text-sm text-graphite",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 bg-warm-gray px-3 py-1.5 rounded-lg",children:[e.jsx(F,{className:"w-3.5 h-3.5 text-sky-accent"}),s.county," County"]}),e.jsx("span",{className:"bg-warm-gray px-3 py-1.5 rounded-lg",children:s.driveTime}),e.jsxs("span",{className:"bg-warm-gray px-3 py-1.5 rounded-lg",children:["Pop. ",s.populationNote]})]}),s.images&&s.images.length>0&&e.jsx("img",{src:`/images/${s.images[0].src}`,alt:s.images[0].alt,width:"800",height:"600",loading:"lazy",className:"w-full rounded-xl mb-8 object-cover max-h-[400px]"}),e.jsx(A,{mode:"place",query:`${s.name}, ${s.county} County, FL`,zoom:13,compact:!0}),e.jsx("div",{className:"mt-8",children:r?e.jsxs(e.Fragment,{children:[s.contentParagraphs.map((a,t)=>e.jsx("p",{className:"text-graphite leading-relaxed mb-4",children:a},t)),s.commonIssues&&s.commonIssues.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{className:"text-xl font-bold text-steel-blue mb-4",children:["Common Garage Door Issues in ",s.name]}),e.jsx("div",{className:"space-y-3",children:s.commonIssues.map((a,t)=>e.jsxs("div",{className:"bg-warm-gray rounded-lg p-4",children:[e.jsx("h3",{className:"font-semibold text-graphite mb-1",children:a.title}),e.jsx("p",{className:"text-sm text-graphite leading-relaxed",children:a.description})]},t))})]})]}):e.jsxs("p",{className:"text-graphite leading-relaxed text-lg mb-6",children:["Detailed information about garage door services in ",s.name," coming soon. Call"," ",e.jsx("a",{href:l.phoneHref,className:"text-vivid-red font-bold hover:underline",children:l.phone})," ","for a free on-site estimate."]})}),i.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{className:"text-xl font-bold text-steel-blue mb-4",children:["Services Available in ",s.name]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:i.map(a=>{const u=g.some(b=>b.serviceSlug===a.slug)?`/services/${a.slug}/${s.slug}`:`/services/${a.slug}`;return e.jsxs(d,{to:u,className:"flex items-center justify-between p-4 bg-warm-gray rounded-xl hover:bg-steel-blue hover:text-white text-graphite transition-all group border border-gray-100",children:[e.jsxs("div",{children:[e.jsx("span",{className:"font-semibold text-sm group-hover:text-white",children:a.name}),e.jsx("span",{className:"block text-xs text-graphite/60 group-hover:text-white/70 mt-0.5",children:"Same-day service available"})]}),e.jsxs("div",{className:"flex items-center gap-1 text-xs font-semibold text-vivid-red group-hover:text-white flex-shrink-0 ml-2",children:["Get Estimate",e.jsx(L,{className:"w-3 h-3"})]})]},a.slug)})})]}),n.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsx("h2",{className:"text-xl font-bold text-steel-blue mb-3",children:"Nearby Areas We Serve"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.map(a=>e.jsx(d,{to:`/areas/${a.slug}`,className:"px-4 py-2 bg-warm-gray rounded-lg text-sm font-medium text-graphite hover:bg-steel-blue hover:text-white transition-all",children:a.name},a.slug))})]}),m.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsx("h3",{className:"font-bold text-steel-blue mb-4",children:"Customer Reviews"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:m.map(a=>e.jsx(k,{review:a},a.id))})]})]}),e.jsx("div",{className:"lg:w-80 flex-shrink-0 mt-8 lg:mt-0",children:e.jsx("div",{className:"lg:sticky lg:top-32",children:e.jsx(P,{})})})]})]})}),e.jsx(R,{})]})}export{M as default};