
  
    /* Header section */
    .gallery-header {
      text-align: center;
      padding: 60px 20px 40px;
      color: #2c3e50;
    }
    
    .gallery-header h1 {
      font-size: 42px;
      font-weight: 300;
      margin-bottom: 8px;
      letter-spacing: 1px;
    }
    
    .gallery-header p {
      font-size: 16px;
      color: #7f8c8d;
      font-weight: 300;
    }
    
    /* Gallery container */
    .gallery-container {
      padding: 20px 15px 60px;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    /* Individual gallery item */
    .gallery-item {
      margin-bottom: 15px;
      position: relative;
      overflow: hidden;
      background: #ffffff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    
    .gallery-item a {
      display: block;
    }
    
    /* Image styling */
    .gallery-item img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    
    .gallery-item:hover img {
      transform: scale(1.1);
    }
    
    /* CSS-only Modal/Lightbox */
    .lightbox-modal {
      position: fixed;
      z-index: -1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease, z-index 0s 0.3s;
    }
    
    .lightbox-modal:target {
      z-index: 9999;
      opacity: 1;
      background-color: rgba(0,0,0,0.92);
      transition: opacity 0.3s ease;
    }
    
    .lightbox-modal img {
      max-width: 85%;
      max-height: 85%;
      object-fit: contain;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      transform: scale(0.8);
      transition: transform 0.3s ease;
    }
    
    .lightbox-modal:target img {
      transform: scale(1);
    }
    
    /* Close button */
    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 30px;
      color: #ffffff;
      font-size: 40px;
      font-weight: 200;
      text-decoration: none;
      padding: 5px 15px;
      transition: color 0.2s ease;
      line-height: 1;
      opacity: 0.8;
    }
    
    .lightbox-close:hover {
      color: #ffffff;
      opacity: 1;
      text-decoration: none;
    }
    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    @keyframes zoomIn {
      from { 
        transform: scale(0.8);
        opacity: 0;
      }
      to { 
        transform: scale(1);
        opacity: 1;
      }
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .gallery-header h1 {
        font-size: 32px;
      }
      
      .gallery-header p {
        font-size: 14px;
      }
      
      .gallery-item img {
        height: 220px;
      }
      
      .lightbox-close {
        top: -45px;
        font-size: 32px;
      }
    }
    
    @media (max-width: 480px) {
      .gallery-header h1 {
        font-size: 28px;
      }
      
      .gallery-item img {
        height: 180px;
      }
      
      .gallery-item {
        margin-bottom: 15px;
      }
    }
