/* ==========================================================
   HERO.CSS - Modern Automotive Hero Section Component
   ========================================================== */

/* Component Color System & Global Variables */
:root {
  /* Brand Palette */
  --hero-brand-red: #138670;
  --hero-brand-red-hover: #0e6152;
  --hero-red-glow: rgba(19, 134, 112, 0.4);
  --hero-red-glow-hover: rgba(19, 134, 112, 0.65);
  --hero-badge-bg: rgba(19, 134, 112, 0.12);

  /* Backgrounds & Lighting */
  --hero-bg-color: #0b0d0f;
  --hero-overlay-start: rgba(11, 13, 15, 0.95);
  --hero-overlay-mid: rgba(11, 13, 15, 0.75);
  --hero-overlay-end: rgba(11, 13, 15, 0.25);

  /* Typography & Details */
  --hero-text-primary: #ffffff;
  --hero-text-muted: #9ea4b4;
  --hero-text-subtle: #6c7385;
  --hero-border-line: rgba(255, 255, 255, 0.12);

  /* System Settings */
  --hero-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --hero-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --hero-radius: 4px;
}



/* Container Element */
.auto-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg-color);
  background-image: url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=1920&q=80');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--hero-font-family);
  color: var(--hero-text-primary);
  overflow: hidden;
}

/* Gradient Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--hero-overlay-start) 0%,
    var(--hero-overlay-mid) 50%,
    var(--hero-overlay-end) 100%
  );
  z-index: 1;
}

/* Layout Grid */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  padding: 100px 0;
}

.hero-content {
  max-width: 650px;
}

/* Tag / Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--hero-badge-bg);
  border: 1px solid var(--hero-brand-red);
  color: var(--hero-brand-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--hero-radius);
  margin-bottom: 24px;
}

/* Typography Elements */
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin: 0 0 20px 0;
}

.hero-title .highlight {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hero-text-primary);
  background: linear-gradient(90deg, var(--hero-text-primary), var(--hero-brand-red));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--hero-text-muted);
  line-height: 1.6;
  margin: 0 0 36px 0;
}

/* Interactive Actions */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--hero-radius);
  transition: var(--hero-transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--hero-brand-red);
  color: var(--hero-text-primary);
  border: 1px solid var(--hero-brand-red);
  box-shadow: 0 4px 20px var(--hero-red-glow);
}

.btn-primary:hover {
  background-color: var(--hero-brand-red-hover);
  border-color: var(--hero-brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--hero-red-glow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--hero-text-primary);
  border: 2px solid var(--hero-text-primary);
}

.btn-secondary:hover {
  background-color: var(--hero-text-primary);
  color: var(--hero-bg-color);
  transform: translateY(-2px);
}

/* Bottom Metrics / Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--hero-border-line);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--hero-text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--hero-text-subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Queries */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .stat-num {
    font-size: 1.5rem;
  }
}