(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{2487:function(e,t,r){Promise.resolve().then(r.t.bind(r,2853,23)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.t.bind(r,8326,23))},5392:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Navbar}});var a=r(7437),n=r(2265),s=r(1396),l=r.n(s),i=r(4033);let o=[{href:"/",label:"Home"},{href:"/camping",label:"Camping"},{href:"/rentals",label:"Rentals"},{href:"/retreats",label:"Retreats"},{href:"/weddings",label:"Weddings"},{href:"/contact",label:"Contact"}];function Navbar(){let[e,t]=(0,n.useState)(!1),[r,s]=(0,n.useState)(!1),c=(0,i.usePathname)(),d="/"===c;(0,n.useEffect)(()=>{let handleScroll=()=>t(window.scrollY>60);return window.addEventListener("scroll",handleScroll,{passive:!0}),()=>window.removeEventListener("scroll",handleScroll)},[]),(0,n.useEffect)(()=>s(!1),[c]);let h=d&&!e&&!r;return(0,a.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 transition-all duration-300 ".concat(h?"bg-transparent":"bg-forest-800/95 backdrop-blur-sm shadow-lg"),children:(0,a.jsxs)("nav",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between h-16 md:h-20",children:[(0,a.jsxs)(l(),{href:"/",className:"flex items-center gap-3 group",children:[(0,a.jsx)("span",{className:"text-2xl",children:"\uD83E\uDD85"}),(0,a.jsxs)("div",{className:"leading-tight",children:[(0,a.jsx)("span",{className:"block font-serif text-white font-bold text-lg md:text-xl group-hover:text-amber-400 transition-colors",children:"Eagles Nest"}),(0,a.jsx)("span",{className:"block text-amber-400 text-[10px] uppercase tracking-widest font-medium -mt-0.5",children:"Retreat & Spa"})]})]}),(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-1",children:[o.map(e=>(0,a.jsx)(l(),{href:e.href,className:"px-4 py-2 rounded-lg font-medium text-sm transition-colors ".concat(c===e.href?"text-amber-400":"text-white/90 hover:text-white hover:bg-white/10"),children:e.label},e.href)),(0,a.jsx)("a",{href:"tel:2507182675",className:"ml-3 btn-primary text-sm !px-5 !py-2.5",children:"\uD83D\uDCDE 250 718-2675"})]}),(0,a.jsx)("button",{className:"md:hidden p-2 rounded-lg text-white hover:bg-white/10 transition-colors",onClick:()=>s(!r),"aria-label":"Toggle menu",children:(0,a.jsxs)("div",{className:"w-6 flex flex-col gap-1.5",children:[(0,a.jsx)("span",{className:"block h-0.5 bg-white transition-all duration-200 ".concat(r?"rotate-45 translate-y-2":"")}),(0,a.jsx)("span",{className:"block h-0.5 bg-white transition-all duration-200 ".concat(r?"opacity-0":"")}),(0,a.jsx)("span",{className:"block h-0.5 bg-white transition-all duration-200 ".concat(r?"-rotate-45 -translate-y-2":"")})]})})]}),(0,a.jsx)("div",{className:"md:hidden overflow-hidden transition-all duration-300 ".concat(r?"max-h-96 pb-4":"max-h-0"),children:(0,a.jsxs)("div",{className:"flex flex-col gap-1 pt-2",children:[o.map(e=>(0,a.jsx)(l(),{href:e.href,className:"px-4 py-3 rounded-lg font-medium transition-colors ".concat(c===e.href?"text-amber-400 bg-white/10":"text-white hover:bg-white/10"),children:e.label},e.href)),(0,a.jsx)("a",{href:"tel:2507182675",className:"mt-2 btn-primary !rounded-xl text-center justify-center",children:"\uD83D\uDCDE Reserve: 250 718-2675"})]})})]})})}},2853:function(){},622:function(e,t,r){"use strict";/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var a=r(2265),n=Symbol.for("react.element"),s=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function q(e,t,r){var a,o={},c=null,d=null;for(a in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)s.call(t,a)&&!i.hasOwnProperty(a)&&(o[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===o[a]&&(o[a]=t[a]);return{$$typeof:n,type:e,key:c,ref:d,props:o,_owner:l.current}}t.jsx=q,t.jsxs=q},7437:function(e,t,r){"use strict";e.exports=r(622)},1396:function(e,t,r){e.exports=r(8326)},4033:function(e,t,r){e.exports=r(94)}},function(e){e.O(0,[326,971,472,744],function(){return e(e.s=2487)}),_N_E=e.O()}]);