    body { background: #0f1115; padding: 24px; color: #e8e8ea;font-family: Arial, sans-serif; }
    h1 {
      text-align: center;
      margin: 20px 0;
      font-size: 2.2rem;
      color: white}
      
    
    /* Gallery grid */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
      padding: 20px;
      max-width: 1020px;
      margin: auto;
               position: relative;
      overflow: hidden;
      border-radius: 12px;
      background: #161922;
      box-shadow: 0 2px 10px rgba(0,0,0,.35);
    }

    .gallery img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      cursor: pointer;
      transition: transform .3s ease, opacity .3s ease;
    }

    .gallery img:hover {
      transform: scale(1.06); opacity: .95;
      box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    /* Lightbox overlay */
    .lightbox {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.9);
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 999;
    }

    .lightbox img {
      max-width: 80%;
      max-height: 70vh;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    }

    .controls {
      margin-top: 20px;
    }

    .controls button {
      margin: 0 10px;
      padding: 10px 18px;
      font-size: 16px;
      font-weight: bold;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      background: #ff3b3b;
      color: white;
      transition: background 0.3s;
    }

    .controls button:hover {
      background: #e62e2e;
    }

    /* Thumbnails inside lightbox */
    .thumbnails {
      display: flex;
      gap: 10px;
      margin-top: 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .thumbnails img {
      width: 70px;
      height: 50px;
      object-fit: cover;
      border-radius: 6px;
      cursor: pointer;
      opacity: 0.6;
      transition: opacity 0.3s, transform 0.3s;
    }

    .thumbnails img:hover,
    .thumbnails img.active {
      opacity: 1;
      transform: scale(1.1);
      border: 2px solid #fff;
    }

    /* Close button */
    .closeBtn {
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 28px;
      color: white;
      cursor: pointer;
      font-weight: bold;
    }     
