/* ============================================================
   LAWSON GROUP — Restaurant Template Stylesheet
   Customization: update CSS variables in :root block below
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* === CUSTOMIZE THESE FOR EACH BUSINESS === */
  --brand-primary:   #1B3A5C;   /* Deep Navy — headers, CTAs */
  --brand-secondary: #4A8490;   /* Muted Teal — accents, links */
  --brand-accent:    #C8432A;   /* Restaurant accent (warm red) — swap if biz has brand color */

  /* === LEAVE THESE AS-IS UNLESS REBRAND === */
  --bg-warm:         #F0EDE6;   /* Warm Champagne — page background */
  --bg-off-white:    #F8F9FA;   /* Off-white — card backgrounds */
  --bg-pale:         #D4E5EB;   /* Pale Ice — info callouts */
  --text-dark:       #2B2B2B;   /* Near-black body text */
  --text-muted:      #6B7280;   /* Muted text for captions */
  --white:           #FFFFFF;

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: all 0.2s ease;
  --max-width: 1160px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-warm);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-primary); }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; color: var(--text-dark); }

/* === LAYOUT HELPERS === */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section--dark { background: var(--brand-primary); color: var(--white); }
.section--cream { background: var(--bg-warm); }
.section--white { background: var(--white); }
.section--pale { background: var(--bg-pale); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }
.section-label {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--brand-secondary); margin-bottom: 0.5rem;
  display: block;
}
.section-title { margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn--primary { background: var(--brand-primary); color: var(--white); }
.btn--primary:hover { background: #142d48; color: var(--white); }
.btn--secondary { background: var(--brand-secondary); color: var(--white); }
.btn--secondary:hover { background: #3a6870; color: var(--white); }
.btn--accent { background: var(--brand-accent); color: var(--white); }
.btn--accent:hover { background: #a5391f; color: var(--white); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--brand-primary); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  padding: 0 1.25rem;
}
.nav__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-size: 1.3rem; font-weight: 700; color: var(--brand-primary);
  letter-spacing: -0.01em;
}
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.nav__links a:hover { color: var(--brand-secondary); }
.nav__cta { margin-left: 1rem; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); margin: 5px 0; transition: var(--transition);
}

/* === HERO === */
.hero {
  background: var(--brand-primary);
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}
.hero__bg-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f2238 0%, #1B3A5C 50%, #234970 100%);
  /* REPLACE: add a background-image: url('/images/hero-bg.jpg'); background-size: cover; */
}
.hero__overlay { position: absolute; inset: 0; background: rgba(10,20,35,0.55); }
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem;
  color: var(--white);
}
.hero__eyebrow {
  display: inline-block; background: var(--brand-accent);
  color: var(--white); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 4px; margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400; margin-bottom: 1.25rem; line-height: 1.1;
  max-width: 700px;
}
.hero__subtitle {
  font-size: 1.2rem; opacity: 0.88; margin-bottom: 2rem;
  max-width: 520px; line-height: 1.6;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.9rem; border-radius: 20px;
  font-size: 0.85rem; color: rgba(255,255,255,0.9);
  margin-top: 2.5rem;
}

/* === HIGHLIGHT BAR === */
.highlights {
  background: var(--brand-accent);
  color: var(--white);
  padding: 1rem 1.25rem;
}
.highlights__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  align-items: center;
}
.highlights__item {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9rem;
}

/* === MENU SECTION === */
.menu-categories {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.menu-category-btn {
  padding: 0.5rem 1.25rem; border-radius: 20px;
  border: 2px solid var(--brand-primary); color: var(--brand-primary);
  background: transparent; font-family: var(--font-sans); font-weight: 600;
  cursor: pointer; transition: var(--transition); font-size: 0.9rem;
}
.menu-category-btn.active,
.menu-category-btn:hover { background: var(--brand-primary); color: var(--white); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.menu-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition);
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.menu-card__image {
  height: 200px; background: var(--bg-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.85rem;
  /* REPLACE: set background-image for each menu item */
}
.menu-card__body { padding: 1.25rem; }
.menu-card__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; }
.menu-card__desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.menu-card__price { font-weight: 700; color: var(--brand-accent); font-size: 1.1rem; }

/* === ABOUT SECTION === */
.about__image-placeholder {
  background: var(--bg-pale);
  border-radius: var(--radius);
  height: 460px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.85rem;
  /* REPLACE: background-image: url('/images/about.jpg'); background-size: cover; */
}
.about__content { padding: 2rem 0; }
.about__content p + p { margin-top: 1rem; }

/* === HOURS & LOCATION === */
.hours-location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.65rem 0; border-bottom: 1px solid var(--bg-pale); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--brand-primary); }
.map-placeholder {
  background: var(--bg-pale); border-radius: var(--radius);
  height: 320px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.85rem; border: 2px dashed var(--brand-secondary);
  /* REPLACE: embed Google Maps iframe here */
}
.location-details { margin-top: 1.5rem; }
.location-details p { font-size: 0.95rem; margin-bottom: 0.5rem; }

/* === ORDER CTA BANNER === */
.order-cta {
  background: var(--brand-accent);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.25rem;
}
.order-cta h2 { color: var(--white); margin-bottom: 0.75rem; }
.order-cta p { opacity: 0.9; margin-bottom: 1.75rem; font-size: 1.1rem; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--brand-secondary);
}
.testimonial-card__stars { color: #F59E0B; font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-card__text { font-size: 0.95rem; color: var(--text-dark); line-height: 1.65; margin-bottom: 1rem; }
.testimonial-card__author { font-weight: 700; font-size: 0.9rem; color: var(--brand-primary); }
.testimonial-card__location { font-size: 0.8rem; color: var(--text-muted); }

/* === CONTACT SECTION === */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact__info h3 { margin-bottom: 1.5rem; }
.contact__item { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__text { font-size: 0.95rem; }
.contact__text strong { display: block; color: var(--brand-primary); font-weight: 600; margin-bottom: 0.1rem; }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--brand-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid #D1D5DB; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 1rem; color: var(--text-dark);
  transition: var(--transition); background: var(--bg-off-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(74,132,144,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { display: none; color: #065F46; background: #D1FAE5; border-radius: var(--radius); padding: 1rem; margin-top: 1rem; }

/* === FOOTER === */
.footer { background: var(--brand-primary); color: rgba(255,255,255,0.85); padding: 3.5rem 1.25rem 1.5rem; }
.footer__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand-name { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer__tagline { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.25rem; line-height: 1.5; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.85rem; transition: var(--transition);
}
.footer__social a:hover { background: var(--brand-secondary); color: var(--white); }
.footer__col-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--max-width); margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; opacity: 0.6;
}
.footer__bottom a { color: inherit; }

/* === MOBILE RESPONSIVE === */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hours-location__grid { grid-template-columns: 1fr; }
  .about-section > .container { flex-direction: column; }
}

@media (max-width: 680px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 75vh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .highlights__inner { gap: 1.5rem; flex-direction: column; align-items: flex-start; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); padding: 1.5rem 1.25rem; box-shadow: var(--shadow-lg);
    gap: 1.25rem;
  }
  .footer__bottom { flex-direction: column; text-align: center; }
}
