/* ========================================================================
   BASE.CSS - AutoService Pro Geconsolideerde Styles
   ======================================================================== */

/* CSS Variabelen - Geconsolideerd van alle pagina's */
:root {
  /* Primaire kleuren */
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  
  /* Accent kleuren */
  --accent-color: #f97316;
  --accent-light: #fb923c;
  --accent-dark: #ea580c;
  
  /* Semantische kleuren */
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  
  /* Neutrale kleuren */
  --text-color: #374151;
  --text-light: #6b7280;
  --text-dark: #1f2937;
  --light-gray: #f8fafc;
  --border-color: #e5e7eb;
  
  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.2);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================================================
   BASE TYPOGRAPHY & BODY
   ======================================================================== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ========================================================================
   NAVBAR COMPONENTS - Geconsolideerd van alle pagina's
   ======================================================================== */

.navbar {
  background-color: white !important;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
}

.navbar-brand .navbar-item {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-item {
  color: var(--text-color) !important;
  font-weight: 500;
  transition: var(--transition-fast);
}

.navbar-item:hover {
  color: var(--accent-color) !important;
  background-color: transparent !important;
}

/* Responsive Navbar */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 3.25rem);
    overflow-y: auto;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-item {
    padding: 0.75rem 1rem;
  }
}

@media screen and (max-width: 360px) {
  .navbar {
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-brand .navbar-item {
    padding: 0.5rem 0.25rem;
  }
  
  .navbar-burger {
    height: 3.25rem;
    width: 3.25rem;
  }
}

/* ========================================================================
   HERO SECTION - Geconsolideerd en gestandaardiseerd
   ======================================================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-1xl) 0;
  margin-top: 3.25rem; /* Navbar compensation - gestandaardiseerd */
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
  line-height: 1.5;
}

/* Hero responsive */
@media screen and (max-width: 768px) {
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* ========================================================================
   BUTTON COMPONENTS - Geconsolideerd en gestandaardiseerd
   ======================================================================== */

.btn-primary {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: white !important;
  font-weight: 600;
  padding: 0.75rem var(--space-xl);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: var(--accent-light) !important;
  border-color: var(--accent-light) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 146, 60, 0.3);
}

.btn-secondary {
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 0.75rem var(--space-xl);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem var(--space-md);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.125rem;
}

/* ========================================================================
   SECTION & LAYOUT COMPONENTS
   ======================================================================== */

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================================
   CARD COMPONENTS - Base klassen voor alle cards
   ======================================================================== */

.card-base {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-padding {
  padding: var(--space-xl);
}

.card-padding-sm {
  padding: var(--space-lg);
}

.card-padding-lg {
  padding: var(--space-2xl);
}

/* ========================================================================
   FOOTER COMPONENT - Volledig geconsolideerd en responsive
   ======================================================================== */

.footer {
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-2xl) 0 var(--space-xl) 0;
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
}

.footer-title i {
  margin-right: var(--space-sm);
  color: var(--accent-color);
}

.footer-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition-normal);
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-description {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.footer-section {
  margin-bottom: var(--space-xl);
}

/* Contact info in footer */
.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  color: rgba(255,255,255,0.9);
}

.contact-info i {
  color: var(--accent-color);
  width: 20px;
  margin-right: var(--space-sm);
  text-align: center;
}

/* Social media links */
.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-link {
  color: rgba(255,255,255,0.8);
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Footer responsive */
@media screen and (max-width: 768px) {
  .footer .container {
    padding: 0 var(--space-lg);
  }
  
  .footer .columns {
    text-align: center;
  }
  
  .footer .column {
    margin-bottom: var(--space-xl);
  }
  
  .footer-title {
    justify-content: center;
  }
  
  .contact-info {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .footer .container {
    padding: 0 var(--space-md);
  }
  
  .footer {
    padding: var(--space-xl) 0 var(--space-lg) 0;
  }
}

/* ========================================================================
   SERVICE COMPONENTS - Gedeelde service styling
   ======================================================================== */

.service-icon {
  color: var(--accent-color);
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  width: 4rem;
  height: 4rem;
  line-height: 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
  border-radius: 50%;
  transition: var(--transition-normal);
}

.service-icon:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.08));
}

/* ========================================================================
   UTILITY CLASSES - Voor inline style vervanging
   ======================================================================== */

/* Spacing utilities */
.m-0 { margin: 0; }
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }
.m-xl { margin: var(--space-xl); }
.m-2xl { margin: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.ml-0 { margin-left: 0; }
.ml-xs { margin-left: var(--space-xs); }
.ml-sm { margin-left: var(--space-sm); }
.ml-md { margin-left: var(--space-md); }
.ml-lg { margin-left: var(--space-lg); }

.mr-0 { margin-right: 0; }
.mr-xs { margin-right: var(--space-xs); }
.mr-sm { margin-right: var(--space-sm); }
.mr-md { margin-right: var(--space-md); }
.mr-lg { margin-right: var(--space-lg); }

/* Padding utilities */
.p-0 { padding: 0; }
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.p-2xl { padding: var(--space-2xl); }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }

.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }
.text-error { color: var(--error-color); }
.text-warning { color: var(--warning-color); }
.text-light { color: var(--text-light); }
.text-white { color: white; }

/* Font weight utilities */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Font size utilities */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 4rem; }

/* Opacity utilities */
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

/* Flexbox utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

/* Background utilities */
.bg-primary { background-color: var(--primary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: white; }

/* Border utilities */
.border-radius { border-radius: var(--radius-md); }
.border-radius-lg { border-radius: var(--radius-lg); }
.border-radius-sm { border-radius: var(--radius-sm); }

/* Shadow utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ========================================================================
   ANIMATION CLASSES
   ======================================================================== */

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading states */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================================================
   RESPONSIVE HELPERS
   ======================================================================== */

@media screen and (max-width: 768px) {
  .mobile-center { text-align: center; }
  .mobile-hidden { display: none; }
  .mobile-block { display: block; }
}

@media screen and (min-width: 769px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
}