/* Professional theme overrides for RideValue */

:root {
  /* Modern, beautiful color palette */
  --primary-color: #1a1a2e; /* Deep, cool dark blue */
  --primary-dark: #10101d; /* Even darker blue for depth */
  --primary-light: #2c2c4d; /* Lighter blue for gradients */
  --accent-color: #9c27b0; /* Vibrant purple */
  --accent-light: #ba68c8; /* Lighter purple for hover effects */
  --success-color: #4caf50; /* A fresh green */
  --warning-color: #ff9800; /* Bright orange for warnings */
  --error-color: #f44336; /* A clear, modern red */
  /* Neutral grays that complement the new palette */
  --gray-50: #f7f7f9;
  --gray-100: #e8e8ed;
  --gray-200: #d1d1da;
  --gray-300: #b9b9c6;
  --gray-400: #a2a2b3;
  --gray-500: #8b8ba0;
  --gray-600: #74748d;
  --gray-700: #5d5d79;
  --gray-800: #464666;
  --gray-900: #2e2e52;
}

.professional-theme {
  /* Override background with simpler gradient */
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--gray-800);
}

/* Header */
.professional-theme .site-header {
  background: var(--primary-color);
  backdrop-filter: none;
  border-bottom: none;
}

/* Hero section */
.professional-theme .hero-section,
.professional-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  padding: 4rem 1rem 3rem;
}

.professional-theme .hero-title {
  color: white;
}

.professional-theme .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.professional-theme .btn-primary {
  background: var(--accent-color);
  box-shadow: 0 4px 6px rgba(156, 39, 176, 0.2);
}

.professional-theme .btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 8px rgba(156, 39, 176, 0.3);
}

.professional-theme .btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.professional-theme .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Sections */
.professional-theme .section,
.professional-section {
  background: white;
}

.professional-theme .section.alt,
.professional-section.alt {
  background: var(--gray-100);
}

.professional-theme .section h2,
.professional-section h2 {
  color: var(--primary-color);
}

.professional-theme .section h2::after,
.professional-section h2::after {
  background: var(--accent-color);
}

.professional-theme .section p.lead,
.professional-section p.lead {
  color: var(--gray-700);
}

/* Cards and forms */
.professional-theme .form-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  color: white;
}

.professional-theme .estimation-card {
  background: white;
  border: 1px solid var(--gray-300);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.professional-theme .left-pane {
  background: white;
  border: 1px solid var(--gray-300);
}

.professional-theme .right-pane {
  background: white;
  border: 1px solid var(--gray-300);
}

.professional-theme .form-label {
  color: var(--gray-800);
}

.professional-theme .form-control,
.professional-theme .form-select {
  background: white;
  border: 1px solid var(--gray-400);
  color: var(--gray-800);
}

.professional-theme .form-control:focus,
.professional-theme .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.25);
}

.professional-theme .form-control::placeholder {
  color: var(--gray-500);
}

/* Steps */
.professional-theme .step {
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 0.75rem 1rem;
}
.professional-theme .step:hover {
  border-color: var(--accent-light);
  color: var(--accent-color);
}
.professional-theme .step.active {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.25);
  transform: translateY(-2px);
}

.professional-theme .step-title {
  color: var(--primary-color);
}

.professional-theme .step-subtitle {
  color: var(--gray-600);
}

/* Buttons */
.professional-theme .submit-btn,
.professional-theme .btn-primary {
  background: var(--accent-color);
  box-shadow: 0 4px 6px rgba(156, 39, 176, 0.2);
}

.professional-theme .submit-btn:hover,
.professional-theme .btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 8px rgba(156, 39, 176, 0.3);
}

.professional-theme .btn-secondary {
  background: var(--gray-600);
}

.professional-theme .btn-secondary:hover {
  background: var(--gray-700);
}

/* Results */
.professional-theme .price-card {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.professional-theme .stat-card {
  background: linear-gradient(145deg, var(--gray-50) 0%, white 100%);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.professional-theme .stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(156, 39, 176, 0.1);
  border-color: var(--accent-light);
}
.professional-theme .stat-icon {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.25);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.75rem;
}
.professional-theme .stat-value {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Tables */
.professional-theme .vehicles-table {
  background: white;
  border: 1px solid var(--gray-300);
}

.professional-theme .table-header {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
}

.professional-theme .table-header h4 {
  color: var(--primary-color);
}

.professional-theme th {
  background: var(--gray-100);
  color: var(--gray-800);
}

.professional-theme td {
  color: var(--gray-800);
}

.professional-theme tbody tr:hover {
  background: var(--gray-100);
}

.professional-theme .badge {
  background: var(--accent-color);
}

/* Contact section */
.professional-theme .contact-form-card {
  background: white;
  border: 1px solid var(--gray-300);
}

.professional-theme .contact-info-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* Footer */
.professional-theme .site-footer {
  background: var(--primary-dark);
}

/* Evaluation pane */
.professional-theme .slogan {
  color: var(--primary-color);
}

.professional-theme .tagline {
  color: var(--gray-700);
}

.professional-theme .instructions li {
  color: var(--gray-700);
}

.professional-theme .instructions i {
  color: var(--accent-color);
}

/* Moving road animation */
.professional-theme .moving-road {
  background: linear-gradient(180deg, var(--gray-100) 0%, white 100%);
  border: 1px solid var(--gray-300);
}

.professional-theme .car-anim {
  color: var(--accent-color);
  text-shadow: 0 6px 18px rgba(156, 39, 176, 0.25);
}

.professional-theme .road-surface {
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 32px, var(--gray-400) 32px 64px);
}

.professional-theme .road-dashes {
  background: repeating-linear-gradient(90deg, transparent 0 40px, white 40px 64px, transparent 64px 104px);
}

.professional-theme .city-skyline {
  background: linear-gradient(180deg, rgba(156, 39, 176, 0.15), rgba(156, 39, 176, 0));
}

/* Alerts */
.professional-theme .alert-danger {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: var(--gray-800);
}

.professional-theme .alert-info {
  background: rgba(156, 39, 176, 0.1);
  border: 1px solid rgba(156, 39, 176, 0.3);
  color: var(--gray-800);
}

/* Car icon */
.professional-theme .car-icon {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .professional-theme .hero-section {
    padding: 3rem 1rem 2rem;
  }
}

/* Fix text colors in evaluation form */
.professional-theme .form-section .form-label,
.professional-theme .form-section .step-title,
.professional-theme .form-section .step-subtitle,
.professional-theme .form-section .alert {
  color: white;
}

.professional-theme .left-pane .form-label,
.professional-theme .left-pane .step-title,
.professional-theme .left-pane .step-subtitle {
  color: var(--gray-800);
}

.professional-theme .left-pane .form-control,
.professional-theme .left-pane .form-select {
  color: var(--gray-800);
  background-color: white;
}

.professional-theme .left-pane .form-group {
  background-color: white;
  border: 1px solid var(--gray-300);
}

/* Fix colors in right pane */
.professional-theme .right-pane .slogan {
  color: var(--primary-color);
}

.professional-theme .right-pane .tagline,
.professional-theme .right-pane .instructions li {
  color: var(--gray-700);
}

/* Fix about section text */
.professional-theme #about .stat-label {
  color: var(--gray-700);
}