@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&family=Permanent+Marker&display=swap');

/* ============================================
   DESIGN SYSTEM & VARIABLES
   ============================================ */
:root {
  /* Primary Palette */
  --color-bg: #050505;
  --color-surface: #0f0f0f;
  --color-surface-hover: #161616;
  --color-primary: #007AFF;
  /* Modern Apple-blue style */
  --color-primary-glow: rgba(0, 122, 255, 0.4);
  --color-secondary: #ffffff;
  --color-text: #F5F5F7;
  --color-text-dim: #A1A1A6;
  --color-error: #FF3B30;

  /* Spacing */
  --space-unit: 1rem;
  --container-width: 1200px;

  /* Effects */
  --radius-full: 9999px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --glass: blur(20px) saturate(180%);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.heading-font {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-padding {
  padding: 50px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}

header.scrolled {
  height: 70px;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: var(--glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(to right, #fff, #888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-socials {
  display: flex;
  gap: 1.5rem;
}

.nav-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-socials a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 60vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, #111 0%, #050505 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--color-primary-glow) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-content h1 span {
  display: block;
  color: var(--color-primary);
  font-family: 'Permanent Marker', cursive;
  text-transform: none;
  font-size: 0.8em;
  margin-top: -10px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-dim);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-img {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-img img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content p {
    margin: 0 auto 2.5rem;
  }

  .hero-img img {
    max-width: 350px;
  }
}

/* ============================================
   BENTO VALUES SECTION
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.1);
  background: var(--color-surface-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Remove invert from here as these are colored car images */
  filter: drop-shadow(0 0 15px var(--color-primary-glow)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.feature-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #fff;
}

.feature-card p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-row {
  display: flex;
  align-items: stretch;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-icon-box {
  width: 200px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.service-icon-box img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: invert(1) brightness(200%);
}

.service-info {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-info p {
  color: var(--color-text-dim);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .service-row {
    flex-direction: column;
  }

  .service-icon-box {
    width: 100%;
    padding: 2rem;
  }

  .service-info {
    padding: 2rem;
    text-align: center;
  }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-info {
  z-index: 2;
}

.contact-info h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item h4 {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
}

/* ============================================
   MODAL (Before/After)
   ============================================ */
#modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 2rem;
  backdrop-filter: blur(20px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#modal.show {
  display: flex;
}

.modal-content {
  max-width: 1000px;
  width: 100%;
  position: relative;
  animation: modalIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comparison-box {
  text-align: center;
}

.comparison-box img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.comparison-box span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .comparison-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--color-primary-glow);
}

.text-gradient {
  background: linear-gradient(to right, #ffffff, #888888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-dim);
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 600px;
}

/* Scroll Animation Base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-10 {
  margin-top: 2.5rem;
}

.bg-bg {
  background-color: var(--color-bg);
}

.anim-stagger>*:nth-child(1) {
  transition-delay: 0.1s;
}

.anim-stagger>*:nth-child(2) {
  transition-delay: 0.2s;
}

.anim-stagger>*:nth-child(3) {
  transition-delay: 0.3s;
}

.anim-stagger>*:nth-child(4) {
  transition-delay: 0.4s;
}

footer {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.9rem;
}