/* ============================================================
   Ms Matilda's — Main Stylesheet
   Palette: Navy #1E2461 | White #FFFFFF | Cream #FAF7F2
            Gold #C9A84C | Warm Grey #6B6560
   Fonts: Playfair Display (display) | Lato (body)
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #151646;
  --navy-dark: #0e0f33;
  --navy-mid:  #1e2461;
  --white:     #FFFFFF;
  --cream:     #FAF7F2;
  --cream-mid: #F0EBE1;
  --gold:      #C9A84C;
  --gold-light:#E8D08A;
  --text:      #2C2C2C;
  --text-mid:  #5A5550;
  --border:    #D8D0C4;
  --shadow:    rgba(30, 36, 97, 0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

/* === LAYOUT === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 580px;
  margin: 0.8rem auto 0;
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* Squiggle divider — the signature element */
.squiggle {
  display: block;
  width: 120px;
  height: 16px;
  margin: 1rem auto;
  overflow: visible;
}
.squiggle path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.squiggle--gold path { stroke: var(--gold); }
.squiggle--white path { stroke: rgba(255,255,255,0.5); }

/* === NAVIGATION === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #151646;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  border-radius: 4px;
  padding: 0.45rem 1rem;
  margin-left: 0.5rem;
}

.nav-links a.nav-cta:hover {
  background: var(--gold-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Decorative background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201,168,76,0.07);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content .eyebrow { color: var(--gold); }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content p {
  color: rgba(255,255,255,0.80);
  font-size: 1.1rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-stat {
  text-align: center;
}
.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

.hero-card-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1.25rem 0;
}

.hero-hours {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.hero-hours strong { color: var(--white); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: all 0.22s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* === HIGHLIGHTS / FEATURE CARDS === */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 20px var(--shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.highlight-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
}

.highlight-card h3 { margin-bottom: 0.5rem; }
.highlight-card p { color: var(--text-mid); font-size: 0.95rem; }

/* === INSTAGRAM / PHOTO STRIP === */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}

.photo-placeholder {
  aspect-ratio: 1;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.photo-placeholder:hover { background: var(--navy-dark); }
.photo-placeholder svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; }

/* === MENU PAGE === */
.menu-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.menu-tab {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-tab:hover,
.menu-tab.active {
  background: var(--navy);
  color: var(--white);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-section { margin-bottom: 3.5rem; }
.menu-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.menu-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 1px 8px var(--shadow);
  transition: box-shadow 0.2s;
}
.menu-item:hover { box-shadow: 0 4px 20px var(--shadow); }

.menu-item-info h4 {
  color: var(--navy);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.menu-item-info p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

.menu-item-tags {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  text-transform: uppercase;
}
.tag-gf  { background: #e8f5e9; color: #2e7d32; }
.tag-v   { background: #f3e5f5; color: #6a1b9a; }
.tag-df  { background: #fff3e0; color: #e65100; }
.tag-pop { background: #fff8e1; color: #f57f17; }

.menu-price {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
}

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-frame {
  background: var(--navy);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-frame img {
  width: 60%;
  opacity: 0.9;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.about-badge .big { font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge .small { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.2rem; }

.about-content { padding-left: 1rem; }
.about-content .eyebrow { display: block; margin-bottom: 0.5rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--text-mid); }

.values-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.values-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* === TEAM / FEATURES ROW === */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.feature-item p { margin-top: 0.4rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 0.5rem; }

.contact-block {
  margin-bottom: 2rem;
}

.contact-block .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-block p,
.contact-block a {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.contact-block a:hover { color: var(--navy); text-decoration: underline; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.55rem 0; color: var(--text-mid); }
.hours-table td:first-child { font-weight: 700; color: var(--navy); width: 120px; }
.hours-table tr.today td { color: var(--navy); background: rgba(201,168,76,0.08); }
.hours-table tr.today td:first-child { color: var(--gold); }

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* === REVIEW STRIP === */
.review-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.5rem;
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.80);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === CTA BAND === */
.cta-band {
  background: var(--gold);
  padding: 3rem 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--navy); font-size: 1.8rem; }
.cta-band p  { color: rgba(30,36,97,0.75); margin-top: 0.3rem; }

/* === FOOTER === */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--navy);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.70); margin-top: 0.75rem; font-size: 1.05rem; }

/* === UTILITIES === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* === MOBILE RESPONSIVE === */
@media (max-width: 960px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .review-strip { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 1rem 2rem 1.5rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .highlights-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}