@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;500;600;700;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary-red: #D20000;
  --glow-red: rgba(210, 0, 0, 0.6);
  --dark-bg: #000000;
  --surface-dark: #0a0b0e;
  --card-bg: rgba(14, 16, 21, 0.88);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100vw;
  background-color: var(--dark-bg);
  color: #ffffff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.bebas {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.01em;
}

.space {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.single-row-lock {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: nowrap !important;
}

.contain-vw {
  max-width: 100%;
  overflow-x: clip;
}

/* Pulsing Red Logo Animation */
.hero-logo-img {
  width: 95vw;
  max-width: 95vw;
  height: auto;
  animation: logoPulse 1.8s ease-in-out infinite;
  will-change: filter, transform;
}

@media (min-width: 768px) {
  .hero-logo-img {
    width: 90vw;
    max-width: 90vw;
  }
}

@media (min-width: 1280px) {
  .hero-logo-img {
    width: 90vw;
    max-width: min(90vw, 1680px);
  }
}

@keyframes logoPulse {
  0% {
    filter: drop-shadow(0 0 10px #D20000) drop-shadow(0 0 18px rgba(210,0,0,0.6)) drop-shadow(0 0 30px rgba(210,0,0,0.25));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 22px #D20000) drop-shadow(0 0 38px #D20000) drop-shadow(0 0 50px rgba(210,0,0,0.85)) drop-shadow(0 8px 40px rgba(0,0,0,0.9));
    transform: scale(1.03);
  }
  100% {
    filter: drop-shadow(0 0 10px #D20000) drop-shadow(0 0 18px rgba(210,0,0,0.6)) drop-shadow(0 0 30px rgba(210,0,0,0.25));
    transform: scale(1);
  }
}

/* Glassmorphism Styles */
.glass {
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-strong {
  background: rgba(10, 10, 12, 0.86);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].in-view,
#services-grid [data-reveal],
#process-grid [data-reveal],
#gallery-grid [data-reveal] {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Custom Interactive Car Cursor */
@media (min-width: 1024px) and (pointer: fine) {
  html, body, a, button, [data-cursor-hover], .cursor-hover-target {
    cursor: none !important;
  }
}

.car-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease, filter 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .car-cursor {
    display: none !important;
  }
}

.car-cursor.hover {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 14px #D20000);
}

.car-cursor-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-svg {
  width: 28px;
  height: 28px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-cursor.hover .car-svg {
  transform: scale(1.8);
}

.car-go-label {
  position: absolute;
  bottom: -8px;
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #D20000;
  background: white;
  padding: 1px 5px;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px) scale(0.8);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.car-cursor.hover .car-go-label {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Drifting Tire Track Particles */
.tire-track {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(180, 180, 180, 0.9);
  pointer-events: none;
  z-index: 9998;
  animation: trackFade 1s ease-out forwards;
}

@keyframes trackFade {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

/* Shimmer Highlight */
@keyframes shimmerMove {
  0% {
    transform: translateX(-120%) skewX(-14deg);
  }
  100% {
    transform: translateX(220%) skewX(-14deg);
  }
}

.animate-shimmer {
  position: relative;
  overflow: hidden;
}

.animate-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmerMove 3.5s infinite;
}

/* Floating Admin HUD */
.admin-hud-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.admin-hud-trigger:hover {
  transform: translateY(-3px) scale(1.03);
}

/* Infinite Auto-Scroll Reviews Marquee */
@keyframes marqueeReviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reviews-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 12px 0;
}

.reviews-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marqueeReviews 42s linear infinite;
  will-change: transform;
}

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

/* Individual Review Card */
.review-card {
  width: 360px;
  max-width: 86vw;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 0, 0, 0.5) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(210, 0, 0, 0.25);
}

