/* Maplewood Burgers. Header and hero follow the current live site. Accent orange #ef8b22. */
:root {
  --primary: #aa1e2d;
  --accent: #ef8b22;
  --dark: #111;
  --light: #f9f9fb;
  --secondary: #DC0000;
  --white: #ffffff;
  --ink: #222;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }
h1, h2, h3, h4 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
h3, h4 { font-size: 1.1rem; }
p { margin: 0 0 0.85rem; }
ul { margin: 0 0 1rem; padding: 0; }
.wrap, .container { width: 90%; max-width: 1200px; margin: 0 auto; }
.wrap.narrow { max-width: 720px; }
.container-fluid { width: 100%; max-width: 96.8%; margin: auto; }

/* ===== Header (live site) ===== */
.header {
  background: var(--dark);
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  text-transform: uppercase;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: 300px; height: auto; }
.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav a {
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--secondary); }
.nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(-1px);
}

.nav ul li { position: relative; }
.nav ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: none;
  flex-direction: column;
  background: var(--white);
  min-width: 200px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  z-index: 1000;
  gap: 0;
  text-transform: uppercase;
}
.nav ul ul::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}
.nav ul li:hover > ul,
.nav ul li:focus-within > ul { display: flex; }
.nav ul ul a {
  color: #333;
  padding: 12px 25px;
  display: block;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #f0f0f0;
}
.nav ul ul li:last-child a { border-bottom: none; }
.nav ul ul a:hover { background: #f9f9f9; color: var(--primary); }

.btn,
button.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn:hover, button.btn:hover { background: var(--white); color: var(--secondary); }
.btn.order-btn,
.btn.btn-order,
.btn.hero-btn {
  background: var(--accent);
  color: #fff;
}
.btn.order-btn:hover,
.btn.btn-order:hover,
.btn.hero-btn:hover {
  background: var(--white);
  color: var(--secondary);
}
.header-order { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  transition: 0.3s;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6.5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6.5px, -5px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: url("/img/hero-home.jpg") center/cover no-repeat;
  height: 65vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 20px;
}
.hero h1 {
  font-family: Montserrat, sans-serif;
  font-size: 80px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  letter-spacing: 0;
  color: #fff;
}
.hero .btn {
  padding: 14px 32px;
  font-size: 16px;
}

/* ===== Page content ===== */
.home-rest, .section { padding: 3rem 0 3.5rem; }
.home-rest h2, .section h2, .section h1:not(.hero h1) {
  color: #1B1B1B;
  font-family: Oswald, sans-serif;
}
.today-hours {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hours-store {
  border: 1px solid #eee;
  padding: 1rem 1.1rem;
  background: #f9f9f9;
}
.hours-name {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}
.hours-today { font-weight: 700; }
.hours-full { color: #555; font-size: 0.95rem; }
.hours-note { grid-column: 1 / -1; }
.app-badges { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; margin: 0.5rem 0 0.6rem; }
.app-badges img { height: 42px; width: auto; }
.rewards-note { color: #555; }
.menu-teaser { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid #eee; }
.teaser-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; margin: 0.8rem 0 1.2rem; }
.teaser-links a {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark);
}
.teaser-links a:hover { color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }

.order-band {
  background: var(--dark);
  color: #fff;
  padding: 2.2rem 0;
  text-align: center;
}
.order-band h2 { color: #fff; margin-bottom: 0.35rem; }
.order-band p { color: #ddd; }

/* Menu list */
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin: 1rem 0 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}
.menu-jump a {
  text-decoration: none;
  font-weight: 600;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--dark);
}
.menu-jump a:hover { color: var(--accent); }
.menu-cat { margin: 0 0 2rem; }
.menu-list { list-style: none; }
.menu-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eee;
}
.menu-list img, .menu-list .no-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f9f9f9;
}
.item-name { flex: 1; font-weight: 600; }
.item-copy { flex: 1; min-width: 0; }
.item-copy .item-name { display: block; }
.item-desc { margin: 0.15rem 0 0; font-weight: 400; color: #555; font-size: 0.98rem; }
.item-note { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--primary); font-weight: 600; }
.price { margin-left: auto; font-weight: 700; white-space: nowrap; color: var(--accent); }
.price-list li { align-items: baseline; }
.plain-list, .flavor-list { columns: 2; list-style: disc; padding-left: 1.2rem; }
.flavor-list li, .plain-list li { break-inside: avoid; margin: 0 0 0.25rem; }
.menu-image { margin: 1rem 0; }
.menu-image img { border: 1px solid #eee; width: 100%; max-width: 720px; }
.cat-note { color: #555; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 0.4rem; }
.cat-list li { align-items: flex-start; }
.cat-sec { margin: 0 0 1.6rem; }

.loc-grid { display: grid; gap: 1rem; }
.loc-card { border: 1px solid #eee; padding: 1.1rem; background: #f9f9f9; }
.loc-card h2 { margin-bottom: 0.4rem; }
.addr { font-weight: 600; }
ul.hours { list-style: none; }
ul.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
.about-photo { margin: 1rem 0; }
.about-photo img { width: 100%; }

.form label { display: block; font-weight: 600; margin: 0.6rem 0 0.2rem; }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  padding: 0.45rem 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
}
.form .row { display: grid; gap: 0.7rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0 0 0.8rem; }
.checks label { font-weight: 400; display: flex; align-items: center; gap: 0.3rem; }
.checks input { width: auto; }
.note { color: #555; }

/* ===== Footer ===== */
footer.footer, footer.site {
  background: #141519;
  color: #eee;
  padding: 3rem 0 5.5rem;
  text-align: left;
}
footer.site a { color: #fff; }
footer.site a:hover { color: var(--accent); }
footer.site .footer-grid { display: grid; gap: 1.4rem; }
.foot-head { font-family: Oswald, sans-serif; text-transform: uppercase; margin-bottom: 0.4rem; }
.social { display: flex; gap: 0.8rem; }
.tiny { margin-top: 1.2rem; color: #bbb; font-size: 0.9rem; border-top: 1px solid #2a2d32; padding-top: 0.8rem; }

/* ===== Mobile sticky Order Now (live-style pill) ===== */
.mobile-order { display: none; }

@media (max-width: 1024px) {
  .nav-wrapper { position: relative; }
  .hamburger { display: flex; }
  .header .header-order { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 136px;
    max-width: 136px;
    background: #fff;
    display: none;
    z-index: 1000;
    box-shadow: 5px 5px 70px 0 rgba(0, 0, 0, 0.1);
    border-radius: 6px;
  }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    line-height: 30px;
  }
  .nav.active { display: flex; flex-direction: column; }
  .nav a {
    color: #333;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 10px;
  }
  .nav ul li {
    width: 100%;
    text-align: start;
    border-bottom: 2px solid #eee;
  }
  .nav ul ul {
    position: static;
    transform: none;
    display: none;
    background: transparent;
    box-shadow: none;
    min-width: 0;
    border-radius: 0;
    padding: 0;
  }
  .nav ul li:hover > ul { display: none; }
  .nav ul li.expanded > ul,
  .nav ul ul.active { display: flex; }
  .nav ul ul a {
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
  }
  .hero { height: 75vh; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 767px) {
  .hero { height: 70vh; }
  .hero h1 { font-size: 50px; line-height: 1; }
  .mobile-order {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }
  .mobile-order .btn {
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(239, 139, 34, 0.45);
    white-space: nowrap;
  }
  footer.site { padding-bottom: 7rem; }
}

@media (min-width: 700px) {
  .today-hours { grid-template-columns: 1fr 1fr 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr 1fr; }
  .form .row { grid-template-columns: 1fr 1fr; }
  footer.site .footer-grid { grid-template-columns: 1.1fr 1.3fr 1fr; }
}
@media (min-width: 801px) {
  .plain-list, .flavor-list { columns: 3; }
}
@media (max-width: 640px) {
  .header { padding: 6px 50px; }
  .logo img { width: 140px; height: auto; }
}
