
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-weight: 500;
  color: #49291c;
  min-height: 100vh;
  background: #8aa685;
  overflow-x: hidden;
}

/* VOLLE BREEDTE MENU BOVENAAN */
.full-width-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.full-width-menu a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
}

.full-width-menu a:hover,
.full-width-menu a.active {
  background: #000;
  color: #fff;
}

/* MAIN LAYOUT: GRID MET 2/3 EN 1/3 VERDELING */
.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 voor links, 1/3 voor rechts */
  height: 100vh;
  margin-top: 80px; /* ruimte voor menu */
}

/* LINKERPANEEL: SCROLLBARE AFBEELDINGEN */
.left-panel {
  background: #000;
  overflow-y: auto;
  overflow-x: hidden;
}

.image-gallery {
  display: flex;
  flex-direction: column;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* RECHTERPANEEL: ARCHIEF CONTENT */
.right-panel {
  background: rgba(255, 255, 255, 0.95);
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.content-container {
  padding: 30px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

/* ARCHIEF STYLING */
.archive-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 15px 0;
  font-weight: bold;
  border-bottom: 2px solid #000;
  margin-bottom: 20px;
}

.archive-list {
  width: 100%;
}

.archive-item {
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.archive-item:hover {
  background: rgba(0,0,0,0.8);
  color: #fff;
}

.archive-info {
  flex: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.2;
}

.play-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
  font-family: 'Courier New', Courier, monospace;
}

.play-btn:hover {
  background: #333;
}

/* DETAIL VIEW */
.detail {
  display: none;
  position: fixed;
  left: 36.666%;
  top: 80px;
  width: 30%;
  height: calc(100vh - 80px);
  overflow-y: auto;
  background: transparent;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px 0;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.detail.hover-visible {
  display: block;
  opacity: 1;
}

.detail-block {
  background: #ffffff;
  color: #000;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #000;
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.1;
}

.detail img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px 0 0;
}

/* OVERLAY SECTIES (ABOUT, CONTACT) */
.overlay {
  display: none;
  padding: 20px 0;
}

.overlay.active {
  display: block;
}

/* MODAL STYLES */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
}

.modal-close:hover {
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr; /* stapel op mobiel */
    margin-top: 100px;
  }
  
  .full-width-menu {
    padding: 15px 0;
  }
  
  .full-width-menu a {
    font-size: 14px;
    padding: 8px 15px;
  }
  
  .content-container {
    padding: 20px;
  }
  
  .archive-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .modal-content {
    padding: 20px;
    max-width: 95%;
  }
}
