/* ============================================
   TAXINODIG.BE — Design System & Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --taxi-yellow: #F5C518;
  --amber-gold: #E5A800;
  --deep-charcoal: #1d1b20;
  --white: #ffffff;
  --light-grey: #F4F4F4;
  --border-grey: #E8E8E8;
  --text-muted: #494551;
  --overlay: rgba(29, 27, 32, 0.6);

  /* Design System Colors */
  --primary: #4f378a;
  --primary-container: #6750a4;
  --on-primary: #ffffff;
  --secondary: #63597c;
  --secondary-container: #e1d4fd;
  --tertiary: #765b00;
  --tertiary-container: #c9a74d;
  --surface: #fdf7ff;
  --surface-container: #f2ecf4;
  --surface-container-high: #ece6ee;
  --on-surface: #1d1b20;
  --on-surface-variant: #494551;
  --outline: #7a7582;
  --outline-variant: #cbc4d2;
  --error: #ba1a1a;
  --error-container: #ffdad6;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 12px;
  --space-base: 8px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --container-max: 1200px;
  --gutter: 24px;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft: 0px 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0px 8px 30px rgba(0, 0, 0, 0.10);
  --shadow-nav: 0px 2px 12px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--deep-charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Typography Classes ---- */
.display-lg {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}
.headline-lg {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}
.headline-md {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.body-lg {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}
.body-md {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.label-md {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.01em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--taxi-yellow);
  color: var(--deep-charcoal);
  box-shadow: 0 2px 8px rgba(245, 197, 24, 0.3);
}
.btn-primary:hover {
  background: var(--amber-gold);
  box-shadow: 0 4px 16px rgba(229, 168, 0, 0.4);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-charcoal);
  border: 2px solid var(--border-grey);
}
.btn-secondary:hover {
  border-color: var(--taxi-yellow);
  background: rgba(245, 197, 24, 0.06);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-nav);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--deep-charcoal);
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo .logo-accent {
  color: var(--taxi-yellow);
}
.nav-logo .logo-dot {
  font-size: 10px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--taxi-yellow);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--deep-charcoal);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--deep-charcoal);
}
.nav-phone svg { flex-shrink: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--deep-charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--white) 0%, #fef9e7 50%, var(--surface) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.12);
  color: var(--amber-gold);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep-charcoal);
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--taxi-yellow);
  position: relative;
}
.hero-text {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-grey);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--deep-charcoal);
}
.hero-stat span {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ---- Section Common ---- */
.section {
  padding: var(--space-xl) 0;
}
.section-grey {
  background: var(--light-grey);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--amber-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--taxi-yellow);
  border-radius: 1px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-muted);
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  cursor: pointer;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body {
  padding: var(--space-md);
}
.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 16px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--deep-charcoal);
}
.service-card-link svg {
  transition: transform var(--transition);
}
.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ---- Why Choose Us ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.feature-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.12);
  border-radius: var(--radius);
  margin: 0 auto 20px;
  color: var(--amber-gold);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: var(--border-grey);
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  background: var(--taxi-yellow);
  color: var(--deep-charcoal);
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.3);
}
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
  max-width: 280px;
  margin: 0 auto;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--taxi-yellow);
}
.testimonial-text {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--taxi-yellow), var(--amber-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-charcoal);
}
.testimonial-name {
  font-weight: 700;
  font-size: 15px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Contact ---- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.12);
  border-radius: var(--radius);
  color: var(--amber-gold);
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: 15px;
  color: var(--text-muted);
}
.contact-item-text a {
  color: var(--text-muted);
}
.contact-item-text a:hover {
  color: var(--amber-gold);
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--deep-charcoal);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--border-grey);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--deep-charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--taxi-yellow);
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--outline);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-hover);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-success {
  background: #2e7d32;
}
.toast-error {
  background: var(--error);
}

/* ---- Footer ---- */
.footer {
  background: var(--deep-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 15px;
  line-height: 24px;
  max-width: 320px;
}
.footer h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 15px;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--taxi-yellow);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px var(--gutter);
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-grey);
  color: var(--deep-charcoal);
}
.mobile-nav a:hover {
  color: var(--amber-gold);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 40px; line-height: 1.15; }
  .hero-image { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }

  .hero { min-height: auto; padding-top: 72px; }
  .hero h1 { font-size: 32px; line-height: 40px; }
  .hero-text { font-size: 16px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat strong { font-size: 22px; }

  .section { padding: 56px 0; }
  .section-header h2 { font-size: 28px; line-height: 36px; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
