﻿/* =============================================
   BIG DOG EQUIPMENT â€” INVENTORY STYLESHEET
   ============================================= */

:root {
  --bg:          #070b11;
  --stage-bg:    #060d18;   /* dark bg behind transparent-style product images */
  --panel:       rgba(14, 22, 33, 0.90);
  --line:        rgba(255, 255, 255, 0.08);
  --text:        #f4f7fb;
  --muted:       #8fa5bc;
  --blue:        #29c3ec;
  --blue-strong: #0e7dc2;
  --shadow:      0 20px 55px rgba(0, 0, 0, 0.45);
  --radius:      14px;
  --max:         1240px;
  --nav-h:       76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }

body {
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(calc(100% - clamp(2rem, 4vw, 4rem)), var(--max));
  margin: 0 auto;
}

/* â”€â”€â”€ NAV â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 8, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(270px, 42vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 14px rgba(41, 195, 236, 0.22));
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: var(--muted); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.nav-active { color: var(--text); }
.site-nav a.nav-active { color: var(--blue); }

.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  color: #071018;
  background: linear-gradient(135deg, #78e4ff 0%, var(--blue) 100%);
  box-shadow: 0 6px 20px rgba(41, 195, 236, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(41, 195, 236, 0.35); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer;
  padding: 4px; margin-left: auto;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
}
.site-header.is-open .site-nav {
  display: flex; position: absolute;
  top: var(--nav-h); left: 1rem; right: 1rem;
  flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  background: rgba(7, 11, 17, 0.97);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); z-index: 999;
}

/* â”€â”€â”€ PAGE HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.inventory-hero { padding: 5rem 0 2.5rem; }

.section-kicker {
  display: block; margin-bottom: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; color: var(--blue); font-weight: 700;
}

.inventory-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 0.97;
  letter-spacing: -0.025em; max-width: 14ch;
}

.page-lead {
  max-width: 58ch; color: var(--muted);
  line-height: 1.75; font-size: 1rem; margin-top: 1rem;
}

/* â”€â”€â”€ TOOLBAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.inventory-section { padding: 1.5rem 0 5.5rem; }

.inventory-toolbar {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text); padding: 0.6rem 1rem;
  min-height: 44px;
  border-radius: 999px; font-weight: 700; font-size: 0.86rem;
  cursor: pointer; font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.filter-btn:hover  { background: rgba(255, 255, 255, 0.08); }
.filter-btn.is-active {
  color: #071018;
  background: linear-gradient(135deg, #78e4ff, var(--blue));
  border-color: transparent;
}

/* â”€â”€â”€ INVENTORY GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.inventory-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  scroll-margin-top: 112px;
  transition: transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.inventory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 195, 236, 0.20);
}
.inventory-card[hidden] { display: none; }

/* â”€â”€â”€ IMAGE MODES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/*
 * .img-stage â€” presentation stage for transparent inventory cutouts.
 *
 * Gives each asset a consistent framed area, subtle glow, and enough room
 * to breathe without cropping the equipment.
 */
.img-stage {
  background: var(--stage-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  min-height: 240px;
  height: 240px;
  position: relative;
}
/* Neutral stage wash keeps product cutouts readable without the blue hotspot. */
.img-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 16, 28, 0.22) 0%, transparent 36%, rgba(9, 16, 28, 0.14) 100%);
  pointer-events: none;
}
.img-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

/*
 * .img-photo â€” for real jobsite photos with natural backgrounds.
 * Standard cover crop, no blend mode.
 */
.img-photo {
  overflow: hidden;
  max-height: 240px;
}
.img-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

/* â”€â”€â”€ CARD BODY â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.inventory-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card-category {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--blue); font-weight: 700;
}

.inventory-card-body h2 {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em;
}

.inventory-card-body > p {
  color: var(--muted); line-height: 1.7; font-size: 0.92rem;
}

/* â”€â”€â”€ SPECS GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.equip-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem 0.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spec-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.3;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* â”€â”€â”€ BULLET LIST â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.inventory-card-body ul {
  padding-left: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.inventory-card-body li {
  color: var(--muted); line-height: 1.6; font-size: 0.88rem;
}

/* â”€â”€â”€ QUOTE BUTTON â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card-link {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  min-height: 44px; padding: 0 1.15rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; text-decoration: none;
  color: #071018;
  background: linear-gradient(135deg, #78e4ff, var(--blue));
  box-shadow: 0 6px 18px rgba(41, 195, 236, 0.22);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-top: auto;
}
.card-link:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(41, 195, 236, 0.32); }

/* â”€â”€â”€ WHEEL LOADER IMAGE PLACEHOLDER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Shown when the 204L image file hasn't been added yet */
.img-stage--loader .img-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  width: 100%;
}
.img-stage--loader .img-placeholder svg {
  width: 72px; height: 72px;
  color: rgba(41, 195, 236, 0.35);
}
.img-stage--loader .img-placeholder p {
  font-size: 0.78rem;
  line-height: 1.5;
}
.img-stage--loader .img-placeholder code {
  font-size: 0.72rem;
  background: rgba(41, 195, 236, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--blue);
  font-family: monospace;
}

/* When the image fails to load, show placeholder + hide broken img */
.img-stage--loader.img-missing img       { display: none; }
.img-stage--loader.img-missing .img-placeholder { display: flex; }

/* â”€â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.25rem;
}
.footer-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: 0.85rem;
}
.footer-logo { height: 34px; width: auto; }
.site-footer a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }

/* â”€â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  .site-nav    { display: none; }
  .nav-cta     { display: none; }
  .menu-toggle { display: flex; }

  .inventory-grid { grid-template-columns: 1fr; }
  /* Show specs in 2 cols on single-column layout */
  .equip-specs    { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .inventory-hero {
    padding: 4.2rem 0 2rem;
  }

  .inventory-card-body {
    padding: 1.2rem;
  }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .inventory-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 10ch;
  }
  .page-lead {
    font-size: 0.95rem;
    line-height: 1.68;
  }
  .footer-wrap { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .card-link   { width: 100%; }
  .img-stage {
    min-height: 216px;
    height: 216px;
    padding: 1rem 1.1rem;
  }
  .filter-btn {
    min-height: 44px;
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    min-width: 0;
    padding-inline: 0.75rem;
  }
  .equip-specs {
    grid-template-columns: 1fr;
  }
  .inventory-card-body,
  .inventory-card-body h2,
  .inventory-card-body > p,
  .inventory-card-body li,
  .spec-item,
  .card-link {
    min-width: 0;
    overflow-wrap: break-word;
  }
}

@media (max-width: 400px) {
  .inventory-hero {
    padding: 3.4rem 0 1.8rem;
  }

  .inventory-card-body {
    padding: 1rem;
  }

  .inventory-card-body h2 {
    font-size: 1.08rem;
  }

  .inventory-card-body > p,
  .inventory-card-body li,
  .spec-value {
    font-size: 0.84rem;
  }

  .img-stage {
    min-height: 192px;
    height: 192px;
    padding: 0.85rem;
  }
}

@media (min-width: 1500px) {
  :root {
    --max: 1380px;
  }

  .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .inventory-card {
    border-radius: 16px;
  }

  .img-stage {
    min-height: 270px;
    height: 270px;
    padding: 1.5rem 1.75rem;
  }

  .inventory-card-body {
    padding: 1.5rem;
  }
}

@media (min-width: 1900px) {
  :root {
    --max: 1480px;
  }

  .inventory-hero {
    padding-top: 5.8rem;
  }

  .inventory-card-body h2 {
    font-size: 1.28rem;
  }
}

