/* --------------------- Gallery Page Styles --------------------- */
body.gallery-page {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #e0e0e0;
    overflow-y: auto;
    text-align: center;
    font-family: Arial, sans-serif;
  }
  
  
  /* Small text for extra details */
  .small-text {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-style: italic;
  }
  
  /* Home Button */
  .home-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease;
  }
  
  .home-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  /* Gallery Grid Layout */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 45px;
    padding: 45px;
    max-width: 1500px;
    margin: auto;
  }
  
  /* Individual Gallery Item */
  .gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }
  
  .gallery-item:hover {
    transform: scale(1.075);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
  }
  
  /* --------------------- Modal (Enlarged Image) --------------------- */
  .modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    position: relative;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
  }
  
  .modal img {
    max-width: 75%;
    height: auto;
    border-radius: 8px;
  }
  
  .modal h3, .modal p {
    color: #e0e0e0;
    margin-top: 10px;
  }
  
  /* Close Button */
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
  }
  
  .close:hover {
    color: #ff4444;
  }
  