import{u as i,j as e,H as n,W as t,o,a1 as d,ai as m,bT as c,U as x,aj as h}from"./index-4soFh7YW.js";const p=[{key:"hotels",path:"/categories/hotels",icon:d},{key:"shortTermRentals",path:"/categories/short-term-rentals",icon:m},{key:"luxuryVillas",path:"/categories/luxury-villas",icon:c},{key:"hostels",path:"/categories/hostels",icon:x},{key:"corporateHousing",path:"/categories/corporate-housing",icon:h}],g=({currentCategoryKey:l})=>{const{t:s}=i("categories"),a=p.filter(r=>r.key!==l);return e.jsx("section",{className:"py-16 md:py-20 bg-secondary/30 content-auto-lg",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-5 sm:px-6",children:[e.jsxs("div",{className:"text-center mb-10 md:mb-12",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-3",children:s("relatedCategories.title",{defaultValue:"Cendra for Every Property Type"})}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:s("relatedCategories.subtitle",{defaultValue:"Discover how Cendra adapts to different hospitality segments"})})]}),e.jsx("div",{className:"md:hidden",children:e.jsx(n,{showArrows:!1,children:a.map(r=>e.jsxs(t,{to:r.path,className:"block bg-card border border-border rounded-2xl p-6 hover:shadow-lg hover:border-primary-200 transition-all duration-300 group",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("div",{className:"p-3 bg-primary-100 rounded-xl group-hover:bg-primary-200 transition-colors",children:e.jsx(r.icon,{className:"h-6 w-6 text-primary-700"})}),e.jsx("h3",{className:"text-lg font-semibold text-foreground group-hover:text-primary-700 transition-colors",children:s(`${r.key}.badge`)})]}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-2",children:s(`${r.key}.seo.description`)}),e.jsxs("div",{className:"flex items-center text-sm font-medium text-primary-600 group-hover:text-primary-700",children:[s("relatedCategories.learnMore",{defaultValue:"Learn more"}),e.jsx(o,{className:"ml-1 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]},r.key))})}),e.jsx("div",{className:"hidden md:grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:a.map(r=>e.jsxs(t,{to:r.path,className:"block bg-card border border-border rounded-2xl p-6 hover:shadow-lg hover:border-primary-200 hover:-translate-y-1 transition-all duration-300 group",children:[e.jsx("div",{className:"flex items-center gap-3 mb-4",children:e.jsx("div",{className:"p-3 bg-primary-100 rounded-xl group-hover:bg-primary-200 transition-colors",children:e.jsx(r.icon,{className:"h-6 w-6 text-primary-700"})})}),e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 group-hover:text-primary-700 transition-colors",children:s(`${r.key}.badge`)}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-2",children:s(`${r.key}.seo.description`)}),e.jsxs("div",{className:"flex items-center text-sm font-medium text-primary-600 group-hover:text-primary-700",children:[s("relatedCategories.learnMore",{defaultValue:"Learn more"}),e.jsx(o,{className:"ml-1 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]},r.key))})]})})};export{g as R};