/* ===================== */
/*  Color System: Bold Emerald on White */
/* ===================== */
:root{
  --primary: #166534;      /* deep emerald */
  --primary-rgb: 22, 101, 52; /* #166534 */
  --primary-hover: #14532D;
  --accent: #22C55E;       /* links/hover accents */
  --bg: #FFFFFF;           /* page background */
  --tint: #F0FDF4;         /* subtle section background */
  --border: #DCFCE7;       /* borders/lines */
  --text: #0B3B24;         /* body text (dark green) */
  --on-primary: #FFFFFF;   /* text on primary */
  --radius: 16px;
  --shadow: 0 10px 28px rgba(0,0,0,.08);
  --container-w: 1100px;
}

/* ===================== */
/* Base / Reset */
/* ===================== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img{ max-width: 100%; height: auto; display: block; }

.container{
  width: min(var(--container-w), 92vw);
  margin: 0 auto;
}

/* Skip link for accessibility */
.skip-link{
  position: absolute; left: -9999px; top: -9999px;
}
.skip-link:focus{
  left: 16px; top: 16px; z-index: 1000;
  background: var(--primary); color: var(--on-primary);
  padding: 8px 12px; border-radius: 8px;
}

/* ===================== */
/* Header / Navbar */
/* ===================== */
.site-header{
  background: var(--primary);
  color: var(--on-primary);
}

/* Top bar */
.nav{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}

/* Brand */
.brand{
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: clamp(1.1rem, 1.2vw + .9rem, 1.6rem);
}

/* Menu container using <details> to get burger behavior on mobile */
.menu{
  position: relative;
  color: var(--on-primary);
  z-index: 20;
}

/* Burger button (mobile default) */
.menu-toggle{
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--on-primary);
  background: transparent;
  line-height: 1;
}
.menu-toggle svg{ display: block; }
.menu-toggle::-webkit-details-marker{ display: none; }
.menu[open] .menu-toggle{ background: rgba(255,255,255,.08); }

/* Links (hidden by default on mobile) */
.nav-links{ display: none; }
.nav-links a{
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links a:hover{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-links a[aria-current="page"]{
  color: var(--on-primary);
  outline: 2px solid rgba(255,255,255,.25);
  outline-offset: 2px;
  border-radius: 8px;
}

/* --- Mobile panel (<840px) --- */
@media (max-width: 839px){
  .menu[open] .nav-links{
    display: grid;
    gap: 6px;
    position: absolute; right: 0; top: calc(100% + 10px);
    background: var(--primary);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.2);
    min-width: 220px;
  }
}

/* --- Desktop row (>=840px) --- */
@media (min-width: 840px){
  .menu-toggle{ display: none; }
  .nav-links{
    display: flex;
    gap: 14px;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
}

/* ===================== */
/* Hero */
/* ===================== */
.hero{
  position: relative;
  min-height: clamp(420px, 55vh, 680px);
  border-radius: 0;               /* flush with emerald header */
  overflow: hidden;
}

.hero-image{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.15), rgba(0,0,0,.05));
}

/* Center the whole panel in the hero */
.hero-content{
  position: relative; z-index: 1;
  height: 100%;
  display: grid;
  align-items: center;            /* ⬅️ centers vertically */
  justify-content: center;        /* ⬅️ centers horizontally */
  place-items: center;                 /* ⬅️ centers horizontally + vertically */
  padding: clamp(24px, 6vw, 48px) 0;
  color: #fff;
}
.hero-text{ padding: 0 4vw; }
.hero-content .hero-badge{ margin: 0 4vw 12px auto; }

.hero-text h1{
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem);
  line-height: 1.05;
  letter-spacing: .6px;
}
.hero-text p{
  margin: 0;
  max-width: 60ch;
  color: #f0f6f3;
}

.hero-badge{
  width: min(260px, 40vw);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  border-radius: 12px;
}

.hero-panel{
  background: rgba(var(--primary-rgb), 0.90);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  color: #fff;

  display: grid;
  grid-template-columns: 1fr auto;     /* text + badge */
  gap: clamp(12px, 2.5vw, 24px);
  align-items: end;

  padding: clamp(16px, 3vw, 28px);
  margin: 0 auto;                      /* ⬅️ center horizontally */
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  backdrop-filter: saturate(120%) blur(2px);
  width: min(900px, calc(100% - 8vw)); /* ⬅️ keep nice side padding */
}

