/* FJ Warehouse — site styles (rebuilt from the original WordPress/Elementor design) */

:root {
  --green: #35b647;
  --green-light: #61ce70;
  --green-dark: #41ae50;
  --green-nav: #257d23;
  --red: #db3a22;
  --gray: #7a7a7a;
  --slate: #54595f;
  --ink: #333;
  --container: 1140px;
  --f-head: "Krona One", sans-serif;
  --f-body: "Space Grotesk", sans-serif;
  --f-label: "Anton", sans-serif;
  --f-small: "Roboto", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 .9rem; }
strong { font-weight: 700; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 14px; color: #000; }
.center { text-align: center; }
.capitalize { text-transform: capitalize; }
.align-right { text-align: right; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; }
.wide { width: 100%; }
.pad-x { padding: 0 10px; }
.cols { display: grid; }
.cols > * { padding: 10px; min-width: 0; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.section-mar { margin: 50px 0; position: relative; }
.section-pad { padding: 50px 0; position: relative; }
.stack > * + *, .cols > div > * + *, .pad-x > * + *, .card > * + * { margin-top: 20px; }

/* Faded background image layer */
.bg-overlay { position: relative; isolation: isolate; }
.bg-overlay > .ov {
  position: absolute; inset: 0; z-index: -1;
  background-repeat: no-repeat; background-position: 0 0; background-size: cover;
  pointer-events: none;
}
.forklift-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/forklift.webp") left center / contain no-repeat;
  opacity: .05;
}

/* ---------- Buttons ---------- */
.btn-solid {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 12px 24px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1;
  color: #fff; border-radius: 6px;
  box-shadow: 0 0 27px rgba(0,0,0,.12);
  transition: filter .3s;
}
.btn-solid:hover, .btn-solid:focus { color: #fff; filter: brightness(1.08); }
.btn-green { background: var(--green); }
.btn-red { background: var(--red); }

.btn-grad {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--f-head); font-size: 22px; line-height: 1; text-transform: uppercase; text-align: center;
  color: #fff;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green-dark) 100%);
  border: 2px solid var(--green-light);
  border-radius: 8px;
  transition: filter .3s;
}
.btn-grad:hover, .btn-grad:focus { color: #fff; filter: brightness(1.07); }
.btn-block { display: block; width: 100%; }
.btn-grad.btn-block { display: table; width: auto; margin-left: auto; margin-right: auto; }
.btn-grad.btn-left { margin-left: 0; }
.btn-sm { font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 0 24px rgba(0,0,0,.15);
  isolation: isolate;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/industrial-hall.jpg") top center / cover no-repeat;
  opacity: .17;
}
.header-inner {
  max-width: none;
  min-height: 123px;
  display: grid;
  grid-template-columns: 19.331% 58.897% 21.757%;
  align-items: center;
}
.header-inner > * { padding: 20px; }
.header-logo img { width: 100%; }
.header-buttons { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.nav-toggle { display: none; }

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
}
.main-nav li { position: relative; margin: 0 3px; }
.main-nav li:not(:last-child)::after {
  content: ""; position: absolute; right: -4px; top: 50%; height: 35%; transform: translateY(-50%);
  border-left: 2px dashed var(--gray);
}
.main-nav a {
  position: relative; display: block;
  padding: 11px 20px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 20px;
  color: var(--green-nav);
  transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--green-light);
  opacity: 0; transition: opacity .3s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active { color: var(--green-light); }
.main-nav a:hover::after, .main-nav a:focus::after, .main-nav a.active::after { opacity: 1; }

/* ---------- Slideshows ---------- */
.slideshow { position: absolute; inset: 0; overflow: hidden; }
.slideshow .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .5s ease;
}
.slideshow .slide.is-active { opacity: 1; }
.slideshow-slide .slide { opacity: 1; transform: translateX(-100%); transition: none; }
.slideshow-slide .slide.is-active,
.slideshow-slide .slide.is-leaving { transition: transform 1s ease; }
.slideshow-slide .slide.is-active { transform: none; }
.slideshow-slide .slide.is-leaving { transform: translateX(100%); }

/* ---------- Home ---------- */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 778px;
  display: flex; align-items: center;
}
.home-hero .slideshow { z-index: -2; }
.home-hero-forklift {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/forklift.webp") -8px 149px / 55% auto no-repeat;
}
.shape-top {
  position: absolute; top: -1px; left: 0; width: 100%; height: 26px; z-index: 1;
  fill: #fff;
}
.home-hero-row { display: grid; grid-template-columns: 35% 65%; width: 100%; padding: 10px; }
.home-hero-row > * { padding: 10px; }
.home-hero-box {
  background: rgba(0,0,0,.7); border-radius: 8px;
  display: flex; flex-direction: column; gap: 20px;
}
.home-hero-box h1 {
  font-family: var(--f-head); font-weight: 700; font-size: 41px; line-height: 1;
  text-transform: uppercase; text-align: right; color: #fff;
  text-shadow: 0 0 6px #000;
}
.home-hero-sub {
  margin: 0; font-weight: 600; font-size: 23px; line-height: 1; text-align: right; color: #fff;
  text-shadow: 0 0 6px #000;
}

