/* ── Mass Moving Systems – Site Stylesheet ──────────────────────── */

/* Variables */
:root {
  --navy:   #03204c;
  --red:    #c20e23;
  --gold:   #f5a623;
  --light:  #eef4fb;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --muted:  #5a6a80;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(3,32,76,.14);
  --nav-h:  64px;
  --font-h: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-b); color: var(--text); background: var(--white); line-height: 1.65; font-size: 1rem; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
ul    { list-style: none; }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  padding: 6px clamp(12px,4vw,56px);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 4px;
}
.topbar a { color: var(--gold); }
.topbar a:hover { color: var(--white); }

/* ── Sticky Nav ──────────────────────────────────────────── */
nav.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(12px,4vw,56px);
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.09);
}
.nav-brand {
  font-family: var(--font-h);
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy); white-space: nowrap; flex-shrink: 0;
}
.nav-brand span { color: var(--red); }
.nav-links { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  font-size: .85rem; font-weight: 600;
  color: var(--navy); padding: 6px 13px;
  border-radius: var(--radius);
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { background: var(--navy); color: var(--white); }
.nav-links a.cta    { background: var(--red);  color: var(--white); }
.nav-links a.cta:hover { background: #9e0b1b; }

/* Hamburger */
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 2px solid var(--navy);
  border-radius: var(--radius); width: 38px; height: 38px;
  cursor: pointer; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; padding: 6px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 12px 16px 20px; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; font-size: .97rem; }
}

/* ── Page hero banner ────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  min-height: clamp(120px, 25vw, 300px);
}
.page-hero img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; opacity: .45;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: clamp(28px,5vw,64px) clamp(16px,5vw,56px);
}
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem,4vw,2.8rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: .01em;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: clamp(.9rem,1.6vw,1.05rem);
  margin-top: 8px; max-width: 520px;
}

/* ── Section utilities ───────────────────────────────────── */
section { padding: clamp(36px,6vw,72px) clamp(16px,5vw,56px); }
.section-line { width: 44px; height: 4px; background: var(--red); border-radius: 2px; margin-bottom: 10px; }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.5rem,3.5vw,2.1rem);
  font-weight: 700; color: var(--navy);
  letter-spacing: .02em; margin-bottom: 8px;
}
.section-sub { color: var(--muted); font-size: .95rem; margin-bottom: 28px; max-width: 560px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 11px 26px;
  border-radius: var(--radius); font-weight: 600;
  font-size: .93rem; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); text-decoration: none; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-navy    { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ── Promo banner image ──────────────────────────────────── */
.promo-banner img { width: 100%; object-fit: cover; max-height: 200px; }

/* ── Product cards grid ──────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,230px),1fr));
  gap: 18px; max-width: 1200px; margin: 0 auto;
}
.card {
  background: var(--light); border-radius: var(--radius);
  padding: 20px 18px; border-left: 4px solid var(--navy);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.card-icon  { font-size: 1.9rem; margin-bottom: 10px; }
.card h3 {
  font-family: var(--font-h); font-size: 1.05rem;
  font-weight: 700; color: var(--navy); margin-bottom: 5px;
}
.card p { font-size: .87rem; color: var(--muted); line-height: 1.55; }

/* ── Photo / product image grid ─────────────────────────── */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,280px),1fr));
  gap: 14px; max-width: 1200px; margin: 0 auto;
}
.img-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .25s, box-shadow .25s;
}
.img-grid img:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,.22); }

/* ── About two-column ────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.about-grid img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; object-fit: cover; max-height: 380px;
}
.about-text p { color: var(--muted); margin-bottom: .9em; font-size: .96rem; }
.about-text strong { color: var(--navy); }
.info-card {
  margin-top: 18px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: .9rem; line-height: 1.9;
}
.info-card a { color: var(--gold); }
.info-card a:hover { color: var(--white); }
@media (max-width: 740px) { .about-grid { grid-template-columns: 1fr; } }

/* ── Contact section ─────────────────────────────────────── */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
  max-width: 960px; margin: 0 auto;
}
@media (max-width: 640px) { .contact-inner { grid-template-columns: 1fr; } }
.contact-list li {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 12px; font-size: .93rem; color: var(--muted);
}
.contact-list .ci { font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--red); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 300px; border: none; display: block; }

/* ── Contact form ────────────────────────────────────────── */
.contact-form-wrap { max-width: 660px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #d0dae8; border-radius: var(--radius);
  font-family: var(--font-b); font-size: .95rem; color: var(--text);
  background: var(--white); transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Why us strip ────────────────────────────────────────── */
.why-section { background: var(--navy); }
.why-section .section-title { color: var(--white); }
.why-section .section-sub   { color: rgba(255,255,255,.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px,1fr));
  gap: 18px; max-width: 1200px; margin: 0 auto;
}
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius); padding: 20px 18px;
  text-align: center; transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,.13); }
.why-card .w-icon { font-size: 2rem; margin-bottom: 8px; }
.why-card h4 { font-family: var(--font-h); font-size: .97rem; font-weight: 700; color: var(--gold); margin-bottom: 5px; }
.why-card p  { font-size: .83rem; color: rgba(255,255,255,.6); }

/* ── Admin / product list page ───────────────────────────── */
.admin-box {
  max-width: 640px; background: var(--light);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); margin: 0 auto;
}
.admin-box h2 { font-family: var(--font-h); color: var(--navy); margin-bottom: 20px; }
.admin-box select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #d0dae8; border-radius: var(--radius);
  font-size: 1rem; margin-bottom: 14px;
}
.product-result { margin-top: 24px; }
.product-result h3 { font-family: var(--font-h); color: var(--navy); font-size: 1.4rem; }
.product-result p  { color: var(--muted); margin: 8px 0 14px; }
.product-result img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: #020f25; color: rgba(255,255,255,.5);
  text-align: center; padding: 22px 16px;
  font-size: .8rem; line-height: 2.1;
}
footer a { color: var(--gold); }
footer a:hover { color: var(--white); }
.footer-nav {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 6px 18px; margin-bottom: 10px;
}
.footer-nav a { color: rgba(255,255,255,.5); font-size: .8rem; }
.footer-nav a:hover { color: var(--gold); }

/* ── Alert / success message ─────────────────────────────── */
.alert {
  padding: 14px 20px; border-radius: var(--radius);
  font-size: .95rem; margin-bottom: 20px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
