/* ============================================================
   JLMV Equipment Rentals — Global Stylesheet
   ============================================================ */

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

:root {
  --cream:    #eeebe5;
  --white:    #ffffff;
  --dark:     #2e3d4a;
  --darker:   #243038;
  --steel:    #6ea0bc;
  --steel-dk: #4d7a96;
  --text:     #1c1c1c;
  --muted:    #5a6370;
  --card:     #e3dfd9;
  --border:   #d4cfc9;
  --font-h:   'Barlow Condensed', sans-serif;
  --font-b:   'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 64px;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Logo */
.nav-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin: 0 16px;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 1px;
  line-height: 1;
}

.nav-logo-box { display: flex; align-items: center; }

.logo-jl {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-mv {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 900;
  color: var(--steel);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-sub {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-spacer { flex: 1; }

/* Phone */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-dk);
  text-decoration: none;
  letter-spacing: .3px;
  margin-right: 16px;
  white-space: nowrap;
}

.nav-phone svg { flex-shrink: 0; }

.nav-divider-r {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin-right: 16px;
  flex-shrink: 0;
}

/* Contact button */
.btn-nav {
  background: var(--steel-dk);
  color: #fff;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
  display: inline-block;
}

.btn-nav:hover { background: var(--dark); }

/* Slide-down drawer */
.nav-drawer {
  max-height: 0;
  overflow: hidden;
  background: var(--dark);
  transition: max-height .3s ease;
}

.nav-drawer.open { max-height: 220px; }

.nav-drawer a {
  display: block;
  padding: 15px 28px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color .15s, background .15s;
}

.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover   { color: #fff; background: rgba(255,255,255,0.05); }
.nav-drawer a.active  { color: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-solid:hover { background: var(--steel-dk); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 13px 24px;
  border: 2px solid var(--dark);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-steel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--steel-dk);
  color: #fff;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-steel:hover { background: var(--darker); }

.btn-sm {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  align-self: flex-start;
}
.btn-sm:hover { background: rgba(255,255,255,0.15); }

/* ============================================================
   CTA SECTION  (shared across pages)
   ============================================================ */
.cta-section {
  background: var(--dark);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'JLMV';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-h);
  font-size: 280px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-left h2 {
  font-family: var(--font-h);
  font-size: 54px;
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 320px;
}

.cta-card {
  background: #fff;
  padding: 36px 40px;
  text-align: center;
}

.cta-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.cta-card-phone {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
}

/* ============================================================
   FOOTER  (shared across pages)
   ============================================================ */
footer {
  background: var(--darker);
  padding: 52px 60px 32px;
}

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

.footer-brand h3 {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-icons { display: flex; gap: 12px; }

.footer-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon svg { fill: rgba(255,255,255,0.5); }

.footer-col h4 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .2s;
}

.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: .5px;
}

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Hero */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.home-hero-left {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero-right {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.home-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-location {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: 80px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-h1 .accent { color: var(--steel); }

.hero-p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stockton Tough */
.tough-section {
  padding: 80px 60px;
  text-align: center;
}

.tough-section h2 {
  font-family: var(--font-h);
  font-size: 46px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.tough-section h2 .accent { color: var(--steel); }

.tough-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* Equipment category cards */
.eq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding-bottom: 4px;
}

.eq-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.eq-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: grayscale(30%) brightness(0.7);
  transition: filter .35s;
}

.eq-card:hover img { filter: grayscale(10%) brightness(0.8); }

.eq-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.eq-card-overlay h3 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.eq-card-overlay p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Bottom two mini-cards */
.eq-card-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.eq-card-dark {
  background: var(--dark);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  text-decoration: none;
}

.eq-card-dark .icon { margin-bottom: 12px; opacity: 0.6; }

.eq-card-dark h3 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.eq-card-dark p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  line-height: 1.5;
}

.eq-card-dark .card-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.eq-card-dark .card-link:hover { color: #fff; }

.eq-card-coming {
  background: var(--card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
}

.eq-card-coming h3 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 10px;
}

.eq-card-coming p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   EQUIPMENT PAGE
   ============================================================ */
.eq-page-hero {
  padding: 52px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}

.eq-page-hero-left {
  border-left: 4px solid var(--dark);
  padding-left: 20px;
}

.eq-page-hero-left h1 {
  font-family: var(--font-h);
  font-size: 52px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.eq-page-hero-left h1 .accent { color: var(--steel); }

.eq-page-hero-right p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 8px;
}

/* Equipment sections */
.eq-section {
  padding: 60px;
  border-bottom: 1px solid var(--border);
}

.eq-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.eq-section-header::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--dark);
  flex-shrink: 0;
}

.eq-section-header h2 {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Equipment item grid */
.eq-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.eq-items-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}

.eq-item {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.eq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.eq-item-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--card);
  overflow: hidden;
}

.eq-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.eq-item:hover .eq-item-img img { transform: scale(1.04); }

.eq-item-body { padding: 14px 16px 18px; }

.eq-item-body h4 {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--dark);
  margin-bottom: 6px;
}

.eq-item-body p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.about-hero-left {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-right {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.about-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: grayscale(100%) brightness(0.85);
}

.about-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-h1 {
  font-family: var(--font-h);
  font-size: 68px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-h1 .accent { color: var(--steel); }

.about-p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 360px;
}

/* Value cards */
.values-section { padding: 72px 60px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-card          { padding: 36px 32px; background: var(--card); }
.value-card.dark-card { background: var(--dark); }
.value-card.plain-card { background: var(--cream); }

.value-card .v-icon  { margin-bottom: 20px; opacity: 0.7; }
.dark-card  .v-icon  { opacity: 0.85; }

.value-card h3 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  color: var(--dark);
}

.dark-card h3 { color: #fff; }

.value-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.dark-card p { color: rgba(255,255,255,0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .eq-items-grid            { grid-template-columns: repeat(3, 1fr); }
  .eq-items-grid.cols-2     { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-phone { display: none; }
  .nav-divider-r { display: none; }

  /* Home hero */
  .home-hero {
    grid-template-columns: 1fr;
  }
  .home-hero-right {
    min-height: 280px;
    position: relative;
  }
  .home-hero-right img { position: relative; inset: auto; height: 280px; }
  .home-hero-left { padding: 40px 24px; }
  .hero-h1 { font-size: 56px; }

  /* Tough */
  .tough-section { padding: 52px 24px; }

  /* Eq grid */
  .eq-grid { grid-template-columns: 1fr; }
  .eq-card-bottom { grid-template-columns: 1fr 1fr; }

  /* CTA */
  .cta-section {
    grid-template-columns: 1fr;
    padding: 52px 24px;
    gap: 40px;
  }
  .cta-left h2 { font-size: 40px; }

  /* Equipment page */
  .eq-page-hero {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .eq-section { padding: 40px 24px; }
  .eq-items-grid { grid-template-columns: repeat(2, 1fr); }
  .eq-items-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  /* About */
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-right { min-height: 280px; position: relative; }
  .about-hero-right img { position: relative; inset: auto; height: 280px; }
  .about-hero-left { padding: 40px 24px; }
  .about-h1 { font-size: 48px; }
  .values-section { padding: 48px 24px; }
  .values-grid { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 48px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-h1      { font-size: 44px; }
  .about-h1     { font-size: 38px; }
  .hero-btns    { flex-direction: column; }
  .eq-items-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-card     { padding: 28px 24px; }
  .cta-card-phone { font-size: 32px; }
  .eq-card-bottom { grid-template-columns: 1fr; }
}
