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

/*----------------*/
/* Fonts          */
/*----------------*/
/* roboto-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'); 
}
/* roboto-italic - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-v47-latin-italic.woff2') format('woff2');
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v47-latin-700.woff2') format('woff2'); 
}
/* roboto-700italic - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-v47-latin-700italic.woff2') format('woff2'); 
}

/* kalam-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/kalam-v17-latin-regular.woff2') format('woff2'); 
}
/* kalam-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/kalam-v17-latin-700.woff2') format('woff2'); 
}

/*-----------------*/
/*Algemene stijlen */ 
/*-----------------*/
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color:#1A1A2E; 
  line-height: 1.6;
  color: #E0E0E0;
  background-size: cover;  
  background-position: center center;  
  scroll-behavior: smooth;
  overflow-y: scroll;
}

 .achtergrond-index {
  position: relative;  
}

.achtergrond-index::before {
  content: '';
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background/index.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(5px);  
  z-index: -1;  
}

.achtergrond-video {
  position: relative; 
}

.achtergrond-video::before {
  content: '';
  position: absolute;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background/video.png');
  background-size: cover;
  background-position: center;
  filter: blur(5px);  
  z-index: -1;  
}

.achtergrond-foto {    
  background-image: url('../images/background/foto.jpg');
}

.achtergrond-foto:before {
  content: ''; 
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); 
  z-index: -1; 
}

.achtergrond-licht {
  position: relative;  
}

.achtergrond-licht::before {
  content: '';
  position: absolute;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background/licht.png');
  background-size: cover;
  background-position: center;
  filter: blur(7px);  
  z-index: -1;  
}

.achtergrond-twijfel {
  position: relative;  
}

.achtergrond-twijfel::before {
  content: '';
  position: absolute;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background/twijfel.png');
  background-size: cover;
  background-position: center;
  filter: blur(5px);  
  z-index: -1;  
}

.achtergrond-donker {
  position: relative;  
}

.achtergrond-donker::before {
  content: '';
  position: absolute;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background/donker.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(5px);  
  z-index: -1;  
}

.achtergrond-teksten {
  position: relative;  
}

.achtergrond-teksten::before {
  content: '';
  position: absolute;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background/tekst.png');
  background-size: cover;
  background-position: center;
  filter: blur(4px); 
  z-index: -1;  
}

header {
  background-color: #16213E; 
  color: #E0E0E0; 
  padding: 1rem 2rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 25px;
  margin: 1rem auto; 
  max-width: 1200px; 
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

footer {
  background-color: #16213E;
  color: #E0E0E0;
  text-align: center;
  padding: 1rem 0;
  margin: 2rem auto;
  border-radius: 25px;
  max-width: 1200px; 
}
/*----------------*/
/* Navigatie      */
/*----------------*/
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center; 
  border-radius: 25px;
}

nav ul li {
  margin-left: 0rem; 
  margin-right: 4rem; 
}

nav ul li:first-child {
  margin-left: 0; 
}

nav ul li:last-child {
  margin-right: 0; 
  padding-right: 0; 
}

nav ul li a {
  color: #E0E0E0;
  text-decoration: none;
  font-weight: 500;
  text-transform: capitalize; 
  font-size: 1em;
  transition: color 0.3s ease;
  padding: 0.5rem 0; 
}

nav ul li a:hover {
  color: #e01b3b;; 
}

.portfolio-link { 
  font-size: 1.2em;
  font-weight: bold;
  color: #E0E0E0;
  text-decoration: none;
}

.portfolio-link:hover {
  color: #e01b3b;
}

/*----------------------*/
/*Dropdown menu stijlen*/
/*----------------------*/
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #16213E;
    padding: 0.5rem 0;
    list-style: none;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    color: #E0E0E0;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
 }

.dropdown-menu li a:hover {
    background-color: #0F3460;
}

/*---------------------*/
/*stijl voor index.html*/
/*---------------------*/
.section1-index {
  background-color: #0F3460;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 8px;
  opacity: 0.80;
}

.section1-index h1 {
  font-size: 2.5em;
  color: #e01b3b;
  margin-bottom: 0.5rem;
}

.section1-index p {
  font-size: 1.2em;
  color: #B0B0B0; 
  margin-bottom: 1.5rem;
}

.section2-index {
  margin-bottom: 2rem;
  opacity: 0.80;
}

