PageSourceSearch

https://beamish-maamoul-a3c725.netlify.app/assets/HomePage-DypOvXjW.js

js beamish-maamoul-a3c725.netlify.app collected 2026-10-03 10:29:27 UTC 49,570 bytes, 1 lines download raw bytes

1import{j as e,s as t,S as a}from"./index-B-01gp8C.js";import{r as s,L as n}from"./vendor-react-7UJKJIhU.js";import{S as o,G as r}from"./LoadingSkeleton-QEWSA_vr.js";import{I as l}from"./ImageLightbox-rc7PO4u9.js";import{U as i,M as c,P as d,a as m,C as p,f as x,b as h,c as b,z as g,X as u,d as v,H as j,e as f,g as N,N as k,h as y,V as w,i as z,I as S,j as _,E as C}from"./vendor-ui-DJKmmfZX.js";import{C as O}from"./calendar-AQTVilM2.js";import{c as P}from"./cs-FWuxrkYj.js";import"./vendor-supabase-CDTnsVBO.js";function D(){const[a,n]=s.useState({name:"",email:"",phone:"",date:"",time:"",guests:"2",message:""}),[o,r]=s.useState(!1),[l,u]=s.useState(!1),v=e=>{n({...a,[e.target.name]:e.target.value})};return e.jsxs("form",{name:"rezervace",method:"POST","data-netlify":"true","data-netlify-honeypot":"bot-field",onSubmit:async e=>{e.preventDefault(),r(!0);const s=new Date;s.setHours(0,0,0,0);if(new Date(a.date)<s)return g.error("Vyberte prosím budoucí datum"),void r(!1);if(!(a.name&&a.email&&a.phone&&a.date&&a.time))return g.error("Vyplňte prosím všechna povinná pole"),void r(!1);try{const e=(()=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=new Uint32Array(32);crypto.getRandomValues(t);let a="";for(let s=0;s<32;s++)a+=e.charAt(t[s]%62);return a})(),{error:s}=await t.from("reservations").insert({name:a.name,email:a.email,phone:a.phone,date:a.date,time:a.time,guests:parseInt(a.guests),message:a.message||null,action_token:e,status:"pending"});if(s)throw s;try{await fetch("https://ywyxgkacawjjsqhdfhay.supabase.co/functions/v1/send-reservation-admin-notification",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inl3eXhna2FjYXdqanNxaGRmaGF5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjM5NzUwOTgsImV4cCI6MjA3OTU1MTA5OH0.zPvyfUG4z0tYqFpuzHO20i2s9DXHg-yZyUzlvFNgHUQ"},body:JSON.stringify({token:e})})}catch(o){}const r=window.location.origin,l=`${r}/rezervace/zobrazit?token=${e}`,i=`${r}/rezervace/potvrdit?token=${e}`,c=`${r}/rezervace/odmitnout?token=${e}`,d=new URLSearchParams;d.append("form-name","rezervace"),d.append("Jméno",a.name),d.append("Email",a.email),d.append("Telefon",a.phone),d.append("Datum",a.date),d.append("Čas",a.time),d.append("Počet hostů",a.guests),d.append("Zpráva",a.message||"(žádná zpráva)"),d.append("Zobrazit rezervaci",l),d.append("Potvrdit rezervaci",i),d.append("Odmítnout rezervaci",c);if(!(await fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:d.toString()})).ok)throw new Error("Network response was not ok");g.success("Rezervace byla úspěšně odeslána! Brzy vás budeme kontaktovat."),n({name:"",email:"",phone:"",date:"",time:"",guests:"2",message:""})}catch(l){g.error("Něco se pokazilo. Zkuste to prosím znovu nebo nás kontaktujte telefonicky.")}finally{r(!1)}},className:"paper-card p-8 lg:p-10 rounded-vintage border-2 border-oak-300 shadow-vintage",children:[e.jsx("input",{type:"hidden",name:"form-name",value:"rezervace"}),e.jsx("p",{className:"hidden",children:e.jsxs("label",{children:["Don't fill this out if you're human: ",e.jsx("input",{name:"bot-field"})]})}),e.jsx("input",{type:"hidden",name:"Jméno",value:""}),e.jsx("input",{type:"hidden",name:"Email",value:""}),e.jsx("input",{type:"hidden",name:"Telefon",value:""}),e.jsx("input",{type:"hidden",name:"Datum",value:""}),e.jsx("input",{type:"hidden",name:"Čas",value:""}),e.jsx("input",{type:"hidden",name:"Počet hostů",value:""}),e.jsx("input",{type:"hidden",name:"Zpráva",value:""}),e.jsx("input",{type:"hidden",name:"Zobrazit rezervaci",value:""}),e.jsx("input",{type:"hidden",name:"Potvrdit rezervaci",value:""}),e.jsx("input",{type:"hidden",name:"Odmítnout rezervaci",value:""}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"name",className:"block text-sm font-body font-semibold text-oak-800 mb-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Jméno a příjmení *"})]})}),e.jsx("input",{type:"text",id:"name",name:"name",value:a.name,onChange:v,required:!0,className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 placeholder-oak-400 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body",placeholder:"Jan Novák"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"email",className:"block text-sm font-body font-semibold text-oak-800 mb
1-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Email *"})]})}),e.jsx("input",{type:"email",id:"email",name:"email",value:a.email,onChange:v,required:!0,className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 placeholder-oak-400 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body",placeholder:"[email protected]"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"phone",className:"block text-sm font-body font-semibold text-oak-800 mb-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Telefon *"})]})}),e.jsx("input",{type:"tel",id:"phone",name:"phone",value:a.phone,onChange:v,required:!0,pattern:"[+]?[0-9\\s]+",className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 placeholder-oak-400 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body",placeholder:"+420 123 456 789"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"guests",className:"block text-sm font-body font-semibold text-oak-800 mb-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Počet hostů *"})]})}),e.jsx("select",{id:"guests",name:"guests",value:a.guests,onChange:v,required:!0,className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body",children:[...Array(20)].map((t,a)=>e.jsxs("option",{value:a+1,children:[a+1," ",0===a?"host":a<4?"hosté":"hostů"]},a+1))})]}),e.jsxs("div",{className:"relative",children:[e.jsx("label",{htmlFor:"date",className:"block text-sm font-body font-semibold text-oak-800 mb-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Datum *"})]})}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"text",id:"date",name:"date",value:a.date?x(new Date(a.date),"PPP",{locale:P}):"",readOnly:!0,required:!0,placeholder:"Vyberte datum",onClick:()=>u(!l),className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 placeholder-oak-400 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body cursor-pointer"}),e.jsx(p,{className:"absolute right-4 top-1/2 -translate-y-1/2 w-5 h-5 text-copper-600 pointer-events-none"})]}),l&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed inset-0 z-10",onClick:()=>u(!1)}),e.jsx("div",{className:"absolute z-20 mt-2 bg-parchment-50 border-2 border-oak-300 rounded-vintage shadow-vintage-lg p-4",children:e.jsx(O,{mode:"single",selected:a.date?new Date(a.date):void 0,onSelect:e=>{e&&(n({...a,date:x(e,"yyyy-MM-dd")}),u(!1))},disabled:e=>e<new Date((new Date).setHours(0,0,0,0)),locale:P,className:"rounded-lg"})})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"time",className:"block text-sm font-body font-semibold text-oak-800 mb-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Čas *"})]})}),e.jsxs("select",{id:"time",name:"time",value:a.time,onChange:v,required:!0,className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body",children:[e.jsx("option",{value:"",children:"Vyberte čas"}),["11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30"].map(t=>e.jsx("option",{value:t,children:t},t))]})]})]}),e.jsxs("div",{className:"mb-6",children:[e.jsx("label",{htmlFor:"message",className:"block text-sm font-body font-semibold text-oak-800 mb
1-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(b,{className:"w-4 h-4 text-copper-600"}),e.jsx("span",{children:"Zpráva / poznámka (volitelné)"})]})}),e.jsx("textarea",{id:"message",name:"message",value:a.message,onChange:v,rows:4,className:"w-full px-4 py-3 bg-parchment-50 border-2 border-oak-300 rounded-vintage text-oak-900 placeholder-oak-400 focus:outline-none focus:ring-2 focus:ring-copper-500 focus:border-copper-500 transition font-body resize-none",placeholder:"Máte nějaké speciální požadavky nebo dotazy?"})]}),e.jsx("button",{type:"submit",disabled:o,className:"w-full btn-vintage disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:o?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-t-2 border-b-2 border-current"}),e.jsx("span",{children:"Odesílám..."})]}):e.jsxs(e.Fragment,{children:[e.jsx(p,{className:"w-5 h-5"}),e.jsx("span",{children:"Odeslat rezervaci"})]})}),e.jsx("p",{className:"text-center text-oak-500 text-sm mt-4 font-body",children:"* Povinné pole"})]})}function T({isOpen:t,onClose:a}){const[o,r]=s.useState(!1);return s.useEffect(()=>{t?setTimeout(()=>r(!0),50):r(!1)},[t]),t?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-[100] transition-opacity duration-500 "+(o?"opacity-100":"opacity-0"),onClick:a}),e.jsx("div",{className:"fixed inset-0 z-[101] flex items-center justify-center p-4",children:e.jsxs("div",{className:"relative max-w-xl w-full transition-all duration-500 "+(o?"scale-100 opacity-100":"scale-95 opacity-0"),children:[e.jsx("div",{className:"absolute -inset-2 bg-gradient-to-r from-copper-500 via-copper-600 to-copper-500 rounded-vintage opacity-75 blur-xl animate-pulse-glow"}),e.jsxs("div",{className:"relative paper-card p-8 lg:p-12 rounded-vintage border-4 border-copper-600 text-center shadow-2xl",children:[e.jsx("button",{onClick:a,className:"absolute top-4 right-4 p-2 text-oak-600 hover:text-copper-600 transition-colors rounded-full hover:bg-oak-100","aria-label":"Zavřít",children:e.jsx(u,{className:"w-6 h-6"})}),e.jsx("div",{className:"flex justify-center mb-6",children:e.jsx("div",{className:"bg-copper-600 rounded-full p-4 shadow-lg animate-pulse-slow",children:e.jsx(c,{className:"w-12 h-12 text-parchment-50"})})}),e.jsx("h2",{className:"text-3xl lg:text-4xl font-heading font-bold text-oak-900 mb-4",children:"Získejte 10% slevu"}),e.jsx("p",{className:"text-lg text-oak-700 mb-8 max-w-md mx-auto leading-relaxed",children:"Přihlaste se k newsletteru a dostanete od nás uvítací slevu 10% s QR kódem přímo do emailu"}),e.jsxs(n,{to:"/newsletter",onClick:a,className:"inline-flex items-center gap-3 bg-copper-600 text-parchment-50 px-10 py-4 rounded-vintage font-heading font-bold text-lg shadow-vintage hover:shadow-vintage-lg hover:bg-copper-700 transition-all duration-300 transform hover:scale-105",children:[e.jsx(c,{className:"w-5 h-5"}),"Přihlásit k odběru"]}),e.jsx("p",{className:"mt-6 text-sm text-oak-500",children:"Můžete se kdykoli odhlásit"})]})]})})]}):null}const I=[{title:"Svatební hostiny",description:"Svatební hostina, na kterou nezapomenete. Výborné jídlo, profesionální servis, příjemné prostředí.",link:null},{title:"Soukromé akce",description:"Uspořádejte s námi například oslavu. Excelentní pokrmy, prvotřídní obsluha, stylové prostředí.",link:null},{title:"Catering",description:"Profesionální catering pro všechny typy akcí. Čerstvé suroviny a skvělý servis.",link:null},{title:"Rozvoz a výdej jídel",description:"Objednejte si naše jídla domů. Rozvoz přes Foodora nebo vyzvednutí na místě.",link:"https://www.foodora.cz/restaurant/amuu/hostinec-stoleta"}],F=[{day:"Pondělí",hours:"11:00 – 22:00",isOpen:!0},{day:"Úterý",hours:"11:00 – 22:00",isOpen:!0},{day:"Středa",hours:"11:00 – 22:00",isOpen:!0},{day:"Čtvrtek",hours:"11:00 – 22:00",isOpen:!0},{day:"Pátek",hours:"11:00 – 00:00",isOpen:!0},{day:"Sobota",hours:"11:00 – 00:00",isOpen:!0},{day:"Neděle",hours:"Zavřeno",isOpen:!1}];function Z(){const[i,x]=s.useState([]),[b,g]=s.useState([]),[O,P]=s.useState([]),[Z,R]=s.useState(null),[q,E]=s.useState(!0),[H,K]=s.useState(!1),[M,V]=s.useState(!1),[A,J]=s.useState(!1),[U,Y]=s.useState(""),[$,L]=s.useState(""),[G,X]=s.useState(!0),B=s.useRef(null),[Q,W]=s.useState(!1),[ee,te]=s.useState(0),[ae,se]=s.useState(!1);s.useEffect(()=>{oe(),ne();const e=()=>{J(window.scrollY>50)};window.addEventListener("scroll",e);if(!localStorage.getItem("newsletter_popup_seen")){const t=setTimeout(()=>{se(!0)},5e3);return()=>{window.removeEventListener("scroll",e),clearTimeout(t)}}return()=>window.removeEventListener("scroll",e)},[]);const ne=()=>{const e=new Date,t=["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"][e.getDay()],a=`${e.getDate()}. ${["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"][e.getMonth()]} ${e.getFullYear()}`;Y(t),L(a)},oe=async()=>{try{const e=new Date,a=e.getDay(),s=0===a||6===a;K(s);const n=async()=>
1{if(s)return;const n=a-1,o=(e=>{const t=new Date(e),a=t.getDay(),s=t.getDate()-a+(0===a?-6:1);return t.setDate(s),t.setHours(0,0,0,0),`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`})(e),{data:r,error:l}=await t.from("menu_items").select("*").eq("is_daily_special",!0).eq("day_of_week",n).eq("week_start_date",o).order("order_in_category");if(!l&&r&&r.length>0)return void x(r.slice(0,4));const{data:i}=await t.from("menu_items").select("*").eq("is_daily_special",!0).eq("day_of_week",n).not("week_start_date","is",null).order("week_start_date",{ascending:!1}).order("order_in_category").limit(4);i&&i.length>0&&x(i)},[o,r,l]=await Promise.all([t.from("specialties").select("*").order("display_order"),t.from("gallery").select("*").order("display_order",{ascending:!0}),t.from("news").select("*").eq("is_published",!0).order("published_at",{ascending:!1}).limit(1),n()]);o.data&&g(o.data),r.data&&P(r.data),l.data&&l.data.length>0&&R(l.data[0])}finally{E(!1)}};return e.jsxs("div",{className:"bg-parchment-100 font-body",children:[e.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 transition-all duration-500 "+(A?"bg-oak-900/95 backdrop-blur-lg shadow-2xl border-b-2 border-copper-600":"bg-oak-900/60 backdrop-blur-sm border-b border-copper-600/30"),children:e.jsx("nav",{className:"max-w-container mx-auto container-padding py-3 lg:py-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3 group",children:[e.jsx("img",{src:"/logo_main.png",alt:"Hostinec Stoletá",className:"h-16 lg:h-20 w-auto object-contain"}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-copper-500 blur-sm opacity-30"}),e.jsxs("div",{className:"relative bg-oak-800 px-2 py-1.5 rounded-vintage border-2 border-copper-600",children:[e.jsx("span",{className:"block text-xs font-accent text-copper-400 tracking-widest",children:"EST."}),e.jsx("span",{className:"block text-lg font-heading font-bold text-parchment-100",children:"1918"})]})]}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-xl lg:text-2xl font-heading font-bold transition-colors text-parchment-100",children:"Stoletá"}),e.jsx("span",{className:"block text-xs font-body italic tracking-wide transition-colors text-parchment-300",children:"Hostinec"})]})]}),e.jsxs("div",{className:"hidden lg:flex items-center gap-6",children:[[{label:"O nás",href:"#about",type:"anchor"},{label:"Služby",href:"#services",type:"anchor"},{label:"Menu",href:"/menu",type:"link"},{label:"Speciality",href:"/specialties",type:"link"},{label:"Galerie",href:"/gallery",type:"link"},{label:"Aktuality",href:"/news",type:"link"},{label:"Kontakt",href:"#contact",type:"anchor"}].map(t=>"link"===t.type?e.jsx(n,{to:t.href,onClick:()=>window.scrollTo(0,0),className:"hover:text-copper-400 transition-colors duration-300 text-sm tracking-wider font-body font-medium text-parchment-100",children:t.label},t.href):e.jsx("a",{href:t.href,className:"hover:text-copper-400 transition-colors duration-300 text-sm tracking-wider font-body font-medium text-parchment-100",children:t.label},t.href)),e.jsx("a",{href:"#reservation",className:"bg-copper-600 hover:bg-copper-700 text-parchment-50 px-4 py-2 rounded-vintage transition-all duration-300 text-sm tracking-wider font-body font-semibold border-2 border-copper-700 hover:border-copper-800 shadow-lg",children:"Rezervovat"})]}),e.jsx("button",{onClick:()=>V(!M),className:"lg:hidden p-2 hover:text-copper-400 transition-colors text-parchment-100","aria-label":"Toggle menu",children:M?e.jsx(u,{className:"w-6 h-6"}):e.jsx(v,{className:"w-6 h-6"})})]})})}),M&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"lg:hidden fixed inset-0 bg-black/60 z-40 animate-fade-in",onClick:()=>V(!1)}),e.jsxs("div",{className:"lg:hidden fixed top-0 right-0 bottom-0 w-80 max-w-[85vw] bg-parchment-50 shadow-2xl z-50 animate-slide-in-right overflow-y-auto",children:[e.jsx("div",{className:"p-6 border-b-2 border-copper-600 bg-oak-800",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:"/logo_main.png",alt:"Hostinec 
1Stoletá",className:"h-16 w-auto object-contain"}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-copper-500 blur-sm opacity-30"}),e.jsxs("div",{className:"relative bg-oak-900 px-2 py-1.5 rounded-vintage border-2 border-copper-600",children:[e.jsx("span",{className:"block text-xs font-accent text-copper-400 tracking-widest",children:"EST."}),e.jsx("span",{className:"block text-lg font-heading font-bold text-parchment-100",children:"1918"})]})]}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-xl font-heading font-bold text-parchment-100",children:"Stoletá"}),e.jsx("span",{className:"block text-xs font-body italic text-parchment-300",children:"Hostinec"})]})]}),e.jsx("button",{onClick:()=>V(!1),className:"p-2 text-parchment-100 hover:text-copper-500 transition-colors","aria-label":"Zavřít menu",children:e.jsx(u,{className:"w-6 h-6"})})]})}),e.jsx("nav",{className:"py-6",children:[{label:"O nás",href:"#about",type:"anchor",icon:m},{label:"Služby",href:"#services",type:"anchor",icon:j},{label:"Menu",href:"/menu",type:"link",icon:f},{label:"Speciality",href:"/specialties",type:"link",icon:N},{label:"Galerie",href:"/gallery",type:"link",icon:p},{label:"Aktuality",href:"/news",type:"link",icon:k},{label:"Kontakt",href:"#contact",type:"anchor",icon:y}].map((t,a)=>{const s=t.icon;return"link"===t.type?e.jsxs(n,{to:t.href,onClick:()=>{V(!1),window.scrollTo(0,0)},className:"flex items-center gap-4 px-6 py-4 text-oak-900 hover:bg-copper-50 hover:text-copper-600 transition-all duration-300 border-b border-oak-200",children:[e.jsx("div",{className:"w-10 h-10 bg-oak-100 rounded-vintage flex items-center justify-center flex-shrink-0",children:e.jsx(s,{className:"w-5 h-5 text-copper-600"})}),e.jsx("span",{className:"text-lg font-body font-semibold",children:t.label})]},t.href):e.jsxs("a",{href:t.href,onClick:e=>{e.preventDefault(),V(!1);const a=document.querySelector(t.href);if(a){const e=80,t=a.getBoundingClientRect().top+window.pageYOffset-e;window.scrollTo({top:t,behavior:"smooth"})}},className:"flex items-center gap-4 px-6 py-4 text-oak-900 hover:bg-copper-50 hover:text-copper-600 transition-all duration-300 border-b border-oak-200",children:[e.jsx("div",{className:"w-10 h-10 bg-oak-100 rounded-vintage flex items-center justify-center flex-shrink-0",children:e.jsx(s,{className:"w-5 h-5 text-copper-600"})}),e.jsx("span",{className:"text-lg font-body font-semibold",children:t.label})]},t.href)})}),e.jsx("div",{className:"px-6 py-4 border-t-2 border-oak-200",children:e.jsx("a",{href:"#reservation",onClick:e=>{e.preventDefault(),V(!1);const t=document.querySelector("#reservation");if(t){const e=80,a=t.getBoundingClientRect().top+window.pageYOffset-e;window.scrollTo({top:a,behavior:"smooth"})}},className:"block w-full bg-copper-600 hover:bg-copper-700 text-parchment-50 px-6 py-4 rounded-vintage transition-all duration-300 text-center font-body font-bold border-2 border-copper-700 shadow-lg",children:"Rezervovat stůl"})}),e.jsx("div",{className:"px-6 py-4 bg-oak-50 border-t-2 border-oak-200",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-3 text-sm text-oak-700",children:[e.jsx(d,{className:"w-4 h-4 text-copper-600 flex-shrink-0"}),e.jsx("span",{className:"font-body",children:"+420 721 181 666"})]}),e.jsxs("div",{className:"flex items-center gap-3 text-sm text-oak-700",children:[e.jsx(c,{className:"w-4 h-4 text-copper-600 flex-shrink-0"}),e.jsx("span",{className:"font-body",children:"[email protected]"})]}),e.jsxs("div",{className:"flex items-center gap-3 text-sm text-oak-700",children:[e.jsx(h,{className:"w-4 h-4 text-copper-600 flex-shrink-0"}),e.jsx("span",{className:"font-body",children:"Po-So: 11:00-22:00"})]})]})})]})]}),e.jsxs("section",{className:"relative min-h-screen flex items-center justify-center pt-24 pb-16 overflow-hidden",children:[e.jsx("video",{ref:B,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 w-full h-full object-cover z-0",children:e.jsx("source",{src:"https://ywyxgkacawjjsqhdfhay.supabase.co/storage/v1/object/public/Videos/Stoleta-promo-V2.mp4",type:"video/mp4"})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-oak-900/70 via-oak-900/50 to-oak-900/70 z-10"}),e.jsx("button",{onClick:()=>{B.current&&(B.current.muted=!B.current.muted,X(B.current.muted))},className:"absolute top-28 right-8 z-30 bg-oak-900/80 hover:bg-oak-800 text-parchment-100 p-3 rounded-vintage border-2 border-copper-600 transition-all duration-300 hover:scale-110","aria-label":G?"Zapnout zvuk":"Vypnout zvuk",children:G?e.jsx(w,{className:"w-6 h-6"}):e.jsx(z,{className:"w-6 h-6"})}),e.jsx("div",{className:"max-w-7xl mx-auto container-padding w-full relative z-20",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-5 ga
1p-8 lg:gap-12 items-center",children:[e.jsxs("div",{className:"lg:col-span-3 space-y-8 animate-fade-in-up",children:[e.jsx("div",{className:"inline-block",children:e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"h-px flex-1 bg-copper-400"}),e.jsx("span",{className:"text-sm font-accent text-copper-300 tracking-widest",children:"OD ROKU 1918"}),e.jsx("div",{className:"h-px flex-1 bg-copper-400"})]})}),e.jsxs("h1",{className:"text-display font-heading font-bold text-white leading-tight",style:{textShadow:"2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5)"},children:["Hostinec",e.jsx("br",{}),e.jsx("span",{className:"text-copper-300",children:"Stoletá"})]}),e.jsx("p",{className:"text-xl lg:text-2xl text-parchment-50 font-body italic leading-relaxed max-w-xl",style:{textShadow:"1px 1px 6px rgba(0,0,0,0.8)"},children:"Tradiční česká kuchyně a pohostinnost v srdci Kolína"}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center gap-4 pt-4",children:[e.jsxs("a",{href:"#services",className:"btn-vintage inline-flex items-center gap-2",children:["Naše služby",e.jsx(N,{className:"w-4 h-4"})]}),e.jsxs("a",{href:"#reservation",className:"btn-vintage-outline inline-flex items-center gap-2 !text-white hover:!text-parchment-50",children:["Rezervovat",e.jsx(p,{className:"w-4 h-4"})]})]})]}),e.jsx("div",{className:"lg:col-span-2 animate-fade-in",style:{animationDelay:"0.2s"},children:e.jsxs("div",{className:"paper-card p-6 lg:p-8 rounded-vintage border-2 border-copper-600 relative vintage-border bg-parchment-50/98 backdrop-blur-md shadow-2xl",children:[e.jsx("div",{className:"absolute -top-4 left-6 px-4 py-1 bg-copper-600 text-white rounded-vintage",children:e.jsx("span",{className:"text-sm font-heading font-bold tracking-wider",children:"DNEŠNÍ MENU"})}),e.jsxs("div",{className:"mb-6 pt-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-oak-800 mb-1",children:[e.jsx(p,{className:"w-5 h-5 text-copper-600"}),e.jsx("span",{className:"font-body font-semibold",children:U})]}),e.jsx("p",{className:"text-sm text-oak-700 font-body mb-3",children:$}),e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-copper-100 rounded-vintage border border-copper-400",children:[e.jsx(h,{className:"w-4 h-4 text-copper-700"}),e.jsx("span",{className:"text-xs font-body font-semibold text-oak-800",children:"Polední menu: Po-Pá 11:00-14:30"})]})]}),e.jsx("div",{className:"space-y-4",children:q?e.jsx("div",{className:"space-y-4",children:[1,2,3].map(t=>e.jsxs("div",{className:"animate-pulse",children:[e.jsx("div",{className:"h-4 bg-oak-200 rounded w-3/4 mb-2"}),e.jsx("div",{className:"h-3 bg-oak-100 rounded w-full"})]},t))}):H?e.jsxs("div",{className:"text-center py-4 space-y-1",children:[e.jsx("p",{className:"text-oak-800 font-body font-semibold",children:"O víkendu denní menu nesloužíme"}),e.jsx("p",{className:"text-oak-600 text-sm font-body italic",children:"Polední menu servírujeme pondělí – pátek 11:00–14:30"})]}):i.length>0?i.map((t,a)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"text-menu-item font-heading text-oak-900",children:t.name}),e.jsx("span",{className:"inline-block px-2 py-0.5 bg-copper-100 text-copper-700 text-xs rounded-vintage font-body font-medium border border-copper-400",children:t.category})]}),e.jsx("p",{className:"text-menu-desc text-oak-600 line-clamp-1",children:t.description})]}),e.jsxs("span",{className:"text-menu-price text-copper-600 font-heading font-bold whitespace-nowrap",children:[t.price," Kč"]})]}),a<i.length-1&&e.jsx("div",{className:"dotted-line my-3"})]},t.id)):e.jsx("p",{className:"text-oak-600 text-center py-4 font-body italic",children:"Dnešní menu ještě nebylo zveřejněno"})}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"border-t border-copper-300 my-6"}),e.jsxs(n,{to:"/menu",className:"flex items-center justify-center gap-2 text-copper-600 font-body font-semibold hover:text-copper-700 transition-colors group",children:[e.jsx("span",{children:"Zobrazit celé menu"}),e.jsx(N,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]})})]})})]}),e.jsx("section",{id:"about",className:"section-padding bg-white relative",children:e.jsx("div",{className:"max-w-content mx-auto container-padding",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider up
1percase text-sm mb-3 block",children:"Naše historie"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"O nás"})]}),e.jsxs("div",{className:"space-y-5 text-body-lg text-oak-700 leading-relaxed",children:[e.jsxs("p",{children:["Hostinec Stoletá byl znovuotevřen ",e.jsx("strong",{className:"text-copper-700 font-semibold",children:"23. června 2018"})," jako rodinný podnik. Zaměřujeme se na autentickou českou kuchyni a pečlivě ošetřené pivo v přátelském prostředí."]}),e.jsx("div",{className:"paper-card p-6 border-l-4 border-copper-600 my-6",children:e.jsx("p",{className:"text-xl font-body italic text-oak-800 leading-relaxed",children:'"Navazujeme na stoletou tradici pohostinství. Každé jídlo připravujeme s láskou a respektem k receptům našich předků."'})}),e.jsx("p",{children:"Používáme pouze čerstvé suroviny od lokálních dodavatelů a dbáme na autentické recepty, které se v našem kraji připravují po generace."})]}),e.jsxs("div",{className:"flex items-center gap-4 pt-4",children:[e.jsxs("a",{href:"https://www.instagram.com/restauracestoleta/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-6 py-3 bg-oak-800 text-parchment-50 rounded-vintage font-body font-medium shadow-vintage hover:shadow-vintage-lg hover:bg-oak-900 transition-all duration-300",children:[e.jsx(S,{className:"w-5 h-5"}),e.jsx("span",{children:"Instagram"})]}),e.jsxs("a",{href:"https://www.facebook.com/restauracestoleta",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-6 py-3 bg-oak-800 text-parchment-50 rounded-vintage font-body font-medium shadow-vintage hover:shadow-vintage-lg hover:bg-oak-900 transition-all duration-300",children:[e.jsx(_,{className:"w-5 h-5"}),e.jsx("span",{children:"Facebook"})]})]})]}),e.jsx("div",{className:"relative lg:-ml-12",children:e.jsxs("div",{className:"relative overflow-hidden rounded-vintage shadow-vintage-lg border-4 border-oak-300",children:[e.jsx("div",{className:"aspect-[4/3] lg:aspect-[3/4]",children:e.jsx("img",{src:"/DSC_6644D.webp",alt:"Interiér restaurace Hostinec Stoletá",className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700",loading:"lazy"})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-oak-900/80 via-oak-900/20 to-transparent"}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-6 lg:p-8",children:e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl lg:text-5xl font-heading font-bold text-copper-400 mb-1",children:"100+"}),e.jsx("p",{className:"text-parchment-200 font-body text-sm font-medium",children:"Let tradice"})]}),e.jsx("div",{className:"w-px h-16 bg-parchment-300/30"}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl lg:text-5xl font-heading font-bold text-copper-400 mb-1",children:"4.9"}),e.jsx("p",{className:"text-parchment-200 font-body text-sm font-medium",children:"Hodnocení"})]})]})})})]})})]})})}),Z&&e.jsx("section",{id:"news",className:"section-padding bg-parchment-200",children:e.jsxs("div",{className:"max-w-content mx-auto container-padding",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-20",children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider uppercase text-sm mb-3 block",children:"Co je nového"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"Nejnovější aktualita"}),e.jsx("p",{className:"text-body-lg text-oak-700 max-w-2xl mx-auto",children:"Sledujte naše novinky a speciální události"})]}),e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx("div",{className:"paper-card rounded-vintage border-2 border-oak-300 overflow-hidden shadow-vintage-lg",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-0",children:[Z.image_url&&e.jsx("div",{className:"aspect-[4/3] lg:aspect-auto",children:e.jsx("img",{src:Z.image_url,alt:Z.title,className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("span",{className:"inline-flex items-center px-3 py-1 rounded-vintage text-xs font-body font-semibold border-2 "+("history"===Z.category?"bg-oak-100 text-oak-700 border-oak-400":"current"===Z.c
1ategory?"bg-copper-100 text-copper-700 border-copper-400":"bg-blue-100 text-blue-700 border-blue-400"),children:"history"===Z.category?"Historie":"current"===Z.category?"Aktuální":"Nadcházející"}),Z.published_at&&e.jsxs("div",{className:"flex items-center gap-1.5 text-oak-600 text-xs font-body",children:[e.jsx(p,{className:"w-3 h-3"}),new Date(Z.published_at).toLocaleDateString("cs-CZ",{day:"numeric",month:"long",year:"numeric"})]})]}),e.jsx("h3",{className:"text-h2 font-heading font-bold text-oak-900 mb-4",children:Z.title}),e.jsx("p",{className:"text-body-lg text-oak-700 leading-relaxed mb-6 line-clamp-4",children:Z.content}),e.jsx("div",{className:"flex gap-4",children:e.jsxs(n,{to:"/news",className:"inline-flex items-center gap-2 text-copper-700 font-body font-semibold hover:text-copper-800 transition-colors",children:["Zobrazit všechny aktuality",e.jsx(N,{className:"w-4 h-4"})]})})]})]})})})]})}),e.jsx("section",{id:"services",className:"section-padding bg-white",children:e.jsxs("div",{className:"max-w-content mx-auto container-padding",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-20",children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider uppercase text-sm mb-3 block",children:"Co nabízíme"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"Naše služby"}),e.jsx("p",{className:"text-body-lg text-oak-700 max-w-2xl mx-auto",children:"Pro vaše výjimečné okamžiky"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:I.map((t,a)=>e.jsxs("div",{className:"paper-card p-8 rounded-vintage border-2 border-oak-300 hover:shadow-vintage-lg transition-all duration-300",children:[e.jsx("div",{className:"mb-6",children:e.jsx("span",{className:"inline-block px-4 py-2 bg-copper-600 text-parchment-50 rounded-vintage font-heading font-bold text-lg",children:String(a+1).padStart(2,"0")})}),e.jsx("h3",{className:"text-h3 font-heading font-bold text-oak-900 mb-4",children:t.title}),e.jsx("p",{className:"text-body text-oak-700 leading-relaxed mb-6",children:t.description}),t.link?e.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-copper-700 font-body font-semibold hover:gap-3 transition-all duration-300",children:["Objednat přes Foodora",e.jsx(C,{className:"w-4 h-4"})]}):e.jsxs("a",{href:"#reservation",className:"inline-flex items-center gap-2 text-copper-700 font-body font-semibold hover:gap-3 transition-all duration-300",children:["Rezervovat stůl",e.jsx(p,{className:"w-4 h-4"})]})]},a))})]})}),b.length>0&&e.jsx("section",{id:"specialties",className:"section-padding bg-white",children:e.jsxs("div",{className:"max-w-content mx-auto container-padding",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-24",children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider uppercase text-sm mb-3 block",children:"Výjimečné pokrmy"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"Naše speciality"}),e.jsx("p",{className:"text-body-lg text-oak-700 max-w-2xl mx-auto",children:"Vyhlášené pokrmy, na které se vracíte"})]}),e.jsx("div",{className:"space-y-16 lg:space-y-24",children:q?Array.from({length:2}).map((t,a)=>e.jsx(o,{},a)):b.map((t,a)=>e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-center "+(a%2==1?"lg:grid-flow-dense":""),children:[e.jsx("div",{className:"relative "+(a%2==1?"lg:col-start-2":""),children:e.jsx("div",{className:"relative",children:e.jsx("div",{className:"aspect-[4/3] rounded-vintage overflow-hidden shadow-vintage-lg border-4 border-oak-300",children:e.jsx("img",{src:t.image_url,alt:t.name,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700",loading:"lazy"})})})}),e.jsx("div",{className:a%2==1?"lg:col-start-1 lg:row-start-1":"",children:e.jsxs("div",{className:"paper-card p-8 lg:p-10 rounded-vintage border-2 border-oak-300 relative",children:[e.jsx("div",{className:"absolute -top-4 -left-4 w-16 h-16 bg-copper-600 rounded-vintage flex items-center justify-center shadow-copper border-2 border-oak-800",children:e.jsx("span",{className:"text-2xl font-heading font-bold text-parchment-50",children:String(a+1).padStart(2,"0")})}),e.jsxs("div",{className:"pt-4",children:[e.jsx("h3",{className:"text-h2 font-heading font-bold text-oak-900 mb-4",children:t.name}),e.jsx("p",{className:"text-body-lg text-oak-700 leading-relaxed mb-6",children:t.description}),e.jsx("div",{className:"dotted-line my-6"}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-4xl font-heading font-bold text-copper-600",children:[t.price," Kč"]}),e.jsx("a",{href:"#reservation",className:"btn-vintage-outline text-sm px-6 py-3 !text-oak-800 hover:!text-parchment-50",children:"Rezervovat"})]})]})]})})]},t.id))})]})}),O.length>0&&e.jsx("section",{id:"gallery",className:"section-padding bg-parchment-200",children:e.jsxs("div",{className:"max-w-container mx-auto container-padding",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-20",children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider up
1percase text-sm mb-3 block",children:"NaÅ¡e prostředí"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"Galerie"}),e.jsx("p",{className:"text-body-lg text-oak-700 max-w-2xl mx-auto",children:"Nahlédněte do naÅ¡eho světa"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:q?Array.from({length:9}).map((t,a)=>e.jsx(r,{},a)):O.slice(0,9).map((t,a)=>e.jsxs("div",{onClick:()=>{te(a),W(!0)},className:"group relative overflow-hidden rounded-vintage shadow-vintage hover:shadow-vintage-lg transition-all duration-500 hover:-translate-y-1 border-4 border-oak-300 cursor-pointer "+(0===a?"sm:col-span-2 sm:row-span-2":"aspect-square"),children:[e.jsx("img",{src:t.image_url,alt:t.alt_text,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700 sepia-[0.15]",loading:"lazy",onError:()=>P(e=>e.filter(e=>e.id!==t.id))}),e.jsx("div",{className:"absolute inset-0 bg-oak-900 opacity-0 group-hover:opacity-80 transition-opacity duration-500 flex items-center justify-center",children:e.jsx("span",{className:"text-parchment-50 font-heading font-bold text-xl transform translate-y-4 group-hover:translate-y-0 transition-transform duration-500 px-6 text-center",children:t.alt_text})})]},t.id))}),O.length>9&&e.jsx("div",{className:"text-center mt-8",children:e.jsxs(n,{to:"/gallery",className:"inline-flex items-center gap-2 text-copper-700 font-body font-semibold hover:text-copper-800 transition-colors text-lg",children:["Zobrazit celou galerii (",O.length," fotografií)",e.jsx(N,{className:"w-5 h-5"})]})})]})}),e.jsx("section",{id:"reservation",className:"section-padding bg-white",children:e.jsxs("div",{className:"max-w-content mx-auto container-padding",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-20",children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider uppercase text-sm mb-3 block",children:"Zarezervujte si stůl"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"Rezervace"}),e.jsx("p",{className:"text-body-lg text-oak-700 max-w-2xl mx-auto",children:"Zajistěte si místo a vychutnejte si tradiční českou kuchyni v útulném prostředí"})]}),e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx(D,{}),e.jsxs("div",{className:"mt-8 text-center",children:[e.jsx("p",{className:"text-oak-600 font-body mb-3",children:"Nebo nás kontaktujte přímo telefonicky:"}),e.jsxs("a",{href:"tel:+420721181666",className:"inline-flex items-center gap-2 text-copper-700 font-body font-semibold text-lg hover:text-copper-800 transition-colors",children:[e.jsx(d,{className:"w-5 h-5"}),e.jsx("span",{children:"+420 721 181 666"})]})]})]})]})}),e.jsx("section",{id:"contact",className:"section-padding bg-parchment-200",children:e.jsxs("div",{className:"max-w-content mx-auto container-padding",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-20",children:[e.jsx("span",{className:"text-copper-600 font-body font-semibold tracking-wider uppercase text-sm mb-3 block",children:"NavÅ¡tivte nás"}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-6",children:"Kontakt"}),e.jsx("p",{className:"text-body-lg text-oak-700 max-w-2xl mx-auto",children:"Těšíme se na vaÅ¡i návÅ¡těvu"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12",children:[e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"paper-card p-8 rounded-vintage border-2 border-oak-300 group hover:shadow-vintage transition-all",children:e.jsxs("div",{className:"flex items-start gap-6",children:[e.jsx("div",{className:"w-14 h-14 bg-copper-600 rounded-vintage flex items-center justify-center flex-shrink-0",children:e.jsx(y,{className:"w-6 h-6 text-parchment-50"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-heading font-bold text-oak-900 mb-3",children:"Adresa"}),e.jsx("p",{className:"text-body text-oak-700 mb-1",children:"Kutnohorská 33"}),e.jsx("p",{className:"text-body text-oak-700 mb-4",children:"280 02 Kolín"}),e.jsxs("a",{href:"https://maps.app.goo.gl/8yuwJ8UwbiYvkgr36",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-copper-700 font-body font-semibold hover:gap-3 transition-all duration-300",children:["Zobrazit na mapě",e.jsx(C,{className:"w-4 h-4"})]})]})]})}),e.jsx("div",{className:"paper-card p-8 rounded-vintage border-2 border-oak-300 group hover:shadow-vintage transition-all",children:e.jsxs("div",{className:"flex items-start gap-6",children:[e.jsx("div",{className:"w-14 h-14 bg-copper-600 rounded-vintage flex items-center justify-center flex-shrink-0",children:e.jsx(d,{className:"w-6 h-6 text-parchment-50"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-heading font-bold text-oak-900 mb-3",children:"Telefon"}),e.jsx("a",{href:"tel:+420721181666",className:"text-body-lg text-oak-700 hover:text-copper-600 transition-colors duration-300",children:"+420 721 181 666"})]})]})}),e.jsx("div",{className:"paper-card p-8 rounded-vintage border-2 border-oak-300 group hover:shadow-vintage transition-all",children:e.jsxs("div",{className:"flex items-start gap-6",children:[e.jsx("div",{className:"w-14 h-14 bg-copper-600 rounded-vintage flex items-center justify-center flex-shrink-0",children:e.jsx(c,{className:"w-6 h-6 text-parchment-50"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-heading font-bold text-oak-900 mb-3",children:"Email"}),e.jsx("a",{href:"mailto:[email protected]",className:"text-body-lg text-oak-700 hover:text-copper-600 transition-colors duration-300",children:"[email protected]"})]})]})})]}),e.jsxs("div",{className:"paper-card p-8 lg:p-10 rounded-vintage border-2 border-oak-300",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[e.jsx("div",{className:"w-14 h-14 bg-copper-600 rounded-vintage flex items-center justify-center flex-shrink-0",children:e.jsx(h,{className:"w-6 h-6 text-parchment-50"})}),e.jsx("h3",{className:"text-2xl font-heading font-bold text-oak-900",children:"Otevírací doba"})]}),e.jsx("div",{className:"space-y-3",children:F.map((t,a)=>e.jsxs("div",{className:"flex justify-between items-center py-4 px-5 rounded-vintage transition-colors duration-300 "+(t.isOpen?"bg-parchment-100 hover:bg-parchment-200":"bg-oak-100 hover:bg-oak-200"),children:[e.jsx("span",{className:"font-body font-semibold text-oak-900",children:t.day}),e.jsx("span",{className:"font-body font-medium "+(t.isOpen?"text-copper-700":"text-oak-500"),children:t.hours})]},a))})]})]})]})}),e.jsx("section",{className:"section-padding bg-oak-900",children:e.jsx("div",{className:"max-w-content mx-auto container-padding",children:e.jsxs("div",{className:"paper-card p-10 lg:p-12 rounded-vintage border-2 border-copper-600 text-center",children:[e.jsx("div",{className:"flex justify-center mb-6",children:e.jsx("div",{className:"bg-copper-600 rounded-full p-4",children:e.jsx(c,{className:"w-10 h-10 text-parchment-50"})})}),e.jsx("h2",{className:"text-h1 font-heading font-bold text-oak-900 mb-4",children:"Získejte 10% slevu"}),e.jsx("p",{className:"text-body-lg text-oak-700 mb-8 max-w-xl mx-auto",children:"Přihlaste se k newsletteru a dostanete od nás uvítací slevu 10% s QR kódem přímo do emailu"}),e.jsxs(n,{to:"/newsletter",className:"inline-flex items-center gap-3 bg-copper-600 text-parchment-50 px-10 py-4 rounded-vintage font-heading font-bold text-lg shadow-vintage hover:shadow-vintage-lg hover:bg-copper-700 transition-all duration-300 transform hover:scale-105",children:[e.jsx(c,{className:"w-5 h-5"}),"Přihlásit k odběru"]})]})})}),e.jsx("footer",{className:"bg-oak-900 text-parchment-300 py-12 lg:py-16",children:e.jsxs("div",{className:"max-w-content mx-auto container-padding",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12 mb-12",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[e.jsxs("div",{className:"bg-oak-800 px-2 py-1 rounded-vintage border border-copper-600",children:[e.jsx("span",{className:"block text-xs font-accent text-copper-400 tracking-widest",children:"EST."}),e.jsx("span",{className:"block text-lg font-heading font-bold text-parchment-100",children:"1918"})]}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-2xl font-heading font-bold text-parchment-100",children:"Stoletá"}),e.jsx("span",{className:"block text-xs font-body italic text-parchment-400 tracking-wide",children:"Hostinec"})]})]}),e.jsx("p",{className:"text-parchment-400 text-sm leading-relaxed mb-6",children:"Navazujeme na stoletou tradici pohostinství v Kolíně – srdcem i chutí."}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("a",{href:"https://www.instagram.com/restauracestoleta/",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 bg-oak-800 rounded-vintage flex items-center justify-center text-parchment-400 hover:bg-copper-600 hover:text-parchment-50 transition-all duration-300",children:e.jsx(S,{className:"w-5 h-5"})}),e.jsx("a",{href:"https://www.facebook.com/restauracestoleta",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 bg-oak-800 rounded-vintage flex items-center justify-center text-parchment-400 hover:bg-copper-600 hover:text-parchment-50 transition-all duration-300",children:e.jsx(_,{className:"w-5 h-5"})})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-heading font-bold text-parchment-100 mb-6",children:"Rychlé odkazy"}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("a",{href:"#about",className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"O nás"}),e.jsx("a",{href:"#services",className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"Služby"}),e.jsx(n,{to:"/menu",onClick:()=>window.scrollTo(0,0),className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"Menu"}),e.jsx(n,{to:"/specialties",onClick:()=>window.scrollTo(0,0),className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"Speciality"}),e.jsx(n,{to:"/gallery",onClick:()=>window.scrollTo(0,0),className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"Galerie"}),e.jsx(n,{to:"/news",onClick:()=>window.scrollTo(0,0),className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"Aktuality"}),e.jsx("a",{href:"#contact",className:"block text-parchment-400 hover:text-copper-400 transition-colors duration-300 text-sm",children:"Kontakt"})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-heading font-bold text-parchment-100 mb-6",children:"Kontakt"}),e.jsxs("div",{className:"space-y-3 text-parchment-400 text-sm",children:[e.jsx("p",{children:"Kutnohorská 33"}),e.jsx("p",{children:"280 02 Kolín"}),e.jsx("p",{className:"pt-2",children:"+420 721 181 666"}),e.jsx("p",{children:"[email protected]"})]})]})]}),e.jsxs("div",{className:"pt-8 border-t border-oak-800",children:[e.jsx("div",{className:"text-center mb-4",children:e.jsxs("p",{className:"text-parchment-500 text-sm",children:["© ",(new Date).getFullYear()," Hostinec 
1Stoletá. Všechna práva vyhrazena."]})}),e.jsx("div",{className:"text-center mb-4",children:e.jsx(n,{to:"/ochrana-osobnich-udaju",className:"text-parchment-500 hover:text-copper-400 transition-colors text-xs",children:"Ochrana osobních údajů"})}),e.jsxs("div",{className:"text-center text-parchment-600 text-xs space-y-1",children:[e.jsx("p",{children:"Provozovatel: Karel Sojka"}),e.jsx("p",{children:"IČO: 76472469"})]})]})]})}),Q&&e.jsx(l,{images:O,initialIndex:ee,onClose:()=>W(!1)}),e.jsx(T,{isOpen:ae,onClose:()=>{se(!1),localStorage.setItem("newsletter_popup_seen","true")}}),e.jsx(a,{})]})}export{Z as HomePage};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.