/* Autosthetics Official Brand Styles */

/* Brand Colors from Manual */
:root {
  /* Primary Red */
  --brand-red-primary: #e52421;
  --brand-red-light: #e84132;
  --brand-red-lighter: #eb5d46;
  --brand-red-lightest: #ee765d;
  
  /* Blacks and Grays */
  --brand-black: #000000;
  --brand-gray-dark: #3c3c3b;
  --brand-gray-medium: #575756;
  --brand-gray: #706f6f;
  --brand-gray-light: #9d9d9c;
  --brand-gray-lighter: #c6c6c6;
  --brand-gray-lightest: #ededed;
  
  /* Backgrounds */
  --brand-white: #ffffff;
  --brand-off-white: #fef7f9;
}

/* Custom logo text styling to match brand */
.brand-logo-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Car silhouette effect */
.logo-car-silhouette {
  position: relative;
  display: inline-block;
}

.logo-car-silhouette::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red-primary);
  border-radius: 20px 20px 0 0;
}

/* Brand button styles */
.btn-brand-primary {
  background: var(--brand-red-primary);
  color: white;
  transition: all 0.3s ease;
}

.btn-brand-primary:hover {
  background: var(--brand-red-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 36, 33, 0.3);
}

.btn-brand-secondary {
  border: 2px solid var(--brand-red-primary);
  color: var(--brand-red-primary);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-brand-secondary:hover {
  background: var(--brand-red-primary);
  color: white;
}

/* Section backgrounds */
.bg-brand-red {
  background: var(--brand-red-primary);
}

.bg-brand-gray-dark {
  background: var(--brand-gray-dark);
}

.bg-brand-off-white {
  background: var(--brand-off-white);
}

/* Typography accents */
.text-brand-red {
  color: var(--brand-red-primary);
}

.text-brand-gray {
  color: var(--brand-gray);
}

/* Service cards with brand styling */
.service-card-brand {
  border-top: 4px solid var(--brand-red-primary);
  transition: all 0.3s ease;
}

.service-card-brand:hover {
  border-top-width: 6px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Fleet solutions styling */
.fleet-badge {
  display: inline-block;
  background: var(--brand-red-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Corporate section gradient */
.corporate-gradient {
  background: linear-gradient(135deg, var(--brand-red-primary) 0%, var(--brand-red-light) 100%);
}

/* Testimonial cards */
.testimonial-card {
  border-left: 4px solid var(--brand-red-primary);
  background: white;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-left-width: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Premium badge */
.premium-badge {
  background: var(--brand-red-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hero section with brand styling */
.hero-brand-gradient {
  background: linear-gradient(135deg, var(--brand-gray-dark) 0%, var(--brand-black) 100%);
  position: relative;
}

.hero-brand-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(229, 36, 33, 0.1) 100%);
}

/* Stats counter styling */
.stat-counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-red-primary);
  line-height: 1;
}

/* Fleet features list */
.fleet-features li {
  position: relative;
  padding-left: 30px;
}

.fleet-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-red-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Animated underline for links */
.link-brand {
  position: relative;
  color: var(--brand-red-primary);
  text-decoration: none;
}

.link-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red-primary);
  transition: width 0.3s ease;
}

.link-brand:hover::after {
  width: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .stat-counter {
    font-size: 2rem;
  }
  
  .fleet-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
}

/* Corporate Client Logos Animation */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  50% {
    box-shadow: 0 10px 15px -3px rgba(229, 36, 33, 0.15), 0 4px 6px -2px rgba(229, 36, 33, 0.1);
  }
}

.client-logo-card {
  animation: floatIn 0.6s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.client-logo-card:nth-child(1) { animation-delay: 0.1s; }
.client-logo-card:nth-child(2) { animation-delay: 0.2s; }
.client-logo-card:nth-child(3) { animation-delay: 0.3s; }
.client-logo-card:nth-child(4) { animation-delay: 0.4s; }
.client-logo-card:nth-child(5) { animation-delay: 0.5s; }
.client-logo-card:nth-child(6) { animation-delay: 0.6s; }
.client-logo-card:nth-child(7) { animation-delay: 0.7s; }

.client-logo-card:hover {
  transform: translateY(-4px) scale(1.05);
  animation: pulse-shadow 1.5s ease-in-out infinite;
}

/* Logo placeholder styling */
.logo-placeholder {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-red-primary);
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.client-logo-card:hover .logo-placeholder {
  transform: scale(1.1);
  color: var(--brand-red-light);
}
