:root {
  --lm-red: #e02828;
  --lm-dark: #111;
  --lm-gray: #6b7280;
  --lm-light: #f8fafc;
}

/* Base styles for all elements */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

/* Global image styles */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Main content container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 50;
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
}

.logo img {
  height: auto;
  max-height: 44px;
  width: auto;
}

.menu-toggle {
  display: none; /* Hidden on desktop */
  appearance: none;
  background: none;
  border: 0;
  font-size: 1.75rem;
}

.menu {
  display: flex; /* Display as flex on desktop */
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .75rem 1.1rem;
  border-radius: .75rem;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--lm-red);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--lm-red);
  color: var(--lm-red);
}

.btn-blue {
  background: #0d6efd;
  color: #fff;
}

.btn-blue:visited {
  color: #fff;
}


/* --- Hero Section --- */
.hero {
  background: #0b0b0b url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 .5rem;
}

.hero p.lead {
  opacity: .9;
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 1rem;
}

/* --- Content Sections --- */
.section {
  padding: 2.25rem 0;
}

.section h2 {
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.card h3 {
  margin: .25rem 0 0;
}

.badge {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .75rem;
}

/* --- Footer --- */
.footer {
  background: #111;
  color: #fff;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer a {
  color: #fff;
  opacity: .85;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-fab {
  position: fixed;
  right: 12px;
  bottom: 12px;
  background: #25D366;
  color: #fff;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  z-index: 60;
}

/* Fix for horizontal overflow issues */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Grid helpers */
.cols-3 { 
  grid-template-columns: repeat(3, 1fr); 
}

/* --- Responsive Layout (Mobile and Tablet) --- */
@media (max-width: 900px) {
  .grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  /* This is the fix for your hamburger menu */
  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: .75rem 0;
  }

  .menu.show {
    display: flex;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    border-bottom: 1px solid #eee;
  }
  
  .menu-toggle {
    display: block;
    margin-left: auto; /* This line pushes the button to the right */
  }

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .nav {
    padding: .5rem 0;
  }

  .menu a {
    padding: .6rem 1rem;
  }
  
  .whatsapp-fab {
      background: none;
      padding: 0;
      height: 64px;
      width: 64px;
  }

  .whatsapp-fab img {
      display: block;
      height: 100%;
      width: 100%;
  }
}