/* General page styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,121,116,0.8631827731092436) 35%, rgba(0,212,255,1) 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }
  
  header {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1rem;
    margin: -10px;
    border-radius: 70px;
    text-align: center;
    width: 17%;
    position: sticky;
    top: 570px;
    z-index: 1000;
  }
  
  header a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  h1 {
    text-align: center;
    color: #333;
    margin: 30px 0;
  }
  
  /* Grid layout for gallery */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Gallery item styling */
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: opacity 0.3s ease;
  }
  
  /* Hover effect */
  .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .gallery-item:hover img {
    opacity: 0.8;
  }
  
  /* Border styles for portrait and landscape images */
  .portrait {
    border: 5px solid #3498db;
  }
  
  .landscape {
    border: 5px solid #e74c3c;
  }
  
  /* Lightbox Modal Styles */
  .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .lightbox-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
  }
  
  .lightbox-modal img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
  }
  
  .lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
  }
  
  .lightbox-close:hover {
    background-color: #c0392b;
  }
  
  footer {
    text-align: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    margin-top: 20px;
  }
  