:root {
  --primary-color: #3a78ff;
  --primary-hover: #0031b8;
  --secondary-color: #64748b;
  --success-color: #059669;
  --danger-color: #dc2626;
  --warning-color: #d97706;
  --text-color: #1e293b;
  --light-text-color: #64748b;
  --heading-color: #0f172a;
  --white: #ffffff;
  --background-color: #f8fafc;
  --surface-color: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --text-color: #e2e8f0;
  --light-text-color: #94a3b8;
  --heading-color: #f1f5f9;
  --background-color: #0f172a;
  --surface-color: #1e293b;
  --border-color: #334155;
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  transition: var(--transition);
  width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.875rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--light-text-color);
}

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

a:hover {
  color: var(--primary-hover);
}

/* Dark mode toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--border-color);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-color);
}

/* Top bar */
.top-bar {
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
  font-size: 0.875rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  /* dit is van de top bar */
  display: flex;
  gap: 24px;
}

.contact-info span {
  /* dit is van de top bar */
  color: var(--light-text-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating {
  /* dit is van de top bar */
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--warning-color);
  font-weight: 500;
}

/* Header */
header {
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.header-content {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.headertitle {
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  word-break: normal;
  white-space: nowrap;
}

nav a:hover {
  background-color: var(--border-color);
  color: var(--heading-color);
}

nav a.repair-btn {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  padding: 12px 24px;
  word-break: normal;
  white-space: nowrap;
}

nav a.repair-btn:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Main content */
main {
  min-height: 100vh;
}

section {
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero section */
#hero {
  position: relative;
  overflow: hidden;
  text-align: center;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

#hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(
    30deg,
    rgba(94, 167, 255, 1) 19%,
    rgba(2, 101, 222, 1) 84%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--primary-color);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--light-text-color);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

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

.feature .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.feature span {
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-color);
}

/* Sections */
.section-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.section-card:hover {
  box-shadow: var(--shadow-md);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* Guarantee section */
#guarantee {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.guarantee-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--light-text-color);
  margin-bottom: 48px;
}

.guarantee-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  background: var(--surface-color);
}

.guarantee-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.guarantee-icon {
  font-size: 2rem;
  color: var(--success-color);
}

.guarantee-item span {
  font-weight: 600;
  color: var(--text-color);
}

/* Team section */
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.team-member {
  text-align: center;
  padding: 32px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 4px solid var(--border-color);
}

.team-member h3 {
  margin-bottom: 8px;
}

.team-member p {
  color: var(--light-text-color);
  font-size: 0.875rem;
}

/* Reviews section */
#reviews ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  list-style: none;
}

#reviews li {
  padding: 32px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--primary-color);
}

#reviews li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Professional repair styling */
.repair-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--background-color);
  min-height: 100vh;
}

.repair-container h1 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.form-section {
  background: var(--surface-color);
  padding: 40px;
  margin: 32px 0;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.form-section h2 {
  color: var(--heading-color);
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--surface-color);
  color: var(--text-color);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.025em;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary-color);
}

.btn-secondary:hover {
  background: #475569;
}

.btn-success {
  background: var(--success-color);
}

.btn-success:hover {
  background: #047857;
}

/* Messages */
.message {
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: var(--border-radius);
  font-weight: 500;
  border-left: 4px solid;
}

.message.success {
  background: #f0fdf4;
  color: #166534;
  border-left-color: var(--success-color);
}

.message.error {
  background: #fef2f2;
  color: #991b1b;
  border-left-color: var(--danger-color);
}

[data-theme="dark"] .message.success {
  background: #064e3b;
  color: #a7f3d0;
}

[data-theme="dark"] .message.error {
  background: #7f1d1d;
  color: #fca5a5;
}

/* Footer */
footer {
  background: linear-gradient(
    30deg,
    rgba(94, 167, 255, 1) 19%,
    rgba(2, 101, 222, 1) 84%
  );
  border-top: 1px solid var(--border-color);
  color: var(--white);
  text-align: center;
  padding: 32px 20px;
  font-size: 0.875rem;
}

#footer p {
  color: white;
}

#alge-voorwaarde {
  color: white;
}

#algemene-voorwaarden-link {
  text-decoration: underline;
  color: var(--white);
}

#algemene-voorwaarden-link:hover {
  color: var(--primary-hover);
}

/* Responsive design */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-info {
    /* dit is van de top bar */
    flex-direction: column;
    gap: 8px;
  }

  header {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
  }

  header h1 {
    font-size: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  #hero {
    padding: 80px 20px;
  }

  #hero h2 {
    font-size: 2.5rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guarantee-features {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 20px;
  }

  .section-card {
    padding: 32px 24px;
  }

  .repair-container {
    padding: 15px;
  }

  .form-section {
    padding: 24px;
  }

  .theme-toggle {
    top: 10px;
    right: 10px;
  }
}

/* Dark theme specific adjustments */
[data-theme="dark"] .hero-content h2 {
  background: linear-gradient(
    135deg,
    var(--heading-color),
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] #hero::before {
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23334155' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Professional checkbox and radio styling */
.checkbox-group,
.problem-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: var(--background-color);
  border: 1px solid var(--border-color);
}

.checkbox-label:hover {
  background-color: var(--surface-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
  width: auto;
  margin-right: 12px;
  margin-bottom: 0;
  transform: scale(1.1);
}

.checkbox-label span {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-color);
}

/* Confirmation details */
.confirmation-details {
  background: var(--surface-color);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  margin: 24px 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row strong {
  min-width: 140px;
  color: var(--text-color);
  font-weight: 600;
}

.detail-row span {
  flex: 1;
  text-align: right;
  word-wrap: break-word;
  color: var(--light-text-color);
}

/* Navigation buttons */
.nav-buttons {
  text-align: center;
  margin: 32px 0;
  padding: 32px;
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-buttons h3 {
  margin-bottom: 24px;
  color: var(--heading-color);
}

.nav-buttons .btn {
  margin: 8px 12px;
}

@media (max-width: 768px) {
  .nav-buttons .btn {
    display: block;
    width: 100%;
    margin: 8px 0;
  }

  .detail-row {
    flex-direction: column;
    gap: 8px;
  }

  .detail-row span {
    text-align: left;
  }
}

/* Contact Menu */
.contact-menu {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-width: 150px;
}

.contact-menu-item {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
  font-size: 14px;
}

.contact-menu-item:hover {
  background-color: #f5f5f5;
}

.contact-menu-item:active {
  background-color: #e0e0e0;
}

.contact-menu-item span {
  font-size: 16px;
}

.phone-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.phone-link:hover {
  text-decoration: underline;
}
