import{u as S,a as g,c as u,j as e,s as r,S as A,d as w,e as o,f,A as q,C as I}from"./index-8c6g9roX.js";import{B as C}from"./Breadcrumb-Bi92S28_.js";import{I as L}from"./InlineQuoteForm-CeRbqesX.js";import v from"./NotFound-Bbem9OLb.js";import{s as d}from"./serviceAreaCombos-C579oG6x.js";function Q(){var p;const{serviceSlug:l,areaSlug:m}=S(),a=g.find(s=>s.slug===l),n=u.find(s=>s.slug===m);if(!a||!n)return e.jsx(v,{});const t=d.find(s=>s.serviceSlug===l&&s.areaSlug===m);if(!t)return e.jsx(v,{});const j=[{label:"Home",path:"/"},{label:"Services",path:"/services"},{label:a.name,path:`/services/${a.slug}`},{label:n.name}],x=d.filter(s=>s.areaSlug===m&&s.serviceSlug!==l),h=d.filter(s=>s.serviceSlug===l&&s.areaSlug!==m),b={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:r.domain},{"@type":"ListItem",position:2,name:"Services",item:`${r.domain}/services`},{"@type":"ListItem",position:3,name:a.name,item:`${r.domain}/services/${a.slug}`},{"@type":"ListItem",position:4,name:n.name,item:`${r.domain}/services/${l}/${m}`}]},N={"@context":"https://schema.org","@type":"Service",name:t.h1||`${a.name} in ${n.name}`,description:t.metaDescription||`${a.name} in ${n.name}`,provider:{"@type":"HomeAndConstructionBusiness",name:r.companyName,telephone:r.phone},areaServed:{"@type":"Place",name:`${n.name}, Atlanta, GA`}},$=t.faqs&&t.faqs.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.faqs.map(s=>({"@type":"Question",name:s.question,acceptedAnswer:{"@type":"Answer",text:s.answer}}))}:null,y=[b,N,$].filter(Boolean);return e.jsxs(e.Fragment,{children:[e.jsx(A,{title:t.metaTitle||`${a.name} in ${n.name} | ${r.companyName}`,metaDescription:t.metaDescription||`${a.name} in ${n.name}. Professional service by West Atlanta Junk Removal. Call ${r.phone}.`,canonicalUrl:`${r.domain}/services/${l}/${m}`}),e.jsx(w,{schemas:y}),e.jsx(C,{items:j}),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.jsx("h1",{className:"mb-4",children:t.h1||`${a.name} in ${n.name}`}),e.jsx("img",{src:`/images/${a.image}`,alt:`${a.name} in ${n.name}`,width:800,height:450,loading:"lazy",className:"w-full h-64 md:h-72 object-cover rounded-xl mb-6"}),t.intro&&e.jsx("p",{className:"text-lg text-charcoal/80 leading-relaxed mb-6",children:t.intro}),(p=t.contentParagraphs||t.content)==null?void 0:p.map((s,i)=>e.jsx("p",{className:"text-charcoal/70 leading-relaxed mb-4",children:s},i)),t.faqs&&t.faqs.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsx("h2",{className:"text-xl mb-5",children:"Frequently Asked Questions"}),e.jsx("div",{className:"space-y-4",children:t.faqs.map((s,i)=>e.jsxs("div",{className:"bg-stone-warm/50 rounded-xl p-5",children:[e.jsx("h3",{className:"text-base font-bold text-forest mb-2",children:s.question}),e.jsx("p",{className:"text-sm text-charcoal/70 leading-relaxed",children:s.answer})]},i))})]}),x.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsxs("h2",{className:"text-xl mb-4",children:["Other Services in ",n.name]}),e.jsx("div",{className:"flex flex-wrap gap-3",children:x.map(s=>{const i=g.find(c=>c.slug===s.serviceSlug);return i?e.jsxs(o,{to:`/services/${s.serviceSlug}/${m}`,className:"px-4 py-2 bg-forest/6 text-forest font-medium text-sm rounded-lg hover:bg-forest/12 transition-colors",children:[i.name," in ",n.name]},s.serviceSlug):null})})]}),h.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsxs("h2",{className:"text-xl mb-4",children:[a.name," in Other Areas"]}),e.jsx("div",{className:"flex flex-wrap gap-3",children:h.map(s=>{const i=u.find(c=>c.slug===s.areaSlug);return i?e.jsxs(o,{to:`/services/${l}/${s.areaSlug}`,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," in ",i.name]},s.areaSlug):null})})]}),e.jsxs("div",{className:"flex flex-wrap gap-3 my-8",children:[e.jsxs(o,{to:`/services/${a.slug}`,className:"px-4 py-2 bg-forest/6 text-forest font-medium text-sm rounded-lg hover:bg-forest/12 transition-colors",children:["All ",a.name," Info"]}),e.jsxs(o,{to:`/areas/${n.slug}`,className:"px-4 py-2 bg-leaf/8 text-forest font-medium text-sm rounded-lg hover:bg-leaf/16 transition-colors",children:[n.name," Services"]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 my-8",children:[e.jsxs("a",{href:r.phoneHref,className:"btn-primary",children:[e.jsx(f,{size:18})," Call ",r.phone]}),e.jsxs(o,{to:"/contact",className:"btn-outline",children:["Get a Free Quote ",e.jsx(q,{size:16})]})]})]}),e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-24",children:[e.jsx(L,{}),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:[a.name," in ",n.name]}),e.jsxs("a",{href:r.phoneHref,className:"flex items-center gap-2 text-forest font-semibold hover:text-leaf transition-colors",children:[e.jsx(f,{size:16}),r.phone]}),e.jsx("p",{className:"text-xs text-charcoal/50 mt-2",children:r.hours.summary})]})]})})]})})}),e.jsx(I,{})]})}export{Q as default};