.section2-index h2 {
  font-size: 2em;
  color: #e01b3b;
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-index {
  background-color: #0F3460;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.content-index h3 {
  font-size: 1.5em;
  color: #e01b3b;
  margin-bottom: 0.5rem;
}

.content-index p {
  color: #B0B0B0;
  font-size: 1.1em;
}

.content-wrapper-index {
    display: flex; 
    align-items: flex-start; 
    gap: 40px; 
    max-width: 960px; 
    margin: 40px auto; 
    padding: 20px; 
    background-color: #0F3460;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    color: #B0B0B0;
}

.content-image-index {
    width: 300px; 
    height: auto; 
    border-radius: 8px; 
    object-fit: cover; 
    flex-shrink: 0; 
}

/*----------------------*/
/*stijl voor video.html*/
/*----------------------*/
.section-video {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.content-video {
  display: flex; 
  align-items: flex-start; 
  gap: 40px; 
  max-width: 1040px; 
  margin: 0px auto; 
  padding: 20px; 
  background-color: #0F3460; 
  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  color: #B0B0B0;
}

.content-video p {
  font-size: 1.1em;
}

.video-wrapper {
    display: flex; 
    flex-direction: row; 
    align-items: flex-start; 
    justify-content: center; 
    max-width: 1040px; 
    margin: 0 auto 20px auto; 
    gap: 20px; 
    padding-top: 100px;    
}

.video-wrapper video {
    width: 70%; 
    height: auto; 
    aspect-ratio: 16 / 9; 
    object-fit: contain; 
    display: block; 
}

#videoDescription {
    width: 30%; 
    background-color: #0F3460;
    color: #B0B0B0;
    padding: 10px;
    border: 0px solid #ccc;
    border-radius: 5px;
    font-size: 1.0em;
    box-sizing: border-box; 
    align-self: flex-start; 
    min-height: 50px;
    overflow-y: auto;
    opacity: 0.85;
}

.video-navigation {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 10px; 
  margin-top: 40px; 
  width: 100%;
  }    

.video-navigation li {
 list-style: none;
 cursor: pointer;
 margin: 0 10px;
 border-radius: 4px;
 background: #E0E0E0;
/*  padding: 5px; */
 opacity: 0.85;
 transition: 0.5s;
}

.video-navigation li:not(:last-child) {
  margin-right: 10px;
}

.video-navigation li:hover {
  opacity: 1;
}

.video-navigation li img {
  width: 123px;
  transition: 0.5s;
  border: 2px solid #E0E0E0; 
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}

.youtube-link {
    color: white;
}

/* Optional: Add hover effect for consistency */
.youtube-link:hover {
    color: #e01b3b; 
}

/* .video-navigation li img:hover {
  width: 100px;
} */

/*----------------------*/
/*stijl voor foto.html  */
/*----------------------*/
 .foto-category-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 50px;
    padding: 100px;
}   

.foto-category-item {
    text-align: center;
    background-color: #E0E0E0; 
    padding: 5px 5px 20px 5px; 
    border-radius: 2px; 
    box-sizing: border-box;
    flex: 0 1 calc(30% - 30px); 
    margin-bottom: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); 
    transition: transform 0.2s ease-in-out; 
    position: relative; 
    transform: rotate(calc(-2deg + var(--rotation-offset, 0deg))); 
}
.foto-category-item:nth-child(even) {
    transform: rotate(calc(3deg + var(--rotation-offset, 0deg)));
}
.foto-category-item:nth-child(3n) {
    transform: rotate(calc(-1deg + var(--rotation-offset, 0deg)));
}

.foto-category-item:hover {
    transform: translateY(-5px) rotate(0deg) scale(1.03); 
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); 
}

.foto-category-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border: 1px solid #eee; 
}

.foto-category-item a {
    text-decoration: none;
    color: #16213E;
    font-weight: bold;
    display: block;
}

.foto-category-item p {
    margin-top: 15px; 
    font-size: 0.95em; 
    color: #555;
}

.foto-category-item h3 {
    font-family: 'Kalam', cursive; 
    font-weight: 700; 
    font-size: 1.3em; 
    color: #e01b3b;
    margin-bottom: 5px;
}

.foto-category-item p {
    font-family: 'Kalam', cursive; 
    font-weight: 400;
    font-size: 1em; 
    color: #444;
    margin-top: 15px;
}

.pa-gallery-player-widget {
  width: 59%;
  height: 800px;
  display: block;
  margin: 0 auto;
  z-index: 100;
}

/*----------------------*/
/*Stijl voor tekst.html */
/*----------------------*/
.section-tekst {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.content-tekst {
  display: flex; 
  align-items: flex-start; 
  gap: 40px; 
  max-width: 960px; 
  margin: 0px auto; 
  padding: 20px;
  background-color:#0F3460; 
  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  color: #B0B0B0;
  font-size: 1.1em;
}

.content-tekst p {
  color: #B0B0B0;
} */

.teksten {
  background-color:#0F3460;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 8px;
  opacity: 0.85;
}

 .teksten h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e01b3b;
  background-color: #0F3460;
  padding: 0.5rem;
  text-align: center;
  margin: 40px auto; 
  margin-bottom: 2rem;
  margin-top: 2rem;
  max-width: 1140px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  opacity: 0.85;
} 

.text-card {
    background-color: #E0E0E0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}

.centered-poem {
text-align: center;
}

#scrollToTopBtn {
  display: none; 
  transition: background-color 0.3s ease; 
}

/*---------------------------------------------------------------------*/
/* Media Query voor kleinere schermen (optioneel, pas de positie aan) */
/*---------------------------------------------------------------------*/
@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 15px;
        left: 15px;
        padding: 12px;
        font-size: 1.2rem;
    }
}
/*-------------------*/
/* Responsive Styles */
/*-------------------*/
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header .logo {
    margin-left: 20px;
    margin-bottom: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .section-index h1 {
    font-size: 2em;
  }

  .section-index p {
    font-size: 1em;
  }

  .section2-index h2 {
    font-size: 1.75em;
  }
 
  .content-wrapper {
      flex-direction: column; 
      align-items: center; 
      gap: 20px; 
  }
  .content-image {
      width: 100%; 
      max-width: 400px; 
  }

  .video-section {
      flex-direction: column; 
      align-items: center;
  }

  section video {
      width: 90%;
      margin-right: 0;
      margin-bottom: 20px;
  }

  #videoDescription {
      width: 90%;
      align-self: auto; 
  }

  .navigation {
      margin-top: 30px;
  }

  .foto-category-item {
      width: calc(50% - 10px); 
      flex: 0 1 calc(50% - 10px);
  }
}
  @media (max-width: 500px) {
      .foto-category-item {
          width: 100%; 
          flex: 0 1 100%;
      }
  }
  
  @media (max-width: 600px) {
    .foto-category-item {
        width: 100%; 
    }
  }