/*!
 * Start Bootstrap - Landing Page v5.0.7 (https://startbootstrap.com/template-overviews/landing-page)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-landing-page/blob/master/LICENSE)
 */

html {
    margin: 0;
    max-width: none;
    width: 100%;
}

:root {
  --accent-red: #990000;
  --accent-blue: #0033cc;
  --text-main: #1f2933;
  --space-6: 3rem;
  --space-10: 5rem;
}

body {
  margin: 0;
  width: 100%;
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-main);
  font-size: 1.03rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-blue);
}

a:hover,
a:focus {
  color: var(--accent-red);
}

a:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: #ffffff;
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--accent-blue);
  z-index: 2000;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

.seo-nav {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
}

.seo-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  padding: 0.7rem 1rem;
}

.seo-nav a {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

#about,
#servicing,
#services,
#tyres,
#find-us,
#reviews {
  scroll-margin-top: 4.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

h2 {   
  color: var(--accent-red);
  letter-spacing: 0.02em;
}

header.masthead {
  position: relative;
  background-color: #000066;
  background-image:
    radial-gradient(circle at 82% 12%, rgba(138, 179, 255, 0.55) 0%, rgba(138, 179, 255, 0) 40%),
    radial-gradient(circle at 15% 88%, rgba(0, 225, 255, 0.24) 0%, rgba(0, 225, 255, 0) 42%),
    linear-gradient(145deg, #00033d 0%, #001575 42%, #0033cc 100%);
  background-size: cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
  box-shadow: inset 0 -30px 40px -35px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.16;
  z-index: 2;
}

header.masthead .container {
  position: relative;
  z-index: 3;
}

header.masthead p.lead {
  max-width: 44rem;
  margin: 0 auto;
  color: #dbe5ff;
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

header.masthead h1 {
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e6ecff;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  header.masthead h1 {
    font-size: 3.4rem;
  }
}

.showcase .showcase-text {
  padding: var(--space-6);
}

.showcase .showcase-text p.lead {
  font-size: 1.14rem;
  font-weight: 500;
  color: var(--text-main);
}

.showcase .service-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.showcase .service-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-main);
}

.showcase .service-list li:last-child {
  margin-bottom: 0;
}

.showcase .service-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background-color: var(--accent-blue);
}

.showcase .showcase-img {
  display: flex;
  align-items: stretch;
  height: 30rem;
  overflow: hidden;
}

.showcase .showcase-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

.showcase .services-showcase-img {
  align-items: stretch;
  overflow: hidden;
  background-color: #f4f6f8;
}

.showcase .services-showcase-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background-color: #f4f6f8;
}

.showcase .showcase-img iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767.98px) {
  .showcase .showcase-img {
    height: 20rem;
  }
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: var(--space-6);
  }
}

.features-icons {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}

.faq-section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  background-color: #ffffff;
}

.faq-section h2 {
  margin-bottom: 1.5rem;
}

.faq-section .faq-item {
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.faq-section .faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.faq-section .faq-item p {
  margin-bottom: 0;
}

.gallery-page-header {
  padding-top: var(--space-10);
  padding-bottom: calc(var(--space-6) + 1rem);
  background-color: #ffffff;
}

.gallery-page-header .lead {
  max-width: 52rem;
  margin: 0 auto;
}

.gallery-grid-section {
  padding-bottom: calc(var(--space-10) + 1rem);
}

.gallery-grid-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-left: 0;
  margin-right: 0;
}

.gallery-controls-help {
  font-size: 1rem;
  font-weight: 500;
}

.gallery-grid-section .gallery-grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  flex: 0 0 auto;
}

.gallery-icon-button {
  position: relative;
  display: block;
  width: 200px;
  max-width: 200px;
  height: 200px;
  max-height: 200px;
  padding: 0;
  border: 1px solid #e9ecef;
  border-radius: 0.6rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.gallery-grid-section .gallery-grid-item img {
  width: 200px;
  max-width: 200px;
  height: 200px;
  max-height: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.gallery-icon-button:hover img,
.gallery-icon-button:focus-visible img {
  transform: scale(1.04);
}

.gallery-icon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 0.9rem;
}

.gallery-icon-button:hover .gallery-icon-overlay,
.gallery-icon-button:focus-visible .gallery-icon-overlay {
  opacity: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 1rem;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox-stage img {
  max-width: min(92vw, 1100px);
  max-height: 68vh;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  background-color: #ffffff;
}

.lightbox-close,
.lightbox-nav,
.lightbox-thumb {
  border: 0;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.15rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-footer {
  width: min(92vw, 1100px);
  margin: 0 auto;
  color: #f8f9fa;
}

.lightbox-caption,
.lightbox-count {
  text-align: center;
}

.lightbox-caption {
  font-size: 1rem;
  font-weight: 700;
}

.lightbox-count {
  font-size: 0.95rem;
}

.lightbox-thumb-strip {
  display: flex;
  gap: 0.65rem;
  padding: 0.25rem 0.1rem 0.65rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.lightbox-thumb {
  flex: 0 0 auto;
  width: 5.75rem;
  height: 4rem;
  border-radius: 0.35rem;
  overflow: hidden;
  padding: 0;
  background-color: transparent;
  border: 2px solid transparent;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.is-active {
  border-color: #ffffff;
}

@media (max-width: 767.98px) {
  .gallery-icon-button {
    width: 160px;
    max-width: 160px;
    height: 160px;
    max-height: 160px;
  }

  .gallery-grid-section .gallery-grid-item img {
    width: 160px;
    max-width: 160px;
    height: 160px;
    max-height: 160px;
  }

  .lightbox-stage img {
    max-height: 58vh;
  }

  .lightbox-thumb {
    width: 4.8rem;
    height: 3.4rem;
  }

  .lightbox-nav {
    width: 2.4rem;
    height: 2.4rem;
  }
}

.testimonials {
  padding-top: calc(var(--space-10) + 1rem);
  padding-bottom: calc(var(--space-10) + 1rem);
  background-color: #f8f9fa;
}

.testimonials .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.testimonials .row {
  row-gap: 1.75rem;
}

.testimonials .testimonial-item {
  max-width: 100%;
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 1.9rem;
  height: 100%;
  width: 100%;
}

.testimonials .testimonial-item p {
  max-width: 58ch;
  margin: 0 auto 1rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
}

.footer .text-muted {
  color: #4b5563 !important;
  font-weight: 500;
}

.footer-logo {
  width: 5.5rem;
  height: 5.5rem;
  max-width: 100%;
  object-fit: contain;
}

.testimonials .text-warning {
  color: var(--accent-red) !important;
}

.testimonials .testimonial-item img {
  max-width: 12rem;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.call-to-action {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.call-to-action .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

footer.footer {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  border-top: 1px solid #e9ecef;
}
