#lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  
  #lightbox.show {
    display: block;
    opacity: 1;
  }
  
  .lightbox-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10000;
  }
  
  .lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
    object-fit: contain;
  }
  
  .lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s ease;
  }
  
  .lightbox-close:hover {
    transform: scale(1.2);
    background: var(--accent-color);
    color: black;
  }
  
  .lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.8rem;
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10001;
  }
  
  .lightbox-arrow.left {
    left: 2%;
  }
  
  .lightbox-arrow.right {
    right: 2%;
  }
  
  .lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.1);
  }
  
  /* Lightbox counter */
  .lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: var(--accent-color);
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    z-index: 10001;
  }