/* Algemene instellingen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
}

/* Slideshow-container */
.slideshow-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.slideshow-container img.active {
  opacity: 1;
  z-index: 1;
}
.slideshow-container {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.slides {
    display: none;
    width: 100%;
    height: 550px;
    object-fit: cover;
}

nav a {
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    transition: background 0.3s, transform 0.2s;
}

nav a:hover {
    background: #003366;
    transform: scale(1.1);
    border-radius: 5px;
}

/* Layout: hoofdsectie */
main {
    padding: 40px;
    display: flex;
    max-width: 900px;
    margin: auto;
}

.datum {
  color: #3399ff; /* Lichtblauw */
  font-weight: bold;
}

.training.niveau.a {
  color: #228B22;
}

.training.niveau.b {
  color: #FFD700;
}

.training.niveau.c {
  color: #FF8C00;
}

/* Sidebar */
.sidebar {
    width: 250px;
}

/* Hoofdcontent */
.content {
    flex: 1;
    padding-left: 20px;
}

/* Footer */
footer {
    background: #001f3f;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    font-size: 14px;
    position: relative;
    bottom: 0;
    left: 0;
}

/* Sectieblokken */
section {
    margin-bottom: 20px;
    background: #101010;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
}

/* Links */
a {
    color: #3399ff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #3399ff;
}

/* Slideshow instellingen */
.slideshow-container {
    width: 800px;
    height: 600px;
    border: 2px solid #ccc;
    overflow: hidden;
    margin: 20px auto;
    position: relative;
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Toon alleen de actieve afbeelding */
.slideshow-container img.active {
    display: block;
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px; /* gewenste hoogte van je balk */
  background: #001f3f;
  padding: 0 30px;
  overflow: hidden; /* voorkomt uitrekken door grote inhoud */
  z-index: 1000;
}

/* Logo aan de linkerzijde */
.top-header .logo {
  max-width: 700px;  /* kies een realistische breedte voor alle schermen */
  height: auto;
  object-fit: contain;
  flex-shrink: 0;     /* voorkomt dat het logo verkleint bij smalle schermen */
  margin-left: -20px;
}

/* Navigatie gecentreerd */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.main-nav a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  font-size:30px;
  transition: background 0.3s, transform 0.2s;
}

.main-nav a:hover {
  background: #003366;
  transform: scale(1.1);
  border-radius: 5px;
}

/*afbeeldingen*/

.training-foto {
  width: 60%;
  max-width: 800px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Toegevoegde klasse voor uitlijning */
.align-left {
  margin: 20px 20px 20px 0;
  float: left;
}

.align-right {
  margin: 20px 0 20px 20px;
  float: right;
}

.align-center {
  display: block;
  margin: 20px auto;
  float: none;
}

/*kamer aantal*/
.kamer-info {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.kamer-info h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: white;
}

.kamer-tabel {
    width: 100%;
    border-collapse: collapse;
}

.kamer-tabel th,
.kamer-tabel td {
    border: 1px solid white;
    padding: 0.8rem;
    text-align: center;
}

.kamer-tabel {
    width: 100%;
    border-collapse: collapse; /* Zorgt dat lijnen mooi aansluiten */
    border: 2px solid white;     /* Buitenrand van de hele tabel */
}

.kamer-tabel th,
.kamer-tabel td {
    border: 1px solid white;     /* Lijnen tussen cellen */
    padding: 0.8rem;
    text-align: center;
}

.kamer-tabel th {
    background-color: #101010;
    font-weight: bold;
}

#kamer-tabel-container {
  margin-top: 60px;
}

    .vol {
      color: red;
    }
/*scherm formaat wijzigen*/
/* Responsiveness voor kleine schermen */
@media screen and (max-width: 768px) {
  .top-header {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .top-header .logo {
    max-height: 100px;
    margin: 0 auto 10px;
  }

  .main-nav {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 10px;
  }

  .main-nav a {
    font-size: 20px;
  }

  main {
    flex-direction: column;
    padding: 20px;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .content {
    padding-left: 0;
  }

  .slideshow-container {
    width: 100%;
    height: auto;
  }

.slideshow-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: none;
}

.slideshow-container img.active {
    display: block;
}


  .training-foto {
    width: 100%;
  }
}

.foto-galerij {
  margin: 40px 0;
  text-align: center;
}
.thumbnail-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.thumbnail {
  width: 120px;
  height: auto;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}
.thumbnail:hover {
  transform: scale(1.05);
}

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }