import{E as S,cA as B,u as T,r as v,cf as g,a as E,j as e,P as I,N as q,B as z,H,S as r,cB as y,b as n,L as M,cC as N,K as d,I as k,af as V,ag as P,ah as Y,ai as L,aj as C,$ as W,aB as A,cD as U,e as D,ae as _,am as G,an as O,ao as K}from"./index-C_wxwc3T.js";import{h as R}from"./bubble-collision-haM0DbbX.js";import{S as $}from"./send-CxnzibNT.js";import{M as J}from"./message-square-B1GZpXR_.js";const Q="/assets/city-hero-BivOpz09.webp",X=({className:l})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:l,children:e.jsx("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z"})}),Z=l=>{switch(l.toLowerCase()){case"facebook":return K;case"instagram":return O;case"youtube":return G;case"tiktok":return X;default:return _}},ee=l=>{switch(l.toLowerCase()){case"facebook":return{color:"#FFFFFF",background:"#1877F2"};case"instagram":return{color:"#FFFFFF",background:"radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%)"};case"youtube":return{color:"#FFFFFF",background:"#FF0000"};case"tiktok":return{color:"#FFFFFF",background:"#000000"};default:return{color:"#FFFFFF",background:"#4B5563"}}},se=["Your group has specific requirements or special requests","You're organising a corporate, school or bespoke event","Your group size is 30+ people","You have a question not answered on our website"],te=["Your enquiry is reviewed by the Spartacus team","We'll assess your request and guide you to the right next step","If needed, we'll help tailor the right booking or solution for your group"];function oe(){const{toast:l}=S(),{data:x}=B(),{openEnquiryModal:ae,openCitySelection:b,openCheckDate:f}=T(),[j,w]=v.useState(!1),[o,m]=v.useState(()=>{var h;const s=new Set(["london","manchester","birmingham","bristol","leeds","liverpool","newcastle","sheffield","nottingham","leicester","cardiff","edinburgh","glasgow"]);return{name:"",email:"",city:((h=g.filter(a=>s.has(a.id)).sort((a,u)=>a.name.localeCompare(u.name))[0])==null?void 0:h.id)||"",message:"",isBespoke:!1}}),{data:i}=E("contact"),F=async s=>{s.preventDefault(),w(!0),await new Promise(t=>setTimeout(t,1e3)),l({title:"Message sent",description:"We usually reply within one business day."}),m({name:"",email:"",city:"",message:"",isBespoke:!1}),w(!1)},p=s=>{m(t=>({...t,[s.target.name]:s.target.value}))};return e.jsxs("div",{className:"page-dark min-h-screen bg-background",children:[e.jsx(I,{title:"Contact Spartacus | UK's #1 Bubble Football",description:"Get in touch with Spartacus — the UK's #1 rated bubble football experience. We're here to help with bookings, questions and group enquiries."}),e.jsx(q,{}),e.jsx(z,{}),e.jsxs("main",{children:[e.jsxs("section",{className:"relative min-h-[55vh] flex items-center justify-center text-center overflow-hidden",children:[e.jsx(H,{image:(i==null?void 0:i.imageUrl)||R,overlayVariant:"foreground",overlayOpacity:50,desktopPosition:i==null?void 0:i.desktopPosition,mobilePosition:i==null?void 0:i.mobilePosition}),e.jsxs("div",{className:"relative z-10 container mx-auto px-4 py-32 md:py-40",children:[e.jsxs(r,{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/20 border border-primary/30 rounded-sm px-4 py-2 mb-6",children:[e.jsx(y,{className:"w-4 h-4 text-primary"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"We're Here to Help"})]}),e.jsxs("h1",{className:"font-display text-5xl md:text-7xl lg:text-8xl font-bold italic text-white uppercase tracking-tight leading-[0.9]",children:["Contact",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"Spartacus"})]}),e.jsx("p",{className:"mt-6 text-lg md:text-xl text-white/70 max-w-2xl mx-auto leading-relaxed",children:"Need help before booking? We'll point you in the right direction."}),e.jsx("p",{className:"mt-3 text-white/50 max-w-xl mx-auto leading-relaxed",children:"Book online or check availability for the fastest response."})]}),e.jsx(r,{delay:.2,children:e.jsxs("div",{className:"mt-10 flex flex-col sm:flex-row gap-4 justify-center items-center",children:[e.jsx(n,{size:"lg",onClick:()=>b({source:"contact-top"}),children:"Book Now"}),e.jsx(n,{variant:"outline",size:"lg",className:"border-white/30 text-white hover:bg-white/10",onClick:()=>f(),children:"Check Date"})]})})]})]}),e.jsx(M,{dark:!0}),e.jsx("section",{className:"py-20 px-4 bg-foreground",children:e.jsxs("div",{className:"container mx-auto max-w-3xl",children:[e.jsxs(r,{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/20 border border-primary/30 rounded-sm px-4 py-2 mb-6",children:[e.jsx(N,{className:"w-4 h-4 text-primary"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Before You Contact Us"})]}),e.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-white uppercase tracking-tight mb-8",children:"When Should You Get in Touch?"})]}),e.jsx(r,{delay:.05,children:e.jsx("p",{className:"text-white/60 mb-6 text-sm uppercase tracking-wider font-bold",children:"Contact us if:"})}),e.jsx("div",{className:"space-y-4",children:se.map((s,t)=>e.jsx(r,{delay:.1+t*.05,children:e.jsxs("div",{className:"flex items-start gap-3 bg-white/5 border border-white/10 rounded-sm p-4",children:[e.jsx(N,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),e.jsx("p",{className:"text-white/80",children:s})]})},s))}),e.jsx(r,{delay:.3,children:e.jsx("p",{className:"mt-6 text-white/50 text-sm",children:"For most standard stag, hen, birthday and casual bookings, booking online or checking availability is the quickest option."})})]})}),e.jsx("section",{id:"contact-form",className:"py-20 px-4 bg-background scroll-mt-24",children:e.jsx("div",{className:"container mx-auto max-w-5xl",children:e.jsxs("div",{className:"grid lg:grid-cols-5 gap-12",children:[e.jsx("div",{className:"lg:col-span-3",children:e.jsx(r,{children:e.jsxs("div",{className:"bg-foreground border border-white/10 rounded-sm p-6 md:p-8",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("span",{className:"text-[11px] uppercase tracking-[0.25em] text-primary font-bold",children:"Get In Touch"}),e.jsxs("h2",{className:"font-display text-3xl md:text-4xl font-black text-white uppercase tracking-tight mt-3",children:["Send Us A ",e.jsx("span",{className:"text-primary",children:"Message"})]})]}),e.jsxs("form",{onSubmit:F,className:"space-y-5",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"name",className:"text-white/50 text-xs uppercase tracking-widest font-bold",children:"Name"}),e.jsx(k,{id:"name",name:"name",value:o.name,onChange:p,placeholder:"Your name",required:!0,maxLength:100,className:"rounded-sm bg-white/5 border-white/10 text-white placeholder:text-white/30"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"email",className:"text-white/50 text-xs uppercase tracking-widest font-bold",children:"Email"}),e.jsx(k,{id:"email",name:"email",type:"email",value:o.email,onChange:p,placeholder:"you@example.com",required:!0,maxLength:255,className:"rounded-sm bg-white/5 border-white/10 text-white placeholder:text-white/30"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"city",className:"text-white/50 text-xs uppercase tracking-widest font-bold",children:"City"}),e.jsxs(V,{value:o.city,onValueChange:s=>m(t=>({...t,city:s})),children:[e.jsx(P,{className:"rounded-sm bg-white/5 border-white/10 text-white",children:e.jsx(Y,{placeholder:"Which city are you enquiring about?"})}),e.jsx(L,{children:(()=>{const s=new Set(["london","manchester","birmingham","bristol","leeds","liverpool","newcastle","sheffield","nottingham","leicester","cardiff","edinburgh","glasgow"]),t=(a,u)=>a.name.localeCompare(u.name),c=g.filter(a=>s.has(a.id)).sort(t),h=g.filter(a=>!s.has(a.id)).sort(t);return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"px-2 py-1.5 text-[10px] uppercase tracking-widest font-bold text-muted-foreground",children:"Top Cities"}),c.map(a=>e.jsx(C,{value:a.id,children:a.name},a.id)),e.jsx("div",{className:"px-2 py-1.5 mt-1 text-[10px] uppercase tracking-widest font-bold text-muted-foreground border-t border-border",children:"Towns & Surrounding Areas"}),h.map(a=>e.jsx(C,{value:a.id,children:a.name},a.id))]})})()})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"message",className:"text-white/50 text-xs uppercase tracking-widest font-bold",children:"Message"}),e.jsx(W,{id:"message",name:"message",value:o.message,onChange:p,placeholder:"How can we help?",rows:5,required:!0,maxLength:1e3,className:"rounded-sm bg-white/5 border-white/10 text-white placeholder:text-white/30"})]}),e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(A,{id:"bespoke",checked:o.isBespoke,onCheckedChange:s=>m(t=>({...t,isBespoke:s===!0}))}),e.jsx(d,{htmlFor:"bespoke",className:"text-sm text-white/60 cursor-pointer",children:"This is for a corporate, school, bespoke or large group booking"})]}),e.jsx(n,{type:"submit",size:"lg",disabled:j,className:"w-full sm:w-auto",children:j?"Sending...":e.jsxs(e.Fragment,{children:[e.jsx($,{className:"w-4 h-4 mr-2"}),"Send Message"]})}),e.jsx("p",{className:"text-sm text-white/40",children:"We usually reply within one business day."})]})]})})}),e.jsxs("div",{className:"lg:col-span-2",children:[e.jsx(r,{delay:.2,children:e.jsxs("div",{className:"p-6 bg-foreground border border-white/10 rounded-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-sm bg-primary/15 flex items-center justify-center",children:e.jsx(y,{className:"w-5 h-5 text-primary"})}),e.jsx("h3",{className:"font-display text-lg font-bold text-white uppercase tracking-tight",children:"Prefer Email?"})]}),e.jsx("p",{className:"text-white/50 mb-4 text-sm",children:"Drop us a message anytime and our team will get back to you as soon as possible."}),e.jsx("a",{href:"mailto:hi@spartacusbubblesoccer.co.uk",className:"text-primary font-medium hover:text-primary/80 transition-colors text-sm",children:"hi@spartacusbubblesoccer.co.uk"})]})}),e.jsx(r,{delay:.25,children:e.jsxs("div",{className:"p-6 bg-foreground border border-white/10 rounded-sm mt-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("img",{src:U,alt:"Victor, the Spartacus AI assistant",className:"w-11 h-11 object-contain shrink-0"}),e.jsx("h3",{className:"font-display text-lg font-bold text-white uppercase tracking-tight",children:"Want fast answers?"})]}),e.jsxs("p",{className:"text-white/50 mb-4 text-sm",children:["Chat to Victor — he knows"," ",e.jsx("span",{className:"text-primary font-semibold",children:"pretty much everything Spartacus"}),". Prices, packages, venues, kids' party options and more, and he can check"," ",e.jsx("span",{className:"text-primary font-semibold",children:"live availability in seconds"}),". He's"," ",e.jsx("span",{className:"text-primary font-semibold",children:"online 24/7"}),", so no waiting around for a reply."]}),e.jsxs(n,{type:"button",onClick:()=>window.dispatchEvent(new CustomEvent("spartacus:open-chat")),className:"w-full sm:w-auto",children:[e.jsx(J,{className:"w-4 h-4"}),"Chat with Victor"]})]})}),x&&x.length>0&&e.jsx(r,{delay:.3,children:e.jsxs("div",{className:"p-6 bg-foreground border border-white/10 rounded-sm mt-6",children:[e.jsx("h3",{className:"font-display text-lg font-bold text-white uppercase tracking-tight mb-4",children:"Follow Us"}),e.jsx("div",{className:"flex items-center gap-3",children:x.map(s=>{const t=Z(s.platform),c=ee(s.platform);return e.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer","aria-label":s.platform,style:{background:c.background,color:c.color},className:"w-10 h-10 flex items-center justify-center rounded-full ring-1 ring-white/15 transition-transform hover:scale-110",children:e.jsx(t,{className:"w-5 h-5"})},s.id)})})]})})]})]})})}),e.jsxs("section",{className:"py-20 px-4 bg-secondary relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.06] pointer-events-none",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`}}),e.jsxs("div",{className:"container mx-auto max-w-3xl relative z-10",children:[e.jsx(r,{children:e.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-foreground uppercase tracking-tight mb-8",children:"What Happens Next?"})}),e.jsx("div",{className:"space-y-4",children:te.map((s,t)=>e.jsx(r,{delay:.1+t*.05,children:e.jsxs("div",{className:"flex items-start gap-4 bg-background border border-border rounded-sm p-4",children:[e.jsx("div",{className:"w-8 h-8 rounded-sm bg-foreground text-background flex items-center justify-center flex-shrink-0 font-display font-bold text-sm",children:t+1}),e.jsx("p",{className:"text-foreground/80 pt-1",children:s})]})},s))})]})]}),e.jsxs("section",{className:"relative py-20 md:py-28 px-4 overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:Q,alt:"",className:"w-full h-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-foreground/85"})]}),e.jsx("div",{className:"container mx-auto max-w-2xl text-center relative z-10",children:e.jsxs(r,{children:[e.jsxs("h2",{className:"font-display text-4xl md:text-6xl font-bold italic text-white uppercase tracking-tight leading-[0.95] mb-4",children:["Ready to ",e.jsx("span",{className:"text-primary",children:"Book?"})]}),e.jsx("p",{className:"text-white/60 text-lg max-w-xl mx-auto leading-relaxed mb-10",children:"The fastest way to secure your date is online — instant confirmation, no waiting."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center items-center",children:[e.jsx(n,{size:"lg",onClick:()=>b({source:"contact-bottom"}),children:"Book Now"}),e.jsx(n,{variant:"outline",size:"lg",className:"border-white/30 text-white hover:bg-white/10",onClick:()=>f(),children:"Check Date"})]})]})})]})]}),e.jsx(D,{})]})}export{oe as default};