@import url("/css/brand.css");
@import url("/css/services.css");

.inquiry-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 14px;
}

.netlify-honeypot {
  display: none !important;
}

/* A single paint-time entrance replaces delayed letter-by-letter splitting. */
@keyframes tgq-heading-entrance {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

html body .hero-title,
html body .service-detail-hero h1 {
  animation: tgq-heading-entrance .55s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  html body .hero-title,
  html body .service-detail-hero h1 {
    animation: none;
  }
}

html body .hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
    url("/images/hero-optimized.jpg") !important;
}

/* Replace the Lamborghini backdrop in the shared Our Mission section. */
html body .section.mission {
  min-height: 620px;
  background-color: #08090a !important;
  background-image: linear-gradient(rgba(0, 0, 0, .66), rgba(0, 0, 0, .66)),
    url("/images/mission-ferrari-extended.png") !important;
  background-position: center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

html body .review-hero.get-a-quote {
  background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
    url('/images/quote-detailer.png') !important;
  background-position: center center !important;
  background-size: cover !important;
}

.quote-vehicle-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

@media (max-width: 600px) {
  .quote-vehicle-fields { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  html body .section.mission { min-height: 470px; }
}

/* Keep the Services hero's dark studio setting and left-side copy space. */
html body .services-hero {
  position: relative !important;
  overflow: hidden;
  background-color: #08090a !important;
  background-image: linear-gradient(180deg, #08090a, #151515) !important;
}

html body .services-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  background: url("/images/services-mercedes-amg-c63s-photo.jpg") right center / contain no-repeat;
  filter: brightness(.63) saturate(.72);
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 18%, #000 80%);
}

html body .services-hero > .container {
  position: relative;
  z-index: 1;
}

html body .services-photo-credit {
  display: block;
  padding: 0 20px 12px;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
}

html body .services-photo-credit a { color: inherit; }

html body .header-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: rgba(7, 8, 10, 0.38) !important;
  -webkit-backdrop-filter: blur(9px) saturate(135%) !important;
  backdrop-filter: blur(9px) saturate(135%) !important;
}

html body .navbar-logo-left-container,
html body .navbar-logo-left-container.shadow-three,
html body .navbar-logo-left {
  background-color: transparent !important;
  box-shadow: none !important;
}

html body .nav-menu-wrapper {
  background-color: transparent !important;
}

/* Restore the existing Gallery link without unhiding other menu items. */
html body .nav-menu-two > li:has(> a[href="/gallery"]) {
  display: block !important;
}

html body .nav-menu > li > a[href="gallery.html"] {
  display: inline-block !important;
}

@media (max-width: 991px) {
  html body .nav-menu-wrapper {
    background-color: rgba(7, 8, 10, 0.96) !important;
  }
}

html body .logo {
  width: 165px !important;
  height: 68px !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  filter: brightness(0) invert(1) !important;
  mask-image: url("/images/tgq-logo.png") !important;
  mask-mode: luminance !important;
  mask-position: center top !important;
  mask-repeat: no-repeat !important;
  mask-size: 100% auto !important;
}
