/* Turbo Garage LLC - shared stylesheet.
   Desktop measurements mirror the original Wix site at turbogaragellc.com:
   a 980px centred grid (.grid980), header/footer column strips, and the same
   fonts (the site's own uploaded Oswald + Roboto files, rehosted in assets/fonts). */

@font-face {
  font-family: "TG Oswald";
  src: url("fonts/oswald.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TG Roboto";
  src: url("fonts/roboto.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #008000;
  --green-80: rgba(0, 128, 0, .8);
  --black: #000;
  --white: #fff;
  --grey-line: #595959;
  --field: #e1e7e3;
  --head: "TG Oswald", "Oswald", "Arial Narrow", sans-serif;
  --body: "TG Roboto", "Roboto", Arial, sans-serif;
  --helv: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --btn: "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #116dff;
  font: 14px Helvetica, Arial, sans-serif;
}
.skip-link:focus { top: 60px; }

/* 980px centred grid, same as the Wix editor canvas */
.grid980 { position: relative; width: 980px; margin: 0 auto; }

/* ---------- Buttons (Wix StylableButton: 1px green outline, radius 10) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 211px;
  height: 50px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: transparent;
  color: #000;
  font-family: var(--btn);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  transition: all .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--green); color: #fff; }
.btn-light { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--grey-line); }

.topbar { display: flex; height: 49px; margin-bottom: 1px; }
.topbar-main { flex: 735; background: #000; display: flex; align-items: center; gap: 2px; padding-left: 60px; }
.topbar-side { flex: 245; background: #000; position: relative; }
.topbar-item { display: flex; align-items: center; color: #fff; font-size: 14px; line-height: 1.4; }
.topbar-item svg { width: 20px; height: 20px; margin-right: 11px; flex: none; }
.topbar-item + .topbar-item { margin-left: 0; }
.topbar-item.email { width: 276px; }
.topbar-item a:hover { text-decoration: underline; }
.topbar-side .fb { position: absolute; top: 13px; left: calc((100% - 245px) / 2 + 95px); }
.fb img { width: 23px; height: 23px; }

.mainbar { display: flex; gap: 1px; height: 116px; }
.mainbar > div { background: #000; position: relative; }
.mb-logo { flex: 247; }
.mb-nav { flex: 484; }
.mb-help { flex: 247; }
.brand { position: absolute; top: 10px; left: calc((100% - 247px) / 2 + 7px); }
.brand img { width: 157px; height: 94px; object-fit: cover; }

.main-nav { position: absolute; top: 35px; left: calc((100% - 484px) / 2); width: 484px; }
.main-nav ul { display: flex; justify-content: space-around; }
.main-nav a {
  display: block;
  padding: 10px;
  margin: 0 4px;
  font-family: var(--head);
  font-size: 16px;
  letter-spacing: .05em;
  line-height: 24px;
  color: #fff;
}
.main-nav a:hover, .main-nav a.active { color: var(--green); text-decoration: underline; }

.help { position: absolute; top: 24px; left: calc((100% - 247px) / 2); display: flex; align-items: flex-start; }
.call-ring { width: 67px; height: 67px; border-radius: 50%; background: var(--green-80); display: grid; place-items: center; flex: none; }
.call-dot { width: 49px; height: 49px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.call-dot svg { width: 31px; height: 31px; }
.help-text { margin: 10px 0 0 10px; color: #fff; line-height: 22.4px; }
.help-text strong { display: block; font-weight: 700; }

.nav-toggle { display: none; }

/* ---------- Home: hero ---------- */
.hero { position: relative; height: 634px; overflow: hidden; background: linear-gradient(90deg, #000 40.25%, rgba(255, 255, 255, .56) 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: .2; }
.hero-wheel { position: absolute; left: -272px; top: 112px; width: 398px; height: 398px; animation: spin 7s linear infinite; }
@keyframes spin { from { transform: rotate(-360deg); } to { transform: rotate(0deg); } }
.hero-text { position: absolute; left: 91px; top: 157px; width: 742px; }
.hero-text .eyebrow { font-size: 18px; line-height: 25.2px; }
.hero-text h1 { margin-top: 9px; font-family: var(--head); font-size: 49px; line-height: 53.9px; }
.hero-text .hero-sub { margin: 24px 0 0 2px; width: 682px; line-height: 22.4px; }
.hero-text .btn { margin: 11px 0 0 2px; color: #fff; }

/* ---------- Shared section headings ---------- */
.kicker { font-family: var(--head); font-size: 21px; line-height: 29.4px; color: var(--green); text-align: center; }
.title { font-family: var(--head); font-size: 34px; line-height: 47.6px; text-align: center; }
.kicker + .title { margin-top: 2px; }

/* ---------- Home: about ---------- */
.about { position: relative; height: 752px; overflow: hidden; }
.about-media { position: absolute; left: -153px; top: 82px; width: 574px; height: 588px; }
.about-frame { position: absolute; left: 0; top: 0; width: 353px; height: 244px; border-radius: 30px; background: var(--green); }
.about-photo { position: absolute; left: 15px; top: 15px; width: 404px; height: 506px; object-fit: cover; border-radius: 25px; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.about-tires { position: absolute; left: 138px; top: 82px; width: 436px; height: 506px; object-fit: cover; }
.about-text { position: absolute; left: 486px; top: 104px; width: 493px; }
.about-text .kicker, .about-text .title { text-align: left; }
.about-text .title { margin-top: 9px; min-height: 102px; }
.about-text .copy { margin-top: 10px; font-family: var(--helv); line-height: 22.4px; }
.about-text .copy p + p { margin-top: 19.4px; }
.checks { margin-top: 13px; }
.checks li { display: flex; gap: 13px; font-family: var(--helv); line-height: 22.4px; min-height: 45px; }
.checks li + li { margin-top: 7px; }
.checks svg { width: 27px; height: 27px; flex: none; }
.about-text .btn { margin-top: 17px; }

/* ---------- Service cards (home + services page) ---------- */
.svc-band { position: relative; height: 896px; background: #000; color: #fff; overflow: hidden; }
.svc-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; }
.svc-band .inner { position: relative; padding-top: 73px; text-align: center; }
.svc-band .inner > .btn { margin-top: 40px; color: #fff; }

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 33px; }
.svc-band .cards { margin-top: 29px; }
.card {
  width: 359px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: #000;
  text-align: center;
  padding-bottom: 20px;
}
.card h3 { margin: 31px 31px 0; font-family: var(--head); font-size: 25px; line-height: 35px; transition: color .4s ease-in-out; }
.card p { margin: 19px 25px 0; line-height: 22.4px; }
.card-media { position: relative; margin: auto 15px 0; padding-top: 46px; }
.card-media .photo { width: 328px; height: 243px; object-fit: cover; }
.card-badge { position: absolute; left: 50%; top: 11px; width: 73px; height: 73px; margin-left: -36.5px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.card-badge img { width: 35px; height: 35px; }
.card .btn { width: 328px; margin: 22px auto 0; border-radius: 0; transition: all .4s ease-in-out; }
.card:hover h3 { color: var(--green); }
.card:hover .btn { background: var(--green); color: #fff; }
.home-cards .card h3 { min-height: 75px; }

.services-list { padding: 86px 0 167px; }
.services-list .card { box-shadow: 0 0 9px 0 var(--green); }

/* ---------- Home: why choose us ---------- */
.why { height: 531px; padding-top: 65px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 285px); column-gap: 77.5px; justify-content: center; margin-top: 29px; text-align: center; }
.hex { position: relative; width: 133px; height: 156px; margin: 0 auto; }
.hex svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hex img { position: absolute; left: 25px; top: 37px; width: 82px; height: 82px; }
.why-item h3 { margin-top: 31px; font-family: var(--head); font-size: 21px; line-height: 29.4px; }
.why-item p { margin-top: 10px; line-height: 22.4px; }
.why-item:nth-child(3) h3 { margin-left: 26px; }

/* ---------- Home: testimonial slideshow (cross-fade, 5s) ---------- */
.testi { position: relative; height: 329px; background: var(--green); color: #fff; overflow: hidden; }
.testi-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; text-align: center; }
.testi-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; }
.testi-slide svg { display: block; width: 37px; height: 30px; margin: 85px auto 0; }
.testi-slide blockquote { width: 851px; margin: 15px auto 0; font-family: var(--helv); font-weight: 700; font-size: 27px; line-height: 37.8px; }
.testi-slide .who { margin-top: 17px; font-family: var(--helv); font-size: 18px; line-height: 31px; }
.testi-arrow { position: absolute; top: 50%; width: 20px; height: 40px; margin-top: -20px; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.testi-arrow svg { width: 20px; height: 40px; display: block; }
.testi-arrow.prev { left: 50px; }
.testi-arrow.next { right: 50px; }
.testi-dots { position: absolute; left: 0; right: 0; bottom: 50px; display: flex; justify-content: center; align-items: center; gap: 12px; z-index: 2; }
.testi-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.testi-dots button.is-active { width: 9px; height: 9px; background: transparent; box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- Home: gallery slider ---------- */
.gallery { height: 525px; padding-top: 57px; }
.gallery .title { margin-bottom: 38px; }
.gal-wrap { position: relative; margin: 0 41px; }
.gal-track { display: flex; gap: 10px; height: 325px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { position: relative; flex: none; height: 325px; padding: 0; border: 0; background: #eee; cursor: pointer; }
.gal-item img { height: 325px; width: 100%; object-fit: cover; }
.gal-item::after { content: ""; position: absolute; inset: 0; background: rgba(89, 89, 89, .6); opacity: 0; transition: opacity .3s; }
.gal-item:hover::after { opacity: 1; }
.gal-arrow { position: absolute; top: 50%; width: 23px; height: 39px; margin-top: -19.5px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6)); }
.gal-arrow svg { width: 23px; height: 39px; display: block; }
.gal-arrow.prev { left: 20px; }
.gal-arrow.next { right: 20px; }
.gal-arrow[hidden] { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: #fff; }
.lightbox.open { display: flex; }
.lightbox img { max-width: calc(100% - 160px); max-height: calc(100% - 80px); object-fit: contain; }
.lightbox button { position: absolute; padding: 8px; border: 0; background: none; cursor: pointer; }
.lightbox button svg { display: block; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact block (home + contact page) ---------- */
.contact { position: relative; height: 528px; }
.contact-info { position: absolute; left: 0; top: 74px; }
.contact-info h2 { width: 382px; min-height: 102px; font-family: var(--head); font-size: 34px; line-height: 47.6px; color: var(--green); }
.contact-info > p { width: 395px; margin-top: 3px; line-height: 22.4px; }
.contact-lines { margin-top: 22px; }
.contact-line { display: flex; gap: 11px; min-height: 45px; line-height: 22.4px; }
.contact-line + .contact-line { margin-top: 24px; }
.contact-line + .contact-line + .contact-line { margin-top: 18px; }
.contact-line svg { width: 44px; height: 44px; flex: none; }
.contact-line b { display: block; font-weight: 700; }
.contact-line a:hover { text-decoration: underline; }

.lead-form { position: absolute; left: 514px; top: 56px; width: 483px; padding: 18px 12px 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 17px; color: var(--green); }
.field input, .field textarea, .phone-wrap {
  display: block;
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--field);
  padding: 0 12px;
  font: 16px/20px var(--body);
  color: #3f7652;
}
.field textarea { height: 92px; padding: 8px 12px; resize: none; }
.field input:focus, .field textarea:focus, .phone-wrap:focus-within { outline: 1px solid var(--green); }
.field.full { grid-column: 1 / -1; }
.phone-wrap { display: flex; align-items: center; padding: 0; }
.phone-wrap .cc { position: relative; flex: none; width: 52px; height: 36px; display: flex; align-items: center; justify-content: center; gap: 4px; color: #595959; }
.phone-wrap .cc svg { flex: none; }
.phone-wrap .cc select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.phone-wrap input { height: 36px; padding: 0 8px 0 0; background: transparent; outline: 0 !important; }
.submit {
  grid-column: 1 / -1;
  height: 41px;
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font: 700 16px/20.8px var(--body);
  cursor: pointer;
}
.submit:hover { background: #006600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner-page banner ---------- */
.page-banner { position: relative; height: 350px; background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.page-banner h1 { position: relative; font-family: var(--head); font-size: 38px; line-height: 53.2px; color: #fff; }
.services-banner h1 { top: -13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: #fff; }
.footer-cols { display: flex; height: 428px; }
.footer-cols > div { background: #000; position: relative; }
.fc-brand { flex: 357; }
.fc-links { flex: 267; }
.fc-contact { flex: 356; }
.fc-brand .inner { position: absolute; top: 63px; left: calc((100% - 357px) / 2 + 5px); width: 335px; }
.fc-brand .logo { width: 275px; height: 162px; margin-left: 4px; object-fit: cover; }
.fc-brand p { margin-top: 27px; font-size: 14px; line-height: 19.6px; }
.fc-brand .fb { display: inline-block; margin: 11px 0 0 -1px; }
.fc-links .inner { position: absolute; top: 104px; left: calc((100% - 267px) / 2 + 35px); }
.fc-contact .inner { position: absolute; top: 105px; left: calc((100% - 356px) / 2 + 29px); }
.site-footer h4 { font-family: var(--head); font-size: 27px; line-height: 37.8px; }
.footer-links { margin-top: 12px; }
.footer-links a { display: block; font-family: var(--head); font-size: 16px; line-height: 69px; }
.footer-links a:hover, .footer-links a.active { color: var(--green); }
.fc-contact .contact-lines { margin-top: 19px; }
.fc-contact .contact-line { gap: 17px; }
.fc-contact .contact-line svg { width: 38px; height: 38px; }
.copyright { height: 40px; padding-top: 13px; text-align: center; font-size: 14px; line-height: 19.6px; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 999px) {
  .grid980 { width: auto; margin: 0 20px; }

  .topbar { height: auto; }
  .topbar-main { flex-wrap: wrap; padding: 12px 20px; gap: 6px 0; }
  .topbar-item.email { width: auto; margin-right: 24px; }
  .topbar-side { flex: 0 0 70px; }
  .topbar-side .fb { left: 50%; margin-left: -11.5px; top: 50%; margin-top: -11.5px; }

  .mainbar { height: auto; flex-wrap: wrap; }
  .mb-logo { flex: 1 1 auto; height: 110px; }
  .brand { left: 20px; }
  .mb-help { display: none; }
  .mb-nav { flex: 0 0 70px; }
  .nav-toggle {
    display: block; position: absolute; right: 16px; top: 50%; margin-top: -22px;
    width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 28px; cursor: pointer;
  }
  .main-nav { display: none; top: 100%; left: auto; right: 0; width: 100vw; background: #000; border-top: 1px solid var(--grey-line); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: center; padding: 8px 0; }

  .hero { height: auto; min-height: 560px; }
  .hero-wheel { left: -200px; top: auto; bottom: -120px; width: 300px; height: 300px; }
  .hero-text { position: relative; left: 0; top: 0; width: auto; padding: 90px 20px 110px; }
  .hero-text h1 { font-size: 40px; line-height: 1.1; }
  .hero-text .hero-sub { width: auto; }

  .about { height: auto; padding: 60px 0; }
  .about-media { position: relative; left: 0; top: 0; width: 100%; max-width: 440px; height: 520px; margin: 0 auto; }
  .about-photo { width: 300px; height: 400px; }
  .about-tires { left: 110px; top: 90px; width: 330px; height: 390px; }
  .about-text { position: relative; left: 0; top: 0; width: auto; margin-top: 30px; }

  .svc-band { height: auto; padding-bottom: 54px; }
  .services-list { padding: 60px 0; }
  .card { width: 100%; max-width: 359px; }

  .why { height: auto; padding-bottom: 60px; }
  .why-grid { grid-template-columns: minmax(0, 285px); row-gap: 40px; }
  .why-item:nth-child(3) h3 { margin-left: 0; }
  .about-text .title, .contact-info h2 { min-height: 0; }

  .testi-slide blockquote { width: auto; margin: 15px 60px 0; font-size: 22px; line-height: 1.4; }
  .testi-arrow.prev { left: 16px; }
  .testi-arrow.next { right: 16px; }

  .gallery { height: auto; padding-bottom: 40px; }
  .gal-wrap { margin: 0 20px; }
  .gal-track, .gal-item, .gal-item img { height: 260px; }
  .gal-item { width: auto !important; aspect-ratio: var(--ar); }

  .contact { height: auto; padding: 60px 0; }
  .contact-info, .lead-form { position: relative; left: 0; top: 0; }
  .contact-info h2, .contact-info > p { width: auto; }
  .lead-form { width: auto; max-width: 483px; margin-top: 30px; padding: 0; }

  .page-banner { height: 240px; }

  .footer-cols { height: auto; flex-direction: column; }
  .footer-cols > div { padding: 40px 20px; }
  .footer-cols .inner { position: static; width: auto; }
  .copyright { height: auto; padding: 12px 20px; }
}

/* Phones: follow the original's Wix mobile layout */
@media (max-width: 767px) {
  .topbar { display: none; }
  .testi-arrow { display: none; }
  .testi-slide blockquote { margin: 15px 20px 0; }
  .gal-track, .gal-item, .gal-item img { height: 34vw; }
  .fc-links { display: none; }
  .hero-text .btn, .about-text .btn, .svc-band .inner > .btn { width: 100%; max-width: 360px; }
  .kicker + .title { margin-top: 6px; }
}

@media (max-width: 560px) {
  .hero-text h1 { font-size: 34px; }
  .lead-form { grid-template-columns: 1fr; }
  .testi { height: 380px; }
  .testi-slide blockquote { margin: 15px 44px 0; font-size: 19px; }
  .about-media { height: 440px; }
  .about-photo { width: 240px; height: 320px; }
  .about-tires { left: 80px; top: 80px; width: 260px; height: 310px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wheel { animation: none; }
  .testi-slide, .gal-track { transition: none; scroll-behavior: auto; }
}
