import{u as C,c as x,j as e,N as A,a as w,r as h,s as l,S as $,d as R,q as I,b as L,e as k,R as H,f as B,C as D}from"./index-8c6g9roX.js";import{B as E}from"./Breadcrumb-Bi92S28_.js";import{I as P}from"./InlineQuoteForm-CeRbqesX.js";import{s as G}from"./serviceAreaCombos-C579oG6x.js";function M(){var d;const{areaSlug:g}=C(),s=x.find(a=>a.slug===g);if(!s)return e.jsx(A,{to:"/404",replace:!0});const n=s.contentParagraphs!==null,p=[{label:"Home",path:"/"},{label:"Service Areas",path:"/areas"},{label:s.name}],i=G.filter(a=>a.areaSlug===s.slug),u=i.map(a=>a.serviceSlug),j=s.relevantServices||[],c=[...new Set([...u,...j])].map(a=>w.find(t=>t.slug===a)).filter(Boolean),m=((d=s.nearbyAreas)==null?void 0:d.map(a=>x.find(t=>t.slug===a)).filter(Boolean))||[],r=h.filter(a=>a.city&&s.name.toLowerCase().includes(a.city.toLowerCase())),v=h.filter(a=>!r.includes(a)),o=r.length>=2?r.slice(0,2):[...r,...v].slice(0,2),f={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:l.domain},{"@type":"ListItem",position:2,name:"Service Areas",item:`${l.domain}/areas`},{"@type":"ListItem",position:3,name:s.name,item:`${l.domain}/areas/${s.slug}`}]},N=n?{"@context":"https://schema.org","@type":"HomeAndConstructionBusiness",name:l.companyName,telephone:l.phone,email:l.email,areaServed:{"@type":"Place",name:`${s.name}, Atlanta, GA`,geo:s.mapCenter?{"@type":"GeoCoordinates",latitude:s.mapCenter.lat,longitude:s.mapCenter.lng}:void 0},url:`${l.domain}/areas/${s.slug}`}:null,b=[f,N].filter(Boolean);return e.jsxs(e.Fragment,{children:[e.jsx($,{title:`Junk Removal in ${s.name} | ${l.companyName}`,metaDescription:`Junk removal services in ${s.name}, Atlanta, GA. ${s.shortDescription} Same-day service available. Call ${l.phone}.`,canonicalUrl:`${l.domain}/areas/${s.slug}`,noindex:!n}),e.jsx(R,{schemas:b}),e.jsx(E,{items:p}),e.jsx("section",{className:"section-padding pt-4 bg-white",children:e.jsx("div",{className:"container-narrow",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-11 h-11 rounded-lg bg-leaf/10 flex items-center justify-center",children:e.jsx(I,{size:22,className:"text-leaf"})}),e.jsxs("h1",{className:"text-2xl md:text-3xl",children:["Junk Removal in ",s.name,s.name.toLowerCase().includes("atlanta")?", GA":", Atlanta, GA"]})]}),s.images&&s.images.length>0&&e.jsx("img",{src:`/images/${s.images[0].src}`,alt:s.images[0].alt,width:800,height:450,loading:"lazy",className:"w-full h-64 md:h-72 object-cover rounded-xl mb-6"}),n?s.contentParagraphs.map((a,t)=>e.jsxs("div",{className:"mb-6",children:[a.heading&&e.jsx("h2",{className:"text-xl font-bold text-forest mb-2",children:a.heading}),e.jsx("p",{className:"text-charcoal/70 leading-relaxed",children:typeof a=="string"?a:a.text})]},t)):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-charcoal/70 leading-relaxed mb-4",children:s.shortDescription}),e.jsxs("p",{className:"text-charcoal/60 leading-relaxed mb-4",children:["Detailed information about junk removal in ",s.name," coming soon. Call ",e.jsx("a",{href:l.phoneHref,className:"text-forest font-semibold hover:text-leaf",children:l.phone})," for immediate service."]})]}),s.commonItems&&s.commonItems.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsxs("h2",{className:"text-xl mb-4",children:["Common Items We Remove in ",s.name]}),e.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-2",children:s.commonItems.map((a,t)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm text-charcoal/70",children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-leaf flex-shrink-0 mt-1.5"}),a]},t))})]}),e.jsxs("div",{className:"bg-stone-warm rounded-xl p-5 my-6",children:[e.jsx("h3",{className:"text-sm font-bold text-forest mb-2",children:"Area Details"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 text-sm",children:[s.housingEra&&e.jsxs("div",{children:[e.jsx("span",{className:"text-charcoal/50",children:"Housing Era:"})," ",e.jsx("span",{className:"text-charcoal/80",children:s.housingEra})]}),s.housingType&&e.jsxs("div",{children:[e.jsx("span",{className:"text-charcoal/50",children:"Housing Types:"})," ",e.jsx("span",{className:"text-charcoal/80",children:s.housingType})]}),s.areaCharacter&&e.jsxs("div",{className:"sm:col-span-2",children:[e.jsx("span",{className:"text-charcoal/50",children:"Area Character:"})," ",e.jsx("span",{className:"text-charcoal/80",children:s.areaCharacter})]})]})]}),c.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsxs("h2",{className:"text-xl mb-4",children:["Services Available in ",s.name]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:c.map(a=>{const y=i.some(S=>S.serviceSlug===a.slug)?`/services/${a.slug}/${s.slug}`:`/services/${a.slug}`;return e.jsx(L,{service:a,href:y},a.slug)})})]}),m.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsx("h2",{className:"text-xl mb-4",children:"Nearby Areas We Serve"}),e.jsx("div",{className:"flex flex-wrap gap-3",children:m.map(a=>e.jsx(k,{to:`/areas/${a.slug}`,className:"px-4 py-2 bg-leaf/8 text-forest font-medium text-sm rounded-lg hover:bg-leaf/16 transition-colors",children:a.name},a.slug))})]}),o.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsx("h2",{className:"text-xl mb-4",children:"Customer Reviews"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:o.map(a=>e.jsx(H,{review:a},a.id))})]})]}),e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-24",children:[e.jsx(P,{}),e.jsxs("div",{className:"mt-6 p-5 bg-stone-warm rounded-xl",children:[e.jsxs("p",{className:"text-sm font-bold text-forest mb-2",children:["Serving ",s.name]}),e.jsxs("a",{href:l.phoneHref,className:"flex items-center gap-2 text-forest font-semibold hover:text-leaf transition-colors",children:[e.jsx(B,{size:16}),l.phone]}),e.jsx("p",{className:"text-xs text-charcoal/50 mt-2",children:l.hours.summary})]})]})})]})})}),e.jsx(D,{})]})}export{M as default};