import{u as $,b as x,j as e,N as A,s as L,c as l,S as P,d as O,e as h,f as g,g as R,F as D,M as I,P as B,A as p,R as b,h as G,L as u,n as E,C as H,r as j}from"./index-Be-Ylgi_.js";import{B as M}from"./Breadcrumb-BFXfa_xW.js";import{Q as f}from"./QuickContactForm-nR3qZ-sn.js";import{s as z,M as T}from"./serviceAreaCombos-DS64r082.js";import"./file-text-VnRDm9VD.js";function U(i){return i.slug==="orlando"?"Full-service garage door repair, installation, and maintenance from our Orlando home base. Same-day appointments, free on-site estimates, 7 days a week.":`Professional garage door repair and installation serving ${i.name} from our Orlando shop, ${i.driveTime}. Same-day service, free estimates, 7 days a week.`}function J(){const{areaSlug:i}=$(),s=x.find(a=>a.slug===i);if(!s)return e.jsx(A,{to:"/404",replace:!0});const n=s.contentParagraphs!==null,N=[{label:"Home",path:"/"},{label:"Service Areas",path:"/areas"},{label:s.name}],m=s.relevantServices.map(a=>L.find(t=>t.slug===a)).filter(Boolean),d=s.nearbyAreas.map(a=>x.find(t=>t.slug===a)).filter(Boolean),v=z.filter(a=>a.areaSlug===s.slug),o=j.slice(0,3),r=j[0],w=U(s),y="/images/hero.webp",S=`Coytown Garage Door Services work truck - serving ${s.name}, FL`,c=s.images&&s.images.length>0?s.images:[],C={"@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(P,{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:!n}),e.jsx(O,{schemas:[C]}),e.jsx(M,{items:N}),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 whitespace-nowrap",children:[e.jsx(h,{className:"w-4 h-4 flex-shrink-0"}),e.jsx("span",{className:"hidden sm:inline",children:"Same-Day Service Available"}),e.jsx("span",{className:"sm:hidden",children:"Same-Day Service"}),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:[e.jsxs("span",{className:"hidden sm:inline",children:["Call ",l.phone," for a Free On-Site Estimate"]}),e.jsxs("span",{className:"sm:hidden",children:["Call ",l.phone]})]})]})}),e.jsxs("section",{className:"relative min-h-[280px] sm:min-h-[300px] lg:min-h-[340px]",id:"hero-sentinel",children:[e.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[e.jsx("img",{src:y,alt:S,width:"1920",height:"1080",fetchpriority:"high",className:"w-full h-full object-cover"}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(30,58,95,0.92) 0%, rgba(30,58,95,0.6) 60%, rgba(30,58,95,0.45) 100%)"}})]}),e.jsxs("div",{className:"relative z-10 container-width px-4 pt-6 pb-8 sm:pt-8 sm:pb-10 lg:pt-12 lg:pb-14",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-1 mb-3 sm:mb-4 text-xs text-white/90 font-semibold",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(g,{className:"w-3.5 h-3.5 fill-gold text-gold"}),"5-Star Yelp Rated"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(R,{className:"w-3.5 h-3.5"}),"Licensed & Insured"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(h,{className:"w-3.5 h-3.5"}),"Same-Day Service"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(D,{className:"w-3.5 h-3.5"}),"Locally Owned Since 2017"]})]}),e.jsxs("div",{className:"lg:max-w-[calc(100%-22rem)]",children:[e.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-white leading-tight mb-3",children:["Garage Door Repair in ",s.name,s.slug!=="orlando"?", Orlando, FL":", FL"]}),e.jsx("p",{className:"text-white/80 text-base lg:text-lg leading-relaxed mb-4 max-w-xl",children:w}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-5 sm:mb-6",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 bg-white/15 backdrop-blur-sm text-white text-xs font-medium px-3 py-1.5 rounded-lg",children:[e.jsx(I,{className:"w-3 h-3"}),s.county," County"]}),e.jsx("span",{className:"bg-white/15 backdrop-blur-sm text-white text-xs font-medium px-3 py-1.5 rounded-lg",children:s.driveTime}),e.jsxs("span",{className:"bg-white/15 backdrop-blur-sm text-white text-xs font-medium px-3 py-1.5 rounded-lg",children:["Pop. ",s.populationNote]})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[e.jsxs("a",{href:l.phoneHref,className:"btn-primary text-base px-5 sm:px-6 py-3.5 whitespace-nowrap",children:[e.jsx(B,{className:"w-5 h-5 flex-shrink-0"}),"Call ",l.phone," ",e.jsx("span",{className:"hidden sm:inline",children:"— Free Estimate"})]}),e.jsxs("a",{href:"#area-form",className:"btn-outline text-base px-6 py-3.5",children:["Schedule Online",e.jsx(p,{className:"w-4 h-4"})]})]})]})]}),e.jsx("section",{className:"bg-white px-4 pt-5 sm:pt-8 pb-16 lg:pb-20",children:e.jsx("div",{className:"container-width",children:e.jsxs("div",{className:"lg:flex lg:gap-10",children:[e.jsxs("div",{className:"lg:flex-1",children:[e.jsxs("div",{className:"lg:hidden bg-warm-gray rounded-xl p-4 mb-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"font-bold text-yelp-red text-sm tracking-tight",children:"yelp"}),e.jsx("div",{className:"flex items-center gap-0.5",children:Array.from({length:5}).map((a,t)=>e.jsx(g,{className:"w-3.5 h-3.5 fill-gold text-gold"},t))})]}),e.jsxs("p",{className:"text-xs text-graphite leading-relaxed line-clamp-2",children:["“",r.quote.substring(0,120),"...”"]}),e.jsxs("span",{className:"text-xs font-semibold text-steel-blue mt-1 block",children:["— ",r.firstName," ",r.lastInitial,"."]})]}),e.jsx("div",{className:"lg:hidden mb-8",id:"area-form",children:e.jsx(f,{hiddenFields:{area:s.name}})}),e.jsx("div",{className:"mt-2",children:n?e.jsxs(e.Fragment,{children:[s.introParagraph&&e.jsx("p",{className:"text-graphite leading-relaxed text-lg mb-6",children:s.introParagraph}),s.contentParagraphs.map((a,t)=>e.jsx("p",{className:"text-graphite leading-relaxed mb-4",children:a},t)),c.length>0&&e.jsxs("div",{className:"mb-8 mt-6",children:[e.jsxs("h2",{className:"text-xl font-bold text-steel-blue mb-4",children:["Our Work in ",s.name]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:c.map((a,t)=>e.jsx("div",{className:"rounded-xl overflow-hidden",children:e.jsx("img",{src:`/images/${a.src}`,alt:a.alt,width:"600",height:"400",loading:"lazy",className:"w-full h-48 sm:h-56 object-cover"})},t))})]}),s.commonIssues&&s.commonIssues.length>0&&e.jsxs("div",{className:"mb-8 mt-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."]})}),o.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:"space-y-4",children:o.map(a=>e.jsx(b,{review:a},a.id))})]}),e.jsx(G,{inline:!0}),m.length>0&&e.jsxs("div",{className:"mb-8 mt-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:m.map(a=>{const k=v.some(F=>F.serviceSlug===a.slug)?`/services/${a.slug}/${s.slug}`:`/services/${a.slug}`;return e.jsxs(u,{to:k,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(p,{className:"w-3 h-3"})]})]},a.slug)})})]}),e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{className:"text-xl font-bold text-steel-blue mb-4",children:["Our Location Serving ",s.name]}),e.jsx(E,{mode:"place",query:`${s.name}, ${s.county} County, FL`,zoom:13,compact:!0})]}),d.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:d.map(a=>e.jsx(u,{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))})]})]}),e.jsx("div",{className:"hidden lg:block lg:w-80 flex-shrink-0 lg:-mt-64",children:e.jsxs("div",{className:"sticky top-28 space-y-5",children:[e.jsx(f,{hiddenFields:{area:s.name}}),e.jsx(b,{review:r})]})})]})})}),e.jsx(H,{}),e.jsx(T,{formAnchor:"#area-form"})]})}export{J as default};