*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --cafe-bg:#f8f5ef;
  --cafe-text:#2b2623;
  --cafe-espresso:#3b2f2f;
  --cafe-brown:#5a3c30;
  --cafe-caramel:#c58b3b;
  --cafe-gold:#e3b267;
  --cafe-cream:#f5eee6;
  --cafe-sage:#7c8f5b;
  --cafe-soft-border:#e4d5c5;

  --dark-1:#0b0f14;
  --dark-2:#111827;
  --dark-3:#1f2937;
  --blue-1:#3b82f6;
  --blue-2:#06b6d4;
  --light-text:#e5e7eb;
  --muted-text:#94a3b8;
  --danger:#c0392b;
  --shadow-lg:0 20px 60px rgba(0,0,0,0.16);
  --shadow-md:0 10px 30px rgba(0,0,0,0.08);
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.6;
  color:var(--cafe-text);
  background:linear-gradient(180deg,#fbf8f3 0%, #f8f5ef 100%);
}

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

.container{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
}

.hidden{
  display:none !important;
}

/* HEADER */
header{
     background:linear-gradient(135deg,var(--cafe-espresso) 0%, var(--cafe-caramel) 50%, var(--cafe-espresso) 100%);
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 4px 20px rgba(0,0,0,0.22);
  border-bottom:1px solid rgba(255,255,255,0.08);
  height: 90px;
}

header::before{
  content:"";
  display:flex;
  height:3px;
  background:linear-gradient(90deg,var(--blue-1),var(--blue-2),var(--blue-1));
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1rem 0;
  gap:1rem;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-logo{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:50%;
  background:#fff;
  padding:4px;
  border:2px solid rgba(255,255,255,0.16);
  box-shadow:0 4px 14px rgba(0,0,0,0.22);
  flex:0 0 auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.08;
}

.brand-name{
  font-size:1.45rem;
  font-weight:800;
  color:#fff;
  letter-spacing:-0.4px;
  text-shadow:2px 2px 4px rgba(0,0,0,0.25);
}

.brand-sub{
  font-size:0.78rem;
  color:#dbeafe;
  letter-spacing:1.8px;
  text-transform:uppercase;
  margin-top:4px;
}

.nav-actions{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  align-items:center;
}

/* HERO */
.hero{
  background:linear-gradient(135deg,var(--cafe-espresso), rgba(90,60,48,0.96) 50%, var(--cafe-espresso) 100%);
  color:#fff;
  text-align:center;
  padding:5rem 2rem;
  border-radius:0 0 28px 28px;
  box-shadow:var(--shadow-md);
}

.hero-box{
  max-width:1000px;
  margin:0 auto;
}

.hero-box h1{
  font-size:3.2rem;
  margin-bottom:1rem;
  font-weight:800;
  text-shadow:3px 3px 8px rgba(0,0,0,0.35);
}

.hero-box p{
  font-size:1.2rem;
  margin-bottom:2rem;
  color:#f9f0e4;
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.95rem 1.4rem;
  border-radius:999px;
  font-weight:700;
  font-size:1rem;
  border:none;
  cursor:pointer;
  transition:all 0.28s ease;
  text-decoration:none;
  margin:0.25rem;
  min-height:44px;
}

.btn.primary{
  background:linear-gradient(135deg,#ffffff 0%, var(--cafe-gold) 100%);
  color:var(--cafe-espresso);
  box-shadow:0 6px 20px rgba(0,0,0,0.2);
}

.btn.primary:hover{
  transform:translateY(-3px);
  background:linear-gradient(135deg,var(--cafe-caramel) 0%, var(--cafe-brown) 100%);
  color:#fff;
}

.btn:not(.primary){
  background:#fff;
  color:var(--cafe-brown);
  border:2px solid var(--cafe-gold);
}

.btn:not(.primary):hover{
  transform:translateY(-2px);
  background:var(--cafe-cream);
}

.btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none !important;
}

/* PANELS */
.filters,
.panel{
  background:linear-gradient(135deg,#ffffff 0%, var(--cafe-cream) 100%);
  border:2px solid var(--cafe-soft-border);
  border-radius:22px;
  padding:1.5rem;
  margin-top:2rem;
  box-shadow:0 10px 35px rgba(59,47,47,0.08);
}

.filters-row,
.row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}

.stack{
  display:grid;
  gap:10px;
}

/* FORM */
input,
select,
textarea{
  width:100%;
  padding:1rem 1.1rem;
  border:2px solid var(--cafe-gold);
  border-radius:12px;
  font-size:1rem;
  background:#fff;
  color:var(--cafe-text);
  font-family:inherit;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--cafe-caramel);
  box-shadow:0 0 0 4px rgba(197,139,59,0.15);
}

