body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .gallery a img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ccc;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
  }

  .gallery a img:hover {
    transform: scale(1.05);
    border-color: #444;
  }

  #lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  #lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }

  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 500px) {
    .gallery {
      grid-template-columns: 1fr;
    }

    .gallery a img {
      height: 600px;
    }
  }
