/* ==========================================================================
   Johnny Macaroni's — Wicked Fast Web redesign
   ========================================================================== */

:root {
  --wine: #7c1f2b;
  --wine-dark: #58151e;
  --wine-light: #a3323f;
  --cream: #faf3e6;
  --cream-alt: #f1e6d3;
  --espresso: #2a2019;
  --espresso-soft: #3d2e24;
  --olive: #6b7a4f;
  --gold: #c9a35c;
  --ink: #2a2019;
  --font-head: 'Domine', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 78px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
}

a { color: var(--wine); }
a:hover { color: var(--wine-dark); }

.section-pad { padding: 5.5rem 0; }
@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--wine);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 1rem;
}

.section-lede {
  color: #5a4c3f;
  max-width: 640px;
  font-size: 1.05rem;
}

.bg-cream-alt { background: var(--cream-alt); }
.bg-espresso { background: var(--espresso); color: #f1e6d3; }

.btn-wine {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.btn-wine:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  color: #fff;
}

.btn-outline-cream {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
}
.btn-outline-cream:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-outline-wine {
  background: transparent;
  border: 2px solid var(--wine);
  color: var(--wine);
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
}
.btn-outline-wine:hover {
  background: var(--wine);
  color: #fff;
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(42, 32, 25, 0.96);
  padding: 0.6rem 0;
  transition: padding 0.2s ease;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff !important;
}
.navbar-brand img {
  height: 34px;
  width: auto;
  background: var(--cream);
  border-radius: 4px;
  padding: 3px 6px;
}
.navbar-nav .nav-link {
  color: #f1e6d3 !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
}
.navbar-nav .nav-link:hover { color: var(--gold) !important; }
.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  padding: 0.3rem 0.5rem;
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--espresso);
    margin-top: 0.6rem;
    padding: 0.5rem 0 1rem;
    border-radius: 0 0 8px 8px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(50,10,15,0.55) 0%, rgba(50,10,15,0.10) 100%),
    linear-gradient(to bottom, rgba(45,10,15,0.55) 0%, rgba(45,10,15,0.25) 45%, rgba(30,8,12,0.65) 100%),
    linear-gradient(160deg, rgba(124,31,43,0.35) 0%, rgba(20,8,10,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(20,8,10,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 6px;
}
.hero-eyebrow {
  color: #f0d9a8;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 5rem);
  margin: 0.5rem 0 0.75rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  color: #fbe9c8;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-bottom: 0.75rem;
}
.hero-tagline {
  color: #f1e6d3;
  font-size: 1.05rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Highlight strip ---------- */
.highlight-strip {
  background: var(--espresso);
  color: #f1e6d3;
}
.highlight-item { text-align: center; padding: 1.5rem 1rem; }
.highlight-item i {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}
.highlight-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: #fff;
}
.highlight-item p { font-size: 0.85rem; color: #c9bba7; margin: 0; }

/* ---------- Menu ---------- */
.menu-tabs {
  border: none;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 3rem;
}
.menu-tabs .nav-link {
  border: 1px solid var(--cream-alt);
  border-radius: 30px;
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  background: #fff;
  letter-spacing: 0.01em;
}
.menu-tabs .nav-link.active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.menu-tabs .nav-link:hover:not(.active) { border-color: var(--wine); color: var(--wine); }

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed #d9c9ae;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--espresso);
}
.menu-item-name .badge-gf {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 3px;
  padding: 0.05rem 0.3rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.menu-item-desc {
  font-size: 0.88rem;
  color: #6b5c4c;
  margin-top: 0.15rem;
}
.menu-item-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--wine);
  white-space: nowrap;
  font-size: 1rem;
  text-align: right;
}
.menu-note {
  font-size: 0.85rem;
  color: #6b5c4c;
  border-top: 2px solid var(--cream-alt);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

/* ---------- Kitchen / feature photos ---------- */
.kitchen-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(42,32,25,0.18);
}
.kitchen-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kitchen-caption {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--wine);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ---------- Catering ---------- */
.catering-panel {
  background: var(--wine);
  color: #f7ece1;
  border-radius: 10px;
  padding: 3rem;
}
.catering-panel h2 { color: #fff; }
.catering-panel .btn-outline-cream { margin-top: 0.5rem; }

/* ---------- About ---------- */
.about-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(42,32,25,0.18);
  height: 100%;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; }
.about-story p { color: #5a4c3f; line-height: 1.75; }
.about-story strong { color: var(--espresso); }

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 767px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}
.community-cell {
  background: #fff;
  border: 1px solid var(--cream-alt);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.community-cell i { font-size: 1.6rem; color: var(--wine); margin-bottom: 0.75rem; display: block; }
.community-cell h4 { font-size: 0.98rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.4rem; }
.community-cell p { font-size: 0.85rem; color: #6b5c4c; margin: 0; }

/* ---------- Locations ---------- */
.location-card {
  background: #fff;
  border: 1px solid var(--cream-alt);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
}
.location-card h3 {
  font-size: 1.3rem;
  color: var(--espresso);
  margin-bottom: 0.25rem;
}
.location-card .location-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 3px;
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.75rem;
}
.location-card .addr { color: #5a4c3f; margin-bottom: 1rem; }
.location-card .addr a { color: var(--wine); font-weight: 700; text-decoration: none; }
.location-hours { font-size: 0.85rem; margin-bottom: 0; }
.location-hours dt { color: var(--espresso); font-weight: 700; float: left; clear: left; width: 42%; }
.location-hours dd { margin-left: 42%; color: #6b5c4c; margin-bottom: 0.25rem; }
.location-hours-heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wine);
  margin: 0.9rem 0 0.4rem;
}

.map-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--cream-alt);
  box-shadow: 0 18px 40px rgba(42,32,25,0.12);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Gift Cards ---------- */
.giftcard-panel {
  background: linear-gradient(135deg, var(--espresso) 0%, #4a352a 100%);
  color: #f1e6d3;
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
}
.giftcard-panel h2 { color: #fff; }
.giftcard-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- Contact / Careers ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--cream-alt);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
}
.contact-card i { font-size: 1.4rem; color: var(--wine); margin-bottom: 0.75rem; display: block; }
.contact-card h3 { font-size: 1.15rem; color: var(--espresso); margin-bottom: 0.5rem; }
.contact-card p { color: #5a4c3f; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #c9bba7; padding: 3.5rem 0 1.5rem; }
.footer-logo-chip {
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.footer-logo-chip img { height: 30px; width: auto; display: block; }
.site-footer h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: #c9bba7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.social-row { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(241,230,211,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.social-row a:hover { border-color: var(--gold); background: rgba(201,163,92,0.12); }
.powered-by {
  border-top: 1px solid rgba(201,187,167,0.2);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.powered-by a { color: var(--gold); font-weight: 700; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; }
