/* Sunday's Deli — shared stylesheet */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Source+Sans+3:wght@400;600&display=swap');

/* ── Tokens ── */
:root {
  --olive:      #4a5240;   /* deep Greek olive */
  --olive-mid:  #6b7359;
  --cream:      #f7f2e8;   /* warm parchment */
  --cream-dark: #ede6d4;
  --terracotta: #b85c38;   /* accent: Mediterranean clay */
  --charcoal:   #2b2b2b;
  --mid:        #5a5a5a;
  --white:      #ffffff;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Source Sans 3', system-ui, sans-serif;

  --radius: 2px;
  --max-w:  860px;
  --nav-h:  64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--olive);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.site-header .logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream-dark);
}
.site-header .logo-text {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--cream);
  line-height: 1.2;
}
.site-header .logo-text span {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: .8rem;
  color: var(--cream-dark);
  letter-spacing: .04em;
}

/* desktop nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--cream-dark);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: var(--terracotta);
}
.nav-fb {
  color: var(--cream-dark) !important;
  font-size: 1.1rem !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--olive);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.mobile-nav a {
  color: var(--cream);
  font-weight: 600;
  font-size: 1.05rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--olive-mid);
  display: block;
  letter-spacing: .04em;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ── Footer ── */
.site-footer {
  background: var(--olive);
  color: var(--cream-dark);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-col h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .6rem;
}
.footer-col p, .footer-col address {
  font-style: normal;
  line-height: 1.8;
  font-size: .92rem;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--olive-mid);
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a {
  color: var(--cream-dark);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--white); }

/* ── Page wrapper ── */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}
.page-title {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--olive);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--terracotta);
  padding-bottom: .5rem;
  display: inline-block;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-title { font-size: 1.9rem; }
}