.home-intro { padding: 70px 0; }
.home-intro .container { padding: 20px; }
.home-intro-title { font-family: var(--f-head); font-size: 37px; line-height: 1; color: var(--green); text-align: center; }
.home-intro-sub { margin: 20px 0 0; font-weight: 600; font-size: 25px; line-height: 1; color: var(--slate); text-align: center; }

.home-cards { padding: 40px 0; }
.home-cards .wide { padding: 10px; }
.home-cards .cols { margin-bottom: 20px; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-title { font-family: var(--f-head); font-weight: 700; font-size: 25px; line-height: 1; color: var(--green); }

/* ---------- Inner page heroes ---------- */
.page-hero {
  min-height: 290px;
  display: flex; align-items: center;
  background-size: cover; background-position: 0 0; background-repeat: no-repeat;
  padding: 10px;
}
.page-hero > .container { width: 100%; }
.page-hero-box {
  padding: 10px;
  background: var(--box-bg, transparent); border-radius: 8px;
  display: flex; flex-direction: column; gap: 20px;
}
.page-hero .cols .page-hero-box { margin: 0; }
.page-hero h1 { font-family: var(--f-head); font-size: 40px; line-height: 1; color: #fff; }
.page-hero h1.h1-xl { font-size: 52px; }
.page-hero-sub { margin: 0; font-family: var(--f-head); font-size: 31px; line-height: 1; color: var(--green-light); }

/* ---------- Content typography ---------- */
.title-lg { font-family: var(--f-body); font-weight: 600; font-size: 40px; line-height: 1; color: var(--green); }
.title-md { font-family: var(--f-body); font-weight: 600; font-size: 28px; line-height: 1; color: var(--green); }
.title-krona { font-family: var(--f-head); font-size: 28px; line-height: 1; color: var(--green); text-transform: uppercase; }
.title-krona-lg { font-size: 29px; }
.text { font-weight: 600; font-size: 16px; line-height: 24px; color: var(--gray); }
.text > :last-child { margin-bottom: 0; }
.text h3 {
  margin: .5rem 0 1rem;
  font-family: var(--f-head); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--green-light);
}
.text ul { margin: 0 0 .9rem; padding-left: 40px; }
.text li p { margin-bottom: .9rem; }
.lead-green { font-size: 26px; line-height: 30px; color: var(--green); }
.about-text p { font-weight: 400; color: var(--slate); }
.about-text::after { content: ""; display: table; clear: both; }
.about-text .alignleft { float: left; width: 225px; margin: 0 1.5em 1em 0; }
.about-photo { width: 800px; margin: 0 auto; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 7.5px 0 7.5px 24px;
  font-weight: 500; font-size: 16px; line-height: 24px; color: var(--ink);
}
.check-list li:first-child { padding-top: 0; }
.check-list li:last-child { padding-bottom: 0; }
.check-list li + li { border-top: 1px solid #ddd; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: 0; font-size: 14px; color: var(--green);
}

.photo-band { background-color: rgba(53,182,71,.22); padding: 50px 0; }
.photo-band img { width: 100%; }

/* ---------- Contact ---------- */
.contact-cols { align-items: start; }
.map { display: block; width: 100%; height: 564px; border: 0; }

/* ---------- Partner CTA (above footer) ---------- */
.partner-cta { display: grid; grid-template-columns: 63.1% 36.9%; min-height: 600px; }
.partner-cta-text {
  background: rgba(97,206,112,.09);
  padding: 40px 10% 40px 8%;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.partner-cta-text > * { margin: 0; }
.eyebrow, .eyebrow-link {
  font-family: var(--f-small); font-weight: 300; font-size: 14px; line-height: 1.3;
  letter-spacing: 1.53px; text-transform: uppercase; color: #000;
}
.eyebrow-link { align-self: center; transition: color .3s; }
.eyebrow-link:hover { color: #626060; }
.partner-cta-title { font-family: var(--f-head); font-size: 24px; line-height: 34px; color: #000; }
.partner-cta-title strong { font-weight: 700; }
.partner-cta-tel { font-weight: 600; font-size: 40px; line-height: 38px; }
.partner-cta-tel a { color: var(--slate); }
.partner-cta-slides { position: relative; inset: auto; min-height: 300px; }

/* ---------- Footer ---------- */
.site-footer { padding: 5% 5% 3%; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.footer-col { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.footer-col p { margin: 0; font-family: var(--f-small); font-weight: 300; font-size: 14px; line-height: 22.4px; color: #000; }
.footer-col p a { color: #000; }
.footer-logo { width: 100%; padding-right: 20px; }
.social { display: flex; gap: 5px; }
.social-icon {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-size: 13px;
}
.footer-title { font-family: var(--f-label); font-size: 20px; line-height: 25px; letter-spacing: 1px; text-transform: uppercase; color: #000; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-family: var(--f-small); font-weight: 300; font-size: 16px; line-height: 1.6; color: #000; transition: color .3s; }
.footer-nav a:hover { color: var(--green-light); }
.footer-col .btn-solid + .btn-solid { margin-top: -5px; }

.footer-bar {
  background: var(--green-light);
  min-height: 50px; padding: 20px 5%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-weight: 400; font-size: 16px; line-height: 24px; color: #000;
}
.footer-bar p { margin: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 20% 60% 20%; padding: 20px; }
  .header-inner > * { padding: 0 10px; }
  .main-nav a { padding: 11px 14px; }
  .main-nav li { margin: 0; }
  .home-hero { min-height: 640px; }
  .home-hero-forklift { background-position: 0 0; }
  .home-hero-box h1 { font-size: 34px; }
  .home-hero-sub { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-logo { max-width: 360px; }
  .partner-cta { grid-template-columns: 55% 45%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .header-inner { grid-template-columns: 1fr auto; padding: 0; min-height: 0; }
  .header-inner > * { padding: 10px; }
  .header-logo { grid-column: 1; grid-row: 1; }
  .header-logo img { max-width: 170px; }
  .nav-toggle {
    grid-column: 2; grid-row: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 50px; height: 50px; margin-right: 10px; padding: 10px;
    background: transparent; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 3px; background: #000; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .header-buttons { grid-column: 1 / -1; grid-row: 2; flex-direction: row; align-items: stretch; gap: 8px; padding-top: 0; }
  .header-buttons .btn-solid { flex: 1; padding: 11px 10px; }
  .main-nav { grid-column: 1 / -1; grid-row: 3; padding: 0; display: none; background: #f2f2f2; }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; }
  .main-nav li { display: block; margin: 0; }
  .main-nav li::after { display: none; }
  .main-nav a { padding: 12px 20px; font-family: var(--f-body); font-weight: 500; font-size: 15px; color: #000; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a:focus, .main-nav a.active { color: #00ce1b; background: #ededed; }

  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; padding: 60px 0 30px; }
  .home-hero-row { grid-template-columns: 1fr; }
  .home-hero-spacer { display: none; }
  .home-hero-forklift { background-size: 90% auto; background-position: center bottom; opacity: .35; }
  .home-hero-box h1 { font-size: 26px; }
  .home-hero-sub { font-size: 17px; line-height: 1.25; }
  .btn-grad { font-size: 17px; }
  .btn-sm { font-size: 14px; }
  .home-intro { padding: 40px 0; }
  .home-intro-title { font-size: 25px; line-height: 1.15; }
  .home-intro-sub { font-size: 18px; line-height: 1.3; }
  .card-title { font-size: 22px; }
  .page-hero { min-height: 220px; }
  .page-hero h1, .page-hero h1.h1-xl { font-size: 27px; line-height: 1.15; }
  .page-hero-sub { font-size: 20px; line-height: 1.2; }
  .title-lg { font-size: 30px; }
  .title-md { font-size: 22px; line-height: 1.15; }
  .title-krona, .title-krona-lg { font-size: 21px; line-height: 1.2; }
  .lead-green { font-size: 20px; line-height: 1.35; }
  .about-text .alignleft { width: 140px; margin-right: 1em; }
  .text ul { padding-left: 22px; }
  .map { height: 380px; }
  .partner-cta { grid-template-columns: 1fr; min-height: 0; }
  .partner-cta-text { padding: 15% 5% 10%; }
  .partner-cta-title { font-size: 17px; line-height: 1.2; }
  .partner-cta-tel { font-size: 26px; line-height: 1.2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .site-footer { padding: 10% 5% 5%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slideshow .slide, .slideshow-slide .slide { transition: none !important; }
}