textarea{
  min-height:110px;
  resize:vertical;
}

/* MENU GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,320px));
  gap:24px;
  justify-content:center;
  margin-top:2rem;
}

.card{
  width:100%;
  max-width:320px;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 40px rgba(0,0,0,0.08);
  transition:all 0.35s ease;
  border:2px solid var(--cafe-soft-border);
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 60px rgba(59,47,47,0.15);
  border-color:var(--cafe-caramel);
}

.card img{
  width:100%;
  aspect-ratio:4 / 3;
  height:auto;
  object-fit:cover;
  display:block;
  background:#f1f5f9;
}

.card-body{
  padding:1.4rem;
}

.card-body h3{
  color:var(--cafe-brown);
  margin-bottom:0.5rem;
  font-size:1.35rem;
  line-height:1.25;
}

.meta{
  color:var(--cafe-caramel);
  font-size:0.9rem;
  font-weight:700;
  margin-bottom:0.5rem;
  text-transform:capitalize;
}

.desc{
  color:#6b5a4a;
  margin:0.7rem 0 1rem;
  line-height:1.7;
  min-height:52px;
}

.price{
  font-size:1.2rem;
  font-weight:800;
  color:var(--cafe-espresso);
  margin-bottom:1rem;
}

.actions{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
}

/* GENERIC LISTS */
.list{
  display:grid;
  gap:1rem;
  margin-top:1rem;
}

.item{
  background:#fff;
  border:2px solid var(--cafe-soft-border);
  border-radius:16px;
  padding:1rem;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.item-top{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  flex-wrap:wrap;
}

.small{
  color:#6b5a4a;
  font-size:0.95rem;
}

/* MODAL */
.modal-wrap{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
  z-index:3000;
}

.modal{
  width:min(760px,100%);
  max-height:92vh;
  overflow:auto;
  background:linear-gradient(135deg,#ffffff 0%, var(--cafe-cream) 100%);
  border:2px solid var(--cafe-gold);
  border-radius:22px;
  padding:1.5rem;
  box-shadow:0 20px 60px rgba(59,47,47,0.2);
}

.danger{
  background:var(--danger) !important;
  color:#fff !important;
  border:none !important;
}

.danger:hover{
  filter:brightness(1.05);
}

/* CART */
.qty{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}

.qty button{
  width:34px;
  height:34px;
  border-radius:8px;
  border:1px solid var(--cafe-soft-border);
  background:#1f2937;
  color:#fff;
  cursor:pointer;
}

.qty span{
  min-width:22px;
  text-align:center;
  font-weight:700;
}

/* ADMIN EXISTING MENU ITEMS */
.admin-menu-card{
  display:grid;
  grid-template-columns:90px 1fr auto;
  gap:14px;
  align-items:center;
  background:#fff;
  border:2px solid var(--cafe-soft-border);
  border-radius:16px;
  padding:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  margin-bottom:12px;
}

.admin-menu-thumb{
  width:90px;
  height:90px;
  border-radius:14px;
  overflow:hidden;
  background:#f1f5f9;
}

.admin-menu-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.admin-menu-info{
  min-width:0;
}

.admin-menu-info b{
  display:block;
  font-size:1.02rem;
  color:var(--cafe-brown);
  margin-bottom:4px;
}

.admin-menu-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:stretch;
}

/* FOOTER */
/* =========================================================
   PROFESSIONAL FOOTER UPDATE
   Paste this at the VERY BOTTOM of styles.css
========================================================= */

.footer {
  position: relative;
  margin-top: 90px;
  padding: 80px 20px 28px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(227,178,103,0.18), transparent 34%),
    linear-gradient(135deg, #18110e 0%, #2f211b 48%, #0f0c0a 100%);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--cafe-caramel), var(--cafe-gold), var(--cafe-caramel));
}

.footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: rgba(227,178,103,0.10);
  border-radius: 50%;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

.footer-section {
  min-width: 0;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  border: 3px solid rgba(227,178,103,0.55);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff7e8;
}

.footer-desc {
  max-width: 420px;
  color: #d7c7b6;
  line-height: 1.8;
  font-size: 0.98rem;
}

.footer-section h3 {
  position: relative;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--cafe-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.footer-section h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--cafe-gold);
}

