/* ========================================
   MAMASGRILL.CA — Mama's Grill Restaurant
   Design: Dark/fiery/rugged — chrome text, flame accents
   Colors: Charcoal black + flame orange/red/gold + chrome silver
   Fonts: Oswald (headings/display) + Open Sans (body)
   Location: 298 S Copper Ave, Greenwood, BC
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Core palette */
  --bg-primary: #1a1209;
  --bg-secondary: #231a0e;
  --bg-card: #2a1f12;
  --bg-card-hover: #332616;
  --bg-dark: #0f0b06;

  /* Text */
  --text-primary: #f5e6c8;
  --text-secondary: #c4a882;
  --text-muted: #8a7560;
  --text-white: #ffffff;

  /* Brand colors — fire theme */
  --flame-orange: #e8711a;
  --flame-red: #c0392b;
  --flame-yellow: #f4a020;
  --flame-gold: #d4a843;
  --chrome-silver: #c0c0c0;
  --chrome-light: #e8e8e8;
  --warm-cream: #f5e6c8;

  /* Accent */
  --accent-green: #6dba4a;
  --accent-blue: #4a90d9;

  /* Borders */
  --border-subtle: rgba(212, 168, 67, 0.15);
  --border-warm: rgba(232, 113, 26, 0.3);
  --border-light: rgba(245, 230, 200, 0.1);

  /* Gradients */
  --gradient-fire: linear-gradient(180deg, rgba(232, 113, 26, 0.15) 0%, transparent 60%);
  --gradient-card: linear-gradient(145deg, #2a1f12 0%, #231a0e 100%);
  --gradient-hero: linear-gradient(180deg, #0f0b06 0%, #1a1209 40%, #231a0e 100%);
  --gradient-chrome: linear-gradient(135deg, #e8e8e8, #c0c0c0, #e8e8e8);
  --gradient-gold: linear-gradient(135deg, #f4a020, #d4a843);

  /* Spacing */
  --section-pad: 80px 0;
  --container-width: 1200px;
  --card-radius: 10px;
  --btn-radius: 6px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Impact', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { color: var(--text-secondary); line-height: 1.8; }

a {
  color: var(--flame-orange);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--flame-yellow); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 11, 6, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(15, 11, 6, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--gradient-chrome);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--flame-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--flame-orange);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  transition: var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,11,6,0.6) 0%, rgba(15,11,6,0.3) 40%, rgba(26,18,9,0.9) 100%);
}

.hero-flames {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(232,113,26,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 8px;
  background: var(--gradient-chrome);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.hero-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--flame-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--flame-orange);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(232, 113, 26, 0.3);
}

.btn-primary:hover {
  background: var(--flame-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 160, 32, 0.3);
  color: var(--bg-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-warm);
}

.btn-secondary:hover {
  border-color: var(--flame-orange);
  background: rgba(232, 113, 26, 0.1);
  color: var(--flame-orange);
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--flame-orange);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--flame-orange), transparent);
  max-width: 400px;
  margin: 0 auto;
}

/* ---------- Hours Banner ---------- */
.hours-banner {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
  text-align: center;
}

.hours-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.hours-block {
  text-align: center;
}

.hours-block h4 {
  color: var(--flame-orange);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hours-block p {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hours-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--flame-yellow);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Cards ---------- */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Specials Cards ---------- */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.special-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.special-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--flame-orange);
}

.special-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.special-card .day {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--flame-orange);
  margin-bottom: 12px;
}

.special-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.special-card .price {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 8px;
}

.special-card p {
  font-size: 0.9rem;
}

/* ---------- Featured Promo ---------- */
.promo-banner {
  background: var(--bg-dark);
  border: 1px solid var(--border-warm);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.promo-image {
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.promo-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.promo-content .badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--flame-orange);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}

/* ---------- Photo Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wide gallery items */
.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* ---------- Menu Section ---------- */
.menu-category {
  margin-bottom: 48px;
}

.menu-category h3 {
  color: var(--flame-orange);
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-subtle);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.menu-item-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.menu-item-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--flame-gold);
  white-space: nowrap;
  margin-left: 16px;
}

.menu-item-prices {
  display: flex;
  gap: 12px;
}

.menu-item-prices span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  color: var(--flame-gold);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 36px;
  text-align: center;
}

.testimonial .stars {
  color: var(--flame-yellow);
  font-size: 1.3rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial .author {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-info-card h4 {
  color: var(--flame-orange);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-info-card a {
  color: var(--text-primary);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--btn-radius);
  color: var(--text-primary);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--flame-orange);
  box-shadow: 0 0 0 3px rgba(232, 113, 26, 0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--flame-orange);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--flame-orange); }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--flame-orange);
  color: var(--text-white);
  border-color: var(--flame-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: var(--gradient-fire);
  pointer-events: none;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.blog-card h3 a {
  color: var(--text-white);
}

.blog-card h3 a:hover {
  color: var(--flame-orange);
}

.blog-card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.blog-card .read-more {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--flame-orange);
}

/* ---------- Map embed ---------- */
.map-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) invert(92%) contrast(83%);
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  .hero h1 { font-size: 3.5rem; }
  .cards-grid, .specials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-image { min-height: 250px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-tagline { font-size: 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 11, 6, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .cards-grid, .specials-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1; }
  .hours-grid { flex-direction: column; gap: 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .page-header { padding: 120px 0 48px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
}
