/* ============================================================
   MARS INDUSTRIAL LLC - Website Styles
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
.red { color: #a01818; }
.muted { color: #a3a3a3; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }
@media (max-width: 768px) { section { padding: 2.5rem 0; } }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: #a01818; color: #fff; }
.btn-primary:hover { background: #7a1212; transform: translateY(-2px); }
.btn-outline { border: 2px solid #a01818; color: #c14545; background: transparent; }
.btn-outline:hover { background: #a01818; color: #fff; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* HEADER */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1f1f1f;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.logo-text .red { color: #a01818; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover, .nav-links a.active { color: #a01818; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: #a01818;
}
.menu-toggle {
  display: none;
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #0a0a0a;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #1f1f1f;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero {
  position: relative;
  padding: 6rem 0;
  background:
    linear-gradient(135deg, rgba(160,24,24,0.15) 0%, rgba(10,10,10,1) 60%),
    radial-gradient(ellipse at top right, rgba(160,24,24,0.2), transparent 70%),
    #0a0a0a;
  text-align: center;
  border-bottom: 1px solid #1f1f1f;
}
.hero-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(160,24,24,0.15);
  border: 1px solid #a01818;
  border-radius: 999px;
  color: #a01818;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p.lead {
  font-size: 1.2rem;
  color: #d4d4d4;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* VALUE PROPS */
.values { background: #0f0f0f; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #161616;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  transition: all 0.3s;
}
.value-card:hover { border-color: #a01818; transform: translateY(-4px); }
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  background: rgba(160,24,24,0.1);
  color: #a01818;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: #a3a3a3; font-size: 0.95rem; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .red { display: block; font-size: 0.85rem; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: #a3a3a3; max-width: 640px; margin: 0 auto; }

/* CATEGORIES GRID */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.category-card {
  position: relative;
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: #a01818;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.category-card:hover {
  border-color: #a01818;
  background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  transform: translateY(-4px);
}
.category-card:hover::before { transform: scaleX(1); }
.category-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: rgba(160,24,24,0.1);
  color: #a01818;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.category-icon svg { width: 32px; height: 32px; }
.category-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.category-card p { color: #a3a3a3; font-size: 0.875rem; }

/* INDUSTRIES */
.industries { background: linear-gradient(180deg, #0a0a0a 0%, #111 100%); border-top: 1px solid #1f1f1f; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.industry-card {
  text-align: center;
  padding: 1.5rem;
  border-left: 3px solid #a01818;
  background: #141414;
  border-radius: 0 8px 8px 0;
}
.industry-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }

/* CTA STRIP */
.cta-strip {
  background: linear-gradient(135deg, #8b1515 0%, #5a0e0e 100%);
  padding: 3rem 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-strip p { color: #f4d4d4; margin-bottom: 1.5rem; }
.cta-strip .btn-primary { background: #fff; color: #a01818; }
.cta-strip .btn-primary:hover { background: #f5f5f5; color: #7a1212; }

/* CATEGORY BANNER PHOTO (shop page) */
.category-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid #2a2a2a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .category-banner { height: 160px; }
}

/* PRICE CHART TABLE */
.price-chart-section { padding-top: 2rem; }
.category-block { margin-bottom: 3rem; }
.category-block-header {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #a01818;
  margin-bottom: 1.5rem;
}
.category-block-header .icon-circle {
  width: 48px; height: 48px;
  background: rgba(160,24,24,0.1);
  color: #a01818;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.category-block-header .icon-circle svg { width: 24px; height: 24px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.product-card {
  background: #161616;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.2s;
}
.product-card:hover { border-color: #a01818; }
.product-card { padding: 1.25rem; }
.product-card h4 { font-family: 'Inter', sans-serif; text-transform: none; font-size: 1rem; margin-bottom: 0.25rem; }
.product-card .price {
  color: #a01818; font-weight: 700; font-size: 1.05rem; margin: 0.5rem 0;
}
.product-card .desc { color: #a3a3a3; font-size: 0.85rem; margin-bottom: 0.75rem; }
.product-card .quote-link {
  display: inline-block;
  color: #a01818;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card .quote-link:hover { text-decoration: underline; }

/* PRODUCT PHOTO GALLERY ROW */
.product-photos-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.product-photo-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  aspect-ratio: 16/9;
}
.product-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-photo-item:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .product-photos-row { grid-template-columns: 1fr; }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info-card {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 2rem;
}
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #1f1f1f;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon-circle {
  width: 44px; height: 44px;
  background: rgba(160,24,24,0.1);
  color: #a01818;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .icon-circle svg { width: 20px; height: 20px; }
.contact-row .label { color: #a3a3a3; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.contact-row .value { color: #fff; font-weight: 500; }
.contact-row a:hover { color: #a01818; }

/* FORM */
.form-card {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 2rem;
}
.form-row { margin-bottom: 1.25rem; }
.form-row.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) { .form-row.two-col { grid-template-columns: 1fr; } }
.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d4d4d4;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: #a01818;
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
footer {
  background: #050505;
  border-top: 1px solid #1f1f1f;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { font-size: 0.9rem; margin-bottom: 1rem; color: #a01818; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.5rem; font-size: 0.9rem; color: #a3a3a3; }
.footer-grid a:hover { color: #a01818; }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1f1f1f;
  color: #737373;
  font-size: 0.85rem;
}
.tx-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(160,24,24,0.1);
  border: 1px solid #a01818;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* PAGE HEADER (subpages) */
.page-header {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(160,24,24,0.1), rgba(10,10,10,1));
  border-bottom: 1px solid #1f1f1f;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: #a3a3a3; max-width: 600px; margin: 0 auto; }

/* THANK YOU MESSAGE */
.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  color: #86efac;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  display: none;
}
.form-success.show { display: block; }
