* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


p {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #444;
}


html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f5f5f7;
  overflow-x: hidden;
}

main {
  flex: 1;
}

.neckpain-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto 40px;
}

.neckpain-intro-text {
  max-width: 620px;
}

.neckpain-intro-text h1 {
  text-align: left;
  margin-bottom: 14px;
}

.neckpain-intro-text p {
  line-height: 1.6;
}

.neckpain-intro-media {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.neckpain-intro-image {
  width: 224px;
  flex-shrink: 0;
}

.play-button {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 24px;
  transform: translate(-40%, -50%);
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media (max-width: 768px) {
  .neckpain-intro {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .neckpain-intro-text h1 {
    text-align: center;
  }
}

.symptomen-section {
  position: relative;
  max-width: 980px;
  margin: 20px auto 50px;
  padding: 28px;
  background: #97B6B8;
  border: 1px solid #000;
  border-radius: 5px;
}

.symptomen-title {
  padding: 18px 22px;
  margin-bottom: 22px;
}

.symptomen-title h1 {
  text-align: left;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.symptomen-title p {
  max-width: 36ch;
  line-height: 1.5;
}

.symptomen-item {
  background: #C2C0C0;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 14px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.symptomen-item + .symptomen-item {
  margin-top: 12px;
}

.symptomen-small-text-1,
.symptomen-small-text-3 {
  width: 80%;
  margin-left: -11.66%;
}

.symptomen-small-text-2 {
  width: 80%;
  margin-left: auto;
  margin-right: -11.66%;
}

.symptomen-item p:first-child {
  font-weight: 700;
  min-width: 20px;
}

.symptomen-item p:last-child {
  flex: 1;
  max-width: 36ch;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .symptomen-section {
    padding: 20px;
  }

  .symptomen-item {
    width: 100%;
    margin-left: 0;
  }
}

header {
  background: #97B6B8;
  border-bottom: 1px solid #e2e2e6;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0077ff;
}

.toggle {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #e4e4ea;
  padding: 3px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.toggle::before,
.toggle::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  line-height: 1;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.toggle::before {
  content: "☀";
  left: 6px;
  color: #f59e0b;
  opacity: 1;
}

.toggle::after {
  content: "☾";
  right: 6px;
  color: #4b5563;
  opacity: 0.75;
}

.toggle-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.toggle.on {
  background: #111827;
}

.toggle.on::before {
  opacity: 0.45;
}

.toggle.on::after {
  color: #f8fafc;
  opacity: 1;
}

.toggle.on .toggle-circle {
  transform: translateX(18px);
  background: #ffffff;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  align-items: start;
}

.logo a {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.logo picture,
.logo img {
  display: block;
}

.footer {
  background: #97B6B8;
  padding: 40px 0;
  text-align: center;
  color: white;
  font-family: system-ui, sans-serif;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-icon {
  font-size: 32px;
  background: rgba(255, 255, 255, 0.25);
  padding: 14px;
  border-radius: 12px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-info p {
  margin: 6px 0;
  font-size: 16px;
  font-weight: 500;
}

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

.hero-container {
  max-width: 1100px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 300px;
  padding: 20px;
}

.hero-text {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.6;
  border: 1px solid#000; 
  margin-right: 2;
  padding: 0; 
}

.hero-text p{
  padding: 20px;
}

.hero-container img {
  align-items: flex-start;
  width: 300px;            
  height: auto;
}

h1{
  text-align:center;
}

.product-cards {
  display: flex;
  flex-direction: column;
  gap: 60px;
    font-size: 20px;
  padding: 60px 20px;
}

.card {
  width: 70%;
  background: white;
  padding: 24px;
  border: 2px solid #000000;  
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  
  gap: 24px;
}

/* Afwisselend links/rechts */
.card:nth-child(odd) {
  margin-left: auto;   
}

.card:nth-child(even) {
  margin-right: auto; 
}

/* Afbeelding */
.card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}


.card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #97B6B8;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 12px;
  border: 2px solid #000000;
}


.card img {
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
}

.card p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #444;
}

.card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #97B6B8;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.card-btn:hover {
  background: #7fa0a2;
}

.dark-mode .card {
  background: #6D6B68;
  color: #f5f5f7;
}

.dark-mode .card-btn {
  background: #555554;
  color: #333;
}

.dark-mode .symptomen-section {
  background: #5a5a5a;
  border-color: #777;
}

.dark-mode .symptomen-item {
  background: #555554;
  border-color: #777;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.dark-mode {
  background: #404040;
  color: #ffffff;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode p,
.dark-mode span,
.dark-mode li,
.dark-mode div {
  color: #ffffff;
}

.dark-mode header {
  background: #6D6B68;
  border-bottom: 1px solid #374151;
}

.dark-mode .footer {
  background: #6D6B68;
}

.dark-mode a {
  color: #ffffff;
}

.dark-mode a:hover {
  color: #ffffff;
}

.dark-mode .card p{
  color:#ffffff;
}


.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #5b5b5b;
}

.dark-mode h1{
  color:#ffffff;
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .hero-text {
    max-width: 100%;
  }
}

/* Responsive header for tablets and smaller screens */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }

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

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-links a {
    font-size: 16px;
  }
}

/* --- GLOBAL MOBILE FIXES --- */
@media (max-width: 768px) {

  /* Hero section */
  .hero-container {
    flex-direction: column;
    gap: 40px; /* i.p.v. 300px */
    text-align: center;
  }

  .hero-container img {
    width: 200px;
  }

  .hero-text {
    width: 100%;
    font-size: 18px;
    padding: 10px;
  }

  /* Product cards */
  .product-cards {
    gap: 40px;
    padding: 20px;
  }

  .card {
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  .card img {
    width: 140px;
    height: 140px;
  }

  /* Slideshow arrows */
  .prev, .next {
    padding: 10px;
    font-size: 14px;
  }

  /* Symptomen items */
  .symptomen-item {
    flex-direction: column;
    text-align: left;
  }

  .symptomen-small-text-1,
  .symptomen-small-text-2,
  .symptomen-small-text-3 {
    width: 100%;
    margin: 0;
  }
}