.footer-section a,
.footer-section p {
  color: #d7c7b6;
  font-size: 0.96rem;
}

.footer-section a {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-section a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-section a::before {
  content: "›";
  color: var(--cafe-gold);
  font-size: 1.2rem;
  line-height: 1;
}

.footer-section p {
  margin-bottom: 11px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  color: #bba998;
  font-size: 0.92rem;
}

.footer-bottom::after {
  content: "Made with purpose • Fresh food • Community first";
  color: var(--cafe-gold);
  font-weight: 700;
}

/* Footer mobile */
@media (max-width: 900px) {
  .footer {
    padding: 64px 18px 24px;
    margin-top: 64px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 56px 16px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo-img {
    width: 76px;
    height: 76px;
  }

  .footer-title {
    font-size: 1.65rem;
  }

  .footer-desc {
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom::after {
    font-size: 0.85rem;
  }
}

/* HELPERS */
h2, h3, h4{
  color:var(--cafe-brown);
}

/* RESPONSIVE */
@media (max-width:900px){
  nav{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-actions{
    width:100%;
  }

  .hero-box h1{
    font-size:2.6rem;
  }
}

@media (max-width:768px){
  .container{
    padding:0 1rem;
  }

  .hero{
    padding:4rem 1rem;
    border-radius:0 0 22px 22px;
  }

  .hero-box h1{
    font-size:2.2rem;
  }

  .hero-box p{
    font-size:1rem;
  }

  .brand-logo{
    width:48px;
    height:48px;
  }

  .brand-name{
    font-size:1.2rem;
  }

  .brand-sub{
    font-size:0.7rem;
    letter-spacing:1.2px;
  }

  .grid{
    grid-template-columns:1fr;
    justify-content:stretch;
  }

  .card{
    max-width:100%;
  }

  .footer-grid{
    text-align:left;
  }
}

@media (max-width:700px){
  .admin-menu-card{
    grid-template-columns:1fr;
  }

  .admin-menu-thumb{
    width:100%;
    height:180px;
  }

  .admin-menu-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }
}

@media (max-width:560px){
  .filters,
  .panel,
  .modal{
    padding:1rem;
  }

  .btn{
    width:100%;
  }

  .actions{
    flex-direction:column;
  }

  .qty{
    justify-content:flex-start;
  }
}




.food-detail-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:24px;
  align-items:start;
}

.food-detail-image{
  width:100%;
  border-radius:20px;
  object-fit:cover;
  aspect-ratio:4/3;
}

@media (max-width:900px){
  .food-detail-layout{
    grid-template-columns:1fr;
  }
}



/* CLEAN NAV - NO BUTTON LOOK */
.nav-clean{
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
}

.nav-clean .nav-link{
  position:relative;
  text-decoration:none;
  color:#f8f5ef;
  font-size:1.02rem;
  font-weight:600;
  letter-spacing:0.02em;
  padding:4px 0;
  transition:color 0.25s ease, opacity 0.25s ease;
}

.nav-clean .nav-link:hover{
  color:#ffffff;
  opacity:1;
}

.nav-clean .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--cafe-gold);
  transition:width 0.25s ease;
}

.nav-clean .nav-link:hover::after{
  width:100%;
}

.nav-clean .nav-link-accent{
  color:var(--cafe-gold);
  font-weight:700;
}

/* MENU GRID LOOK LIKE REFERENCE */
#menuGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px, 420px));
  gap:28px;
  justify-content:center;
  margin-top:2rem;
}

.menu-card-v2{
  background:#ece9e4;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
  border:1px solid #ddd6ce;
}

.menu-card-media{
  width:100%;
  background:#ddd;
}

.menu-card-media img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}

.menu-card-content{
  padding:24px 28px 18px;
  background:#ece9e4;
}

.menu-card-title{
  margin:0;
  color:#5d5451;
  font-size:2rem;
  line-height:1.15;
  font-weight:700;
  font-family:Georgia, "Times New Roman", serif;
}

.menu-card-footer{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #d8d0c8;
  background:#ece9e4;
}

.menu-action{
  appearance:none;
  border:none;
  background:transparent;
  text-decoration:none;
  color:#4f7e83;
  font-size:0.98rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:88px;
  cursor:pointer;
  transition:background 0.25s ease, color 0.25s ease;
}

.menu-action + .menu-action{
  border-left:1px solid #d8d0c8;
}

.menu-action:hover{
  background:#e4dfd8;
  color:#2f6369;
}

.menu-action:disabled{
  opacity:0.55;
  cursor:not-allowed;
}

.menu-action-icon{
  font-size:1.8rem;
  line-height:1;
}

.menu-action-link{
  text-decoration:none;
}

/* OPTIONAL: make your old generic card styles not interfere too much */
.card{
  all:unset;
}

/* RESPONSIVE */
@media (max-width: 768px){
  .nav-clean{
    gap:18px;
  }

  .nav-clean .nav-link{
    font-size:0.95rem;
  }

  #menuGrid{
    grid-template-columns:1fr;
  }

  .menu-card-title{
    font-size:1.65rem;
  }

  .menu-action{
    min-height:74px;
    font-size:0.9rem;
    gap:10px;
  }

  .menu-action-icon{
    font-size:1.45rem;
  }
}





.mobile-menu-btn{
  display:none;
  background:transparent;
  border:none;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
  line-height:1;
}

.nav-clean{
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
}

.nav-clean .nav-link{
  position:relative;
  text-decoration:none;
  color:#f8f5ef;
  font-size:1rem;
  font-weight:600;
  padding:4px 0;
  transition:color 0.25s ease;
}

.nav-clean .nav-link:hover{
  color:#fff;
}

.nav-clean .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--cafe-gold);
  transition:width 0.25s ease;
}

.nav-clean .nav-link:hover::after{
  width:100%;
}

.nav-clean .nav-link-accent{
  color:var(--cafe-gold);
  font-weight:700;
}

@media (max-width: 768px){
  .mobile-menu-btn{
    display:block;
  }

  #siteNav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding-top:14px;
  }

  #siteNav.open{
    display:flex;
  }

  .nav-clean .nav-link{
    width:100%;
    padding:8px 0;
  }
}


.location-section{
  padding:80px 20px;
  background:#f7f5f2;
}

.location-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;
  align-items:center;
}

.location-info h2{
  font-size:2.2rem;
  margin-bottom:10px;
  color:#2c2c2c;
}

.location-sub{
  margin-bottom:20px;
  color:#666;
  line-height:1.5;
}

.location-card{
  background:#fff;
  padding:18px;
  border-radius:12px;
  margin-bottom:15px;
  box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

.location-card h3{
  margin-bottom:6px;
  font-size:1.1rem;
  color:#444;
}

.location-actions{
  margin-top:15px;
}

.location-map iframe{
  width:100%;
  height:400px;
  border:0;
  border-radius:16px;
  box-shadow:0 8px 25px rgba(0,0,0,0.12);
}

/* MOBILE */
@media (max-width:768px){
  .location-grid{
    grid-template-columns:1fr;
  }

  .location-map iframe{
    height:300px;
  }
}







/* =========================================================
   PROFESSIONAL HEADER + RIGHT SIDE MOBILE MENU UPDATE
   Paste this at the VERY BOTTOM of styles.css
========================================================= */

/* Better professional font */
body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

/* Header polish */
header {
  min-height: 86px;
  height: auto;
  background:
    linear-gradient(135deg, rgba(59,47,47,0.98), rgba(90,60,48,0.96), rgba(197,139,59,0.92)),
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 40%);
  backdrop-filter: blur(14px);
}

header nav.container,
header nav {
  min-height: 86px;
  flex-wrap: nowrap;
  padding: 0.75rem 2rem;
}

.brand {
  cursor: pointer;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
}

.brand-name {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  white-space: nowrap;
}

.brand-sub {
  color: #f5d7a2;
}

/* Desktop nav */
.nav-clean {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
}

.nav-clean .nav-link {
  color: #fffaf2;
  font-weight: 700;
  font-size: 0.98rem;
}

.nav-clean .nav-link-accent {
  background: rgba(255,255,255,0.14);
  color: #ffe3a8;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-clean .nav-link-accent::after {
  display: none;
}

