/* styles.css */

:root{
  --bg:#d5cfc0;
  --ink:#2a2620;
  --muted:#5b5448;
  --muted2:rgba(42,38,32,.65);
  --accent:#b25b3f;
  --line:rgba(42,38,32,.22);
  --field:rgba(255,255,255,.55);
  --field2:rgba(255,255,255,.35);
  --max:1100px;
  --headerH:72px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Georgia,"Times New Roman",Times,serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.7;
  text-rendering:optimizeLegibility;
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

img{
  max-width:100%;
}

/* HEADER */
header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--bg);
}

header::after{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(to right, transparent, var(--line), transparent);
}

.topbar{
  height:var(--headerH);
  max-width:var(--max);
  margin:0 auto;
  padding:0 1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.menu-toggle{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:44px;
  height:44px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(42,38,32,.28);
  background:rgba(255,255,255,.32);

  color:var(--ink);
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease,
    opacity .25s ease;
}

.menu-toggle:hover{
  background:rgba(255,255,255,.58);
  border-color:rgba(42,38,32,.45);
  transform:translateX(-50%) translateY(-2px);
  opacity:.96;
}

.nav-desktop{display:none}

.nav-desktop ul,
.nav-mobile ul{
  list-style:none;
  margin:0;
  padding:0;
}

.nav-desktop ul{
  display:flex;
  gap:.9rem;
  flex-wrap:wrap;
  justify-content:center;
}

.nav-desktop a,
.nav-mobile a{
  display:block;
  padding:.70rem .40rem;
  font-weight:600;
  color:var(--muted);
  letter-spacing:.02em;
  font-size:.85rem;
}

.nav-desktop a:hover,
.nav-mobile a:hover{
  color:var(--ink);
  text-decoration:none;
}

.nav-mobile{
  display:none;
  text-align:center;
  background:var(--bg);
  padding:.75rem 1rem 1.1rem;
}

.nav-mobile.open{display:block}

.nav-mobile ul{
  display:flex;
  flex-direction:column;
  gap:.45rem;
}

@media (min-width:721px){
  .menu-toggle{display:none}
  .nav-desktop{display:block}
  .nav-mobile{display:none!important}
}

/* LOGO */
.logo-block{
  max-width:var(--max);
  margin:0 auto;
  padding:4rem 1rem 3rem;
  text-align:center;
}

.logo-img{
  width:min(260px,70vw);
  height:auto;
  display:inline-block;
  margin-bottom:1rem;
}

.reopening{
  margin:.9rem 0 0;
  font-size:1.15rem;
  font-style:italic;
  color:rgba(42,38,32,.72);
  letter-spacing:.04em;
}

/* TAGLINE */
.pub-tagline{
  margin:.35rem 0 0;

  font-family:
    "Baskerville",
    "Goudy Old Style",
    "Palatino Linotype",
    Georgia,
    serif;

  font-size:1.25rem;
  font-style:italic;
  letter-spacing:.08em;

  color:rgba(42,38,32,.72);

  text-align:center;
}


/* RESERVE BUTTON */
.reserve-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:2rem;
  padding:1rem 2rem;
  min-width:220px;
  border:1px solid rgba(42,38,32,.28);
  background:rgba(255,255,255,.32);
  color:var(--ink);
  font-size:.95rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:background .25s ease, transform .25s ease, border-color .25s ease;
}

.reserve-button:hover{
  background:rgba(255,255,255,.58);
  border-color:rgba(42,38,32,.45);
  transform:translateY(-2px);
  text-decoration:none;
}

/* SECTIONS */
section.section{
  background:var(--bg);
  scroll-margin-top:calc(var(--headerH) + 16px);
}

.section + .section{
  position:relative;
}

.section + .section::before{
  content:"";
  display:block;
  height:1px;
  width:min(var(--max), calc(100% - 2rem));
  margin:0 auto;
  background:linear-gradient(to right, transparent, var(--line), transparent);
}

.section-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:4.5rem 1.5rem;
}

/* TYPOGRAPHY */
h2{
  margin:0 0 1.4rem;
  font-size:clamp(1.8rem,2.5vw,2.25rem);
  letter-spacing:.02em;
  line-height:1.15;
  font-weight:700;
  color:var(--ink);
}

.lede{
  margin:.25rem 0 0;
  color:var(--muted2);
  font-size:1.05rem;
  line-height:1.9;
  max-width:62ch;
}

p{
  margin:.85rem 0;
}

/* GRID */
.grid{
  display:grid;
  gap:2rem;
}

#visit .grid{
  gap:5rem;
}

@media (min-width:900px){
  .cols-2{grid-template-columns:1fr 1fr}
  .cols-3{grid-template-columns:repeat(3,1fr)}
}

/* FULL WIDTH IMAGE */
.image-only{
  padding:0;
  margin:0;
}

.image-only .section-inner{
  padding:0;
  max-width:none;
}

.image-only img{
  display:block;
  width:100vw;
  max-width:100vw;
  height:60vh;
  object-fit:cover;
  margin-left:calc(50% - 50vw);
}

@media (min-width:900px){
  .image-only img{
    height:auto;
    object-fit:contain;
  }
}