/* Panel contents */
.hero-panel .hero-text h1{
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.2vw + 1rem, 3.5rem);
  line-height: 1.05;
  letter-spacing: .6px;
  color: #fff;
}
.hero-panel .hero-text p{
  margin: 0;
  max-width: 60ch;
  color: #f1fff6;
}
.hero-panel .hero-badge{
  justify-self: end;
  width: min(220px, 35vw);
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

/* Stack on small screens */
@media (max-width: 900px){
  .hero-panel{
    grid-template-columns: 1fr;        /* badge under text */
    width: min(680px, calc(100% - 8vw));
  }
  .hero-panel .hero-badge{
    justify-self: start;
    width: min(180px, 45vw);
    margin-top: 8px;
  }
}

/* ===================== */
/* Sections */
/* ===================== */
.section{
  padding: clamp(36px, 6vw, 72px) 0;
  background: var(--bg);
}
.section--tint{
  background: var(--tint);        /* subtle depth area */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
}
.split--reverse{ grid-template-columns: .9fr 1.1fr; }
@media (max-width: 920px){
  .split,
  .split--reverse{
    grid-template-columns: 1fr;
  }
}

.text h2{
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);
  color: var(--primary);
}
.text p{
  margin: 0;
  color: var(--text);
}

.figure{
  margin: 0;
}
.figure img{
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);   /* card border guidance */
}

/* === Footer === */
.site-footer{
  margin-top: 40px;
  background: var(--tint);
  border-top: 1px solid var(--border);
  color: var(--text);
}
.footer-grid{
  display: grid;
  gap: 22px;
  padding: 22px 0;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; /* brand + 4 columns */
  font-size: 15px;
}
@media (max-width: 960px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer-title{ margin: 0 0 4px; color: var(--primary); }
.footer-tagline{ margin: 0; opacity: .85; }

.footer-grid h4{
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--primary);
}
.footer-grid p{ margin: 0; }
.footer-grid a{
  color: var(--primary);
  text-decoration: none;
}
.footer-grid a:hover{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-hours ul{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px;
  
}

.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 12px 0 18px;
  display: flex; justify-content: space-between; align-items: center;
}
/* Footer bottom text */

/* ===================== */
/* Global link style (content areas) */
/* ===================== */
a{
  color: var(--accent);
}
a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Focus outlines for keyboard users */
:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===== Section title (optional) ===== */
.section-title{
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
  color: var(--primary);
}

/* ===== Carousel ===== */
.carousel{
  /* theme + sizing */
  --gap: 16px;
  --btn-size: 42px;
  --cols: 4;                 /* default visible columns on wide screens */
  margin-top: 8px;
}

@media (max-width: 1600px){ .carousel{ --cols: 4; } }
@media (max-width: 1280px){ .carousel{ --cols: 4; } }
@media (max-width: 1024px){ .carousel{ --cols: 3; } }
@media (max-width: 768px) { .carousel{ --cols: 2; --gap: 10px; --btn-size: 38px; } }
@media (max-width: 520px) { .carousel{ --cols: 2; --gap: 8px;  --btn-size: 34px; } }

.carousel__viewport{
  position: relative;
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}

.carousel__track{
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;                 
  scrollbar-color: var(--primary) transparent;
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;   /* optional: avoid layout shift */
}
.carousel__track::-webkit-scrollbar{
  height: 10px;                          /* horizontal bar height */
}

.carousel__track::-webkit-scrollbar-track{
  background: transparent;
}

.carousel__track::-webkit-scrollbar-thumb{
  background: var(--primary);
  border-radius: 999px;
  border: 2px solid transparent;         /* “pill” look */
  background-clip: content-box;
}

#gallery-carousel.dragging, 
#gallery-carousel.dragging *{ cursor: grabbing !important; }
#gallery-carousel .carousel__tile img{ user-select: none; }

.carousel__tile{
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  aspect-ratio: 1 / 1;            /* squares */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  user-select: none;
}
.carousel__tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  display: block;
}

/* Nav buttons */
.carousel__btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: var(--btn-size); height: var(--btn-size);
  display: grid; place-items: center;
  background: var(--primary);
  color: var(--on-primary);
  border: 1px solid var(--primary-hover);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.carousel__btn:hover{ background: var(--primary-hover); }
.carousel__btn:active{ transform: translateY(-50%) scale(.98); }
.carousel__btn:disabled{ opacity: .45; cursor: default; }

.carousel__btn.prev{ left: 8px; }
.carousel__btn.next{ right: 8px; }

/* Keyboard focus ring */
.carousel :focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
/* ===== Long banner carousel (container width, smaller height) ===== */
.long-carousel{
  --btn-size: 42px;
  --panel-bg: var(--tint);
  --panel-border: var(--border);
  --btn-bg: var(--primary);
  --btn-bg-hover: var(--primary-hover);
  --btn-fg: var(--on-primary);
  --radius: 16px;
  --shadow: 0 10px 28px rgba(0,0,0,.10);

  /* Height kept modest using clamp (min, preferred by viewport, max) */
  --height: clamp(220px, 32vw, 420px);
}

