 /* Your original gallery.css */
      .gallery-section {
        padding: 2.5rem 1rem;
        text-align: center;
        margin-top: 5rem;
      }
      .gallery-section h1 {
        color: whitesmoke;
        margin: 0 0 0.5rem 0;
      }
      .gallery-section .lead {
        color: whitesmoke;
        margin-bottom: 1rem;
      }
      .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
      }
      .gallery-grid a {
        display: block;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        cursor: pointer;
        text-decoration: none;
      }
      .gallery-grid img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        transition: transform 240ms ease, filter 240ms ease, opacity 600ms ease;
        opacity: 0;
      }
      .gallery-grid img.loaded {
        opacity: 1;
      }
      .gallery-grid img:hover {
        transform: scale(1.02);
        filter: brightness(0.96);
      }

      @media (max-width: 520px) {
        .gallery-grid {
          max-width: 100%;
          padding: 0 0.5rem;
        }
        .gallery-grid a {
          max-width: 100%;
        }
      }
      
      /* NEW: Lightbox styles */
      .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        opacity: 0;
        transition: opacity 300ms ease;
      }
      
      .lightbox.active {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
      }
      
      .lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .lightbox-image {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
      }
      
      .lightbox-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        cursor: pointer;
        transition: background 200ms ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
      }
      
      .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.2);
      }
      
      .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        cursor: pointer;
        transition: background 200ms ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
      }
      
      .lightbox-nav:hover {
        background: rgba(255, 255, 255, 0.2);
      }
      
      .lightbox-prev {
        left: 20px;
      }
      
      .lightbox-next {
        right: 20px;
      }
      
      .lightbox-counter {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.5);
        padding: 8px 16px;
        border-radius: 20px;
        z-index: 10001;
      }
      
      @media (max-width: 768px) {
        .lightbox-nav {
          width: 40px;
          height: 40px;
          font-size: 20px;
        }
        
        .lightbox-prev {
          left: 10px;
        }
        
        .lightbox-next {
          right: 10px;
        }
      }