/* Side container */
.container {
  max-width: 1000px;
  margin: 40px auto; /* centrerer og giver luft */
  padding: 0 20px;
}

/* Titel øverst */
.page-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 30px;
  color: #f2e6c9; /* gylden farve, kan justeres */
  text-shadow: 1px 1px 4px #000; /* giver lidt dybde */
}

/* Projekt boks */
.project-box {
  background: #3a332e; /* lysere tone end siden */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  margin-bottom: 40px;
}

/* Projekt overskrift */
.project-box h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #f2e6c9;
}

/* Projekt tekst */
.project-box p {
  line-height: 1.6;
  margin-top: 20px;
  text-align: justify;
}

/* Galleri */
/* Galleri med 5 kolonner på desktop */
.project-images {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 kolonner på store skærme */
  gap: 15px;
  margin-top: 20px;
}

/* Responsiv tilpasning */
@media (max-width: 1200px) {
  .project-images {
    grid-template-columns: repeat(4, 1fr); /* 4 kolonner på mellemstore skærme */
  }
}

@media (max-width: 992px) {
  .project-images {
    grid-template-columns: repeat(3, 1fr); /* 3 kolonner på små skærme */
  }
}

@media (max-width: 768px) {
  .project-images {
    grid-template-columns: repeat(2, 1fr); /* 2 kolonner på tablets */
  }
}

@media (max-width: 500px) {
  .project-images {
    grid-template-columns: 1fr; /* 1 kolonne på mobil */
  }
}

.media-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-box img,
.media-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#lightbox img,
#lightbox video {
  max-width: 90%;
  max-height: 90%;
}
