/* ═══════════════════════════════════════════════
   NORFOLK TRUCK BEDS — Classic Dealer Style
   White bg, black Arial Black headlines, red accents
   ═══════════════════════════════════════════════ */

:root {
  --black:  #111111;
  --red:    #cc1f1a;
  --red2:   #e8352f;
  --white:  #ffffff;
  --off:    #f4f4f4;
  --gray:   #666666;
  --lgray:  #999999;
  --border: #e0e0e0;
  --dark-tab: #2b2b2b;
  --font-display: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── HEADER BRAND BLOCK ── */
.site-header {
  text-align: center;
  padding: 28px 16px 18px;
  background: var(--white);
}
.site-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  color: var(--black);
  letter-spacing: 1px;
  line-height: 1.05;
  text-transform: uppercase;
}
.site-tagline {
  font-family: var(--font-display);
  font-size: clamp(14px, 2.6vw, 22px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: .5px;
  margin-top: 6px;
  text-transform: uppercase;
}
.site-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── TAB NAV ── */
.tab-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--white);
}
.tab-nav-inner {
  display: flex;
  border: 1px solid var(--border);
  background: var(--off);
}
.tab-link {
  flex: 1;
  text-align: center;
  padding: 15px 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  border-right: 1px solid var(--border);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.tab-link:last-child { border-right: none; }
.tab-link:hover { background: #e8e8e8; }
.tab-link.active { background: var(--dark-tab); color: var(--white); }

/* Mobile nav */
.mob-nav-toggle {
  display: none;
  width: 100%;
  padding: 14px;
  background: var(--dark-tab);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
}
@media (max-width: 860px) {
  .tab-nav-inner { display: none; flex-direction: column; }
  .tab-nav-inner.open { display: flex; }
  .tab-link { border-right: none; border-bottom: 1px solid var(--border); text-align: left; padding: 14px 18px; }
  .mob-nav-toggle { display: block; }
}

/* ── CALL BADGE (hero overlay style) ── */
.call-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 30px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.call-badge-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.call-badge-number {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 900;
  letter-spacing: 1px;
  margin-top: 2px;
  display: block;
  color: var(--white);
}

/* ── HERO ── */
.hero-wrap {
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 0 16px;
  position: relative;
}
.hero-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 300px;
  max-height: 560px;
  overflow: hidden;
  background: var(--off);
}
.hero-img-box img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge-pos {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
}
@media (max-width: 640px) {
  .hero-img-box { aspect-ratio: 4/3; min-height: 220px; }
  .hero-badge-pos { top: 12px; left: 12px; }
  .call-badge { padding: 12px 18px; border-radius: 10px; }
}

/* ── BIG STATEMENT BLOCK ── */
.statement {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 20px 28px;
  text-align: center;
}
.statement-line-1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.12;
}
.statement-line-2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4.2vw, 40px);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.15;
}
.statement-line-3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 3vw, 28px);
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 10px;
  line-height: 1.2;
}
.statement-body {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  margin-top: 14px;
  line-height: 1.65;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.statement-accent {
  font-family: var(--font-display);
  font-size: clamp(17px, 3vw, 26px);
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 14px;
}

/* ── CATEGORY GALLERY (labeled photos) ── */
.cat-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}
.cat-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  justify-items: center;
}
.cat-tile {
  position: relative;
  width: 100%;
  max-width: 460px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.cat-tile-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--off);
  border: 1px solid var(--border);
}
.cat-tile-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--off);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: var(--lgray);
}
.cat-tile-label {
  position: absolute;
  top: 14px;
  left: -6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 8px 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.cat-tile-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  border-style: solid;
  border-width: 0 6px 6px 0;
  border-color: transparent #7a0f0c transparent transparent;
}

/* ── PAGE CONTENT ── */
.page { display: none; }
.page.active { display: block; }

.page-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 40px;
}
.page-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
}
.page-content {
  font-size: 15.5px;
  color: var(--black);
  line-height: 1.75;
  max-width: 1000px;
}
.page-content p { margin-bottom: 12px; }
.page-content strong { font-weight: 700; }
.page-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  margin: 22px 0 8px;
  line-height: 1.35;
}
.page-content ul { margin: 8px 0 14px 22px; }
.page-content li { margin-bottom: 4px; }
.page-content .red { color: var(--red); font-weight: 700; }
.page-content .blue { color: #1a52cc; font-weight: 700; }

/* ── PHOTO GALLERY GRID ── */
.gallery-section { margin-top: 34px; }
.gallery-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 20px;
}
.photo-grid-item {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--off);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: opacity .15s, transform .15s;
}
.photo-grid-item:hover { opacity: .92; transform: scale(1.01); }
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 10px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  z-index: 2001;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 34px;
  width: 54px;
  height: 76px;
  cursor: pointer;
  transition: background .15s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 42px; height: 60px; font-size: 26px; }
}

/* ── DELIVERY / SHIPPING NOTICE (sitewide, sits just above footer on every page) ── */
.notice-strip {
  text-align: center;
  padding: 34px 20px 30px;
  border-top: 1px solid var(--border);
  max-width: 1240px;
  margin: 20px auto 0;
}
.notice-strip-main {
  font-family: var(--font-display);
  font-size: clamp(19px, 3.6vw, 34px);
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
}
.notice-strip-sub {
  font-family: var(--font-display);
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 10px;
}

/* ── CONTACT BLOCK ── */
.contact-block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 860px) { .contact-block { grid-template-columns: 1fr; } }
.contact-details h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-details p { font-size: 15.5px; line-height: 1.9; }
.contact-details a { color: var(--red); font-weight: 700; }
.contact-details a:hover { text-decoration: underline; }

/* Contact form */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: .5px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #ccc;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--black);
  outline: none;
  transition: border-color .15s;
  background: var(--white);
  border-radius: 0;
}
.form-input:focus, .form-textarea:focus { border-color: var(--black); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #ccc;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--black);
  outline: none;
  transition: border-color .15s;
  background: var(--white);
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select:focus { border-color: var(--black); }
.form-select:invalid { color: #888; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 13px; }
.form-section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.form-section-label:first-child { margin-top: 0; padding-top: 0; border-top: none; }
@media (max-width: 560px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.btn-submit {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 34px;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn-submit:hover { background: var(--red2); }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.8);
  padding: 34px 20px 22px;
  margin-top: 30px;
  text-align: center;
}
.footer-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-info { font-size: 14px; margin-top: 10px; line-height: 1.9; }
.footer-info a { color: var(--red2); font-weight: 700; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 18px; }

/* ── FLOATING CALL BUTTON — clean, professional, no pulse ── */
.float-call {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 999;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .5px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.30);
  transition: background .15s, box-shadow .15s;
  text-decoration: none;
}
.float-call:hover { background: var(--red2); box-shadow: 0 6px 24px rgba(0,0,0,0.38); }
.float-call svg { width: 19px; height: 19px; flex-shrink: 0; }
@media (max-width: 640px) {
  .float-call { padding: 15px; border-radius: 50%; }
  .float-call .float-call-txt { display: none; }
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--black);
  color: var(--white);
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all .3s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: #157a2e; }
.toast.err { background: var(--red); }

/* ── SPINNER ── */
.spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrap { display: flex; justify-content: center; padding: 50px; }

/* ── EMPTY ── */
.empty-note { text-align: center; color: var(--lgray); font-size: 14px; padding: 34px 16px; }
