.ponude {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
  }
  
  .card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }
  
  .card:hover {
    transform: scale(1.05);
  }
  
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }
  
  .shader {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  }
  
  .card h1 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
  }
  
  /* Modal */
  #imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  #imageModal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
  }
  
  #imageModal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #imageModal .close-btn:hover {
    color: red;
  }
  