/* ========================================
   Het Medisch Kompas – Website Styles
   ======================================== */

:root {
  --color-primary: #1a5276;
  --color-primary-light: #2980b9;
  --color-primary-dark: #0e3a56;
  --color-accent: #2e86c1;
  --color-bg: #ffffff;
  --color-bg-light: #f4f7fa;
  --color-bg-accent: #eaf2f8;
  --color-text: #2c3e50;
  --color-text-light: #5d6d7e;
  --color-border: #d5dbde;
  --color-success: #27ae60;
  --color-warm: #e8f0f5;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 960px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--color-bg);
}

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }

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

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 28px;
  color: var(--color-accent);
}

.logo-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-text small {
  display: none;
}

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

.nav a {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--color-bg-light);
}

.section-accent {
  background: var(--color-bg-accent);
}

.section h2 {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.section p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-intro {
  font-size: 18px;
  color: var(--color-text-light);
}

.center { text-align: center; }

/* ========================================
   SECTION HEADERS WITH ICONS
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-icon {
  flex-shrink: 0;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(0 8px 24px rgba(26, 82, 118, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-size: 38px;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-cta {
  margin-top: 32px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

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

.cta-note {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 12px;
}

/* ========================================
   HIGHLIGHT BOX
   ======================================== */
.highlight-box {
  background: var(--color-warm);
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.highlight-box p {
  margin: 0;
  font-weight: 500;
  color: var(--color-primary);
}

.highlight-intro {
  font-size: 18px;
}

/* ========================================
   LISTS
   ======================================== */
.check-list {
  list-style: none;
  margin: 24px 0;
}

.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-weight: 500;
}

.check-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.cross-list {
  list-style: none;
  margin: 12px 0 24px;
}

.cross-list li {
  padding: 6px 0 6px 32px;
  position: relative;
  color: var(--color-text-light);
}

.cross-list li::before {
  content: "\2716";
  position: absolute;
  left: 0;
  color: #c0392b;
  font-size: 14px;
}

.icon-list {
  list-style: none;
  margin: 16px 0 24px;
}

.icon-list li {
  padding: 8px 0 8px 32px;
  position: relative;
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.disclaimer {
  font-size: 14px;
  color: var(--color-text-light);
  font-style: italic;
}

/* ========================================
   STEPS
   ======================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.step {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.step-icon {
  margin-bottom: 12px;
  opacity: 0.7;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h3 {
  margin-top: 0;
  font-size: 18px;
}

.step p {
  font-size: 15px;
  color: var(--color-text-light);
  margin: 0;
}

/* ========================================
   TIMELINE (WERKWIJZE)
   ======================================== */
.timeline {
  position: relative;
  padding-left: 48px;
  margin: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-number {
  position: absolute;
  left: -48px;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  z-index: 1;
}

.timeline-content h3 {
  margin-top: 0;
  font-size: 20px;
}

.timeline-content ul {
  margin: 12px 0;
  padding-left: 20px;
}

.timeline-content li {
  margin-bottom: 6px;
  color: var(--color-text-light);
}

.note {
  font-size: 14px;
  color: var(--color-text-light);
  font-style: italic;
}

/* ========================================
   TWO COLUMNS
   ======================================== */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

/* ========================================
   SPECIALISMS (VOOR WIE)
   ======================================== */
.specialisms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.tag {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tag svg {
  flex-shrink: 0;
}

.tag:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ========================================
   STORY CARDS (VOORBEELDVERHALEN)
   ======================================== */
.stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.story-card {
  background: var(--color-bg-light);
  padding: 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.story-icon {
  margin-bottom: 16px;
}

.story-card h3 {
  margin-top: 0;
  font-size: 18px;
}

.story-card p {
  color: var(--color-text-light);
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   TEAM (OVER ONS)
   ======================================== */
.team {
  display: grid;
  gap: 40px;
  margin: 32px 0;
}

.team-member {
  display: flex;
  gap: 32px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.member-photo-wrap {
  flex-shrink: 0;
  text-align: center;
}

.member-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.member-photo-placeholder svg {
  display: block;
}

.member-photo-wrap img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-label {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: 6px;
}

.photo-label code {
  background: var(--color-bg-light);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
}

.member-role {
  color: var(--color-accent) !important;
  font-weight: 600;
  font-size: 15px;
}

.member-info h3 {
  margin-top: 0;
}

.cv-list {
  list-style: none;
  margin: 16px 0;
}

.cv-list li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 15px;
}

.cv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.independence-box {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 2px solid var(--color-accent);
  margin-top: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.independence-icon {
  flex-shrink: 0;
  margin-top: 4px;
}

.independence-box h3 {
  margin-top: 0;
  color: var(--color-accent);
}

/* ========================================
   PRICING (TARIEVEN)
   ======================================== */
.pricing-card {
  max-width: 560px;
  margin: 32px auto;
  background: var(--color-bg-light);
  padding: 48px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-light);
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form {
  max-width: 640px;
  margin: 40px auto 0;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text-light);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
}

/* ========================================
   CONTACT INFO
   ======================================== */
.contact-info {
  text-align: center;
  padding: 40px 0;
}

.contact-email {
  font-size: 20px;
}

.contact-email a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 32px;
}

.footer-inner {
  text-align: center;
}

.footer-brand strong {
  color: #fff;
  font-size: 18px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 24px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    gap: 0;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-bg-light);
    width: 100%;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-subtitle { font-size: 17px; }
  .hero-content { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { max-width: 200px; margin: 0 auto; }
  .member-photo-wrap { margin: 0 auto; }

  .section { padding: 56px 0; }
  .section h2 { font-size: 26px; }

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

  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cv-list li { text-align: left; }

  .pricing-card { padding: 32px 24px; }
  .price { font-size: 36px; }
  .contact-form { padding: 24px; }

  .timeline { padding-left: 40px; }
  .timeline-number { left: -40px; width: 34px; height: 34px; font-size: 14px; }
  .timeline::before { left: 16px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav a.active {
  color: var(--color-accent);
}

@media (max-width: 480px) {
  .logo-text small { display: none; }
  .hero h1 { font-size: 24px; }
  .specialisms { gap: 8px; }
  .tag { padding: 8px 14px; font-size: 13px; }
}
