  /* The Grid Layout */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    padding: 20px;
  }

  /* Individual Photo Styling */
  .photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .photo-item:hover {
    transform: scale(1.15);
    z-index: 10;
  }

  .photo-item img {
    width: 100%;
    height: 250px; /* Fixed height for uniform grid */
    object-fit: cover; /* Crops image to fill the box without stretching */
    cursor: pointer;
  }

  /* The "Blow Up" (Lightbox) Effect */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
  }

  .lightbox:target {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 80%;
    border: 3px solid white;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    text-decoration: none;
  }