/* MENU IMAGES */
.menu-images{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2rem;
  margin-top:2rem;
}

.menu-image-button{
  display:block;
  width:100%;
  padding:0;
  border:none;
  background:none;
  cursor:pointer;

  transition:
    transform .28s ease,
    opacity .28s ease,
    filter .28s ease;
}

.menu-image-button:hover{
  transform:translateY(-4px);
  opacity:.96;
  filter:brightness(1.02);
}

.menu-image-button img{
  width:100%;
  display:block;
  border:1px solid rgba(42,38,32,.18);

  transition:
    box-shadow .28s ease,
    border-color .28s ease;
}

.menu-image-button:hover img{
  border-color:rgba(42,38,32,.3);
  box-shadow:0 10px 28px rgba(42,38,32,.12);
}

/* CONTACT FORM */
.contact-form{
  max-width:520px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  margin-bottom:1rem;
}

label{
  font-weight:600;
  letter-spacing:.15px;
}

input,
textarea{
  width:100%;
  font-family:inherit;
  font-size:1rem;
  padding:.75rem .85rem;
  border:1px solid var(--line);
  background:var(--field);
  color:var(--ink);
  outline:none;
}

input:focus,
textarea:focus{
  background:rgba(255,255,255,.65);
  border-color:rgba(42,38,32,.45);
}

textarea{
  min-height:150px;
  resize:vertical;
}

button{
  font-family:inherit;
}

.contact-form button{
  padding:.85rem 1.35rem;
  border:1px solid rgba(42,38,32,.45);
  background:rgba(243,239,230,.6);
  color:var(--ink);

  font-weight:700;
  letter-spacing:.04em;

  cursor:pointer;

  transition:
    background .2s ease,
    transform .2s ease,
    border-color .2s ease;
}

.contact-form button:hover{
  background:rgba(243,239,230,.9);
  border-color:rgba(42,38,32,.55);
  transform:translateY(-1px);
}

.honeypot{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}

/* ADDRESS / HOURS */
.small-title{
  margin:1.5rem 0 .5rem;
  font-weight:700;
  letter-spacing:.18px;
}

.opening-hours{
  margin:.6rem 0 0;
  color:var(--muted2);
}

.opening-hours div{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  max-width:360px;
  padding:.3rem 0;
  border-bottom:1px dashed rgba(42,38,32,.18);
}

.opening-hours div:last-child{
  border-bottom:none;
}

/* MAP */
.map-wrap{
  max-width:860px;
}

.map{
  width:100%;
  min-height:420px;
  border:0;
  background:var(--field2);
}

/* FOOTER */
footer{
  background:var(--bg);
  padding:3rem 1rem 3.5rem;
  text-align:center;
}

footer::before{
  content:"";
  display:block;
  height:1px;
  width:min(var(--max), calc(100% - 2rem));
  margin:0 auto 2rem;
  background:linear-gradient(to right, transparent, var(--line), transparent);
}

.social{
  display:flex;
  justify-content:center;
  gap:2rem;
  margin-bottom:1.5rem;
}

.social a{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(42,38,32,.78);
  transition:transform .2s ease, color .2s ease, opacity .2s ease;
}

.social a:hover{
  transform:translateY(-2px);
  color:#2a2620;
  opacity:.9;
  text-decoration:none;
}

.social svg{
  width:38px;
  height:38px;
  fill:currentColor;
}

.copyright{
  margin-top:1rem;
  font-size:.95rem;
  color:var(--muted);
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:1rem;
  background:rgba(42,38,32,.82);
}

.lightbox.open{
  display:flex;
}

.lightbox img{
  max-width:95vw;
  max-height:90vh;
  object-fit:contain;
  background:#fff;
}

.lightbox-close{
  position:absolute;
  top:1rem;
  right:1rem;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.5);
  background:rgba(213,207,192,.95);
  color:var(--ink);
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.lightbox-close:hover{
  background:#fff;
}

/* SIMPLE THANK YOU / ERROR PAGES */
.simple-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.simple-wrap{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:3.2rem 1rem;
  text-align:center;
}

.simple-wrap h1{
  margin:0 0 .9rem;
  font-size:clamp(1.9rem,3vw,2.4rem);
  line-height:1.1;
}

.simple-wrap p{
  color:var(--muted2);
}

.back-link{
  display:inline-block;
  margin-top:1rem;
  font-weight:600;
  color:var(--muted);
}

.back-link:hover{
  color:var(--ink);
  text-decoration:none;
}

/* MOBILE */
@media (max-width:899px){
  .section-inner{
    padding:3.2rem 1.2rem;
  }

  h2{
    margin-bottom:1rem;
  }

  #visit .grid{
    gap:3rem;
  }

  .contact-form{
    max-width:none;
  }

  .contact-form button{
    width:100%;
  }

  .field{
    margin-bottom:1rem;
  }

  .opening-hours div{
    max-width:none;
  }

  .map{
    min-height:340px;
  }

  .logo-img{
    width:min(200px,60vw);
  }
}

@media (max-width:700px){
  .menu-images{
    grid-template-columns:1fr;
    gap:1.2rem;
  }

  .reserve-button{
    margin-top:1.5rem;
    min-width:200px;
  }
}