/* =========================
   LBA Sales - styles.css
   Stable layout + WP-ish look (Inter)
   ========================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --text: #2b2b2b;
  --muted: #6b7280;
  --link: #1f5ea8;

  --container: 1100px;

  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.10);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

  --hero-overlay: rgba(0, 0, 0, 0.40);
  --products-overlay: rgba(255, 255, 255, 0.80);

  --footer-bg: #3f3f3f;
  --footer-text: #ffffff;

  --radius: 10px;
}

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   Header / Nav
   ========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand img { height: 48px; width: auto; }

.menu-btn {
  display: none;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font: 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font: 16px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.nav a {
  color: #2d2d2d;
  padding: 8px 2px;
}
.nav a.active {
  color: var(--link);
  font-weight: 600;
}

/* Mobile nav */
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute;
    right: 24px;
    top: 76px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 180px;
    z-index: 10;
  }
  .nav.open { display: flex; }
  .navbar { position: relative; }

  /* mobile tap targets */
  .nav a { padding: 10px 8px; width: 100%; }
}

/* =========================
   Typography helpers
   ========================= */
h1, h2, h3, h4, h5 {
  margin: 0 0 10px;
  color: #2a2a2a;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

h1 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
h5 { font-size: 15px; font-weight: 400; color: rgba(0,0,0,.60); margin-top: -2px; }

p { margin: 0 0 14px; color: rgba(0,0,0,.70); }
.center { text-align: center; }

/* Mobile typography pass */
@media (max-width: 520px) {
  body { font-size: 15.5px; line-height: 1.7; }
  h2 { font-size: 28px; }
  h3 { font-size: 19px; }
  .section { padding: 38px 0; }
}

/* WP-ish centered section titles */
.section-title {
  text-align: center;
  margin-bottom: 10px;
}
.section-subtitle {
  text-align: center;
  margin-top: -6px;
  margin-bottom: 18px;
  color: rgba(0,0,0,.55);
}
.hr {
  border: 0;
  height: 1px;
  background: rgba(0,0,0,.14);
  max-width: 160px;
  margin: 14px auto 28px;
}

/* =========================
   Sections / Cards
   ========================= */
.section { padding: 48px 0; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* 2-col grid like your home layout */
.grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* =========================
   HERO (Home)
   ========================= */
.hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url("/assets/img/home-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero h1 {
  color: #fff;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 72px 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  font-size: clamp(22px, 2.9vw, 40px);
  font-weight: 600;
}
@media (max-width: 520px) {
  .hero { min-height: 230px; }
  .hero h1 { padding: 54px 0; font-size: clamp(20px, 6vw, 30px); }
}

/* =========================
   Page Heroes (Resources/About)
   ========================= */
.page-hero {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero .container { padding: 64px 0; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  text-align: left;
  margin-bottom: 12px;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  font-weight: 700;
}
.page-hero .underline {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,.85);
  margin: 0 0 14px;
}
.page-hero p {
  color: rgba(255,255,255,.85);
  max-width: 720px;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.40);
}
@media (max-width: 520px) {
  .page-hero { min-height: 210px; }
  .page-hero .container { padding: 46px 0; }
  .page-hero h1 { font-size: 34px; }
}

/* specific page hero backgrounds */
.resources-hero {
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url("/assets/img/resources-hero.jpg");
  background-position: 50% 40%;
}
.about-hero {
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url("/assets/img/about-hero.jpg");
  background-position: center;
}

/* =========================
   Manufacturers (logos)
   ========================= */
.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  align-items: center;
  justify-items: center;
  padding-top: 12px;
}
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  width: 100%;
}
.logo-grid img {
  max-height: 52px;
  width: auto;
  opacity: .95;
}
@media (max-width: 520px) {
  .logo-grid { grid-template-columns: 1fr; }
  .logo-grid img { max-height: 48px; }
}

aside.card h2,
aside.card h4 { text-align: center; }
aside.card h4 { color: rgba(0,0,0,.55); font-weight: 400; margin-top: -2px; }

/* =========================
   Markets section
   ========================= */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 48px;
}
.market-grid ul { margin: 0; padding-left: 22px; }
.market-grid li { margin: 6px 0; }
@media (max-width: 700px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* =========================
   Products background section
   ========================= */
.products {
  position: relative;
  background-image: url("/assets/img/products-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--products-overlay);
}
.products .container { position: relative; }

.products h2,
.products h5 { text-align: center; }

.product {
  text-align: center;
  padding: 18px 0;
}
.product h3 { margin-bottom: 4px; }
.product h3 a {
  font: 700 20px/1.25 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
}
.product h3 a:hover { text-decoration: underline; }
.product p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(0,0,0,.65);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================
   Resources page tweaks
   ========================= */
.resources-page h2 { text-align: center; }
.resources-page h4 { text-align: center; color: rgba(0,0,0,.60); font-weight: 400; }

/* =========================
   People cards (Contact page)
   ========================= */
.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.person { text-align: center; }
.person h4 { font-size: 22px; font-weight: 600; margin-bottom: 2px; }
.person p { margin: 0 0 12px; color: rgba(0,0,0,.60); }
.person .meta {
  display: grid;
  gap: 6px;
  color: rgba(0,0,0,.70);
}
@media (max-width: 980px) {
  .people { grid-template-columns: 1fr; }
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 44px 0;
}
.site-footer h2 {
  color: #fff;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}
.site-footer p {
  color: rgba(255,255,255,.90);
  text-align: center;
  margin: 0 0 10px;
}
.site-footer a { color: #fff; text-decoration: underline; }