.nav-clean .nav-link-accent:hover {
  background: #fff;
  color: var(--cafe-espresso);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.13);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.22);
}

/* Make hero feel more professional */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
  background:
    linear-gradient(135deg, rgba(44,31,25,0.93), rgba(90,60,48,0.88)),
    url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(227,178,103,0.28), transparent 35%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.18));
  pointer-events: none;
}

.hero-box,
.filters,
#menuGrid {
  position: relative;
  z-index: 1;
}

.hero-box h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -1px;
}

.hero-box p {
  font-size: 1.15rem;
  max-width: 720px;
}

/* Mobile slide menu */
@media (max-width: 768px) {
  header {
    min-height: 76px;
  }

  header nav.container,
  header nav {
    min-height: 76px;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.6rem 1rem;
    gap: 10px;
  }

  .brand {
    max-width: calc(100% - 60px);
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 1.02rem;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-sub {
    font-size: 0.63rem;
    letter-spacing: 1px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    position: relative;
    z-index: 5001;
  }

  /* right-side dropdown panel */
  #siteNav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100vh;
    background:
      linear-gradient(180deg, rgba(59,47,47,0.98), rgba(20,16,14,0.98));
    padding: 96px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    transform: translateX(105%);
    transition: transform 0.32s ease;
    z-index: 5000;
    box-shadow: -18px 0 45px rgba(0,0,0,0.35);
    border-left: 1px solid rgba(255,255,255,0.12);
  }

  #siteNav.open {
    transform: translateX(0);
  }

  /* dark overlay behind menu */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 4999;
  }

  body:has(#siteNav.open)::after {
    opacity: 1;
    pointer-events: auto;
  }

  #siteNav::before {
    content: "Community Kitchen Café";
    position: absolute;
    top: 28px;
    left: 24px;
    right: 70px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
  }

  #siteNav::after {
    content: "Food with a Purpose";
    position: absolute;
    top: 58px;
    left: 24px;
    color: #e3b267;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
  }

  .nav-clean .nav-link {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    color: #fffaf2;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 1rem;
    font-weight: 750;
  }

  .nav-clean .nav-link:hover {
    background: rgba(227,178,103,0.20);
    color: #fff;
    transform: translateX(-3px);
  }

  .nav-clean .nav-link::after {
    display: none;
  }

  .nav-clean .nav-link-accent {
    background: linear-gradient(135deg, #ffffff, var(--cafe-gold));
    color: var(--cafe-espresso);
    text-align: center;
    justify-content: center;
  }

  /* when menu open, change hamburger to X */
  #siteNav.open ~ .mobile-menu-btn,
  .mobile-menu-btn.active {
    background: rgba(255,255,255,0.22);
  }

  .hero {
    padding: 4.6rem 1rem 3rem;
    border-radius: 0 0 24px 24px;
  }

  .hero-box h1 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .hero-box p {
    font-size: 1rem;
  }

  .filters {
    margin-top: 1.4rem;
  }

  #menuGrid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .menu-card-title {
    font-size: 1.55rem;
  }

  .menu-card-footer {
    grid-template-columns: 1fr;
  }

  .menu-action + .menu-action {
    border-left: none;
    border-top: 1px solid #d8d0c8;
  }

  .menu-action {
    min-height: 66px;
  }
}

/* Small phones */
@media (max-width: 430px) {
  .brand-name {
    max-width: 170px;
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  #siteNav {
    width: 88vw;
  }

  .hero-box h1 {
    font-size: 2rem;
  }
}




/* =========================================================
   FIX MOBILE MENU CLICK / ACTIVE LINKS
   Paste at bottom of styles.css
========================================================= */

@media (max-width: 768px) {
  #siteNav {
    pointer-events: auto !important;
    z-index: 6000 !important;
  }

  #siteNav.open {
    pointer-events: auto !important;
  }

  #siteNav .nav-link {
    position: relative;
    z-index: 6002 !important;
    pointer-events: auto !important;
    cursor: pointer;
  }

  .mobile-menu-btn {
    z-index: 7000 !important;
    pointer-events: auto !important;
  }

  body::after {
    z-index: 5500 !important;
  }

  body:has(#siteNav.open)::after {
    pointer-events: none !important;
  }
}