/*
Theme Name: Leo's Place & Catering
Theme URI: https://leosplacecleveland.com/
Author: Aspen Technology Solutions
Description: Catering-first WordPress theme for Leo's Place & Catering with a secondary restaurant experience and Toast-ready calls to action.
Version: 0.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: leos-place
*/

:root {
  --leo-ink: #1b1b18;
  --leo-paper: #fffdf7;
  --leo-cream: #f6efe1;
  --leo-warm: #b76e3d;
  --leo-deep: #5a2f22;
  --leo-green: #4e5c45;
  --leo-muted: #6b655d;
  --leo-border: #ded5c7;
  --leo-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--leo-paper);
  color: var(--leo-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--leo-deep); }
a:hover { color: var(--leo-warm); }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,247,.97);
  border-bottom: 1px solid var(--leo-border);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--leo-max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { text-decoration: none; color: var(--leo-ink); }
.brand strong { display: block; font-size: 1.12rem; letter-spacing: .02em; }
.brand span { display: block; font-size: .78rem; color: var(--leo-muted); text-transform: uppercase; letter-spacing: .12em; }
.site-nav ul { display: flex; list-style: none; gap: 8px; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: inline-block; text-decoration: none; padding: 9px 11px; font-weight: 650; color: var(--leo-ink); border-radius: 999px; }
.site-nav a:hover { background: var(--leo-cream); }
.menu-toggle { display: none; border: 1px solid var(--leo-border); background: var(--leo-paper); border-radius: 8px; padding: 8px 11px; }

.site-main { min-height: 65vh; }
.content-shell { max-width: var(--leo-max); margin: 0 auto; padding: 44px 22px 70px; }
.entry-content > * { max-width: 850px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide, .entry-content > .leo-wide { max-width: var(--leo-max); }
.entry-content > .alignfull { max-width: none; }

.leo-hero {
  max-width: none !important;
  min-height: 70vh;
  padding: clamp(70px, 10vw, 130px) 24px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(37,24,18,.86), rgba(90,47,34,.78)),
    radial-gradient(circle at 20% 20%, #b76e3d, transparent 45%),
    #3a261f;
}
.leo-hero .leo-inner { max-width: 930px; }
.leo-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .78rem; opacity: .9; }
.leo-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .95; margin: 14px 0 22px; }
.leo-hero p { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 760px; margin: 0 auto 28px; }
.leo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.leo-button, .wp-block-button__link {
  display: inline-block;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  font-weight: 800;
  text-decoration: none !important;
  border: 2px solid transparent;
}
.leo-button-primary { background: #fff; color: var(--leo-deep) !important; }
.leo-button-secondary { background: transparent; border-color: rgba(255,255,255,.8); color: #fff !important; }

.leo-memorial {
  max-width: none !important;
  background: var(--leo-cream);
  border-top: 1px solid var(--leo-border);
  border-bottom: 1px solid var(--leo-border);
  padding: 46px 22px;
  text-align: center;
}
.leo-memorial p { margin: 6px auto; }
.leo-memorial .name { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--leo-deep); }
.leo-memorial .quote { font-weight: 850; letter-spacing: .04em; }

.leo-section { padding: 72px 0; }
.leo-section h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; margin-bottom: 14px; }
.leo-section-intro { font-size: 1.12rem; color: var(--leo-muted); max-width: 760px; }
.leo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.leo-card { border: 1px solid var(--leo-border); border-radius: 18px; padding: 28px; background: #fff; box-shadow: 0 10px 30px rgba(52,38,30,.05); }
.leo-card h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; }
.leo-card p:last-child { margin-bottom: 0; }

.leo-priority {
  max-width: none !important;
  background: var(--leo-deep);
  color: #fff;
  padding: 72px 22px;
}
.leo-priority .leo-inner { max-width: var(--leo-max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.leo-priority h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1; margin: 0 0 18px; }
.leo-priority a { color: #fff; }

.leo-two-paths { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 30px; }
.leo-path { border-radius: 22px; padding: 34px; border: 1px solid var(--leo-border); background: #fff; }
.leo-path.catering { background: linear-gradient(145deg, #fff, #f5e8d9); }
.leo-path.restaurant { background: linear-gradient(145deg, #fff, #eef1e9); }
.leo-path h3 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; margin-top: 0; }

.leo-cta {
  max-width: none !important;
  padding: 70px 22px;
  background: var(--leo-green);
  color: white;
  text-align: center;
}
.leo-cta .leo-inner { max-width: 860px; margin: 0 auto; }
.leo-cta h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; }

.leo-page-hero { background: var(--leo-cream); border-bottom: 1px solid var(--leo-border); padding: 70px 22px 50px; }
.leo-page-hero .inner { max-width: var(--leo-max); margin: 0 auto; }
.leo-page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5rem); margin: 0; }

.site-footer { background: #1f1b18; color: #eee7dd; }
.footer-inner { max-width: var(--leo-max); margin: 0 auto; padding: 42px 22px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 22px; text-align: center; color: #cfc7bd; font-size: .9rem; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--leo-paper); border-bottom: 1px solid var(--leo-border); padding: 12px 22px 20px; }
  .site-nav.open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { display: block; padding: 11px 0; }
  .leo-grid, .leo-two-paths, .leo-priority .leo-inner, .footer-inner { grid-template-columns: 1fr; }
  .leo-hero { min-height: 62vh; }
}


/* V0.1.1 Gutenberg-native starter content */
.wp-block-button.leo-button-primary .wp-block-button__link { background: #fff; color: var(--leo-deep) !important; }
.wp-block-button.leo-button-secondary .wp-block-button__link { background: transparent; border: 2px solid rgba(255,255,255,.8); color: #fff !important; }
.leo-feature-image { margin-top: 0; margin-bottom: 0; }
.leo-feature-image img { width: 100%; height: auto; display: block; object-fit: cover; }
.leo-feature-image-hero img { max-height: 620px; object-fit: cover; }
.leo-showcase .wp-block-image img { border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; }
.editor-styles-wrapper .leo-hero { min-height: 420px; }
.editor-styles-wrapper .leo-priority { color: #fff; }
