/* ============================================================
   LAWSON GROUP — Birrieria El Compadre
   Restaurant template — Mexican/Birria, Pearland TX
   ============================================================ */

@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 {
  --brand-primary:   #7B2D00;   /* Deep burnt sienna — birria red */
  --brand-secondary: #C0392B;   /* Vivid red — calls to action */
  --brand-accent:    #E8A020;   /* Warm gold — consommé color */

  --bg-warm:         #FBF5EF;
  --bg-off-white:    #F8F9FA;
  --bg-pale:         #F2E8DC;
  --text-dark:       #2B1A0E;
  --text-muted:      #6B7280;
  --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;
}

*, *::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; }

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; }

.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); }
.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-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

.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; }
.btn--primary  { background: var(--brand-primary); color: var(--white); }
.btn--primary:hover { background: #5a2100; color: var(--white); }
.btn--accent   { background: var(--brand-accent); color: var(--text-dark); }
.btn--accent:hover { background: #c98a1a; color: var(--text-dark); }
.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(--brand-primary); 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.2rem; font-weight: 700; color: var(--brand-accent); font-family: var(--font-serif); font-style: italic; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a { font-weight: 500; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.nav__links a:hover { color: var(--brand-accent); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* HERO */
.hero { background: var(--brand-primary); position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
.hero__bg-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, #4a1800 0%, #7B2D00 55%, #9b3900 100%); }
.hero__overlay { position: absolute; inset: 0; background: rgba(15,5,0,0.5); }
.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(--text-dark); 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.15rem; 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; }

/* HIGHLIGHTS */
.highlights { background: var(--brand-accent); color: var(--text-dark); 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 */
.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; }
.menu-card__body { padding: 1.25rem; }
.menu-card__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; color: var(--brand-primary); }
.menu-card__desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.menu-card__price { font-weight: 700; color: var(--brand-secondary); font-size: 1.05rem; }

/* ABOUT */
.about__image-placeholder { background: var(--bg-pale); border-radius: var(--radius); height: 420px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; }

/* HOURS TABLE */
.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; flex-direction: column; gap: 0.5rem; color: var(--text-muted); font-size: 0.9rem; border: 2px dashed var(--brand-secondary); }

/* ORDER CTA */
.order-cta { background: var(--brand-secondary); 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-accent); }
.testimonial-card__stars { color: var(--brand-accent); font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-card__text { font-size: 0.95rem; line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.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 */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.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(192,57,43,0.12); }
.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(--brand-accent); margin-bottom: 0.75rem; font-family: var(--font-serif); font-style: italic; }
.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); transition: var(--transition); }
.footer__social a:hover { background: var(--brand-accent); color: var(--text-dark); }
.footer__col-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-accent); 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__links li { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.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; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hours-location__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 75vh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .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(--brand-primary); padding: 1.5rem 1.25rem; box-shadow: var(--shadow-lg); gap: 1.25rem; }
}