.long-carousel .lc-viewport{
  position: relative;
  width: 100%;
  height: var(--height);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.long-carousel .lc-track{
  display: flex;
  width: 100%; height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.long-carousel .lc-track::-webkit-scrollbar{ display: none; }

.long-carousel .lc-slide{
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  user-select: none;
}
.long-carousel .lc-slide img{
  width: 100%; height: 100%;
  object-fit: cover;         /* crop gracefully to the banner area */
  display: block;
  -webkit-user-drag: none;
}

/* Nav buttons */
.long-carousel .lc-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: var(--btn-size); height: var(--btn-size);
  display: grid; place-items: center;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg-hover);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
  z-index: 2;
}
.long-carousel .lc-nav:hover{ background: var(--btn-bg-hover); }
.long-carousel .lc-nav:active{ transform: translateY(-50%) scale(.98); }
.long-carousel .lc-nav:disabled{ opacity: .45; cursor: default; }
.long-carousel .lc-prev{ left: 10px; }
.long-carousel .lc-next{ right: 10px; }

/* Keyboard focus ring */
.long-carousel :focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Slightly taller on very small screens if you prefer */
@media (max-width: 520px){
  .long-carousel{ --height: clamp(200px, 45vw, 360px); }
}


/* ===== Menu page bits ===== */
.page-title{
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  color: var(--primary);
}
.page-subtitle{
  margin: 0;
  color: var(--text);
}

/* Badges (V, GF, NEW) */
.badge{
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 2px 6px;
  margin-left: 6px;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: 999px;
  vertical-align: middle;
}
.badge--outline{
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* In-page subnav */
.menu-subnav{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.menu-subnav a{
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--primary);
  background: #fff;
}
.menu-subnav a:hover{
  background: var(--tint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Section headings */
.menu-heading{
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
  color: var(--primary);
}

/* Grid of cards */
.menu-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.5vw, 22px);
}
@media (max-width: 760px){
  .menu-grid{ grid-template-columns: 1fr; }
}

/* Cards */
.menu-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(12px, 2vw, 18px);
}

/* Item rows */
.menu-list{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.menu-item{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.menu-item:last-child{
  border-bottom: none;
  padding-bottom: 0;
}
.menu-name{
  font-weight: 600;
  color: var(--text);
}
.menu-price{
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* Note */
.menu-note{
  margin-top: 12px;
  color: var(--text);
  opacity: .85;
}


/* ===== About page bits ===== */
/* Hero (uses your existing hero styles + translucent emerald panel) */
.lead{ font-size: clamp(1rem, .35vw + 1rem, 1.15rem); }

/* Split layout */
.split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}
.split__media img{
  width: 100%; height: auto; display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
}

/* Values */
.values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.5vw, 22px);
}
@media (max-width: 1000px){ .values-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .values-grid{ grid-template-columns: 1fr; } }

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(12px, 2vw, 18px);
}
.card h3{ margin: 0 0 6px; color: var(--primary); }

/* Team */
.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.5vw, 22px);
}
@media (max-width: 1000px){ .team-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .team-grid{ grid-template-columns: 1fr; } }

.team-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.team-card img{
  width: 100%; height: 220px; object-fit: cover; display: block;
}
.team-body{
  padding: 12px 14px 16px;
}
.team-body .role{
  margin: 0 0 6px;
  color: var(--primary);
  font-weight: 600;
}

/* Visit callout */
.callout{
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(14px, 2.5vw, 20px);
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(12px, 2.2vw, 20px);
  align-items: center;
}
.callout-media{
  width: 100%; height: 260px; object-fit: cover; border-radius: 12px; display:block;
  border: 1px solid var(--border);
}
.callout .button{
  display: inline-block;
  padding: 10px 14px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--primary-hover);
}
.callout .button:hover{ background: var(--primary-hover); }
@media (max-width: 800px){
  .callout{ grid-template-columns: 1fr; }
  .callout-media{ height: 220px; }
}

/* Accessible hide utility (if you don’t have one yet) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Footer social icon */
.footer-nav a.social-link{
  display:inline-grid; place-items:center;
  width:40px; height:40px; border-radius:999px;
  background:#fff; border:1px solid var(--border);
  color:var(--primary); text-decoration:none; line-height:0;
  transition:border-color .15s ease,color .15s ease,transform .1s ease;
  vertical-align:middle;
}
.footer-nav a.social-link:hover{ border-color:var(--accent); color:var(--accent); }
.footer-nav a.social-link:active{ transform:scale(.97); }
.footer-nav a.social-link .icon{ width:20px; height:20px; fill:currentColor; }

/* If you prefer icon + text pill */
.footer-nav a.social-link.with-text{
  width:auto; height:auto; padding:8px 10px; gap:8px;
  display:inline-flex; align-items:center;
}
.footer-nav a.social-link.with-text .icon{ width:18px; height:18px; }

/* Brand: logo + name on one line */
.brand{
  display: inline-flex;           /* keep logo + text on one line */
  align-items: center;            /* vertical alignment */
  gap: 10px;                      /* space between logo and text */
  white-space: nowrap;            /* prevent wrapping */
  text-decoration: none;
  color: white;
  font-weight: 700;
  line-height: 1;                 /* tighter alignment with the icon */
}

.brand__logo{
  width: 40px; height: 40px;      /* control size only here */
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text{ display: inline-block; }

/* If your header container is flex, ensure it doesn't squeeze the brand */
.nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.nav .brand{ flex: 0 1 auto; }    /* allow brand to keep its width */