/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styling */
  body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
  }
  
  /* Gallery Section */
  .gallery-section {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .gallery-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
  }
  
  /* Gallery Container */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Gallery Item */
  .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
    border-radius: 8px;
  }
  
  .gallery-item img:hover {
    transform: scale(1.05);
  }
  
  /* Lightbox Modal */
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border: 3px solid #fff;
    border-radius: 4px;
    object-fit: contain;
  }
  
  /* Close Button */
  .close {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .close:hover {
    color: #ccc;
  }
  
  /* Navigation Buttons (Next / Prev) */
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.2s ease;
    user-select: none;
  }
  
  .nav-btn:hover {
    color: #ccc;
  }
  
  .prev-btn {
    left: 20px;
  }
  
  .next-btn {
    right: 20px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .gallery-section h1 {
      font-size: 1.5rem;
    }
  
    .close {
      top: 20px;
      right: 30px;
      font-size: 1.8rem;
    }
  
    .nav-btn {
      font-size: 1.8rem;
      padding: 0.5rem;
    }
  }
  