
/* =========================================
   BEST-TECH AUTOMOTIVE
   Mobile-first stylesheet
   ========================================= */

:root {
  --blue: #1C4585;
  --navy: #0B1B3F;
  --electric: #2E6BFF;
  --sky: #9DBBF2;
  --ice: #EEF3FA;
  --steel: #5A6880;
  --silver: #CDD5E1;
  --white: #FFFFFF;

  --font-heading: "Saira", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-technical: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 36px, 1280px);
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--silver);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.brand-name {
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--steel);
  font-family: var(--font-technical);
  font-size: 9px;
  letter-spacing: 3px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-cta {
  display: none;
  padding: 12px 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--silver);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue);
}

.mobile-nav {
  padding: 12px 18px 20px;
  background: var(--white);
  border-top: 1px solid var(--silver);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--ice);
  font-weight: 600;
}

/* HERO */

.hero {
  overflow: hidden;
  background: var(--ice);
}

.hero-inner {
  display: grid;
  gap: 30px;
  padding-block: 46px 52px;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--font-technical);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
}

.hero h1,
.coming-section h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(35px, 9.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: var(--navy);
}

.hero-description {
  max-width: 490px;
  margin: 22px 0 25px;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.btn span {
  font-size: 20px;
  line-height: 1;
}


/* HERO AUTOMOTIVE IMAGE */

.hero-visual {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile hero */
@media (max-width: 899px) {
  .hero-inner {
    gap: 18px;
  }

  .hero-visual {
    margin-top: 4px;
  }

  .hero-image {
    width: 100%;
  }
}

/* Desktop hero */
@media (min-width: 900px) {
  .hero-visual {
    align-self: center;
  }

  .hero-image {
    width: 100%;
    max-width: 720px;
  }
}


/* SCROLLING VEHICLE BRANDS */

.brand-strip {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 22px 0 26px;
}

.brand-strip-inner > p {
  margin: 0 0 20px;
  color: var(--sky);
  font-family: var(--font-technical);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-align: center;
}

.brand-marquee {
  overflow: hidden;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: brand-scroll 30s linear infinite;
}

.brand-track span {
  flex-shrink: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.8;
}

.brand-marquee:hover .brand-track,
.brand-marquee:focus-within .brand-track {
  animation-play-state: paused;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* UPCOMING SECTIONS */

.coming-section {
  padding-block: 70px;
  border-bottom: 1px solid var(--silver);
}

.coming-section:nth-of-type(even) {
  background: var(--ice);
}

.coming-section h2 {
  max-width: 800px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.15;
}

.coming-section p:not(.eyebrow) {
  max-width: 550px;
  color: var(--steel);
}

.site-footer {
  padding: 30px 0;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
}

/* DESKTOP */

@media (min-width: 900px) {
  .container {
    width: min(86%, 1280px);
  }

  .header-inner {
    min-height: 90px;
  }

  .desktop-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 45px;
    min-height: 580px;
    padding-block: 75px;
  }

  .hero h1 {
    font-size: clamp(48px, 4.8vw, 72px);
  }

  .hero-description {
    font-size: 18px;
  }

  .placeholder-text {
    font-size: 28px;
  }

  .coming-section {
    padding-block: 100px;
  }
}

/* ACCESSIBILITY */

:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important; 
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* BESTTECH - UPDATED CAR LOGO MARQUEE */

.brand-strip {
  background: #FFFFFF;
  padding: 28px 0 34px;
  border-top: 1px solid #CDD5E1;
  border-bottom: 1px solid #CDD5E1;
  overflow: hidden;
}

.brand-strip-inner {
  width: 100%;
}

.brand-strip-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  color: #5A6880;
  margin: 0 0 24px;
}

.brand-marquee {
  width: 100%;
  overflow: hidden;
}

.brand-track {
  display: flex;
  width: max-content;
  animation: besttech-logo-scroll 75s linear infinite;
}

.brand-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.brand-group img {
  display: block;
  width: 85px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  opacity: 0.65;
}

@keyframes besttech-logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .brand-strip {
    padding: 24px 0 28px;
  }

  .brand-group {
    gap: 36px;
    padding-right: 36px;
  }

  .brand-group img {
    width: 65px;
    height: 40px;
  }

  .brand-track {
    animation-duration: 65s;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }

  .brand-marquee {
    overflow-x: auto;
  }
}


/* BESTTECH — BLUE LOGO MARQUEE */

.brand-strip {
  background: #1C4585;
  border-top: none;
  border-bottom: none;
  padding: 32px 0 36px;
}

.brand-strip-title {
  color: #FFFFFF;
  opacity: 0.85;
}

.brand-group img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  width: 90px;
  height: 54px;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 600px) {
  .brand-strip {
    padding: 26px 0 30px;
  }

  .brand-group img {
    width: 72px;
    height: 44px;
  }
}

/* RANGE ROVER — LOGO SIZE ADJUSTMENT */

.brand-group img[src*="Range-Rover.svg"] {
  transform: scale(2.5);
}

