/* ============================================================
   In Motion Classics Europe — Main Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   1. TOKENS & RESET
   ------------------------------------------------------------ */
:root {
  --red:      #ff0000;
  --red-dark: #991414;
  --blue:    #0e0e0e;
  --offwhite: #f5f3ef;
  --grey:     #406067;
  --gold:     #b89a5a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--offwhite);
  color: #000;
  overflow-x: hidden;
}


/* ------------------------------------------------------------
   2. ANIMATIONS
   ------------------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu { animation: fadeUp 0.85s ease both; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.30s; }
.d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.60s; }


/* ------------------------------------------------------------
   3. SHARED SECTION COMPONENTS
   ------------------------------------------------------------ */
.section-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: 'Google Sans', serif;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.15rem;
  margin: 20px 0 30px 0;
}


/* ------------------------------------------------------------
   4. NAVBAR
   ------------------------------------------------------------ */
.navbar {
  background: var(--red-dark);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
vs  transition: background 0.4s, padding 0.4s;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.96);
vs  border-bottom: 1px solid rgba(204,27,27,0.2);
}

.navbar-brand img {
  height: 70px;
}

.navbar-toggler-icon-custom {
  color: #fff;
  font-size: 1.4rem;
}

.brand-main {
  font-family: 'google sans', serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}
.brand-sub {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7) !important;
  margin: 0 0.6rem;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff !important; }

@media (max-width: 991px) {
  #navMenu {
    display: none;
    width: 100%;
  }
  .navbar #navMenu.show {
    display: block;
    padding: 1rem 0;
  }
}

@media (max-width: 991px) {
  #navMenu.show {
    background-color: var(--red-dark);
    padding: 1rem 0;
  }
}



/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */
.btn-imc {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-imc:hover { 
  background: var(--red-dark);
  color: #fff; transform:
  translateY(-1px); 
}

.btn-imc-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-imc-outline:hover { border-color: #fff; color: #fff; }


/* ------------------------------------------------------------
   9. CONTACT
   ------------------------------------------------------------ */
#contact { background: var(--offwhite); padding: 6rem 0; }

.contact-dark { background: var(--grey); padding: 3rem; height: 100%; }

.contact-dark .section-label { color: #ddd; }

.contact-dark .section-title { font-size: 2rem; color: #eee; }

.contact-info-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #f00;
  margin-bottom: 0.2rem;
}
.contact-info-val, .contact-info-val a {
  font-size: 2rem;
  color: rgba(0,0,0,0.8);
  margin-bottom: 1.6rem;
}

.contact-light { background: #fff; padding: 3rem; }

.contact-light .section-title { font-size: 1.6rem; color: var(--black); }

.field-line {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  border-radius: 0;
  color: var(--black);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 0;
  margin-bottom: 1.4rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.field-line::placeholder { color: rgba(0,0,0,0.25); }
.field-line:focus { border-bottom-color: var(--red); }

textarea.field-line { resize: none; }

}
/* ------------------------------------------------------------
   10. FOOTER
   ------------------------------------------------------------ */
footer {
  background: var(--grey);
  padding: 2rem 0;
}
.footer-legal a, hero-content-section a {
  color: #ddd;
}

.footer-brand {
  font-family: 'Google Sans', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

.footer-tagline {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* -----------------------------------------------------
      INTRO BG PICS
----------------------------------------------------- */

body.articles-toc #intro {
  background:  url("/assets/images/landrover-110-red.jpg") center top no-repeat;
  background-size: cover;
}
body.articles-mini #intro {
  background:  url("/assets/images/articles/minis/1275gts-yellow.jpg") center top no-repeat;
  background-size: cover;
}
body.forsale #intro{
  background:  url("/assets/images/sale/1967-mini-traveller-998-side-left.jpeg") center top no-repeat;
  background-size: cover;
}

.article-toc-body {
  color: var();
}

/* ----------------------------------------------------
    STICKY TOC
---------------------------------------------------- */

/* ── STICKY TOC ── */
    .legal-wrap {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 0;
      max-width: 1200px;
      margin: 0 auto;
      padding: 80px 24px 100px;
    }
    @media (max-width: 900px) {
      .legal-wrap { grid-template-columns: 1fr; }
      .legal-toc { display: none; }
    }
    .legal-toc {
      padding-right: 40px;
      padding-top: 4px;
    }
    .toc-inner {
      position: sticky;
      top: 110px;
    }
    .toc-label {
      font-family: 'Barlow Condensed', sans-serif;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--black);
      margin-bottom: 1.2rem;
    }
    .toc-inner a {
      display: block;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--black);
      text-decoration: none;
      padding: 0.45rem 0;
      border-left: 2px solid transparent;
      padding-left: 12px;
      transition: color 0.2s, border-color 0.2s;
    }
    .toc-inner a:hover,
    .toc-inner a.active {
      color: var(--red);
      border-left-color: var(--red);
    }
    .toc-divider {
      height: 1px;
      background: rgba(14,14,14,0.08);
      margin: 1rem 0;
    }