(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[904],{1662:(e,s,l)=>{Promise.resolve().then(l.bind(l,4641))},4641:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>d});var t=l(5155),r=l(2115),a=l(8382),n=l(5239),i=l(8221),c=l(9964);function d(){let e=(0,r.useRef)(null),[s,l]=(0,r.useState)(!1),[d,o]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let s=()=>{e.current&&l(e.current.scrollTop>0)},t=e.current;return t&&t.addEventListener("scroll",s),()=>{t&&t.removeEventListener("scroll",s)}},[]);let m=Object.values(i.U);return(0,t.jsxs)("div",{ref:e,className:"min-h-screen h-88 md:h-64 overflow-y-auto",children:[(0,t.jsx)(a.A,{isScrolled:s,isMenuOpen:d,setIsMenuOpen:o}),(0,t.jsxs)("section",{className:"relative min-h-100 flex items-center justify-center text-center",children:[(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsx)("div",{className:"bg-[url('/hero.avif')] bg-cover bg-center bg-no-repeat w-full h-full"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-black/40 to-black/50"})]}),(0,t.jsx)("div",{className:"relative z-20 px-4 mt-16",children:(0,t.jsx)("h1",{className:"text-4xl md:text-6xl font-playfair font-bold text-white drop-shadow-lg",children:"MENU"})})]}),(0,t.jsxs)("main",{className:"px-4 md:px-20 max-w-screen-2xl mx-auto",children:[(0,t.jsxs)("section",{children:[(0,t.jsx)("h1",{className:"mt-16 text-4xl text-center font-bold text-green-900 mb-8",children:"Top Picks"}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6 justify-items-center",children:m.map((e,s)=>(0,t.jsx)("div",{className:"group w-80 h-64 [perspective:1000px] cursor-pointer",children:(0,t.jsxs)("div",{className:"relative w-full h-full transition-transform duration-800 [transform-style:preserve-3d] group-hover:[transform:rotateY(180deg)]",children:[(0,t.jsx)("div",{className:"absolute w-full h-full [backface-visibility:hidden] rounded-md overflow-hidden border border-gray-200 shadow-md",children:(0,t.jsx)(n.default,{src:e.image,alt:e.name,width:300,height:300,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"absolute w-full h-full [backface-visibility:hidden] [transform:rotateY(180deg)] rounded-md bg-gradient-to-bl from-green-900 to-green-800 text-white p-4 flex flex-col justify-center items-center text-center shadow-md",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2",children:e.name}),(0,t.jsx)("p",{className:"text-sm mb-4",children:e.description}),(0,t.jsx)("span",{className:"font-bold",children:e.price})]})]})},s))})]}),(0,t.jsx)("section",{className:"text-center mt-16 mb-12",children:(0,t.jsx)("p",{className:"text-slate-600 max-w-2xl mx-auto text-sm",children:"To keep things simple, we provide a single PDF with all of our breakfast, lunch, dinner, and drink offerings. You can view it right here or download it to peruse offline."})}),(0,t.jsxs)("section",{className:"flex flex-col items-center justify-center mb-20",children:[(0,t.jsx)("div",{className:"w-full h-[700px] border-2 border-gray-300 shadow-lg rounded-lg overflow-hidden",children:(0,t.jsx)("iframe",{src:"/menu.pdf",className:"w-full h-full",title:"Kavana Penida Menu PDF"})}),(0,t.jsx)("a",{href:"/menu.pdf",download:!0,className:"mt-4 inline-block bg-green-900 text-white px-6 py-2 rounded-full text-sm hover:bg-green-800 transition-all",children:"Download PDF"})]})]}),(0,t.jsx)("div",{className:"mt-40",children:(0,t.jsx)(c.A,{})})]})}}},e=>{e.O(0,[894,84,441,255,358],()=>e(e.s=1662)),_N_E=e.O()}]);