/* Your custom css code goes here */

/*
  body {
    background: #101418;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
  }*/

  .gallery-wrap {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Preview container */
  .preview-box {
    position: relative;
    width: 280px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: #1c2128;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .preview-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.55);
  }

  .preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }

  .preview-box:hover img {
    transform: scale(1.08);
  }

  .preview-box .zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .preview-box:hover .zoom-hint {
    opacity: 1;
  }

  /* Overlay */
  .zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1050;
    transition: opacity 0.3s ease;
  }

  .zoom-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .zoom-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    transform: scale(0.85);
    transition: transform 0.3s ease;
  }

  .zoom-overlay.active img {
    transform: scale(1);
  }

  .zoom-overlay .close-btn {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .zoom-overlay .close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
  }
