/* Algemene stijl */

:root {
  --primary-color: #0d47a1;
  --secondary-color: #1a237e;
  --accent-color: #ff6f61;
  --background-color: #1a237e;
  --border-color: #ccc;
  --shadow-light: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 6px 14px rgba(0, 0, 0, 0.12);
  --line-height-body: 1.7;
}

@media (max-width: 600px) {
  :root {
    --line-height-body: 1.9;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom right, #f0f0f0, #dbe9ff);
  color: var(--primary-color);
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

html, body {
  height: 100%;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

main {
    padding-bottom: 40px;
    flex: 1;
}

.content {
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 30px auto 20px;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  color: var(--secondary-color);
}

p, li, span, small {
  line-height: var(--line-height-body);
}

.teacher {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.teacher h3 {
  font-size: 1.3rem;
}

small {
  font-size: 1rem;
  color: #555;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

.teachers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 30px 20px;
}

.teacher {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 280px;
  flex: 1 1 220px;
}

.teacher img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  max-width: 200px;
}

.fancy-photo {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
}

.fancy-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1;
}

.fancy-photo img:first-child {
  opacity: 1;
}

.fancy-photo img:last-child {
  opacity: 0;
  z-index: 2;
  transform: scale(1.1);
}

.fancy-photo:hover img:first-child {
  opacity: 0;
  transform: scale(1.1);
}

.fancy-photo:hover img:last-child {
  opacity: 1;
  transform: scale(1);
}

.teacher p {
  font-size: 1rem;
  color: #333;
}

.teacher p em {
  display: block;
  margin-top: 10px;
  color: var(--accent-color);
  font-style: italic;
  font-size: 0.95rem;
}

.opleiding ul {
  list-style: none;
  padding-left: 0;
  max-width: 700px;
  margin: 0 auto;
}

.opleiding ul li {
  background: var(--background-color);
  color: #f0f0f0;
  margin: 12px 0;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 255, 213, 0.1);
  position: relative;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.opleiding ul li::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  border-radius: 2px;
  background-color: var(--accent-color);
  mask: url('img/check.svg') no-repeat center;
  -webkit-mask: url('img/check.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
}


.opleiding ul li:hover {
  background: var(--accent-color);
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.4);
}

.cta {
  background-color: #e3f2fd;
  padding: 30px 20px;
  border-radius: 12px;
  margin: 40px auto;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .teacher {
    max-width: 90%;
  }

  .opleiding ul {
    padding-left: 1rem;
  }
}

footer {
  background-color: #1a237e;
  color: white;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}

footer .social-links {
  margin-bottom: 10px;
}

footer .social-links a {
  margin: 0 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

footer .social-links a:hover,
footer .social-links a:focus {
  transform: scale(1.2);
  outline: none;
}

footer .social-links svg {
  vertical-align: middle;
  cursor: pointer;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  cursor: pointer;
  margin: 10px 0;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
  padding: 10px 15px;
  border-radius: 6px;
}

.skills-list li:hover {
  background-color: #e3f2fd;
}

.arrow {
  transition: transform 0.3s ease;
}

.arrow.open {
  transform: rotate(90deg);
}

.uitleg-wrapper {
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
  max-height: 0;
  opacity: 0;
  transform: translateY(-5px);
}

.uitleg-wrapper.open {
  opacity: 1;
  transform: translateY(0);
}

.uitleg-div {
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-left: 3px solid #007bff;
  margin-left: 15px;
  font-weight: normal;
  text-align: left;
}

header {
  background: var(--secondary-color);
  box-shadow: 0 2px 10px var(--secondary-color);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  flex-direction: row;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.nav-menu li a:hover {
  border-bottom: 2px solid var(--accent-color);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--background-color);
    padding: 1rem;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }
}


.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  height: 25px;
  z-index: 1001;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--background-color);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }
}

/* waarden grid */
.waarden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.waarden-grid article {
  background-color: var(--bg-color);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.waarden-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.waarden-grid h2 {
  color: var(--accent-color);
  margin-top: 0;
  font-size: 1.3rem;
}

/* foto uniformisering */
.uniforme-foto {
  filter: grayscale(100%) brightness(1.05) contrast(1.1) saturate(0.8);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: filter 0.3s ease, transform 0.3s ease;
  object-fit: cover;
}

/* Optioneel: hover-effect */
.uniforme-foto:hover {
  filter: grayscale(90%) brightness(1.1) contrast(1.2);
  transform: scale(1.02);
}

/*formulier */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #004aad;
  color: white;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  border-radius: 4px;
}
