/* ============================================
   Mimi's Kitchen — Hanover, MA
   Pizza · Sushi · Burgers · Poke
   ============================================ */

:root {
  --navy: #12315c;
  --navy-deep: #0b2242;
  --sky: #2ca9e1;
  --sky-light: #7cd0f4;
  --coral: #f2542d;
  --coral-dark: #d43f1c;
  --cream: #fbf7ef;
  --cream-2: #f3ecdd;
  --ink: #12213b;
  --paper: #ffffff;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-deep);
}

a {
  text-decoration: none;
}

.section-pad {
  padding: 96px 0;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--coral);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1;
}

.section-lede {
  color: #4a5468;
  font-size: 1.1rem;
  max-width: 620px;
}

.btn-coral {
  background: var(--coral);
  border: 2px solid var(--coral);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

.btn-light-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: all 0.2s ease;
}

.btn-light-pill:hover {
  background: #fff;
  color: var(--navy-deep);
}

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: rgba(18, 49, 92, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 0;
  transition: padding 0.2s ease;
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-logo-chip {
  background: #fff;
  border-radius: 12px;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 52px;
}

.navbar-logo-chip img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.navbar-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff !important;
  line-height: 1.05;
}

.navbar-brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-light);
}

.navbar-wfw .nav-link {
  color: #eef4fb !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.navbar-wfw .nav-link:hover {
  color: var(--sky-light) !important;
}

.navbar-wfw .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-wfw .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  border-radius: 50px;
  padding: 0.5rem 1.3rem !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--coral-dark);
  color: #fff !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("img/hero-pizza.webp") center 30%/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(11, 34, 66, 0.45) 0%, rgba(11, 34, 66, 0.06) 100%),
    linear-gradient(to bottom, rgba(11, 34, 66, 0.38) 0%, rgba(11, 34, 66, 0.14) 45%, rgba(11, 34, 66, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 3rem 2.25rem;
  margin: 0 1rem;
  background: rgba(11, 34, 66, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-eyebrow {
  color: var(--sky-light);
  font-weight: 700;
  letter-spacing: 0.22em;
  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-display);
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 1.02;
  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: #fdfdfd;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  margin-bottom: 2rem;
  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);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 1.4rem;
  opacity: 0.85;
  animation: bob 1.8s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Pillars ---------- */
.pillars {
  background: var(--navy-deep);
}

.pillar {
  text-align: center;
  color: #fff;
  padding: 1.5rem 1rem;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--sky-light);
}

.pillar h3 {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.pillar p {
  color: #b9c8dc;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Bento / What We Serve ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bento-cell {
  border-radius: 20px;
  min-height: 240px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.bento-cell .bento-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  opacity: 0.75;
  letter-spacing: 0.1em;
  margin-bottom: auto;
}

.bento-cell h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.bento-cell p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

.bento-photo {
  background: linear-gradient(to top, rgba(11, 34, 66, 0.88) 0%, rgba(11, 34, 66, 0.05) 60%),
    url("img/sushi-platter.webp") center/cover no-repeat;
}

.bento-navy { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); }
.bento-sky { background: linear-gradient(155deg, var(--sky) 0%, #1f8dbf 100%); }
.bento-coral { background: linear-gradient(155deg, var(--coral) 0%, var(--coral-dark) 100%); }
.bento-navy2 { background: linear-gradient(155deg, #1c3f70 0%, var(--navy-deep) 100%); }
.bento-sky2 { background: linear-gradient(155deg, #3fbde8 0%, var(--sky) 100%); }

/* ---------- Menu ---------- */
.menu-section {
  background: var(--paper);
}

.menu-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
  scrollbar-width: thin;
}

.menu-tabs::-webkit-scrollbar {
  height: 5px;
}

.menu-tabs::-webkit-scrollbar-thumb {
  background: var(--cream-2);
  border-radius: 10px;
}

.menu-tabs .nav-link {
  white-space: nowrap;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--cream-2);
  border: none;
  padding: 0.6rem 1.25rem;
}

.menu-tabs .nav-link.active {
  background: var(--navy);
  color: #fff;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed #e2dccb;
}

.menu-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--navy-deep);
}

.menu-item-desc {
  font-size: 0.87rem;
  color: #6b7385;
  margin-top: 0.15rem;
  line-height: 1.4;
}

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
  font-size: 1.02rem;
}

.menu-cta-bar {
  background: var(--cream-2);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ---------- About ---------- */
.about-section {
  background: var(--cream);
  position: relative;
}

.about-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px -25px rgba(18, 49, 92, 0.25);
}

.about-logo-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 1.5rem;
}

.about-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-lede {
  font-size: 1.25rem;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.55;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.about-tag {
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.45rem 1rem;
  border-radius: 50px;
}

/* ---------- Location ---------- */
.location-section {
  background: var(--navy-deep);
  color: #fff;
}

.location-section .section-title,
.location-section h3 {
  color: #fff;
}

.location-section .eyebrow {
  color: var(--sky-light);
}

.info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
}

.info-card .bi {
  font-size: 1.5rem;
  color: var(--sky-light);
  margin-bottom: 0.75rem;
  display: block;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.info-card p, .info-card a {
  color: #c6d3e5;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.info-card a {
  color: #c6d3e5;
}

.info-card a:hover {
  color: var(--sky-light);
}

.map-frame-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 100%;
  min-height: 340px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(0.15);
}

/* ---------- Footer ---------- */
.footer-wfw {
  background: #081a33;
  color: #b9c8dc;
  padding: 3.5rem 0 1.75rem;
}

.footer-logo-chip {
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  height: 58px;
  margin-bottom: 1rem;
}

.footer-logo-chip img {
  height: 100%;
  object-fit: contain;
}

.footer-wfw h5 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-wfw a {
  color: #b9c8dc;
}

.footer-wfw a:hover {
  color: var(--sky-light);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--sky);
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.powered-by:hover {
  background: var(--coral);
  border-color: var(--coral);
}

.powered-by .bi {
  color: var(--sky-light);
}
